/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    /* Modern SaaS Color Palette */
    --color-primary: #6366F1;
    --color-primary-dark: #4F46E5;
    --color-primary-light: #818CF8;
    --color-accent: #8B5CF6;
    --color-accent-light: #A78BFA;
    
    /* Neutral Scale (refined) */
    --color-black: #111827;
    --color-gray-900: #111827;
    --color-gray-800: #1F2937;
    --color-gray-700: #374151;
    --color-gray-600: #4B5563;
    --color-gray-500: #6B7280;
    --color-gray-400: #9CA3AF;
    --color-gray-300: #D1D5DB;
    --color-gray-200: #E5E7EB;
    --color-gray-100: #F3F4F6;
    --color-gray-50: #F9FAFB;
    --color-white: #FFFFFF;
    
    /* Semantic Colors */
    --color-positive: #10B981;
    --color-negative: #EF4444;
    --color-warning: #F59E0B;
    --color-neutral: #6B7280;
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    
    /* Spacing System (refined) */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2.5rem;    /* 40px */
    --spacing-xl: 3.75rem;   /* 60px */
    --spacing-2xl: 6rem;     /* 96px */
    --spacing-3xl: 8rem;     /* 128px */
    
    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    
    /* Layout */
    --max-width: 1280px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dark Mode */
[data-theme="dark"] {
    /* Neutral Scale (dark black-grey palette) */
    --color-black: #FFFFFF;
    --color-gray-900: #FAFAFA;
    --color-gray-800: #F5F5F5;
    --color-gray-700: #E8E8E8;
    --color-gray-600: #D4D4D4;
    --color-gray-500: #A3A3A3;
    --color-gray-400: #737373;
    --color-gray-300: #525252;
    --color-gray-200: #404040;
    --color-gray-100: #262626;
    --color-gray-50: #171717;
    --color-white: #0A0A0A;
    
    /* Backgrounds (pure black-grey, no blue) */
    --bg-primary: #0A0A0A;
    --bg-secondary: #0F0F0F;
    --bg-tertiary: #1A1A1A;
    
    /* Text Colors */
    --text-primary: #FAFAFA;
    --text-secondary: #D4D4D4;
    --text-tertiary: #A3A3A3;
    
    /* Shadows (deeper in dark mode) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Subtle background grid pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] body::before {
    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);
}

body > * {
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(249, 250, 251, 0.95);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 50;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--color-gray-200);
    backdrop-filter: blur(10px);
}

.header-container {
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-container .nav {
    margin-left: auto;
    margin-right: 12px;
}

.header-container .header-buttons {
    margin-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

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

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

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

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .header-buttons {
        display: none;
    }
    
    .mobile-header-controls {
        display: flex;
    }
    
    .language-toggle:not(.mobile-language-toggle-header) {
        display: none;
    }
}

/* Dark Mode Toggle Button */
.language-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    position: relative;
}

.language-toggle:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

[data-theme="dark"] .language-toggle {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .language-toggle:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

.language-code {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-code.en-code {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.language-code.nl-code {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.language-toggle[data-lang="nl"] .language-code.en-code {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.language-toggle[data-lang="nl"] .language-code.nl-code {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark-mode-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.dark-mode-toggle:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

[data-theme="dark"] .dark-mode-toggle {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

.dark-mode-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dark-mode-icon.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark-mode-icon.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .dark-mode-icon.sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .dark-mode-icon.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.btn-secondary {
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-700);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--color-gray-100);
}

.btn-primary {
    padding: 10px 20px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-gray-900);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-gray-800);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-primary {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--color-gray-200);
}

.btn-primary:active {
    transform: translateY(0);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    flex-shrink: 0;
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--text-primary);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(10, 10, 10, 0.98);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.mobile-menu-header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-features-toggle-in-menu {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--color-gray-800);
    transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    position: relative;
    padding: 0;
    opacity: 0.175;
}

[data-theme="dark"] .mobile-features-toggle-in-menu {
    color: var(--text-primary);
    opacity: 0.175;
}

.mobile-features-toggle-in-menu:hover {
    color: var(--color-black);
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-features-toggle-in-menu:hover {
    color: var(--text-primary);
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-features-toggle-in-menu svg {
    width: 26px;
    height: 26px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-gray-800);
    transition: color 0.2s ease, background 0.2s ease;
    padding: 0;
}

[data-theme="dark"] .mobile-menu-close {
    color: var(--text-primary);
}

.mobile-menu-close:hover {
    color: var(--color-black);
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-menu-close:hover {
    color: var(--text-primary);
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-close svg {
    width: 40px;
    height: 40px;
}

.mobile-nav {
    text-align: center;
    width: 100%;
    max-width: 350px;
    padding: 40px 20px;
}

/* Feature menu specific styling - only applies to feature menu items */
.mobile-features-menu .mobile-nav {
    padding-top: 60px; /* Add top padding so first item isn't too close to top */
}

.mobile-features-menu .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 16px 12px;
    font-size: 22px;
    font-weight: 500;
    color: var(--color-gray-800);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.mobile-features-menu .mobile-nav-link svg {
    display: block; /* Show icons in feature menu */
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke-width: 2;
    opacity: 0.15;
}

/* Main menu items (Story, About) - keep old styling */
.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-gray-800);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

/* Hide icons in main menu (Story, About don't have icons) */
.mobile-menu:not(.mobile-features-menu) .mobile-nav-link svg {
    display: none;
}

.mobile-features-menu .mobile-nav-link span {
    flex: 1;
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--text-primary);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--color-gray-100);
    color: var(--color-black);
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link:active {
    background: var(--color-gray-200);
    color: var(--text-primary);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--color-gray-300);
    margin: 16px 20px;
}

[data-theme="dark"] .mobile-nav-divider {
    background: var(--color-gray-200);
}

.mobile-features-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 20px 16px;
    padding-top: 8px;
}

[data-theme="dark"] .mobile-features-title {
    color: var(--color-gray-500);
}

.mobile-demo-link {
    font-size: 16px;
    opacity: 0.9;
}


.mobile-nav-buttons {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-language-toggle-header {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    position: relative;
}

.mobile-language-toggle-header:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

[data-theme="dark"] .mobile-language-toggle-header {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .mobile-language-toggle-header:hover {
    background: var(--color-gray-200);
    transform: scale(1.05);
}

.mobile-language-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-gray-800);
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
}

[data-theme="dark"] .mobile-language-toggle {
    color: var(--text-primary);
}

.mobile-language-toggle:hover {
    color: var(--color-black);
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-language-toggle:hover {
    color: var(--text-primary);
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dark-mode-toggle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--color-gray-800);
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    padding: 0;
}

[data-theme="dark"] .mobile-dark-mode-toggle {
    color: var(--text-primary);
}

.mobile-dark-mode-toggle:hover {
    color: var(--color-black);
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-dark-mode-toggle:hover {
    color: var(--text-primary);
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dark-mode-toggle .dark-mode-icon {
    width: 26px;
    height: 26px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-dark-mode-toggle .dark-mode-icon.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-dark-mode-toggle .dark-mode-icon.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .mobile-dark-mode-toggle .dark-mode-icon.sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .mobile-dark-mode-toggle .dark-mode-icon.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 40px 90px;
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 0;
}

.hero-content {
    animation: fadeUp 0.8s ease forwards;
}

.hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.hiring-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: pulse-red 2.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
}

@keyframes pulse-red {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
    }
}

.hero-headline {
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.hero-headline-sub {
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

/* Wavy Text Gradient Animation */
.text-rainbow-animation {
    background-image: linear-gradient(to right, #000000, #b1b1b1, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: rainbow-animation 400s linear infinite;
    transition: background-image 0.3s ease;
}

[data-theme="dark"] .text-rainbow-animation {
    background-image: linear-gradient(to right, #ffffff, #b1b1b1, #ffffff);
}

@keyframes rainbow-animation {
    to {
        background-position: 4500vh;
    }
}

.hero-description-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.hero-description {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.hero-description-mobile {
    display: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-description-mobile {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-description-desktop {
        display: none;
    }
    
    .hero-description-mobile {
        display: block;
    }
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 14px;
    margin: 0 3px;
    color: var(--text-secondary);
    font-weight: 400;
    border: 1px solid var(--color-gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .metric-pill {
    background: var(--bg-tertiary);
    border-color: var(--color-gray-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.metric-pill:hover {
    background: var(--color-white);
    border-color: var(--color-gray-300);
    color: var(--color-gray-700);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.metric-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
}

[data-theme="dark"] .metric-icon {
    filter: brightness(0) invert(1);
}

.metric-pill:hover .metric-icon {
    transform: scale(1.1);
}

.metric-pill span:not(.metric-icon) {
    display: inline-block;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

@media (max-width: 768px) {
    .hero-features {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-features .metric-pill:nth-child(3) {
        flex: 0 0 auto;
        width: auto;
        margin-top: 0;
    }
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-gray-700);
    background: var(--color-white);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    min-height: 48px;
    box-sizing: border-box;
}

[data-theme="dark"] .btn-hero-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--color-gray-200);
}

.btn-hero-secondary:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-hero-secondary:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-gray-900);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    min-height: 48px;
    box-sizing: border-box;
}

[data-theme="dark"] .btn-hero-primary {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
    border: 1px solid transparent;
}

.btn-hero-primary:hover {
    background: var(--color-gray-800);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-hero-primary:hover {
    background: var(--color-gray-200);
}

.btn-hero-primary:active {
    transform: translateY(0);
}

.btn-hero {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-black);
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    transition: all 0.2s;
}

.btn-hero:hover {
    background: var(--color-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Dashboard Section */
.dashboard-section {
    padding: 0 40px 40px;
    background: transparent;
    margin-top: -20px;
    position: relative;
    z-index: 10001;
}

/* Dashboard Overlay - moved to body to avoid stacking context issues */
.dashboard-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(3px);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: background 0.4s ease, opacity 0.4s ease;
}

body:has(.dashboard-container:hover) .dashboard-overlay {
    background: rgba(0, 0, 0, 0.65);
    opacity: 1;
}

.dashboard-section::after {
    content: '';
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 250px;
    background: radial-gradient(ellipse at center, 
        rgba(139, 92, 246, 0.15) 0%,
        rgba(59, 130, 246, 0.12) 25%,
        rgba(236, 72, 153, 0.08) 50%,
        rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
    z-index: 201;
    transition: opacity 0.4s ease, transform 0.4s ease, width 0.4s ease, height 0.4s ease;
    opacity: 0;
    filter: blur(50px);
}

.dashboard-section:has(.dashboard-container:hover)::after {
    opacity: 1;
    transform: translateX(-50%) translateY(30px);
    width: 600px;
    height: 300px;
}

.dashboard-mockup-mobile {
    display: none;
    position: relative;
}

.dashboard-mockup-mobile::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .mockup-image {
    filter: brightness(0.9) contrast(1.05);
    border-color: var(--color-gray-200);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mockup-image:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 28px 80px rgba(0, 0, 0, 0.1),
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dashboard-container {
    width: 70%;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .dashboard-container {
    background: #2A2A2A;
    border-color: var(--color-gray-400);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, background 0.4s ease;
    border-radius: 16px;
}

.dashboard-section:has(.ai-prompt-box:hover) .dashboard-container::before {
    opacity: 1;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.dashboard-container:hover {
    width: 75%;
    max-width: 1400px;
    box-shadow: 
        0 28px 80px rgba(0, 0, 0, 0.1),
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-6px) scale(1.12);
    position: relative;
    z-index: 10001;
}

[data-theme="dark"] .dashboard-container:hover {
    box-shadow: 
        0 28px 80px rgba(0, 0, 0, 0.9),
        0 12px 32px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Top Navbar */
.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 24px;
    background: linear-gradient(to bottom, #FFFFFF, #FAFBFC);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .dashboard-topbar {
    background: linear-gradient(to bottom, #2A2A2A, #252525);
    border-bottom: 1px solid var(--color-gray-400);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-label {
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .topbar-label {
    color: var(--text-secondary);
}

.topbar-icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    cursor: pointer;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: all 0.2s;
}

[data-theme="dark"] .topbar-icon-btn {
    border-color: var(--color-gray-200);
    color: var(--text-secondary);
}

.topbar-icon-btn:hover {
    background: var(--color-white);
    border-color: var(--color-gray-400);
    color: var(--color-gray-800);
}

[data-theme="dark"] .topbar-icon-btn:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
    color: var(--text-primary);
}

.refresh-btn svg {
    transition: transform 0.3s;
}

.refresh-btn:hover svg {
    transform: rotate(180deg);
}

.filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-700);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .filter-chip {
    color: var(--text-primary);
    background: #333333;
    border-color: var(--color-gray-400);
}

.filter-chip:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-400);
    color: var(--color-gray-900);
}

[data-theme="dark"] .filter-chip:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
    color: var(--text-primary);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-pill-btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-700);
    background: #F3F4F6;
    border: 1px solid var(--color-gray-300);
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

[data-theme="dark"] .topbar-pill-btn {
    background: #333333;
    border-color: var(--color-gray-400);
    color: var(--text-primary);
}

.topbar-pill-btn:hover {
    background: var(--color-white);
    border-color: var(--color-gray-400);
    color: var(--color-gray-800);
}

[data-theme="dark"] .topbar-pill-btn:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
    color: var(--text-primary);
}

.ask-ai-btn {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.ask-ai-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ask-ai-btn:hover::before {
    left: 100%;
}

.ask-ai-btn:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.ask-ai-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.topbar-link {
    font-size: 13px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

[data-theme="dark"] .topbar-link {
    color: var(--text-secondary);
}

.topbar-link:hover {
    color: var(--color-gray-800);
}

[data-theme="dark"] .topbar-link:hover {
    color: var(--text-primary);
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--color-gray-700);
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-300);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .date-selector {
    background: #333333;
    border-color: var(--color-gray-400);
    color: var(--text-primary);
}

.date-selector:hover {
    background: var(--color-white);
    border-color: var(--color-gray-400);
}

[data-theme="dark"] .date-selector:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-300);
}

.date-selector svg {
    opacity: 0.6;
}

.dashboard-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: linear-gradient(to bottom, #FAFBFC, #F8FAFC);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.dashboard-tab {
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-gray-500);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.dashboard-tab.active {
    background: var(--color-white);
    color: var(--color-gray-700);
    font-weight: 500;
    border: 1px solid var(--color-gray-200);
}

.dashboard-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.dashboard-action-btn {
    padding: 5px 10px;
    font-size: 13px;
    background: transparent;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-gray-600);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-action-btn:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

.help-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.dashboard-layout {
    display: flex;
    min-height: auto;
}

.dashboard-sidebar {
    width: 220px;
    background: linear-gradient(to bottom, #FFFFFF, #FAFBFC);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .dashboard-sidebar {
    background: linear-gradient(to bottom, #2A2A2A, #252525);
    border-right-color: var(--color-gray-400);
}

.sidebar-brand {
    margin-bottom: 24px;
}

.sidebar-logo {
    margin-bottom: 6px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.sidebar-brand:hover .sidebar-logo-img {
    opacity: 0.7;
}

.sidebar-brand-text {
    font-size: 11px;
    color: var(--color-gray-500);
    font-weight: 400;
}

.sidebar-search {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    background: var(--color-gray-50);
    color: var(--color-black);
    transition: all 0.3s ease;
}

[data-theme="dark"] .search-input {
    background: #333333;
    border-color: var(--color-gray-400);
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--color-gray-500);
}

[data-theme="dark"] .search-input::placeholder {
    color: var(--text-tertiary);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-gray-400);
    background: var(--color-white);
}

[data-theme="dark"] .search-input:focus {
    border-color: var(--color-gray-300);
    background: #3A3A3A;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-section-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 13px;
    color: var(--color-gray-600);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    height: 48px;
    text-decoration: none;
}

[data-theme="dark"] .nav-item {
    color: var(--text-secondary);
}

.nav-item:hover {
    background: #EEF2FF;
    color: var(--color-gray-800);
}

[data-theme="dark"] .nav-item:hover {
    background: var(--color-gray-200);
    color: var(--text-primary);
}

.nav-item.active {
    background: #EEF2FF;
    color: var(--color-gray-800);
    font-weight: 500;
}

[data-theme="dark"] .nav-item.active {
    background: var(--color-gray-200);
    color: var(--text-primary);
}

.nav-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    transition: filter 0.3s ease, opacity 0.2s ease;
}

.nav-icon[src] {
    object-fit: contain;
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.2s ease;
    display: block;
}

[data-theme="dark"] .nav-icon[src] {
    filter: brightness(0) invert(1);
}

.nav-item.active .nav-icon[src] {
    opacity: 1;
}

.nav-item:hover .nav-icon[src] {
    opacity: 0.9;
}

.nav-icon:not([src]) {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-gray-500);
}

.nav-item.active .nav-icon:not([src]) {
    color: var(--color-gray-800);
}

[data-theme="dark"] .nav-item.active .nav-icon:not([src]) {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-icon:not([src]) {
    color: var(--text-secondary);
}

.dashboard-main {
    flex: 1;
    padding: 24px 28px;
    background: linear-gradient(to bottom, #FFFFFF, #FAFBFC);
    position: relative;
    transition: background 0.3s ease;
}

[data-theme="dark"] .dashboard-main {
    background: linear-gradient(to bottom, #252525, #2A2A2A);
}

/* Topline Metrics Section */
.topline-metrics-section {
    margin-bottom: 20px;
}

.topline-metrics-section .section-title {
    font-size: 19px;
    font-weight: 650;
    color: #0F172A;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

[data-theme="dark"] .topline-metrics-section .section-title {
    color: var(--text-primary);
}

.topline-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .metric-card {
    background: #333333;
    border-color: var(--color-gray-400);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

[data-theme="dark"] .metric-card:hover {
    border-color: var(--color-gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.metric-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.metric-card-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .metric-card-label {
    color: var(--text-secondary);
}

.metric-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

.metric-badge.negative {
    background: #FECACA;
    color: #DC2626;
}

.metric-badge.positive {
    background: #D1FAE5;
    color: #059669;
}

.metric-card-value {
    font-size: 26px;
    font-weight: 650;
    color: #0F172A;
    line-height: 1.2;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

[data-theme="dark"] .metric-card-value {
    color: var(--text-primary);
}

.momentum-chart-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .momentum-chart-card {
    background: #333333;
    border-color: var(--color-gray-400);
}

.momentum-chart-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .momentum-chart-card:hover {
    border-color: var(--color-gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.chart-card-header {
    margin-bottom: 12px;
}

.chart-card-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .chart-card-label {
    color: var(--text-secondary);
}

.chart-line-dotted {
    fill: none;
}

.dashboard-overview-header h2 {
    font-size: 15px;
    font-weight: 550;
    color: #1E293B;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

[data-theme="dark"] .dashboard-overview-header h2 {
    color: var(--text-primary);
}

.metrics-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .metrics-summary {
    border-bottom-color: var(--color-gray-200);
}

.metric-summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.metric-label {
    color: var(--color-gray-500);
    transition: color 0.3s ease;
}

[data-theme="dark"] .metric-label {
    color: var(--text-secondary);
}

.metric-value {
    font-weight: 600;
    color: var(--color-gray-700);
    transition: color 0.3s ease;
}

[data-theme="dark"] .metric-value {
    color: var(--text-primary);
}

.metric-arrow {
    font-size: 16px;
}

.metric-arrow.up {
    color: var(--color-positive);
}

.metric-arrow.down {
    color: var(--color-negative);
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.chart-container {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

[data-theme="dark"] .chart-container {
    background: #333333;
    border-color: var(--color-gray-400);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.chart-container:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .chart-container:hover {
    border-color: var(--color-gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.chart-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
}

.momentum-chart-card .chart-wrapper {
    height: 160px;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-label {
    font-size: 11px;
    fill: var(--color-gray-500);
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
    transition: fill 0.3s ease;
}

[data-theme="dark"] .chart-label {
    fill: var(--text-secondary);
}

.competitors-table {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .competitors-table {
    background: #333333;
    border-color: var(--color-gray-400);
}

.competitors-table:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .competitors-table:hover {
    border-color: var(--color-gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.competitors-table h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 10px;
}

.competitors-table table {
    width: 100%;
    border-collapse: collapse;
}

.competitors-table th {
    text-align: left;
    padding: 4px 0;
    font-size: 10px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-gray-200);
}

.competitors-table td {
    padding: 6px 0;
    font-size: 12px;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
}

.competitors-table tr.highlighted {
    background: var(--color-gray-50);
}

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

.change {
    font-size: 12px;
    margin-left: 4px;
}

.change.positive {
    color: var(--color-positive);
}

.change.negative {
    color: var(--color-negative);
}

.dashboard-bottom-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.bottom-section {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    padding: 10px 12px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-tabs {
    display: flex;
    gap: 8px;
}

.section-tab {
    padding: 3px 10px;
    font-size: 13px;
    color: var(--color-gray-500);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.section-tab.active {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    font-weight: 500;
}

.section-header h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 2px;
}

.section-header p {
    font-size: 10px;
    color: var(--color-gray-500);
}

.expand-icon {
    font-size: 20px;
    color: var(--color-gray-400);
    cursor: pointer;
}

/* AI Prompt Box Overlay */
.ai-prompt-box {
    position: fixed;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    animation: fadeUp 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.dashboard-section:has(.dashboard-container:hover) .ai-prompt-box {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.25)) 
            drop-shadow(0 0 50px rgba(59, 130, 246, 0.15));
}

.dashboard-section:has(.dashboard-container:hover) .ai-prompt-container {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08),
                0 0 50px rgba(139, 92, 246, 0.15),
                0 0 70px rgba(59, 130, 246, 0.12),
                0 0 90px rgba(236, 72, 153, 0.08);
}

/* Override dashboard hover effects when AI prompt box is hovered */
.dashboard-section:has(.dashboard-container:hover) .ai-prompt-box:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.08)) 
            drop-shadow(0 0 50px rgba(59, 130, 246, 0.05));
}

.dashboard-section:has(.dashboard-container:hover) .ai-prompt-container:hover {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08),
                0 0 30px rgba(139, 92, 246, 0.08),
                0 0 50px rgba(59, 130, 246, 0.05),
                0 0 70px rgba(236, 72, 153, 0.04);
}

.ai-prompt-box:hover .ai-prompt-container {
    width: 680px;
    height: 84px;
}

.ai-prompt-box:hover .ai-prompt-tags {
    opacity: 1;
    visibility: visible;
    width: auto;
    margin: 0;
    padding: 6px 10px;
}

.ai-prompt-box:hover .ai-prompt-submit {
    opacity: 1;
    visibility: visible;
    width: 40px;
    margin: 0;
}

.ai-prompt-container {
    width: 240px;
    max-width: calc(100vw - 80px);
    height: 76px;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08),
                0 0 30px rgba(139, 92, 246, 0.08),
                0 0 50px rgba(59, 130, 246, 0.05),
                0 0 70px rgba(236, 72, 153, 0.04);
    border: 2px solid transparent;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), height 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background-clip: padding-box;
    animation: ai-prompt-pulse 3s ease-in-out infinite;
}

@keyframes ai-prompt-pulse {
    0%, 100% {
        box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08),
                    0 0 30px rgba(139, 92, 246, 0.08),
                    0 0 50px rgba(59, 130, 246, 0.05),
                    0 0 70px rgba(236, 72, 153, 0.04);
    }
    50% {
        box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08),
                    0 0 40px rgba(139, 92, 246, 0.15),
                    0 0 60px rgba(59, 130, 246, 0.12),
                    0 0 80px rgba(236, 72, 153, 0.08);
    }
}

.ai-prompt-box:hover .ai-prompt-container {
    animation: none;
}

.ai-prompt-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.25), 
        rgba(59, 130, 246, 0.25), 
        rgba(236, 72, 153, 0.25), 
        rgba(251, 146, 60, 0.25),
        rgba(139, 92, 246, 0.25));
    background-size: 200% 200%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rainbow-border 3s linear infinite;
    z-index: -1;
    opacity: 0.8;
}

.ai-prompt-box:hover .ai-prompt-container::before {
    animation: none;
}

@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.ai-prompt-container:hover {
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.1),
                0 0 40px rgba(139, 92, 246, 0.12),
                0 0 60px rgba(59, 130, 246, 0.08),
                0 0 80px rgba(236, 72, 153, 0.06);
    transform: translateY(-1px);
}

.ai-prompt-container:hover::before {
    opacity: 1;
}

.ai-prompt-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.ai-prompt-flag:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.ai-prompt-flag img {
    filter: brightness(0) invert(1);
}

.ai-prompt-input-wrapper {
    flex: 1;
    min-width: 0;
}

.ai-prompt-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15.5px;
    font-weight: 500;
    color: #111827;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0;
    line-height: 1.5;
}

.ai-prompt-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.ai-prompt-tags {
    padding: 6px 10px;
    background: #F3F4F6;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.ai-prompt-tags:hover {
    background: #E5E7EB;
    color: #4B5563;
}

.ai-prompt-submit {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F3F4F6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4B5563;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    overflow: hidden;
}

.ai-prompt-submit:hover {
    background: #E5E7EB;
    color: #111827;
    transform: translateY(-1px);
}

.ai-prompt-submit:active {
    transform: translateY(0);
    background: #D1D5DB;
}

.ai-prompt-submit svg {
    transition: transform 0.2s ease;
}

.ai-prompt-submit:hover svg {
    transform: translateY(-1px);
}

@keyframes aiPromptFadeUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* AI Prompt Section (Standalone) */
.ai-prompt-section {
    padding: 30px 0;
    background: transparent;
}

.ai-prompt-standalone-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: fadeUp 0.6s ease forwards;
}

.ai-prompt-standalone-box:hover .ai-prompt-standalone-container {
    width: 800px;
    height: auto;
    min-height: 100px;
    max-height: 700px;
    max-width: calc(100vw - 80px);
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.05);
    transform: translateY(-4px);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 32px;
    border-radius: 28px;
}

[data-theme="dark"] .ai-prompt-standalone-box:hover .ai-prompt-standalone-container {
    background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 0 1px var(--color-gray-200);
}

.ai-prompt-standalone-box:hover .ai-prompt-standalone-expanded {
    opacity: 1;
    visibility: visible;
    max-height: 650px;
    margin-top: 20px;
}

.ai-prompt-standalone-container {
    width: 400px;
    max-width: calc(100vw - 80px);
    min-height: 100px;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border-radius: 36px;
    box-shadow: 
        0 6px 40px rgba(99, 102, 241, 0.15), 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(99, 102, 241, 0.12);
    padding: 20px 28px;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .ai-prompt-standalone-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border-color: var(--color-gray-200);
    box-shadow: 
        0 6px 40px rgba(0, 0, 0, 0.6), 
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-prompt-standalone-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.2) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-prompt-standalone-box:hover .ai-prompt-standalone-container::before {
    opacity: 1;
}

.ai-prompt-standalone-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
    min-width: 0;
}

.ai-prompt-standalone-container:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

.ai-prompt-standalone-flag {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.ai-prompt-standalone-flag:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.ai-prompt-standalone-flag img {
    filter: brightness(0) invert(1);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .ai-prompt-standalone-flag img {
        width: 25px !important;
        height: 25px !important;
    }
}

@media (max-width: 480px) {
    .ai-prompt-standalone-flag img {
        width: 25px !important;
        height: 25px !important;
    }
}

.ai-prompt-standalone-input-wrapper {
    flex: 1;
    min-width: 0;
}

.ai-prompt-standalone-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    min-width: 0;
}

.ai-prompt-standalone-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.ai-prompt-standalone-tags {
    padding: 10px 16px;
    background: #F3F4F6;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #6B7280;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.ai-prompt-standalone-box:hover .ai-prompt-standalone-tags {
    opacity: 1;
    visibility: visible;
    width: auto;
    margin: 0;
    padding: 10px 16px;
}

.ai-prompt-standalone-tags:hover {
    background: #E5E7EB;
    color: #4B5563;
}

.ai-prompt-standalone-submit {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
    margin: 0;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ai-prompt-standalone-submit:hover {
    background: linear-gradient(135deg, #5B5FEB 0%, #7C3AED 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.ai-prompt-standalone-submit:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ai-prompt-standalone-submit svg {
    transition: transform 0.2s ease;
}

.ai-prompt-standalone-submit:hover svg {
    transform: translateY(-1px);
}

.ai-prompt-standalone-expanded {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                margin-top 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}


.ai-prompt-standalone-expanded .ai-chat-demo-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 250px;
    max-height: 500px;
    margin-bottom: 0;
    scroll-behavior: smooth;
    position: relative;
}

/* Add subtle gradient fade at top and bottom of messages */
.ai-prompt-standalone-expanded .ai-chat-demo-messages::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
    margin-bottom: -20px;
    transition: background 0.3s ease;
}

[data-theme="dark"] .ai-prompt-standalone-expanded .ai-chat-demo-messages::before {
    background: linear-gradient(180deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(15, 15, 15, 0) 100%);
}

.ai-prompt-standalone-expanded .ai-chat-demo-messages::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(0deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
    margin-top: -20px;
    transition: background 0.3s ease;
}

[data-theme="dark"] .ai-prompt-standalone-expanded .ai-chat-demo-messages::after {
    background: linear-gradient(0deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(15, 15, 15, 0) 100%);
}

/* Custom scrollbar for messages */
.ai-prompt-standalone-expanded .ai-chat-demo-messages::-webkit-scrollbar {
    width: 8px;
}

.ai-prompt-standalone-expanded .ai-chat-demo-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    margin: 8px 0;
    transition: background 0.3s ease;
}

[data-theme="dark"] .ai-prompt-standalone-expanded .ai-chat-demo-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.ai-prompt-standalone-expanded .ai-chat-demo-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(139, 92, 246, 0.3) 100%);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.2s ease;
}

.ai-prompt-standalone-expanded .ai-chat-demo-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.5) 0%, 
        rgba(139, 92, 246, 0.5) 100%);
    background-clip: padding-box;
}

.ai-prompt-standalone-expanded .ai-chat-demo-input-container {
    padding-top: 20px;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .ai-prompt-standalone-expanded .ai-chat-demo-input-container {
    border-top-color: rgba(107, 114, 128, 0.3);
}

.ai-prompt-standalone-expanded .ai-chat-demo-input-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -32px;
    right: -32px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.1) 20%,
        rgba(99, 102, 241, 0.1) 80%,
        transparent 100%);
}

.ai-prompt-settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-prompt-settings-label,
.ai-prompt-questions-label {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-prompt-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-prompt-badge {
    padding: 6px 12px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.ai-prompt-badge:hover {
    background: #E5E7EB;
    border-color: #D1D5DB;
    color: #4B5563;
}

.ai-prompt-badge.active {
    background: #6B7280;
    border-color: #6B7280;
    color: #FFFFFF;
}

.ai-prompt-badge.active:hover {
    background: #4B5563;
    border-color: #4B5563;
}

/* Fade-out effect for badges - starting from Undervalued & High Demand */
.ai-prompt-badges .ai-prompt-badge:nth-child(9):not(.active),
.ai-prompt-badges .ai-prompt-badge:nth-child(10):not(.active) {
    opacity: 0.85;
    color: #9CA3AF;
    background: #FAFBFC;
    border-color: #F5F6F7;
}

.ai-prompt-badges .ai-prompt-badge:nth-child(11):not(.active) {
    opacity: 0.7;
    color: #9CA3AF;
    background: #F9FAFB;
    border-color: #F3F4F6;
}

.ai-prompt-badges .ai-prompt-badge:nth-child(12):not(.active) {
    opacity: 0.55;
    color: #D1D5DB;
    background: #FBFBFB;
    border-color: #F9FAFB;
}

.ai-prompt-badges .ai-prompt-badge:nth-child(13):not(.active) {
    opacity: 0.4;
    color: #D1D5DB;
    background: #FDFDFD;
    border-color: #FBFBFB;
}

.ai-prompt-ellipsis {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 500;
    color: #9CA3AF;
    font-family: 'Inter', sans-serif;
    line-height: 0.3;
    letter-spacing: 0;
}

.ai-prompt-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-prompt-questions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-prompt-question {
    padding: 6px 12px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    display: inline-flex;
    width: auto;
    white-space: nowrap;
}

.ai-prompt-question:hover {
    background: #E5E7EB;
    border-color: #D1D5DB;
    color: #4B5563;
    transform: translateX(4px);
}

/* Fade-out effect for last questions */
.ai-prompt-questions-list .ai-prompt-question:nth-last-child(3) {
    opacity: 0.7;
    color: #9CA3AF;
    background: #F9FAFB;
    border-color: #F3F4F6;
}

.ai-prompt-questions-list .ai-prompt-question:nth-last-child(2) {
    opacity: 0.5;
    color: #D1D5DB;
    background: #FBFBFB;
    border-color: #F9FAFB;
}

.ai-prompt-question:active {
    transform: translateX(2px);
}

/* Hero Image / Mockup Section */
.hero-image {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(to bottom, #faf8f5, var(--color-white));
}

.mockup-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.mockup-browser {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeUp 1s ease forwards 0.2s;
    opacity: 0;
}

.browser-header {
    background: var(--color-gray-100);
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--color-gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-400);
}

.browser-url {
    flex: 1;
    background: var(--color-white);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 13px;
    color: var(--color-gray-600);
    font-family: 'SF Mono', Monaco, monospace;
}

.browser-actions {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-icon {
    font-size: 20px;
    color: var(--color-gray-600);
}

.dashboard-preview {
    padding: var(--spacing-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.dashboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
}

.dashboard-filter {
    display: flex;
    gap: var(--spacing-xs);
}

.dashboard-filter span {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-active {
    background: var(--color-black);
    color: var(--color-white);
}

.dashboard-filter span:not(.filter-active) {
    background: var(--color-gray-100);
    color: var(--color-gray-600);
}

.dashboard-filter span:not(.filter-active):hover {
    background: var(--color-gray-200);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.insight-card {
    background: var(--color-gray-100);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: background 0.3s ease;
}

[data-theme="dark"] .insight-card {
    background: #333333;
}

.insight-card:hover {
    background: var(--color-gray-200);
    transform: translateY(-2px);
}

[data-theme="dark"] .insight-card:hover {
    background: var(--color-gray-300);
}

.insight-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .insight-label {
    color: var(--text-secondary);
}

.insight-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.insight-change {
    font-size: 12px;
    font-weight: 600;
}

.insight-change.positive {
    color: var(--color-positive);
}

.insight-change.negative {
    color: var(--color-negative);
}

.insight-change.neutral {
    color: var(--color-neutral);
}

.chart-preview {
    margin-top: var(--spacing-lg);
}

.chart-placeholder {
    height: 200px;
    background: var(--color-gray-100);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.chart-line {
    flex: 1;
    height: 80%;
    background: var(--color-black);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    animation: chartGrow 1s ease-out;
}

.chart-line:nth-child(2) {
    height: 60%;
    animation-delay: 0.2s;
}

.chart-line:nth-child(3) {
    height: 45%;
    animation-delay: 0.4s;
}

.chart-legend {
    font-size: 13px;
    color: var(--color-gray-600);
    text-align: center;
}

/* Sections */
.section-container {
    width: 70%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-xl);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-gray-900);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.feature-card {
    padding: var(--spacing-xl);
    background: var(--bg-primary);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-card {
    background: var(--bg-tertiary);
    border-color: var(--color-gray-200);
}

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

[data-theme="dark"] .feature-card::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}

.feature-card:hover {
    border-color: var(--color-gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

[data-theme="dark"] .feature-card:hover {
    border-color: var(--color-gray-300);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(15%) brightness(0.95);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

[data-theme="dark"] .feature-icon-img {
    filter: brightness(0) invert(1) grayscale(0%);
}

.feature-card:hover .feature-icon-img {
    opacity: 0.95;
    filter: grayscale(10%) brightness(1);
}

[data-theme="dark"] .feature-card:hover .feature-icon-img {
    filter: brightness(0) invert(1) grayscale(0%);
    opacity: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Insights Detail Section */
.insights-list {
    max-width: 800px;
    margin: 0 auto;
}

.insight-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-200);
    transition: all 0.2s;
}

.insight-item:last-child {
    border-bottom: none;
}

.insight-item:hover {
    background: var(--color-gray-100);
    margin: 0 calc(-1 * var(--spacing-lg));
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-bottom: none;
}

.insight-number {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-400);
    flex-shrink: 0;
    min-width: 40px;
}

.insight-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-xs);
}

.insight-content p {
    font-size: 16px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: var(--spacing-2xl) 0 0 0;
}

.about-hero-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 48px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-hero-title {
    font-size: 64px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 48px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    @media (max-width: 700px) {
        padding: 0 25px;
    }
}


.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-500);
    margin-bottom: 20px;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.about-mission {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-200);
    text-align: center;
}

.about-mission strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

/* Founders Section */
.founders-section {
    background: transparent;
    padding: 0 0 var(--spacing-xl) 0;
}

.founders-list {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.founder-card {
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.founder-card:hover {
    box-shadow: none;
    border: none;
}

.founder-headshot {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.founder-headshot:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

div.founder-headshot {
    cursor: default;
}

div.founder-headshot:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.founder-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .founder-name {
    color: var(--text-primary);
}

.founder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.founder-role {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #000000 !important;
    border: 1px solid var(--color-gray-300);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .founder-role {
    background: #ffffff;
    color: #000000 !important;
    border-color: var(--color-gray-300);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.founder-skill-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(249, 250, 251, 0.5);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-700) !important;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .founder-skill-badge {
    background: rgba(64, 64, 64, 0.4);
    color: var(--text-secondary) !important;
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.founder-skill-badge:hover {
    color: rgba(107, 114, 128, 0.7) !important;
    border-color: rgba(229, 231, 235, 0.8);
    background: rgba(249, 250, 251, 0.8);
}

[data-theme="dark"] .founder-skill-badge:hover {
    background: rgba(64, 64, 64, 0.6);
    color: var(--text-primary) !important;
    border-color: rgba(107, 114, 128, 0.4);
}

.founder-bio-1 {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

[data-theme="dark"] .founder-bio-1 {
    color: var(--text-primary);
}

.founder-bio-2 {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-400);
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .founder-bio-2 {
    color: var(--text-secondary);
}

.founder-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

[data-theme="dark"] .founder-link {
    color: var(--text-secondary);
}

.founder-link:hover {
    color: var(--color-gray-800);
}

[data-theme="dark"] .founder-link:hover {
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    background: var(--color-gray-100);
}

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

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s;
}

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

.pricing-card-featured {
    border: 2px solid var(--color-black);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: var(--border-radius-xl);
    font-size: 12px;
    font-weight: 600;
}

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

.pricing-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
}

.price-amount {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-gray-700);
}

.price-period {
    font-size: 16px;
    color: var(--color-gray-500);
}

.pricing-features {
    margin-bottom: var(--spacing-lg);
}

.pricing-feature {
    padding: var(--spacing-sm) 0;
    font-size: 16px;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-200);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-black);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.2s;
}

.pricing-button:hover {
    background: var(--color-gray-800);
}

.pricing-button-featured {
    background: var(--color-black);
}

.pricing-button-outline {
    background: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.pricing-button-outline:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
}

.cta-container {
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 18px;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-lg);
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
}

.footer-main {
    background: #000000;
    padding: 80px 0 100px;
    width: 100%;
}

.footer-main-container {
    width: 70%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
}

.footer-column-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.footer-brand-subtitle {
    font-size: 18px;
    color: #9CA3AF;
    margin: 12px 0 0;
    line-height: 1.3;
}

.footer-logo {
    margin-top: 32px;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 72px;
    width: auto;
}

.footer-column-links,
.footer-column-social {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 13px;
    font-weight: 500;
    color: #9CA3AF;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: #A1A1A1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #D1D5DB;
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #A1A1A1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-icon {
    width: 14px;
    height: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.footer-social-link:hover {
    color: #D1D5DB;
}

/* Footer Mobile Features Toggle */
.footer-mobile-features-toggle {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #A1A1A1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.footer-mobile-features-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #D1D5DB;
}

.footer-mobile-features-toggle:active {
    transform: scale(0.95);
}

.footer-mobile-features-toggle svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    background: #0A0A0A;
    border-top: none;
    padding: 20px 0;
}

.footer-bottom-container {
    width: 70%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #6B7280;
}

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

.footer-legal-link {
    font-size: 12px;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: #9CA3AF;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes chartGrow {
    from {
        height: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        width: 90%;
        padding: 14px 32px;
    }
    
    .hero-content {
        width: 90%;
    }
    
    .section-container {
        width: 90%;
    }
    
    .dashboard-container {
        width: 90%;
    }
    
    .dashboard-main-container {
        width: 90%;
    }
    
    .footer-main-container {
        width: 90%;
    }
    
    .footer-bottom-container {
        width: 90%;
    }
    
    .pricing-card-featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav,
    .header-buttons {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-header {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    
    .mobile-menu-close {
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-close svg {
        width: 36px;
        height: 36px;
    }
    
    .mobile-dark-mode-toggle {
        width: 56px;
        height: 56px;
    }
    
    .header-container {
        padding: 12px 16px;
        width: 100%;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .hero {
        padding: 40px 16px 32px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-description-wrapper {
        max-width: 100%;
    }
    
    .hiring-badge {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .hero-headline {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-headline-sub {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .metric-pill {
        display: inline-flex;
        margin: 0 2px;
        padding: 4px 10px;
        font-size: 11px;
        flex-wrap: nowrap;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-features .metric-pill:nth-child(3) {
        flex: 0 0 auto;
        width: auto;
        margin-top: 0;
    }
    
    .metric-icon {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-hero-secondary,
    .btn-hero-primary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* AI Prompt Standalone - Smaller on tablet/mobile */
    .ai-prompt-standalone-container {
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        padding: 12px 16px !important;
        border-radius: 24px !important;
        min-height: 70px !important;
    }
    
    .ai-prompt-standalone-flag {
        width: 40px !important;
        height: 40px !important;
    }
    
    .ai-prompt-standalone-input {
        font-size: 14px !important;
    }
    
    .ai-prompt-standalone-submit {
        width: 40px !important;
        height: 40px !important;
    }
    
    .ai-prompt-standalone-box:hover .ai-prompt-standalone-container {
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        max-height: 480px !important;
        padding: 14px 18px !important;
    }
    
    .ai-prompt-standalone-expanded .ai-chat-demo-messages {
        padding: 14px 0 !important;
        gap: 14px !important;
        min-height: 170px !important;
        max-height: 350px !important;
    }
    
    /* Only apply to landing page chat demo, not mobile feature pages */
    .ai-chat-demo-container .chat-message,
    .ai-prompt-standalone-expanded .chat-message {
        max-width: 87% !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
    
    .ai-chat-demo-input-wrapper {
        padding: 9px 14px !important;
    }
    
    .ai-chat-demo-input {
        font-size: 13px !important;
    }
    
    .ai-chat-demo-send {
        width: 30px !important;
        height: 30px !important;
    }
    
    .section-container {
        padding: 40px 16px;
        width: 100%;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .insights-list {
        padding: 0;
        gap: 32px;
    }
    
    .insight-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .insight-number {
        font-size: 32px;
    }
    
    .insight-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .insight-content p {
        font-size: 14px;
    }
    
    .about-section {
        padding: 40px 0 0 0;
    }
    
    .about-hero-image {
        max-width: 100%;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    
    .about-hero-title {
        font-size: 42px;
        margin-bottom: 32px;
    }
    
    .about-text {
        font-size: 15px;
        margin-bottom: 18px;
        color: var(--color-gray-500);
    }
    
    .about-mission {
        font-size: 18px;
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .founders-section {
        padding: 0 0 32px 0;
    }
    
    .founders-list {
        gap: 44px;
        margin-top: 32px;
    }
    
    .founder-card {
        padding: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .founder-headshot {
        width: 110px;
        height: 110px;
        margin-bottom: 0;
    }
    
    .founder-name {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .founder-badges {
        margin-bottom: 14px;
    }
    
    .founder-role {
        font-size: 14px;
    }
    
    .founder-skill-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .founder-bio-1 {
        font-size: 13px;
        text-align: left;
        margin-bottom: 10px;
        line-height: 1.5;
        font-weight: 500;
    }
    
    .founder-bio-2 {
        font-size: 13px;
        text-align: left;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .founder-link {
        font-size: 13px;
    }
    
    .founder-info {
        text-align: center;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
        width: 100%;
        text-align: center;
    }
    
    .footer-column-brand,
    .footer-column-links,
    .footer-column-social {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-link-list {
        align-items: center;
    }
    
    .footer-social-list {
        align-items: center;
    }
    
    .footer-social-link {
        justify-content: center;
    }
    
    .footer-brand-title {
        font-size: 20px;
        text-align: center;
    }
    
    .footer-brand-subtitle {
        font-size: 16px;
        text-align: center;
    }
    
    .footer-column-title {
        text-align: center;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 16px;
        width: 100%;
    }
    
    .footer-legal-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard-section {
        padding: 40px 16px 40px;
        margin-top: 0 !important;
        z-index: 1 !important;
        position: relative;
    }
    
    .dashboard-mockup-mobile {
        display: block;
        margin: 20px auto 0;
        width: 100%;
        max-width: 600px;
        position: relative;
        z-index: 1;
    }
    
    .dashboard-container {
        display: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 12px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .hero {
        padding: 32px 12px 24px;
    }
    
    .hero-description-wrapper {
        max-width: 100%;
    }
    
    .hero-headline {
        font-size: 52px;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }
    
    .hero-headline-sub {
        font-size: 44px;
        letter-spacing: -0.02em;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .metric-pill {
        font-size: 14px;
        padding: 3px 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-features .metric-pill:nth-child(3) {
        flex: 0 0 auto;
        width: auto;
        margin-top: 0;
    }
    
    .metric-icon {
        width: 11px;
        height: 11px;
        flex-shrink: 0;
    }
    
    .btn-hero-secondary,
    .btn-hero-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* AI Prompt Standalone - Smaller on mobile */
    .ai-prompt-standalone-container {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        padding: 10px 12px !important;
        border-radius: 20px !important;
        min-height: 60px !important;
    }
    
    .ai-prompt-standalone-flag {
        width: 36px !important;
        height: 36px !important;
    }
    
    .ai-prompt-standalone-input {
        font-size: 13px !important;
    }
    
    .ai-prompt-standalone-submit {
        width: 36px !important;
        height: 36px !important;
    }
    
    .ai-prompt-standalone-box:hover .ai-prompt-standalone-container {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 420px !important;
        padding: 12px 16px !important;
    }
    
    .ai-prompt-standalone-expanded .ai-chat-demo-messages {
        padding: 12px 0 !important;
        gap: 12px !important;
        min-height: 150px !important;
        max-height: 300px !important;
    }
    
    .chat-message {
        max-width: 90% !important;
        padding: 10px 14px !important;
        font-size: 12px !important;
        border-radius: 14px !important;
        line-height: 1.5 !important;
    }
    
    .ai-chat-demo-input-wrapper {
        padding: 8px 12px !important;
        border-radius: 18px !important;
    }
    
    .ai-chat-demo-input {
        font-size: 12px !important;
    }
    
    .ai-chat-demo-send {
        width: 28px !important;
        height: 28px !important;
    }
    
    .chat-message-list {
        margin: 6px 0 !important;
        padding-left: 16px !important;
    }
    
    .chat-message-list li {
        margin: 3px 0 !important;
        font-size: 12px !important;
    }
    
    .section-container {
        padding: 32px 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon-img {
        width: 36px;
        height: 36px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .insight-number {
        font-size: 28px;
    }
    
    .insight-content h3 {
        font-size: 16px;
    }
    
    .insight-content p {
        font-size: 13px;
    }
    
    .about-section {
        padding: 32px 0 0 0;
    }
    
    .about-hero-image {
        max-width: 100%;
        margin-bottom: 24px;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    }
    
    .about-hero-title {
        font-size: 36px;
        margin-bottom: 28px;
    }
    
    .about-text {
        font-size: 15px;
        margin-bottom: 18px;
        color: var(--color-gray-500);
    }
    
    .about-mission {
        font-size: 17px;
        margin-top: 28px;
        padding-top: 28px;
    }
    
    .founders-section {
        padding: 0 0 36px 0;
    }
    
    .founders-section .section-container {
        padding: 0 28px;
        max-width: 100%;
    }
    
    .founders-section .section-title {
        font-size: 32px;
        margin-bottom: 28px;
    }
    
    .founders-list {
        gap: 48px;
        margin-top: 28px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
    }
    
    .founder-card {
        padding: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
    }
    
    .founder-headshot {
        width: 160px;
        height: 160px;
        margin-bottom: 0;
    }
    
    .founder-name {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .founder-badges {
        margin-bottom: 18px;
        justify-content: center;
    }
    
    .founder-role {
        font-size: 16px;
        padding: 7px 16px;
    }
    
    .founder-skill-badge {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    .founder-bio-1 {
        font-size: 17px;
        text-align: center;
        margin-bottom: 16px;
        line-height: 1.75;
        max-width: 100%;
        font-weight: 500;
        color: var(--color-gray-900);
    }
    
    .founder-bio-2 {
        font-size: 15px;
        text-align: center;
        margin-bottom: 18px;
        line-height: 1.75;
        max-width: 100%;
        color: var(--color-gray-400);
    }
    
    .founder-link {
        font-size: 16px;
    }
    
    .founder-info {
        text-align: center;
        width: 100%;
    }
    
    .footer-main-container {
        padding: 0 12px;
        gap: 28px;
    }
    
    .footer-brand-title {
        font-size: 18px;
    }
    
    .footer-brand-subtitle {
        font-size: 14px;
    }
    
    .footer-logo-img {
        height: 28px;
    }
    
    .footer-bottom-container {
        padding: 0 12px;
    }
    
    .footer-copyright,
    .footer-legal-link {
        font-size: 11px;
    }
    
    .footer-legal-links {
        gap: 16px;
    }
    
    .dashboard-section {
        padding: 24px 12px 32px;
        margin-top: 0 !important;
        z-index: 1 !important;
    }
    
    .dashboard-mockup-mobile {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* Coming Soon Page Styles */
.coming-soon-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: #ffffff;
    overflow: hidden;
    transition: background 0.3s ease;
}

[data-theme="dark"] .coming-soon-hero {
    background: var(--bg-secondary);
}

/* Background Grid Pattern */
.under-construction-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    transition: background-image 0.3s ease;
}

[data-theme="dark"] .under-construction-grid {
    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);
}

.coming-soon-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.coming-soon-content {
    text-align: center;
    padding: 2rem 0;
}

/* Company Branding */
.brand-section {
    margin-bottom: 4rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-800);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .company-name {
    color: var(--text-primary);
}

.company-tagline {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .company-tagline {
    color: var(--text-secondary);
}

/* Hero Headline - Match main page typography */
.coming-soon-hero .hero-headline {
    font-size: 60px;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .coming-soon-hero .hero-headline {
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gray-500);
    line-height: 1.6;
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-subheadline {
    color: var(--text-secondary);
}

/* Construction Indicator */
.construction-indicator {
    margin-bottom: 4rem;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

[data-theme="dark"] .progress-bar-container {
    background: var(--color-gray-200);
}

.progress-bar-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
    border-radius: 2px;
    animation: progress-fill 2.5s ease-in-out infinite;
    transition: background 0.3s ease;
}

[data-theme="dark"] .progress-bar-fill {
    background: linear-gradient(90deg, #FAFAFA 0%, #D4D4D4 100%);
}

@keyframes progress-fill {
    0%, 100% { width: 65%; }
    50% { width: 85%; }
}

.progress-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .progress-label {
    color: var(--text-secondary);
}

/* Notify Section */
.notify-section {
    margin-top: 3rem;
}

.notify-form {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.notify-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-800);
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] .notify-input {
    background: var(--bg-tertiary);
    border-color: var(--color-gray-200);
    color: var(--text-primary);
}

.notify-input:focus {
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .notify-input:focus {
    border-color: var(--color-gray-300);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.notify-input::placeholder {
    color: var(--color-gray-400);
}

[data-theme="dark"] .notify-input::placeholder {
    color: var(--text-tertiary);
}

.notify-button {
    padding: 0.875rem 2rem;
    background: var(--color-black);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] .notify-button {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

.notify-button:hover {
    background: var(--color-gray-800);
    transform: translateY(-1px);
}

[data-theme="dark"] .notify-button:hover {
    background: var(--color-gray-200);
}

.notify-button:active {
    transform: translateY(0);
}

.notify-disclaimer {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .notify-disclaimer {
    color: var(--text-secondary);
}

/* Coming Soon Header Styles - Uses same styles as main page */

/* Coming Soon Footer Styles */
.coming-soon-hero ~ .footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: 60px 20px 40px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .coming-soon-hero ~ .footer {
    background: var(--bg-secondary);
    border-top-color: var(--color-gray-200);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-black);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-200);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal p {
    font-size: 14px;
    color: var(--color-gray-600);
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-legal p {
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 14px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

[data-theme="dark"] .legal-links a {
    color: var(--text-secondary);
}

.legal-links a:hover {
    color: var(--color-black);
}

[data-theme="dark"] .legal-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Mobile Coming Soon */
@media (max-width: 768px) {
    .coming-soon-hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .coming-soon-hero .hero-headline {
        font-size: 48px;
    }
    
    .hero-subheadline {
        font-size: 18px;
        margin-bottom: 3rem;
    }

    .brand-section {
        margin-bottom: 3rem;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .company-tagline {
        font-size: 0.75rem;
    }

    .construction-indicator {
        margin-bottom: 3rem;
    }

    .notify-form {
        flex-direction: column;
        align-items: stretch;
    }

    .notify-button {
        width: 100%;
    }


    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .coming-soon-hero {
        padding: 6rem 1rem 3rem;
    }

    .coming-soon-hero .hero-headline {
        font-size: 36px;
    }
    
    .hero-subheadline {
        font-size: 16px;
        margin-bottom: 2.5rem;
    }

    .brand-section {
        margin-bottom: 2.5rem;
    }

    .company-name {
        font-size: 1.125rem;
    }

    .construction-indicator {
        margin-bottom: 2.5rem;
    }

    .notify-section {
        margin-top: 2rem;
    }
}

/* Waitlist Modal */
.waitlist-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.waitlist-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.waitlist-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
}

.waitlist-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 50001;
}

[data-theme="dark"] .waitlist-modal-content {
    background: var(--bg-tertiary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.waitlist-modal.active .waitlist-modal-content {
    transform: scale(1) translateY(0);
}

.waitlist-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6B7280;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

[data-theme="dark"] .waitlist-modal-close {
    color: var(--text-secondary);
}

.waitlist-modal-close:hover {
    color: #111827;
    background: #F3F4F6;
}

[data-theme="dark"] .waitlist-modal-close:hover {
    color: var(--text-primary);
    background: var(--color-gray-200);
}

.waitlist-modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.waitlist-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

[data-theme="dark"] .waitlist-modal-header h2 {
    color: var(--text-primary);
}

.waitlist-modal-header p {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

[data-theme="dark"] .waitlist-modal-header p {
    color: var(--text-secondary);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waitlist-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.waitlist-field label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
}

[data-theme="dark"] .waitlist-field label {
    color: var(--text-secondary);
}

.waitlist-field input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
    color: #111827;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] .waitlist-field input {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--color-gray-200);
}

.waitlist-field input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

[data-theme="dark"] .waitlist-field input:focus {
    border-color: var(--color-gray-300);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.waitlist-field input::placeholder {
    color: #9CA3AF;
}

[data-theme="dark"] .waitlist-field input::placeholder {
    color: var(--text-tertiary);
}

.waitlist-submit-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    background: #111827;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] .waitlist-submit-btn {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

.waitlist-submit-btn:hover:not(:disabled) {
    background: #374151;
}

[data-theme="dark"] .waitlist-submit-btn:hover:not(:disabled) {
    background: var(--color-gray-200);
}

.waitlist-submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.waitlist-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.waitlist-form-note {
    text-align: center;
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .waitlist-modal-content {
        padding: 24px;
        width: calc(100% - 32px);
        max-width: none;
    }

    .waitlist-modal-header h2 {
        font-size: 22px;
    }

    .waitlist-modal-header p {
        font-size: 14px;
    }

    .waitlist-field input {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .waitlist-submit-btn {
        padding: 14px 24px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* AI Chat Demo Section */
.ai-chat-demo-section {
    padding: 60px 0;
    background: transparent;
}

.ai-chat-demo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: fadeUp 0.6s ease forwards;
}

.ai-chat-demo-container {
    width: 500px;
    max-width: calc(100vw - 80px);
    min-height: 80px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

[data-theme="dark"] .ai-chat-demo-container {
    background: var(--bg-tertiary);
    border-color: var(--color-gray-200);
}

.ai-chat-demo-box.active .ai-chat-demo-container {
    width: 800px;
    max-width: calc(100vw - 80px);
    min-height: 500px;
    max-height: 700px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.ai-chat-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.ai-chat-demo-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ai-chat-demo-header-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    transition: color 0.3s ease;
}

.ai-chat-demo-subheader {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin: 0;
    transition: color 0.3s ease;
}

.ai-chat-demo-flag {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-demo-flag img {
    filter: brightness(0) invert(1);
}

.ai-chat-demo-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease, transform 0.3s ease;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-demo-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

[data-theme="dark"] .ai-chat-demo-toggle:hover {
    background: var(--color-gray-200);
}

.ai-chat-demo-box.active .ai-chat-demo-toggle {
    transform: rotate(180deg);
}

.ai-chat-demo-expanded {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.ai-chat-demo-box.active .ai-chat-demo-expanded {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    margin-top: 16px;
}

.ai-chat-demo-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    max-height: 400px;
}

.chat-message {
    max-width: 82%;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 14.5px;
    line-height: 1.65;
    animation: messageFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    word-wrap: break-word;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    letter-spacing: -0.011em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-message-text {
    margin: 0;
    padding: 0;
    line-height: 1.65;
}

.chat-message-text:not(:last-child) {
    margin-bottom: 8px;
}

.chat-message-list {
    margin: 8px 0;
    padding-left: 20px;
    list-style-position: outside;
}

.chat-message-list:first-child {
    margin-top: 0;
}

.chat-message-list:last-child {
    margin-bottom: 0;
}

.chat-message-list li {
    margin: 4px 0;
    padding-left: 4px;
    line-height: 1.6;
}

.chat-message-list ul,
.chat-message-list ol {
    margin: 4px 0;
    padding-left: 20px;
}

/* Styling for unordered lists */
.chat-message ul.chat-message-list {
    list-style-type: disc;
}

.chat-message ul.chat-message-list li {
    list-style-type: disc;
}

/* Styling for ordered lists */
.chat-message ol.chat-message-list {
    list-style-type: decimal;
}

.chat-message ol.chat-message-list li {
    list-style-type: decimal;
}

/* User message list styling */
.user-message .chat-message-list li {
    color: rgba(255, 255, 255, 0.95);
}

.user-message .chat-message-text {
    color: #FFFFFF;
}

/* Assistant message list styling */
.assistant-message .chat-message-list li {
    color: #111827;
}

.assistant-message .chat-message-text {
    color: #111827;
}

[data-theme="dark"] .assistant-message .chat-message-list li {
    color: var(--text-primary);
}

[data-theme="dark"] .assistant-message .chat-message-text {
    color: var(--text-primary);
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-message {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #FFFFFF;
    align-self: flex-end;
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.3),
        0 2px 6px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    margin-left: auto;
    border-bottom-right-radius: 6px;
    position: relative;
}

.user-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0.6;
}

.assistant-message {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    color: #111827;
    align-self: flex-start;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-right: auto;
    border-bottom-left-radius: 6px;
    position: relative;
}

[data-theme="dark"] .assistant-message {
    background: linear-gradient(135deg, #2A2A2A 0%, #252525 100%);
    color: var(--text-primary);
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: #F9FAFB;
    border-radius: 18px;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    animation: messageFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .typing-indicator {
    background: linear-gradient(135deg, #2A2A2A 0%, #252525 100%);
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9CA3AF;
    animation: typingDot 1.4s infinite ease-in-out;
    display: inline-block;
    transition: background 0.3s ease;
}

[data-theme="dark"] .typing-indicator span {
    background: var(--text-secondary);
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.ai-chat-demo-input-container {
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-200);
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .ai-chat-demo-input-container {
    border-top-color: rgba(107, 114, 128, 0.3);
}

.ai-chat-demo-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1.5px solid rgba(229, 231, 235, 0.8);
    border-radius: 26px;
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
}

[data-theme="dark"] .ai-chat-demo-input-wrapper {
    background: linear-gradient(135deg, #2A2A2A 0%, #252525 100%);
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-chat-demo-input-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ai-chat-demo-input-wrapper:focus-within {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.08),
        0 4px 12px rgba(99, 102, 241, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

[data-theme="dark"] .ai-chat-demo-input-wrapper:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 4px 12px rgba(99, 102, 241, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-chat-demo-input-wrapper:focus-within::before {
    opacity: 1;
}

.ai-chat-demo-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.3s ease;
}

.ai-chat-demo-input:disabled {
    color: var(--color-gray-400);
    cursor: not-allowed;
}

.ai-chat-demo-input::placeholder {
    color: var(--color-gray-400);
}

.ai-chat-demo-send {
    background: var(--color-gray-900);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: background 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.ai-chat-demo-send:hover:not(:disabled) {
    background: var(--color-gray-800);
    transform: scale(1.05);
}

.ai-chat-demo-send:active:not(:disabled) {
    transform: scale(0.95);
}

.ai-chat-demo-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-chat-demo-container {
        width: 100% !important;
        max-width: calc(100vw - 40px);
    }
    
    .ai-chat-demo-box.active .ai-chat-demo-container {
        width: 100% !important;
        max-width: calc(100vw - 40px);
    }
}

