/* ============================================================
   HEY GENIE — Premium Landing Page Stylesheet
   Design System: Warm Cream / Ivory Light Editorial Theme
   ============================================================ */

:root {
    --bg-dark: #fbfaf7; /* Page body background - Warm Cream */
    --bg-card: #ffffff; /* Card background - White */
    --bg-card-hover: #fcfbfa;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(0, 0, 0, 0.06);
    --border-glass-hover: rgba(244, 63, 94, 0.35);

    --text-main: #1c1d21; /* Main text - Charcoal */
    --text-muted: #5c5e66; /* Muted text */
    --text-dim: #8b8d99;

    --accent-pink: #f43f5e;
    --accent-pink-hover: #fb7185;
    --accent-glow: rgba(244, 63, 94, 0.15);
    --gradient-primary: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-card: 0 10px 30px rgba(28, 29, 33, 0.04);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background: var(--bg-dark);
    position: relative;
}

/* Ambient Glow Circles */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.06) 0%, rgba(168, 85, 247, 0.03) 70%, transparent 100%);
}

.glow-2 {
    top: 1500px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(244, 63, 94, 0.03) 70%, transparent 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.small-container {
    max-width: 820px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-pink);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.btn-primary:hover {
    background: var(--accent-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.35);
}

.glow-btn {
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.25);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 14px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(251, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.brand-dot {
    color: var(--accent-pink);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Image Showcase Structure */
.image-showcase {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-img:hover {
    transform: scale(1.015);
}

/* Alternating Section Paddings & Backgrounds */
section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
    background-color: var(--bg-dark);
}

/* 1. Hero Section */
.hero-section {
    background-color: #fbfaf7;
    padding: 160px 0 100px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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


.hero-main-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-subtitle-desc {
    font-size: 21px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.hero-highlight {
    color: var(--accent-pink);
    font-weight: 700;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1300px;
}

/* Feature Rows Layout System */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 460px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-pink);
    margin-bottom: 12px;
    display: inline-block;
}

.feature-row-title {
    font-size: 36px;
    font-weight: 850;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

.feature-media {
    flex: 1.25;
    max-width: 680px;
    width: 100%;
}


.hero-img {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

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

/* 2. Workspace Overview Section */
.workspace-overview-section {
    background-color: #ffffff;
}

.workspace-overview-img {
    max-width: 1300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* 3. AI Models Section */
.models-section {
    background-color: #ffffff;
    padding: 40px 0 90px;
}

.models-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.model-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.model-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-item:hover .model-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.model-name {
    font-size: 17px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 8px;
}

.model-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 240px;
}

.model-divider {
    width: 1px;
    height: 90px;
    background: rgba(0, 0, 0, 0.08);
    align-self: center;
}

/* 4. Page Understanding Section */
.page-context-section {
    background-color: #fbfaf7;
}

.page-context-img {
    max-width: 1250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* 5. Selected-Text Actions Section */
.highlight-toolbar-section {
    background-color: #fbfaf7;
    padding-top: 0;
}

.highlight-toolbar-img {
    max-width: 1250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* 6. PDF & Document Chat Section */
.pdf-docs-section {
    background-color: #ffffff;
}

.pdf-docs-img {
    max-width: 1250px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}



/* 8. Answer Customization Section */
.config-customize-section {
    background-color: #fbfaf7;
}

.config-customize-img {
    max-width: 1250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* 12. FAQ Section */
.faq-section {
    background-color: #ffffff;
    padding-top: 90px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
}

.faq-icon {
    font-size: 18px;
    color: var(--accent-pink);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 14. Final CTA Banner Section */
.cta-banner-section {
    background-color: #f5f2eb;
    padding: 100px 0;
}

.cta-container-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-text-side {
    flex: 1;
    max-width: 480px;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 28px;
}

.cta-btn-wrap {
    display: flex;
    justify-content: flex-start;
}

.cta-image-side {
    flex: 1.2;
    max-width: 680px;
}

.cta-flowchart-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

/* 15. Footer */
.footer {
    background-color: #1c1d21;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #f5f2eb;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-brand .brand-logo-img {
    height: 28px;
}

.footer-brand .brand-name {
    color: #ffffff;
}

.footer-tagline {
    font-size: 13px;
    color: #8b8d99;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #c3b9d0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    font-size: 12px;
    color: #8b8d99;
}

/* Lightbox Modal for Full View */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 250, 247, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent-pink);
}

/* 11. Pricing Section */
.pricing-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.pricing-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.billing-toggle-btn {
    width: 52px;
    height: 28px;
    border-radius: 15px;
    background: var(--accent-pink);
    border: none;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.billing-toggle-btn.yearly .toggle-slider {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.toggle-label.active {
    color: var(--text-main);
}

.discount-pill {
    display: inline-block;
    font-size: 10px;
    background: #10b981;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    margin-left: 6px;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.pricing-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 63, 94, 0.25);
    box-shadow: 0 20px 40px rgba(28, 29, 33, 0.06);
}

.pricing-card.premium-card {
    border: 2px solid var(--accent-pink);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 40px;
    background: var(--accent-pink);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.pricing-card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.plan-name {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 42px;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1.5px;
    line-height: 1;
}

.plan-period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.trial-text {
    font-size: 12px;
    color: var(--accent-pink);
    font-weight: 700;
    margin-top: 8px;
}

.discount-highlight {
    color: #10b981;
    font-weight: 700;
}

.pricing-card-body {
    flex: 1;
    margin-bottom: 36px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    color: #cbd5e1;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(203, 213, 225, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.pro-icon {
    color: var(--accent-pink);
    background: rgba(244, 63, 94, 0.08);
}

.pricing-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.plan-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.helper-text {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 10px;
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        z-index: 999;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .models-row {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .model-divider {
        width: 60px;
        height: 1px;
        background: rgba(0, 0, 0, 0.08);
        align-self: center;
    }
    
    .model-desc {
        max-width: 100%;
    }

    .cta-container-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .cta-text-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .cta-btn-wrap {
        justify-content: center;
    }
    
    .cta-image-side {
        max-width: 100%;
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        max-width: 440px;
    }
    
    .pricing-card {
        width: 100%;
        padding: 40px 28px;
    }
    
    .pricing-card.premium-card {
        transform: scale(1);
    }
    
    .pricing-card.premium-card:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    /* handled at 992px */
    
    .cta-title {
        font-size: 28px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 32px;
    }
}
