@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Aura Design System */
:root {
    /* Aura Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --orange: #f59e0b;
    --pink: #ec4899;
    
    /* Semantic Colors - Dark Theme (Default) */
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --accent: #0ea5e9;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Border Radius - Aura Style */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 32px rgba(99, 102, 241, 0.3);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    --font-size-8xl: 6rem;
    --font-size-9xl: 8rem;
}

/* Light Theme Variables */
[data-theme="light"] {
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-light: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --accent: #0ea5e9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Interactive AI Background - designated div behind everything */
.ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    animation: auraBackgroundFloat 20s ease-in-out infinite;
}

@keyframes auraBackgroundFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.02) rotate(1deg); }
    66% { transform: scale(0.98) rotate(-1deg); }
}

/* Floating Elements for Aura-style Interactivity */
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: auraFloat 12s ease-in-out infinite;
}

.floating-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    animation-delay: 0s;
}

.floating-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(16, 185, 129, 0.4));
    animation-delay: 3s;
}

.floating-3 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 20%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(236, 72, 153, 0.4));
    animation-delay: 6s;
}

.floating-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.4));
    animation-delay: 9s;
}

@keyframes auraFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50% { transform: translateY(-10px) translateX(-15px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(5px) rotate(270deg); }
}

/* Navigation - Aura Style */
.aura-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 300ms ease;
}

.logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: all 300ms ease;
}

.logo-icon:hover .logo-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(99, 102, 241, 0.5));
}

.logo-text {
    font-weight: 800;
    font-size: var(--font-size-xl);
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 300ms ease;
}

.nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-xs);
    position: relative;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 300ms ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 800px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 64px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 300ms ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-section {
    margin-bottom: var(--spacing-lg);
}

.dropdown-section-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 300ms ease;
    margin-bottom: var(--spacing-xs);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 300ms ease;
    z-index: -1;
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.dropdown-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 300ms ease;
}

.dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.dropdown-item-desc {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Feature Icon Colors (matching existing feature cards) */
.feature-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    color: #3b82f6;
}

.feature-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    color: #8b5cf6;
}

.feature-icon-emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #10b981;
}

.feature-icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.2));
    color: #06b6d4;
}

.feature-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    color: #f59e0b;
}

.feature-icon-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.2));
    color: #ec4899;
}

/* Premium Item Styling */
.dropdown-item-pro::after,
.dropdown-item-max::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    transition: all 300ms ease;
}

.dropdown-item-pro::after {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.dropdown-item-max::after {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
}

/* Tier Badges */
.tier-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: var(--spacing-xs);
}

.tier-pro {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
}

.tier-beta {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.tier-max {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
}

/* Dropdown CTA */
.dropdown-cta {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 300ms ease;
}

.dropdown-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

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

/* Theme Toggle - Aura Style */
.theme-toggle-group {
    display: flex;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs);
    gap: var(--spacing-xs);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--surface-light);
    color: var(--text-primary);
}

.theme-toggle.active {
    background: var(--primary);
    color: white;
}

/* Buttons - Aura Style */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b5bfa, #9333ea);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms ease;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

/* Hero Section */
.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--spacing-xl) var(--spacing-3xl) var(--spacing-lg);
    margin-top: 80px; /* Ensure it's below the navigation */
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
}

/* Large headline aligned to lower left with white space */
.hero-headline {
    font-size: var(--font-size-8xl);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary); /* Fallback solid color */
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    /* Temporarily remove text-fill-color to debug visibility */
    /* -webkit-text-fill-color: transparent; */
}

/* Headline line containers */
.headline-line {
    display: flex;
    gap: 0.5em;
    margin-bottom: 0.1em;
}

/* Word containers with overflow hidden for animation */
.word-container {
    overflow: hidden;
    display: inline-block;
    position: relative;
}

/* Individual character styling */
.char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    position: relative;
}

/* Smaller headline variant */
.hero-headline-smaller {
    font-size: var(--font-size-7xl);
}

.headline-accent {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    /* Temporarily remove text-fill-color to ensure visibility */
    /* -webkit-text-fill-color: transparent; */
    color: var(--accent); /* Fallback color */
    background-clip: text;
}

.hero-cta {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-lg);
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    line-height: 1.6;
}


/* Features Section */
.features-section {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-3xl);
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.3) 100%);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

/* Aura-style Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.feature-icon-blue { background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.feature-icon-purple { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.feature-icon-emerald { background: linear-gradient(135deg, var(--emerald), var(--cyan)); }
.feature-icon-cyan { background: linear-gradient(135deg, var(--cyan), var(--primary)); }
.feature-icon-orange { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.feature-icon-pink { background: linear-gradient(135deg, var(--pink), var(--purple)); }

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.feature-cta {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.feature-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Tier Badges */
.tier-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: var(--spacing-sm);
}

.tier-pro {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
}

.tier-beta {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.tier-max {
    background: linear-gradient(135deg, var(--orange), var(--emerald));
    color: white;
}

.tier-enterprise {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
}

/* Feature Card Tier Styling */
.feature-pro {
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-max {
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.feature-enterprise {
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Demo Section */
.demo-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(51, 65, 85, 0.3));
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.demo-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.demo-stats {
    display: flex;
    gap: var(--spacing-xl);
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Demo Dashboard */
.demo-dashboard {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--emerald);
    font-size: var(--font-size-sm);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
}

.metric-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.metric-trend {
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.trend-up { color: var(--emerald); }

/* Legal Document Styling */
.legal-document-section {
    padding: var(--spacing-3xl) 0;
    min-height: 100vh;
    padding-top: 120px;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-lg);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--purple), var(--cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

.legal-content {
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-section {
    margin-bottom: var(--spacing-2xl);
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

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

.legal-section ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    color: var(--text-secondary);
}

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

.legal-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.legal-link:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

@media (max-width: 768px) {
    .legal-document {
        margin: 0 var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .legal-title {
        font-size: 2rem;
    }
}

/* Legal Agreements Styling */
.legal-agreements {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    gap: var(--spacing-sm);
}

.legal-checkbox {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-checkbox:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-color: var(--primary);
}

.legal-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-custom:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.checkbox-text {
    color: var(--text-secondary);
    flex: 1;
}

.legal-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.legal-link:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.required-indicator {
    color: #ef4444;
    font-weight: 600;
    margin-left: 2px;
}

.optional-indicator {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-style: italic;
}

.legal-error-message {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #ef4444;
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
}

.error-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Disabled button state */
.register-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.register-btn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

/* Footer - Aura Style */
.footer {
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-section .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

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

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 300ms ease;
}

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

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 300ms ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Pricing Page Styles */
.pricing-section {
    min-height: 100vh;
    padding: calc(var(--spacing-3xl) + 60px) var(--spacing-lg) var(--spacing-3xl);
}

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

.pricing-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.plan-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.plan-price {
    margin-bottom: var(--spacing-md);
}

.price-amount {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-left: var(--spacing-sm);
}

.plan-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.pricing-card-content {
    flex: 1;
    margin-bottom: var(--spacing-xl);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.feature-included {
    color: var(--text-primary);
}

.feature-included i {
    color: var(--emerald);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.feature-excluded {
    color: var(--text-muted);
}

.feature-excluded i {
    color: var(--text-muted);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pricing-card-footer {
    margin-top: auto;
}

.plan-cta {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.plan-cta-basic {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-cta-basic:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.plan-cta-pro {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
}

.plan-cta-pro:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.plan-cta-max {
    background: linear-gradient(135deg, var(--orange), var(--emerald));
    color: white;
}

.plan-cta-max:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
}

.plan-cta-enterprise {
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    color: white;
}

.plan-cta-enterprise:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
}

/* Plan-specific styling */
.pricing-basic {
    border-color: rgba(148, 163, 184, 0.3);
}

.pricing-pro {
    border-color: rgba(139, 92, 246, 0.3);
}

.pricing-max {
    border-color: rgba(245, 158, 11, 0.3);
}

.pricing-enterprise {
    border-color: rgba(6, 182, 212, 0.3);
}

/* FAQ Section */
.pricing-faq {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all 300ms ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Active nav link styling */
.nav-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

/* Registration Page Styles */
.registration-section {
    min-height: 100vh;
    padding: calc(var(--spacing-3xl) + 60px) var(--spacing-lg) var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-container {
    max-width: 600px;
    width: 100%;
}

/* Registration Steps */
.registration-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 300ms ease;
}

.step.active .step-indicator {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border-color: var(--primary);
}

.step-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 var(--spacing-md);
}

/* Form Container */
.registration-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: stepFadeIn 400ms ease;
}

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

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.form-title {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.6;
}

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-input {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: all 300ms ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    transition: all 200ms ease;
}

.password-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.password-strength {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--text-muted);
    transition: all 300ms ease;
    border-radius: 2px;
}

.strength-text {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    min-width: 100px;
}

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 300ms ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-link:hover {
    text-decoration: underline;
}

/* Form Submit Button */
.form-submit {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Plan Selection */
.plan-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.plan-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: all 300ms ease;
    position: relative;
}

.plan-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.plan-option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.plan-option.recommended {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.plan-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.plan-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

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

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.plan-features i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.plan-features li:has(i[data-lucide="check"]) {
    color: var(--text-primary);
}

.plan-features li:has(i[data-lucide="check"]) i {
    color: var(--emerald);
}

.plan-features li:has(i[data-lucide="x"]) i {
    color: var(--text-muted);
}

/* Order Summary */
.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

/* Security Notice */
.security-notice {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.security-notice i {
    color: var(--emerald);
    width: 20px;
    height: 20px;
}

.security-notice span {
    font-size: var(--font-size-sm);
    color: var(--emerald);
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.payment-submit {
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.payment-submit:hover:not(:disabled) {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

/* Active nav link styling */
.nav-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: var(--font-size-8xl);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 1024px) {
    /* Adjust dropdown for tablet */
    .dropdown-menu {
        min-width: 600px;
        left: -200px;
        transform: translateX(0);
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        transform: translateX(0) translateY(0);
    }
    
    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-links {
        display: none;
    }
    
    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        min-width: auto;
        width: 100vw;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateX(0);
        border-radius: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        transform: translateX(0) translateY(0);
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .dropdown-section {
        margin-bottom: var(--spacing-md);
    }
    
    .dropdown-item {
        padding: var(--spacing-sm);
    }
    
    .dropdown-item-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm);
    }
    
    .hero-headline {
        font-size: var(--font-size-6xl);
    }
    
    .hero-content {
        margin-bottom: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .demo-stats {
        justify-content: center;
    }
    
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: var(--font-size-5xl);
    }
    
    .nav-actions {
        gap: var(--spacing-sm);
    }
    
    .theme-toggle-group {
        display: none;
    }
}


/* Specialized Search Page Styles */
.specialized-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-3xl) 0;
}

.specialized-hero .hero-headline {
    font-size: var(--font-size-6xl);
}

.specialized-hero .hero-cta {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pro-features-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.feature-highlight {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-highlight:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.subscription-benefits {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.benefits-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.benefits-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: var(--radius-md);
    color: white;
}

.benefit-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.benefit-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.pro-cta-section {
    margin-top: var(--spacing-3xl);
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cta-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* Responsive Specialized Search */
@media (max-width: 768px) {
    .specialized-hero {
        min-height: 60vh;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .subscription-benefits {
        padding: var(--spacing-lg);
        margin-top: var(--spacing-2xl);
    }
    
    .pro-cta-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .cta-content h3 {
        font-size: var(--font-size-2xl);
    }
}

/* Feature Check Styles */
.feature-check {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--emerald) 0%, #22d3ee 100%);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.benefit-check {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--emerald) 0%, #22d3ee 100%);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   FUNCTIONAL SEARCH PAGE STYLES
   Gemini-inspired design with white backgrounds
   ======================================== */

/* Google Fonts Integration */
.functional-search-body {
    font-family: 'Google Sans', 'Google Sans Text', 'Inter', sans-serif;
    background: #ffffff;
    color: #1c1b1d;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Functional Search Color Variables */
.functional-search-body {
    --google-purple: #6442d6;
    --google-purple-light: #8b5cf6;
    --google-gray-50: #f8f9fa;
    --google-gray-100: #f1f3f4;
    --google-gray-200: #e8eaed;
    --google-gray-300: #dadce0;
    --google-gray-400: #bdc1c6;
    --google-gray-500: #9aa0a6;
    --google-gray-600: #80868b;
    --google-gray-700: #5f6368;
    --google-gray-800: #3c4043;
    --google-gray-900: #202124;
    --google-blue: #1a73e8;
    --google-green: #137333;
    --google-red: #d93025;
    --google-orange: #f29900;
}

/* Header - Minimal Design */
.functional-header {
    background: #ffffff;
    border-bottom: 1px solid var(--google-gray-200);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-svg-minimal {
    width: 32px;
    height: 32px;
}

.logo-text-minimal {
    font-family: 'Google Sans';
    font-size: 20px;
    font-weight: 500;
    color: var(--google-gray-700);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.usage-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--google-gray-50);
    border: 1px solid var(--google-gray-200);
    border-radius: 20px;
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.usage-indicator:hover {
    background: var(--google-gray-100);
    border-color: var(--google-gray-300);
}

.header-settings {
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--google-gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-settings:hover {
    background: var(--google-gray-100);
    color: var(--google-gray-800);
}

/* Main Content Layout */
.functional-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    min-height: calc(100vh - 80px);
}

/* Search Hero Section */
.search-hero {
    grid-column: 1 / -1;
    padding: 48px 0 32px;
    text-align: center;
}

.search-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-hero-title {
    font-family: 'Google Sans';
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: var(--google-gray-900);
    margin: 0 0 16px;
    line-height: 1.2;
}

.search-hero-subtitle {
    font-family: 'Google Sans Text';
    font-size: 18px;
    color: var(--google-gray-600);
    margin: 0 0 48px;
    line-height: 1.5;
}

/* Search Input - Gemini Style */
.search-input-container {
    margin: 0 0 32px;
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--google-gray-300);
    border-radius: 24px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--google-purple);
    box-shadow: 0 4px 16px rgba(100, 66, 214, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--google-gray-500);
    width: 20px;
    height: 20px;
}

.search-input-main {
    width: 100%;
    border: none;
    outline: none;
    padding: 16px 60px 16px 56px;
    font-family: 'Google Sans Text';
    font-size: 16px;
    color: var(--google-gray-900);
    background: transparent;
    border-radius: 20px;
}

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

.search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 48px;
    background: var(--google-purple);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: var(--google-purple-light);
    transform: scale(1.05);
}

/* Feature Navigation Tabs */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 20px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    font-weight: 500;
    color: var(--google-gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-tab:hover {
    background: var(--google-gray-50);
    border-color: var(--google-gray-300);
}

.feature-tab.active {
    background: var(--google-purple);
    border-color: var(--google-purple);
    color: white;
}

.feature-tab i {
    width: 16px;
    height: 16px;
}

/* Results Section */
.results-section {
    grid-column: 1;
    min-height: 400px;
}

.results-container {
    background: #ffffff;
}

/* Loading States */
.loading-container {
    display: flex;
    justify-content: center;
    padding: 48px 24px;
}

.loading-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--google-gray-200);
    border-top: 3px solid var(--google-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Google Sans Text';
    font-size: 16px;
    color: var(--google-gray-700);
    margin: 0 0 24px;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: var(--google-gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--google-purple);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Error States */
.error-container {
    display: flex;
    justify-content: center;
    padding: 48px 24px;
}

.error-card {
    background: #ffffff;
    border: 1px solid var(--google-red);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
}

.error-icon {
    width: 48px;
    height: 48px;
    color: var(--google-red);
    margin: 0 auto 16px;
}

.error-title {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 8px;
}

.error-message {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
    margin: 0 0 24px;
    line-height: 1.5;
}

.error-retry {
    padding: 12px 24px;
    background: var(--google-red);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: 'Google Sans Text';
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-retry:hover {
    background: #b52d20;
    transform: translateY(-1px);
}

/* Search Progress Indicators */
.search-progress-indicator {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    padding: 16px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 16px;
    border-left: 3px solid var(--google-blue);
    animation: pulse 2s infinite;
}

.search-spinner {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--google-blue);
    border-radius: 50%;
    margin-right: 12px;
}

.spinning-icon {
    width: 18px;
    height: 18px;
    color: white;
    animation: spin 1s linear infinite;
}

.search-progress-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-message {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-blue);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(66, 133, 244, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--google-blue);
    width: 0;
    border-radius: 2px;
    animation: progress-fill 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes progress-fill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Enhanced Typing Indicator */
.typing-indicator {
    background: rgba(66, 133, 244, 0.05);
    border-left: 3px solid var(--google-blue);
    animation: pulse 2s infinite;
}

/* Results Layout */
.results-grid {
    padding: 24px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--google-gray-200);
}

.results-header h2 {
    font-family: 'Google Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--google-gray-900);
    margin: 0;
}

.results-meta {
    display: flex;
    gap: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
}

.results-actions {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--google-gray-100);
    border-color: var(--google-gray-300);
}

/* Web Search Results */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.result-card:hover {
    border-color: var(--google-gray-300);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.result-title {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 8px;
}

.result-title a {
    color: var(--google-blue);
    text-decoration: none;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-snippet {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    line-height: 1.5;
    margin: 0 0 12px;
}

.result-meta {
    display: flex;
    gap: 16px;
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-500);
}

.result-url {
    color: var(--google-green);
}

/* YouTube Results */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.youtube-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.youtube-card:hover {
    border-color: var(--google-gray-300);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--google-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-family: 'Google Sans';
    font-size: 16px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-channel {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
    margin: 0 0 8px;
}

.video-meta {
    display: flex;
    gap: 8px;
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-500);
}

/* Social Media Results */
.social-platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.platform-filter {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-filter:hover,
.platform-filter.active {
    background: var(--google-gray-100);
    border-color: var(--google-gray-300);
}

.social-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.social-card:hover {
    border-color: var(--google-gray-300);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.social-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.platform-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.platform-icon.twitter {
    background: #1da1f2;
}

.platform-icon.linkedin {
    background: #0077b5;
}

.platform-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-author {
    font-family: 'Google Sans Text';
    font-weight: 500;
    color: var(--google-gray-900);
}

.social-time {
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-500);
    margin-left: auto;
}

.social-content {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    line-height: 1.5;
    margin-bottom: 12px;
}

.social-engagement {
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-500);
}

/* Document Processing */
.document-processor {
    padding: 24px 0;
}

.processor-header {
    text-align: center;
    margin-bottom: 32px;
}

.processor-header h2 {
    font-family: 'Google Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--google-gray-900);
    margin: 0 0 8px;
}

.processor-header p {
    font-family: 'Google Sans Text';
    font-size: 16px;
    color: var(--google-gray-600);
    margin: 0;
}

.upload-area {
    margin-bottom: 32px;
}

.upload-drop-zone {
    border: 2px dashed var(--google-gray-300);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.upload-drop-zone:hover,
.upload-drop-zone.drag-over {
    border-color: var(--google-purple);
    background: rgba(100, 66, 214, 0.02);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--google-gray-400);
    margin: 0 auto 16px;
}

.upload-drop-zone h3 {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 400;
    color: var(--google-gray-700);
    margin: 0 0 8px;
}

.upload-drop-zone p {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
    margin: 0 0 16px;
}

.file-types {
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-500);
}

.document-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.document-card:hover {
    border-color: var(--google-gray-300);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-info i {
    width: 24px;
    height: 24px;
    color: var(--google-gray-500);
}

.doc-info h4 {
    font-family: 'Google Sans';
    font-size: 16px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 4px;
}

.doc-info p {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
    margin: 0;
}

.doc-status {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-orange);
    font-weight: 500;
}

.document-card.completed .doc-status {
    color: var(--google-green);
}

.doc-actions {
    display: flex;
    gap: 8px;
}

/* Video Creation */
.video-creator {
    padding: 24px 0;
}

.creator-header {
    text-align: center;
    margin-bottom: 32px;
}

.creator-header h2 {
    font-family: 'Google Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--google-gray-900);
    margin: 0 0 8px;
}

.creator-header p {
    font-family: 'Google Sans Text';
    font-size: 16px;
    color: var(--google-gray-600);
    margin: 0;
}

.video-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.option-card {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.option-card h3 {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 16px;
}

.video-prompt {
    width: 100%;
    min-height: 120px;
    border: 1px solid var(--google-gray-300);
    border-radius: 12px;
    padding: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-900);
    resize: vertical;
    margin-bottom: 16px;
}

.video-prompt:focus {
    outline: none;
    border-color: var(--google-purple);
    box-shadow: 0 0 0 2px rgba(100, 66, 214, 0.2);
}

.create-btn {
    padding: 12px 24px;
    background: var(--google-purple);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: 'Google Sans Text';
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.create-btn:hover {
    background: var(--google-purple-light);
    transform: translateY(-1px);
}

.image-upload {
    border: 2px dashed var(--google-gray-300);
    border-radius: 12px;
    padding: 32px 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-upload:hover {
    border-color: var(--google-purple);
    background: rgba(100, 66, 214, 0.02);
}

.image-upload p {
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
    margin: 0;
}

/* Image Generation */
.image-generator {
    padding: 24px 0;
}

.generator-header {
    text-align: center;
    margin-bottom: 32px;
}

.generator-header h2 {
    font-family: 'Google Sans';
    font-size: 24px;
    font-weight: 400;
    color: var(--google-gray-900);
    margin: 0 0 8px;
}

.generator-header p {
    font-family: 'Google Sans Text';
    font-size: 16px;
    color: var(--google-gray-600);
    margin: 0;
}

.image-options {
    max-width: 600px;
    margin: 0 auto;
}

.prompt-section {
    margin-bottom: 24px;
}

.prompt-section label {
    display: block;
    font-family: 'Google Sans Text';
    font-weight: 500;
    color: var(--google-gray-700);
    margin-bottom: 8px;
}

.image-prompt {
    width: 100%;
    min-height: 120px;
    border: 1px solid var(--google-gray-300);
    border-radius: 12px;
    padding: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-900);
    resize: vertical;
}

.image-prompt:focus {
    outline: none;
    border-color: var(--google-purple);
    box-shadow: 0 0 0 2px rgba(100, 66, 214, 0.2);
}

.style-options {
    margin-bottom: 24px;
}

.style-options label {
    display: block;
    font-family: 'Google Sans Text';
    font-weight: 500;
    color: var(--google-gray-700);
    margin-bottom: 8px;
}

.style-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.style-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.style-btn:hover,
.style-btn.active {
    background: var(--google-purple);
    border-color: var(--google-purple);
    color: white;
}

.generation-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.generate-btn {
    padding: 12px 32px;
    background: var(--google-purple);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: 'Google Sans Text';
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.generate-btn:hover {
    background: var(--google-purple-light);
    transform: translateY(-1px);
}

.generation-options {
    display: flex;
    gap: 24px;
}

.generation-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
}

/* Generated Content Display */
.video-results,
.image-results {
    margin-top: 32px;
}

.generated-video,
.generated-image {
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.generated-video h3,
.generated-image h3 {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 16px;
}

.video-preview,
.image-preview {
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--google-gray-100);
}

.video-preview img,
.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: rgba(100, 66, 214, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.play-btn:hover {
    background: var(--google-purple);
    transform: scale(1.1);
}

.video-actions,
.image-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.image-meta,
.video-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-600);
}

/* Sidebar */
.search-sidebar {
    grid-column: 2;
    background: #ffffff;
    border: 1px solid var(--google-gray-200);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

.search-sidebar.collapsed {
    transform: translateX(100%);
    opacity: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--google-gray-200);
}

.sidebar-header h3 {
    font-family: 'Google Sans';
    font-size: 18px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0;
}

.sidebar-toggle {
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--google-gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--google-gray-100);
    color: var(--google-gray-800);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section h4 {
    font-family: 'Google Sans';
    font-size: 16px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0 0 12px;
}

.model-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--google-gray-300);
    border-radius: 8px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-900);
    background: #ffffff;
}

.model-select:focus {
    outline: none;
    border-color: var(--google-purple);
    box-shadow: 0 0 0 2px rgba(100, 66, 214, 0.2);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
    cursor: pointer;
    margin-bottom: 8px;
}

.setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--google-purple);
}

.usage-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-700);
}

.rate-limit-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.limit-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.limit-item > span:first-child {
    font-family: 'Google Sans Text';
    font-size: 12px;
    color: var(--google-gray-600);
}

.limit-bar {
    height: 4px;
    background: var(--google-gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.limit-progress {
    height: 100%;
    background: var(--google-purple);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.limit-text {
    font-family: 'Google Sans Text';
    font-size: 10px;
    color: var(--google-gray-500);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--google-gray-200);
}

.modal-header h3 {
    font-family: 'Google Sans';
    font-size: 20px;
    font-weight: 500;
    color: var(--google-gray-900);
    margin: 0;
}

.modal-close {
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--google-gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--google-gray-100);
    color: var(--google-gray-800);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.config-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-section label {
    font-family: 'Google Sans Text';
    font-weight: 500;
    color: var(--google-gray-700);
}

.config-input {
    padding: 12px;
    border: 1px solid var(--google-gray-300);
    border-radius: 8px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    color: var(--google-gray-900);
    background: #ffffff;
}

.config-input:focus {
    outline: none;
    border-color: var(--google-purple);
    box-shadow: 0 0 0 2px rgba(100, 66, 214, 0.2);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 20px;
    font-family: 'Google Sans Text';
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    background: var(--google-purple-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--google-gray-700);
    border: 1px solid var(--google-gray-300);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .functional-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .search-sidebar {
        position: static;
        order: -1;
    }
    
    .youtube-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .video-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .functional-main {
        padding: 0 16px;
    }
    
    .search-hero {
        padding: 32px 0 24px;
    }
    
    .search-hero-title {
        font-size: 28px;
    }
    
    .search-hero-subtitle {
        font-size: 16px;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .feature-tabs {
        gap: 6px;
    }
    
    .feature-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 24px;
        margin: 16px;
    }
    
    .search-sidebar {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 8px;
    }
    
    .usage-indicator {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .usage-text {
        display: none;
    }
    
    .search-input-main {
        padding: 14px 50px 14px 48px;
        font-size: 16px;
    }
    
    .search-submit {
        width: 44px;
    }
    
    .feature-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .feature-tab {
        justify-content: center;
        width: 100%;
    }
}

/* Functional Search CTA Section */
.functional-search-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.cta-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary, #cbd5e1);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.functional-search-cta .cta-button {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

/* Responsive styles for CTA */
@media (max-width: 768px) {
    .functional-search-cta {
        padding: 3rem 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}