/* ========================================================================
   SpicyMagic Stylesheet
   - Organized with clear section dividers for maintainability
   - Desktop/base rules first, mobile adjustments grouped in media queries
   - Respects user preferences (prefers-reduced-motion)
   ======================================================================== */

/* ============================== Reset and Base ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #141414;
    --bg-card: #1a1a1a;
    --bg-hover: #222222;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-tertiary: #808080;
    
    /* Accent colors */
    --accent-primary: #ff6b6b;
    --accent-secondary: #ff8787;
    --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8787 50%, #ffa0a0 100%);
    --accent-gradient-hover: linear-gradient(135deg, #ff8787 0%, #ff9999 50%, #ffb3b3 100%);
    
    /* Supporting colors */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.12);
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #ef4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 107, 107, 0.1);
    --shadow-glow-strong: 0 0 60px rgba(255, 107, 107, 0.2);
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Z-index Scale */
    --z-behind: -1;
    --z-base: 1;
    --z-elevated: 2;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-modal: 1000;
    --z-navbar: 1000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent background scroll when mobile menu is open */
body.no-scroll { overflow: hidden; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 3.5rem;
    font-weight: 800;
}
h2 { 
    font-size: 2.5rem;
    font-weight: 700;
}
h3 { 
    font-size: 1.875rem;
    font-weight: 600;
}
h4 { 
    font-size: 1.5rem;
    font-weight: 600;
}
h5 { 
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ============================== Buttons ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    position: relative;
    z-index: var(--z-base);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient-hover);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: var(--z-behind);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.35), var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08); /* Solid fallback */
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

@supports (backdrop-filter: blur(10px)) {
    .btn-secondary {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.03);
    }
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Login button in nav - better contrast */
.nav-links .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-links .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-small { 
    padding: 0.5rem 1rem; 
    font-size: 0.875rem;
}

.btn-large { 
    padding: 1.125rem 2.25rem; 
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.btn-block {
    width: 100%;
}

/* Ensure buttons in pricing cards have consistent styling */
.pricing-card .btn {
    margin-top: auto;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Focus visibility for keyboard users */
:focus-visible {
    outline: 3px solid rgba(255, 107, 107, 0.8);
    outline-offset: 2px;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.faq-question:focus-visible,
.comparison-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
}

/* ============================== Navigation ============================== */
.navbar {
    background: rgba(10, 10, 10, 0.95); /* Solid fallback */
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Progressive enhancement for backdrop-filter */
@supports (backdrop-filter: blur(20px)) {
    .navbar {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(10, 10, 10, 0.7);
    }
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.logo {
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-spicy {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 50%, #ff8787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(255, 68, 68, 0.5);
    animation: fireGlow 3s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 68, 68, 0.6), 0 0 40px rgba(255, 68, 68, 0.4);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 30px rgba(255, 68, 68, 0.8), 0 0 50px rgba(255, 68, 68, 0.6);
    }
}

.logo-spicy::before {
    content: 'Spicy';
    position: absolute;
    left: 0;
    top: 0;
    z-index: var(--z-behind);
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 50%, #ff8787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ============================== Hero Section ============================== */
.hero {
    padding: calc(var(--spacing-2xl) + 2rem) 0 var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.03) 0%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0.05) 30%, transparent 60%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 107, 107, 0.12);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
    font-weight: 800;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    line-height: 1.2;
    padding-bottom: 0.2em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    line-height: inherit;
    padding-bottom: 0.1em;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: var(--z-behind);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ============================== Section Styles ============================== */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* Section Separators */
section:not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent 100%
    );
}

/* Alternate section backgrounds */
section:nth-of-type(even) {
    background: var(--bg-secondary);
}

section:nth-of-type(odd) {
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================== Features ============================== */
.features {
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(26, 26, 26, 0.8); /* Solid fallback */
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@supports (backdrop-filter: blur(10px)) {
    .feature-card {
        backdrop-filter: blur(10px);
        background: rgba(26, 26, 26, 0.5);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(34, 34, 34, 0.6);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon svg {
    stroke: white;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.375rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================== How It Works ============================== */
.how-it-works {
    background: var(--bg-primary);
}

/* ============================== Use Cases ============================== */
.use-cases {
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.use-case {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(26, 26, 26, 0.7); /* Solid fallback */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@supports (backdrop-filter: blur(10px)) {
    .use-case {
        backdrop-filter: blur(10px);
        background: rgba(26, 26, 26, 0.5);
    }
}

.use-case:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.use-case:hover .use-case-icon {
    background: var(--accent-gradient);
    transform: scale(1.1);
}

.use-case:hover .use-case-icon svg {
    stroke: white;
}

.use-case h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.use-case p {
    margin: 0;
    font-size: 0.875rem;
}

/* ============================== Pricing ============================== */
.pricing {
    background: var(--bg-primary);
    overflow: visible;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* All pricing cards equal width */

.pricing-card {
    background: rgba(26, 26, 26, 0.7); /* Solid fallback */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}

@supports (backdrop-filter: blur(10px)) {
    .pricing-card {
        backdrop-filter: blur(10px);
        background: rgba(26, 26, 26, 0.5);
    }
}


.pricing-card.featured {
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.03);
    border-width: 1px;
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    position: relative;
    overflow: visible !important;
}


.pricing-card.featured .price-amount {
    color: var(--accent-primary);
}

.pricing-card:hover {
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}



.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

@keyframes badgePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.plan-price {
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.plan-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.plan-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    text-align: left;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}


/* ============================== FAQ ============================== */
.faq {
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-answer-wrapper {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* ============================== CTA Section ============================== */
.cta {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
    padding: calc(var(--spacing-2xl) + 2rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content h2 {
    margin-bottom: var(--spacing-sm);
}

.cta-content > p {
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    margin-top: var(--spacing-md);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ============================== Footer ============================== */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-logo .logo-spicy {
    font-size: 1.25rem;
}

.footer-description {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-cta {
    margin-top: var(--spacing-md);
}

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

.footer-section h5 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin: 0;
    color: var(--text-tertiary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent-primary);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================== Accessibility Utilities ============================== */
/* Skip link styling */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 99999;
    outline: 3px solid rgba(255, 107, 107, 0.8);
}

/* ============================== Responsive Design ============================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Normalize section padding on mobile */
    section,
    .features,
    .how-it-works,
    .pricing,
    .use-cases,
    .faq {
        padding: var(--spacing-xl) 0 !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .features-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Trust badges responsive */
    .trust-badges {
        gap: var(--spacing-md);
    }
    
    .trust-badge {
        font-size: 0.75rem;
    }
    
    /* Demo section responsive */
    .demo-screenshots {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* How it works responsive */
    .how-it-works .container {
        padding: 0 var(--spacing-sm) !important;
    }
    
    .how-it-works .steps {
        flex-direction: column;
        gap: var(--spacing-sm) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .how-it-works .step {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: var(--spacing-md) !important;
        text-align: left !important;
        padding: var(--spacing-sm) 0 !important;
        position: relative !important;
    }
    
    .how-it-works .step:not(:last-child) {
        padding-bottom: var(--spacing-md) !important;
    }
    
    .step-visual {
        flex-shrink: 0 !important;
        position: relative !important;
        margin: 0 !important;
    }
    
    .step-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 !important;
    }
    
    .step-content {
        flex: 1 !important;
        text-align: left !important;
    }
    
    .step-label {
        display: block !important;
        font-size: 0.75rem !important;
        color: var(--accent-primary) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.1em !important;
        margin-bottom: var(--spacing-xs) !important;
    }
    
    .step-content h3 {
        text-align: left !important;
        margin-bottom: var(--spacing-xs) !important;
        font-size: 1.125rem !important;
    }
    
    .step-content p {
        text-align: left !important;
        margin: 0 !important;
        color: var(--text-secondary) !important;
    }
    
    .step-number {
        display: none !important;
    }
    
    .step-arrow {
        display: none !important; /* Hide desktop arrows on mobile */
    }
    
    .how-it-works .step:last-child {
        padding-bottom: 0 !important;
    }
    
    /* Show arrows between steps on mobile - styled like desktop chevrons */
    .how-it-works .step:not(:last-child)::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        margin: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.8;
    }
    
    /* Comparison responsive - FULL WIDTH ON MOBILE */
    .comparison {
        padding: var(--spacing-xl) 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .comparison .container {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .comparison .section-header {
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs) !important;
        text-align: center !important;
    }
    
    .comparison .section-title {
        font-size: 1.5rem !important;
        margin-bottom: var(--spacing-xs) !important;
    }
    
    .comparison .section-subtitle {
        font-size: 0.875rem !important;
        color: var(--text-secondary) !important;
        margin-bottom: 0 !important;
    }
    
    /* Tabs full width on mobile */
    .comparison-tabs {
        margin: 0 !important;
        border-radius: 0 !important;
        padding: var(--spacing-sm) var(--spacing-md) !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        gap: var(--spacing-sm) !important;
    }
    
    .comparison-tab {
        flex: 1 !important;
        padding: 16px 24px !important;
        border-radius: 10px !important;
        font-size: 1.125rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.05em !important;
        transition: all 0.3s ease !important;
        background: rgba(255, 255, 255, 0.05) !important;
        color: rgba(255, 255, 255, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .comparison-tab:not(.active):hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .comparison-tab[data-tab="without"].active {
        background: rgba(239, 68, 68, 0.15) !important;
        color: #ffffff !important;
        border-color: rgba(239, 68, 68, 0.5) !important;
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.4) !important;
    }
    
    .comparison-tab[data-tab="with"].active {
        background: rgba(74, 222, 128, 0.15) !important;
        color: #ffffff !important;
        border-color: rgba(74, 222, 128, 0.5) !important;
        box-shadow: 0 0 30px rgba(74, 222, 128, 0.4) !important;
    }
    
    .comparison-grid {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .comparison-column {
        padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm) !important;
        display: none !important;
        animation: fadeIn 0.4s ease;
        box-sizing: border-box !important;
        margin: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        min-height: 280px !important;
        position: relative !important;
    }
    
    .comparison-column.without {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.05)) !important;
    }
    
    .comparison-column.with {
        background: linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(74, 222, 128, 0.05)) !important;
    }
    
    .comparison-column::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, currentColor, transparent);
        opacity: 0.3;
    }
    
    .comparison-column::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, currentColor, transparent);
        opacity: 0.3;
    }
    
    .comparison-column.without::before,
    .comparison-column.without::after {
        color: #ef4444;
    }
    
    .comparison-column.with::before,
    .comparison-column.with::after {
        color: #4ade80;
    }
    
    .comparison-column.active {
        display: block !important;
    }
    
    .comparison-column h3 {
        display: none; /* Hide h3 on mobile since tabs show the labels */
    }
    
    .comparison-list {
        font-size: 0.9375rem !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .comparison-list li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.6 !important;
        margin-bottom: var(--spacing-sm) !important;
        padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-md) !important;
        font-size: 1rem !important;
        letter-spacing: 0.01em !important;
    }
    
    .comparison-list li:last-child {
        margin-bottom: 0 !important;
    }
    
    .comparison-list li.positive {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .comparison-list li.negative {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .comparison h2 {
        font-size: 1.75rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .comparison-header p {
        font-size: 1rem;
    }
    
    .comparison-cta {
        padding: var(--spacing-md) !important;
        margin-top: var(--spacing-md) !important;
        text-align: center !important;
    }
    
    .comparison-cta .btn {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .comparison-stat {
        font-size: 1.125rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: var(--spacing-lg) !important;
        font-weight: 400 !important;
    }
    
    .comparison-stat strong {
        color: var(--accent-primary) !important;
        font-weight: 600 !important;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    /* Better card spacing on mobile */
    .features-grid,
    .use-cases-grid,
    .pricing-grid {
        gap: 1rem;
    }
    
    /* Reduce card padding on mobile */
    .feature-card,
    .pricing-card,
    .use-case {
        padding: 1.25rem;
    }
    
    /* Smaller use case icons */
    .use-case-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Compact pricing features */
    .plan-features {
        margin-bottom: 1rem;
    }
    
    .plan-features li {
        padding: var(--spacing-sm) 0 !important;
        font-size: 0.9375rem !important;
        padding-left: 1.75rem !important;
        line-height: 1.5 !important;
    }
    
    .plan-features li::before {
        top: 0.625rem !important;
    }
    
    /* How it works - smaller steps */
    .steps {
        gap: 1.5rem;
    }
    
    .step-number {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    /* FAQ spacing */
    .faq-grid {
        gap: 1.5rem;
    }
    
    .faq-item h4 {
        margin-bottom: 0.5rem;
    }
}

/* ============================== Animation Classes ============================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    animation-fill-mode: both;
}

/* ============================== Utility Classes ============================== */
.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-glow:hover::after {
    opacity: 1;
}


/* ============================== Trust Section ============================== */
.trust-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.trust-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
    opacity: 0.7;
}


/* ============================== Enhanced How It Works ============================== */
.how-it-works {
    overflow: visible;
}

.how-it-works .steps {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 120px;
    padding: 0 var(--spacing-2xl);
}

/* Remove flow line - arrows are enough */

.how-it-works .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    min-width: 0;
}

.how-it-works .step-content {
    width: 100%;
}

.how-it-works .step-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.how-it-works .step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}

.step-visual {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: var(--z-elevated);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.step:hover .step-icon {
    background: var(--accent-gradient);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.step:hover .step-icon svg {
    stroke: white;
}

.step-number {
    display: none; /* Hide the number badges for cleaner look */
}

.step-arrow {
    position: absolute;
    top: 40px; /* Align with icon center */
    left: 100%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    z-index: var(--z-base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.step-arrow svg {
    width: 60px;
    height: 60px;
    stroke: var(--accent-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
    animation: chevronPulse 2s ease-in-out infinite;
}

@keyframes chevronPulse {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(8px) scale(1.1);
        opacity: 1;
    }
}


.step:last-child .step-arrow {
    display: none;
}

/* ============================== Comparison Section ============================== */
.comparison {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.comparison-column {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.comparison-column.without {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.comparison-column.with {
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.2);
}

/* Comparison tabs - hidden by default, shown on mobile */
.comparison-tabs {
    display: none;
    gap: 2px;
    margin-bottom: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile comparison rules are defined in the responsive block earlier */

@media (min-width: 769px) {
    .comparison-column {
        display: block !important;
    }
}

.comparison-tab {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    font-weight: 500;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: calc(var(--radius-md) - 4px);
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: center;
    line-height: 1.5;
}

.comparison-tab.active {
    background: #ff3838;
    border-color: #ff3838;
    color: #ffffff;
    font-weight: 600;
}

.comparison-tab:not(.active):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.comparison-column h3 {
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: var(--spacing-sm) 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

.comparison-list li.negative {
    color: #fca5a5;
}

.comparison-list li.positive {
    color: #86efac;
}

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

.comparison-stat {
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.comparison-stat strong {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

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

/* Glow Animation */
@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* slideDown - used for mobile nav menu reveal */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Selection */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

/* ============================== Reduced Motion ============================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ============================== Hamburger Menu ============================== */
.hamburger-menu {
    display: none;
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    margin-left: auto;
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    margin: 4px auto;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile navigation overlay */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--z-navbar);
        background: rgba(10, 10, 10, 0.95);
    }
    body { padding-top: 60px; }
    .nav-wrapper { padding: 0.5rem 0; }
    .logo { font-size: 1.1rem; gap: 0.25rem; }
    .container { padding: 0 1rem; }
    .hamburger-menu { display: block; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        animation: slideDown 0.3s ease-out;
    }
    .nav-links a { text-align: center; padding: 0.75rem 1rem; border-radius: 8px; }
    .nav-links a:hover { background: rgba(255, 255, 255, 0.05); }
}


/* ============================== Legal Pages ============================== */
.legal-header {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    margin-bottom: var(--spacing-sm);
}

.legal-date {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

.legal-content {
    padding: var(--spacing-2xl) 0;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.legal-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-footer {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.legal-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Cookie Policy Tables */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-table td {
    padding: 12px 16px;
    color: #a1a1aa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

/* Footer adjustments for legal pages */
.footer-links-inline {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links-inline a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-inline a:hover {
    color: var(--text-primary);
}

/* ============================== Support Page Styles ============================== */
.support-header {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.support-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.support-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.support-form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

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

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.support-links {
    list-style: none;
    padding: 0;
}

.support-links li {
    margin-bottom: var(--spacing-sm);
}

.support-links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: opacity 0.2s ease;
}

.support-links a:hover {
    opacity: 0.8;
}

.contact-info {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

.contact-info h4 {
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    margin: var(--spacing-xs) 0;
    color: var(--text-secondary);
}

/* ============================== Animations Helpers ============================== */
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Elements will be animated in */
.feature-card,
.pricing-card,
.step,
.use-case {
    opacity: 1; /* Start visible, JS will handle animation */
}

/* ============================== Pricing Stacking Fix ============================== */
/* Ensure the featured pricing card and its badge are never clipped by neighbors */
.pricing-card.featured { z-index: 2; transform-origin: center center; }
.plan-badge { z-index: 3; }

/* ============================== Mobile Layout Adjustments ============================== */
@media (max-width: 768px) {
    .support-grid { grid-template-columns: 1fr; }
    .legal-content ul,
    .legal-content ol { padding-left: var(--spacing-md); }
    /* No extra padding on featured card; badge overlaps outside top */
}

/* Support Page Specific Styles */
.support-grid.single-column {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Success Message */
.form-success-message {
    background: linear-gradient(135deg, #22c55e20, #16a34a20);
    border: 1px solid #22c55e40;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}

.form-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #22c55e;
}

.form-success-title {
    color: #22c55e;
    margin-bottom: 8px;
}

.form-success-text {
    color: #a1a1aa;
}
