/* ============================================
   Landing Page Styles - LetterGen Pro
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1E293B;
    background: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Top Navigation ---- */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 16px;
}

/* Lilly Tech brand (left) — matches AI School .header-brand exactly */
.landing-nav .nav-inner a.nav-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.landing-nav .nav-inner a.nav-brand:hover { color: #FFFFFF !important; }
.landing-nav.scrolled .nav-inner a.nav-brand { color: #1E293B !important; }
.landing-nav.scrolled .nav-inner a.nav-brand:hover { color: #0F172A !important; }
.landing-nav .nav-brand .nav-brand-text {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: inherit !important;
}
.landing-nav .nav-brand .nav-brand-thin {
    font-weight: 300 !important;
    letter-spacing: 0.14em !important;
}

/* LetterGen Pro logo (center) */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.landing-nav.scrolled .nav-logo {
    color: #1E293B;
}

.nav-logo i {
    font-size: 24px;
    color: #60A5FA;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.landing-nav.scrolled .nav-links a {
    color: #475569;
}

.landing-nav.scrolled .nav-links a:hover {
    color: #1E40AF;
}

.nav-cta {
    background: #FFFFFF;
    color: #1E40AF !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: #F0F4FF;
    transform: translateY(-1px);
}

.landing-nav.scrolled .nav-cta {
    background: #1E40AF;
    color: #FFFFFF !important;
}

.landing-nav.scrolled .nav-cta:hover {
    background: #1E3A8A;
    color: #FFFFFF !important;
}

/* Mobile nav */
.nav-mobile-toggle {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
}

.landing-nav.scrolled .nav-mobile-toggle {
    color: #1E293B;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    color: #334155;
    text-decoration: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #F1F5F9;
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
    color: #1E40AF;
}

/* ---- Hero Section ---- */

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1E40AF 0%, #0F172A 60%, #0C0F1A 100%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    color: #FFFFFF;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #1E40AF;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #1E40AF;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.hero-note {
    font-size: 13px;
    opacity: 0.6;
}

/* ---- Section Common ---- */

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: #64748B;
    max-width: 520px;
    margin: 0 auto;
}

/* ---- Features Section ---- */

.features-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #DBEAFE;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 22px;
    color: #1E40AF;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ---- Pricing Section ---- */

.pricing-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: #1E40AF;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E40AF;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
}

.pricing-name {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 24px;
}

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

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #334155;
}

.pricing-features li i {
    color: #16A34A;
    font-size: 16px;
}

/* ---- Footer ---- */

.landing-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 64px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1E293B;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-logo i {
    color: #60A5FA;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

/* ---- Responsive ---- */

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid .pricing-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-brand { display: none !important; }
    .nav-logo { position: static; transform: none; }
    .mobile-brand-link { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; margin-top: 8px; font-size: 13px; opacity: 0.7; }

    .hero-section {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .features-section,
    .pricing-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid .pricing-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 40px;
    }
}
