/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #ff6b6b;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #3852d9;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-submit {
    background: var(--primary-color);
    width: 100%;
    margin-top: 15px;
    font-size: 18px;
}

.btn-copy {
    background: var(--success-color);
    margin-top: 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    line-height: 1.3;
}

.hidden {
    display: none !important;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7ff 0%, #e0e6ff 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f5f7ff;
}

/* Generator Section */
.generator-section {
    background-color: #fff;
    text-align: center;
}

.generator-section h2 {
    font-size: 36px;
}

.trial-badge {
    background-color: #4a6bff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

.trial-badge i {
    margin-right: 5px;
}

.generator-form {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.preview-container {
    margin-top: 10px;
    border: 1px dashed #ccc;
    border-radius: 5px;
    padding: 10px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#imagePreview {
    max-width: 100%;
    max-height: 300px;
}

.results-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.results-container h3 {
    text-align: center;
    font-size: 24px;
}

.results-container ol {
    margin: 20px 0;
    padding-left: 30px;
}

.results-container ol li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    text-align: center;
    padding: 30px;
}

.loading-spinner i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upgrade-banner {
    background-color: #f5f7ff;
    border: 1px solid #e0e6ff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.upgrade-banner h4 {
    margin-bottom: 10px;
    color: #333;
}

.trial-used-message {
    background-color: #fff8e0;
    border-left: 4px solid #ffcc00;
    padding: 10px 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.trial-used-message i {
    color: #ffcc00;
    font-size: 20px;
    margin-right: 10px;
}

.trial-limit-message {
    text-align: center;
    padding: 20px;
}

.trial-limit-message i {
    color: #ff6b6b;
    font-size: 24px;
}

.trial-limit-message h4 {
    margin-top: 15px;
    color: #333;
}

.trial-limit-message p {
    margin-top: 10px;
}

.trial-limit-message .btn {
    margin-top: 15px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
    text-align: center;
}

.how-it-works h2 {
    font-size: 36px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.step {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    background-color: var(--primary-color);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 30px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing-section {
    background-color: #f5f7ff;
    text-align: center;
    padding: 80px 0;
}

.pricing-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.pricing-section > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-plan {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan.featured {
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features ul {
    text-align: left;
}

.plan-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.plan-features ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.btn-plan {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* About Section */
.about-section {
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-content > div {
    margin-bottom: 30px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, 
.footer-contact a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover, 
.footer-contact a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-plan {
        min-width: 100%;
    }
}
