/**
 * Landing Page Styles
 * Last updated: 2026-02-04
 *
 * Structure:
 * 1. CSS Variables (Light/Dark mode)
 * 2. Base styles
 * 3. Animations
 * 4. Header
 * 5. Hero Section
 * 6. Problem Section
 * 7. Features Section
 * 8. Value Proposition Section
 * 9. Pricing Section
 * 10. FAQ Section
 * 11. Final CTA
 * 12. Footer
 * 13. Mobile Navigation
 * 14. Responsive Breakpoints
 */

/* ============================================
   1. CSS Variables
   ============================================ */

:root {
    color-scheme: light dark;

    /* Brand Colors */
    --primary: #002D72;
    --primary-dark: #001D4A;
    --primary-light: #1E4D8C;
    --accent: #BF0D3E;
    --gold: #D4AF37;

    /* Light Mode Colors (Default) */
    --bg-gray: #eef1f4;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --header-dark: #041E42;
    --header-darker: #021024;

    /* Text Colors - Light Mode */
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;

    /* Utility Colors */
    --border-light: #e2e8f0;
    --green: #10b981;
    --red: #ef4444;

    /* Shadows - Light Mode */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode - System Preference */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Mode Colors */
        --bg-gray: #0d1a2d;
        --bg-white: #122035;
        --bg-card: #162640;

        /* Text Colors - Dark Mode */
        --text-dark: #ffffff;
        --text-medium: #b8c5d6;
        --text-light: #7a8a9d;

        /* Utility Colors - Dark Mode */
        --border-light: rgba(255,255,255,0.1);

        /* Shadows - Dark Mode */
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    }
}

/* ============================================
   2. Base Styles
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Accessibility: Focus-visible styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Accessibility: Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .dashboard-mockup {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   3. Animations
   ============================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-out-expo) forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: slideInRight 0.8s var(--ease-out-expo) forwards;
}

.animate-slide-left {
    opacity: 0;
    animation: slideInLeft 0.8s var(--ease-out-expo) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-150 { animation-delay: 150ms; }
.delay-200 { animation-delay: 200ms; }
.delay-250 { animation-delay: 250ms; }
.delay-300 { animation-delay: 300ms; }
.delay-350 { animation-delay: 350ms; }
.delay-400 { animation-delay: 400ms; }

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   4. Header
   ============================================ */

header {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    opacity: 0;
    animation: fadeIn 0.5s var(--ease-out-expo) forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
}

.logo-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.header-nav a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.header-nav .btn-primary {
    background: var(--accent);
    color: white;
}

.header-nav .btn-primary:hover {
    background: #a00b35;
}

/* ============================================
   5. Hero Section
   ============================================ */

.hero {
    padding: 120px 2rem 100px;
    background: linear-gradient(135deg, var(--header-dark) 0%, var(--header-darker) 100%);
    position: relative;
    overflow: hidden;
}

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: skewY(-5deg);
    transform-origin: top left;
}

/* Diagonal accent line */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    width: 2px;
    height: 150%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    transform: rotate(15deg);
    opacity: 0.3;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.hero-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-hero {
    background: var(--accent);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(191, 13, 62, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(191, 13, 62, 0.5);
}

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

.btn-primary:hover {
    background: #a00b35;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* Dashboard Mockup */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border-light);
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

.mockup-body {
    padding: 1.25rem;
}

.mockup-table {
    width: 100%;
    font-size: 0.8rem;
}

.mockup-table th {
    text-align: left;
    padding: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-light);
}

.mockup-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.mockup-table tr:last-child td {
    border-bottom: none;
}

.player-name {
    font-weight: 600;
    color: var(--text-dark);
}

.player-team {
    color: var(--text-light);
    font-size: 0.7rem;
}

.trend-up {
    color: var(--green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-down {
    color: var(--red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-arrow {
    font-size: 0.9rem;
}

.adp-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   6. Problem Section
   ============================================ */

.problem {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.problem-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.problem h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   7. Features Section
   ============================================ */

.features {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* First card (Portfolio Manager) spans full width */
.feature-card:first-child {
    grid-column: 1 / -1;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--ease-out-expo);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: var(--primary);
    color: white;
}

.feature-badge.new {
    background: var(--green);
}

.feature-badge.gold {
    background: linear-gradient(135deg, var(--gold), #c4a032);
}

.feature-card > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Mini data display in feature cards */
.mini-players {
    background: var(--bg-gray);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-light);
}

.mini-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.mini-player:last-child {
    border-bottom: none;
}

.mini-player-info {
    display: flex;
    flex-direction: column;
}

.mini-player-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.mini-player-pos {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Position tiers display */
.position-tiers {
    background: var(--bg-gray);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-light);
}

.tier {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
}

.tier-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 50px;
    color: var(--text-light);
}

.tier-bar {
    flex: 1;
    height: 24px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.tier-bar::after {
    content: attr(data-count);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.tier-elite { background: linear-gradient(90deg, var(--primary), var(--primary-light)); width: 30%; }
.tier-solid { background: linear-gradient(90deg, var(--green), #34d399); width: 55%; }
.tier-deep { background: linear-gradient(90deg, var(--text-light), #94a3b8); width: 85%; }

.feature-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Feature screenshot styling */
.feature-screenshot {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
    margin-top: 1.5rem;
}

/* ============================================
   8. Value Proposition Section
   ============================================ */

.value-prop {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.value-prop-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.value-prop h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.value-prop p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   9. Pricing Section
   ============================================ */

.pricing {
    background: var(--bg-gray);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.pricing-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    border: 1px solid var(--border-light);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--accent);
}

.pricing-card.annual-card {
    border: 2px solid var(--green);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    transform: scale(1.02);
}

.pricing-card.annual-card:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-card.featured::before,
.pricing-card.annual-card::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card.annual-card::before {
    content: "BEST VALUE";
    background: var(--green);
}

/* Annual card pricing enhancements */
.price-annual-total {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-strikethrough {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-actual {
    font-weight: 600;
    color: var(--text-dark);
}

.card-save-badge {
    display: inline-block;
    background: var(--green);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-medium);
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
}

.plan-price .period {
    color: var(--text-light);
}

.plan-savings {
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.plan-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.plan-features .check {
    color: var(--green);
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.trial-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* ============================================
   10. FAQ Section
   ============================================ */

.faq {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.faq-inner {
    max-width: 700px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   11. Final CTA
   ============================================ */

.final-cta {
    background: linear-gradient(135deg, var(--header-dark) 0%, var(--header-darker) 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.final-cta-inner {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.final-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.final-cta .btn-hero {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

.final-cta .hero-note {
    margin-top: 1rem;
}

/* ============================================
   12. Footer
   ============================================ */

footer {
    background: var(--header-darker);
    color: rgba(255,255,255,0.5);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icons a:hover {
    color: white;
    background: rgba(255,255,255,0.2);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* ============================================
   13. Mobile Navigation
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 60;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(2, 12, 27, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 55;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    display: block;
    padding: 0.875rem 1rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav .btn-primary {
    background: var(--accent);
    text-align: center;
    margin-top: 0.5rem;
}

.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
}

.mobile-backdrop.active {
    display: block;
}

/* ============================================
   14. Responsive Breakpoints
   ============================================ */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-visual {
        order: 2;
        margin-top: 2rem;
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card:first-child {
        grid-column: auto;
    }

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

    .pricing-card.annual-card {
        order: -1;  /* Annual card on top for mobile */
        transform: none;  /* Reset scale to prevent overflow */
    }

    .pricing-card.annual-card:hover {
        transform: translateY(-4px);  /* Just the lift, no scale */
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 1.5rem 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .problem, .features, .pricing, .value-prop, .faq, .final-cta {
        padding: 4rem 1.5rem;
    }

    .problem h2, .features h2, .pricing h2, .final-cta h2 {
        font-size: 1.75rem;
    }

    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex;
    }

    .header-nav {
        display: none;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .mockup-table {
        font-size: 0.7rem;
    }

    .mockup-title {
        font-size: 0.75rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    header {
        padding: 0 0.75rem;
        height: 50px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 0.75rem;
    }

    .header-nav {
        gap: 0.25rem;
    }

    .header-nav .btn-primary {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 70px 1rem 35px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .hero-cta .btn-hero {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .problem, .features, .pricing, .value-prop, .faq, .final-cta {
        padding: 2.5rem 1rem;
    }

    .problem h2, .features h2, .pricing h2, .final-cta h2 {
        font-size: 1.35rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .mockup-table th,
    .mockup-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Hide mockup on very small screens for cleaner hero */
    .hero-visual {
        display: none;
    }

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

    .hero-cta {
        align-items: center;
    }
}
