/* ================================
   GeoBrand.AI - Optimized Styles v2.0
   ================================ */

/* =========================
   1. CSS Variables & Reset
   ========================= */
   :root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --dark-card: #1a2332;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --container-padding: 24px;
    
    /* Animation */
    --animation-slow: 0.8s;
    --animation-base: 0.3s;
    --animation-fast: 0.15s;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-base: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   2. Typography & Base Elements
   ========================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--animation-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Accessibility */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 0;
}

/* =========================
   3. Layout Components
   ========================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--animation-slow);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Dynamic Background */
.dynamic-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -300px;
    left: -300px;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: var(--secondary);
    bottom: -400px;
    right: -400px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

/* =========================
   4. Navigation
   ========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--animation-base) ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    transition: transform var(--animation-fast);
}

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

/* Logo中的.AI部分样式 */
.logo-ai {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    transition: all var(--animation-base);
}

/* Logo hover时.AI部分的效果 */
.logo:hover .logo-ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: brightness(1.2);
}

/* 滚动时Logo的.AI部分保持鲜艳 */
.navbar.scrolled .logo-ai {
    filter: brightness(1.1);
}

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

.logo-svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: all var(--animation-base) ease;
}

.nav-link:hover {
    color: var(--primary);
    background-size: 100% 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--animation-base);
}

.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 Navigation */
.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform var(--animation-base);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--animation-fast);
}

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

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================
   5. Buttons
   ========================= */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--animation-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    font-family: var(--font-sans);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--animation-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-icon-left {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn--light {
    background: white;
    color: var(--dark);
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: inherit;
    opacity: 0;
    filter: blur(8px);
    transition: opacity var(--animation-base);
    z-index: -1;
}

.glow-effect:hover::before {
    opacity: 0.3;
}

/* =========================
   6. Hero Section
   ========================= */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeIn 1s ease-out 0.8s both;
}

.dashboard-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.dashboard-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3);
    padding: 32px;
    position: relative;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform var(--animation-slow) cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-wrapper:hover .dashboard-preview {
    transform: rotateY(-5deg) rotateX(5deg);
}

.dashboard-glow {
    position: absolute;
    inset: -20px;
    background: var(--primary-gradient);
    filter: blur(60px);
    opacity: 0.3;
    border-radius: 30px;
    z-index: -1;
}

/* Preview Components */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.preview-title h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dark);
}

.preview-title p {
    margin: 4px 0 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.preview-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--success);
    color: white;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.preview-metric {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.preview-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.preview-metric-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* AI Platforms */
.ai-platforms {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-logo {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-700);
    transition: all var(--animation-base);
    font-size: 0.875rem;
}

.platform-logo:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray-400);
    border-radius: 25px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity var(--animation-base);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--gray-600);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* =========================
   7. Section Headers
   ========================= */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-header--light {
    color: white;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.section-header--light .section-label {
    color: var(--primary-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-title--xl {
    font-size: 3.5rem;
}

.section-header--light .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.section-subtitle--lg {
    font-size: 1.5rem;
}

.section-header--light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================
   8. Zero Click Section
   ========================= */
.zero-click-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.section-bg-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    filter: blur(40px);
    pointer-events: none;
}

.section-bg-orb--1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.section-bg-orb--2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.zero-click-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.zero-click-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.zero-click-card__glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    filter: blur(40px);
}

.zero-click-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.zero-click-card:hover .zero-click-card__glow {
    opacity: 0.1;
}

.zero-click-card__icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.zero-click-card__icon svg {
    width: 48px;
    height: 48px;
}

.zero-click-card__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.zero-click-card__desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.text-highlight {
    color: var(--primary-light);
    font-weight: 600;
}

.zero-click-card__list {
    list-style: none;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zero-click-card__list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.zero-click-card__list li:last-child {
    margin-bottom: 0;
}

.icon-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Zero Click Showcase */
.zero-click-showcase {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zero-click-showcase__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.zero-click-showcase__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 48px;
    position: relative;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.impact-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.impact-card__icon svg {
    width: 40px;
    height: 40px;
}

.impact-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    margin-top: 16px;
}

.impact-card__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Zero Click Stats */
.zero-click-stats {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.stat-item__value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item__label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Timing Section */
.zero-click-timing {
    margin-top: 80px;
    text-align: center;
}

.zero-click-timing__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.timing-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timing-card__icon svg {
    width: 32px;
    height: 32px;
}

.timing-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    margin-top: 16px;
}

.timing-card__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.zero-click-cta {
    text-align: center;
    margin-top: 64px;
}

/* =========================
   9. Features Section
   ========================= */
.features {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 20px;
    transition: all var(--animation-base) ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform var(--animation-base);
}

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

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform var(--animation-base);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* =========================
   10. Advantages Section
   ========================= */
.advantages {
    padding: 100px 0;
    background: var(--gray-50);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.analysis-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--animation-base);
}

.analysis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.analysis-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
}

.analysis-badge {
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.analysis-badge--warning {
    background: var(--warning);
}

.analysis-badge--primary {
    background: var(--primary);
}

.analysis-content {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.analysis-list {
    list-style: none;
    margin-top: 12px;
}

.analysis-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-list li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 12px;
    height: 12px;
}

/* =========================
   11. Testimonials Section
   ========================= */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 10%;
    font-size: 20rem;
    opacity: 0.05;
    font-family: Georgia, serif;
    transform: translateY(-50%);
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    text-align: center;
}

.testimonial-content {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    font-family: 'Georgia', serif;
    transition: transform var(--animation-base);
}

.author-avatar--gradient-1 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.author-avatar--gradient-2 {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.author-avatar--gradient-3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.testimonial-author:hover .author-avatar {
    transform: scale(1.1);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-title {
    opacity: 0.7;
    font-size: 0.875rem;
}

.testimonial-metrics {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

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

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Testimonial Navigation */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-nav--prev {
    left: 0;
}

.testimonial-nav--next {
    right: 0;
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav svg {
    width: 24px;
    height: 24px;
}

/* Testimonial Indicators */
.testimonial-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.indicator {
    width: 32px;
    height: 4px;
    background: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.3;
}

.indicator.active {
    opacity: 1;
    width: 48px;
}

/* =========================
   12. Timeline Section
   ========================= */
.timeline {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-base);
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 32px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.timeline-desc {
    color: var(--gray-600);
    line-height: 1.6;
}

/* =========================
   13. Live Data Section
   ========================= */
.live-data {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
}

.live-data .section-header {
    color: white;
}

.live-data .section-label {
    color: var(--primary-light);
}

.live-data .section-title {
    color: white;
}

.data-dashboard {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
}

.data-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.data-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--animation-base);
    font-family: var(--font-sans);
}

.filter-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
}

.filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.data-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--animation-base);
}

.data-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-base);
}

.data-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    position: relative;
    transition: transform var(--animation-base);
}

.data-card:hover .data-value {
    transform: scale(1.05);
}

.data-value.updating::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0;
    animation: pulse 1s ease-out;
}

.data-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.data-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--success);
    color: white;
}

/* Chart Container */
.chart-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 40px;
}

.chart-container h4 {
    margin: 0 0 32px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Dots Container */
.dots-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
}

.dot-row {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    opacity: 0;
    animation: dotsFadeInUp 0.6s forwards;
}

.dot-row:last-child {
    margin-bottom: 0;
}

.dot-row:nth-child(1) { animation-delay: 0.1s; }
.dot-row:nth-child(2) { animation-delay: 0.2s; }
.dot-row:nth-child(3) { animation-delay: 0.3s; }
.dot-row:nth-child(4) { animation-delay: 0.4s; }
.dot-row:nth-child(5) { animation-delay: 0.5s; }
.dot-row:nth-child(6) { animation-delay: 0.6s; }
.dot-row:nth-child(7) { animation-delay: 0.7s; }

.dot-label {
    width: 90px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 24px;
    flex-shrink: 0;
}

.dots-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.dots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: center;
    justify-content: flex-start;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all var(--animation-base);
    flex-shrink: 0;
}

.dot.active {
    background: currentColor;
    transform: scale(1);
    animation: dotPulse 2s infinite;
    box-shadow: 0 0 4px currentColor;
}

.dot.inactive {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
}

/* Dot Row Colors */
.dot-row:nth-child(1) .dot.active { color: #818cf8; }
.dot-row:nth-child(2) .dot.active { color: #a78bfa; }
.dot-row:nth-child(3) .dot.active { color: #c084fc; }
.dot-row:nth-child(4) .dot.active { color: #e879f9; }
.dot-row:nth-child(5) .dot.active { color: #f472b6; }
.dot-row:nth-child(6) .dot.active { color: #fb7185; }
.dot-row:nth-child(7) .dot.active { color: #f87171; }

.dot-row:hover .dot.active {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.dot-row:hover .dot-label {
    color: white;
}

/* =========================
   14. CTA Section
   ========================= */
.cta {
    padding: 100px 0 60px;
    background: var(--primary-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before,
.cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta::before {
    top: -250px;
    left: -250px;
    animation: float 15s infinite ease-in-out;
}

.cta::after {
    bottom: -250px;
    right: -250px;
    animation: float 15s infinite ease-in-out reverse;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 32px;
    margin-bottom: 0;
    font-style: normal;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
}

.contact-email a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-email a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* =========================
   15. Modal
   ========================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-header {
    background: var(--primary-gradient);
    padding: 40px 40px 50px;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.modal-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

/* Form Progress */
.form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-step.active {
    background: var(--primary-gradient);
}

.progress-step.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.required {
    color: var(--danger);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
    appearance: none;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s;
    appearance: none;
}

.checkbox-input:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-input:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-footer {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.btn-submit {
    flex: 1;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

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

.btn-cancel {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.btn-cancel:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.form-error {
    font-size: 0.875rem;
    color: var(--danger);
    margin-top: 6px;
    display: none;
    animation: shake 0.3s ease-in-out;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Success State */
.success-state {
    text-align: center;
    padding: 60px 40px;
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
}

.success-icon::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 3;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.success-message {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* =========================
   16. Footer
   ========================= */
.footer {
    background: 
        radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at top center, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 40px;
    text-align: center;
    border-top: none;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 100px 100px -50px rgba(124, 58, 237, 0.3),
        inset 0 50px 50px -25px rgba(99, 102, 241, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(124, 58, 237, 0.15) 0%, 
        transparent 100%
    );
    pointer-events: none;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-info {
    margin-bottom: 24px;
}

.copyright {
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

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

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* =========================
   17. Utility Classes & Animations
   ========================= */
/* Loading Spinner */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-submit.loading .loading-spinner {
    display: inline-block;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--animation-slow) ease-out;
}

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

.reveal-section {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

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

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* =========================
   18. Language-Specific Styles
   ========================= */
/* 导航栏字体美化 */
.nav-link {
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
    text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.05);
}

/* 中文导航特殊优化 */
html[lang="zh-CN"] .nav-link {
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

/* 英文导航优化 */
html[lang="en"] .nav-menu {
    gap: 30px !important;  /* 适当增加间距 */
}

html[lang="en"] .nav-link {
    font-size: 1rem !important;  /* 增大到1rem */
    font-weight: 600;  /* 保持加粗 */
    letter-spacing: 0.2px;  /* 略微减少字间距 */
    white-space: nowrap;
}

html[lang="en"] .nav-cta .btn-gradient {
    padding: 10px 22px !important;  /* 相应增大按钮 */
    font-size: 1rem !important;  /* 统一为1rem */
}

/* 语言切换按钮 */
.lang-toggle-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 14px !important;
    margin-right: 12px !important;
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: normal !important;
}

.lang-toggle-nav:hover {
    background: #f3f4f6 !important;
    border-color: #6366f1 !important;
    color: #6366f1 !important;
}

/* Navigation Auth Button - 与语言切换按钮样式一致 */
.nav-auth-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 14px !important;
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: normal !important;
    transition: all 0.2s ease !important;
}

.nav-auth-btn:hover {
    background: #f3f4f6 !important;
    border-color: #6366f1 !important;
    color: #6366f1 !important;
}

.nav-auth-btn .btn-icon-left {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px !important;
}

/* =========================
   19. Responsive Design
   ========================= */
@media (max-width: 1200px) {
    html[lang="en"] .nav-menu {
        gap: 26px !important;  /* 适度减小间距 */
    }
    
    html[lang="en"] .nav-link {
        font-size: 0.95rem !important;  /* 1200px以下为0.95rem */
    }
    
    html[lang="en"] .nav-cta .btn-gradient {
        padding: 9px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .lang-toggle-nav {
        padding: 6px 10px !important;
        margin-right: 8px !important;
    }
    
    .nav-auth-btn {
        padding: 6px 10px !important;
        font-size: 0.813rem !important;
    }
}

@media (max-width: 1100px) {
    /* 所有语言版本在1100px以下都只显示图标 */
    .lang-toggle-nav .lang-current {
        display: none !important;
    }
    
    .lang-toggle-nav {
        padding: 8px !important;
        margin-right: 8px !important;
    }
    
    /* 英文版进一步优化 */
    html[lang="en"] .nav-menu {
        gap: 22px !important;
    }
    
    html[lang="en"] .nav-link {
        font-size: 0.9rem !important;  /* 1100px以下为0.9rem */
    }
}

/* 英文版本可以在更小的屏幕才切换到移动端 */
@media (max-width: 1080px) {
    html[lang="en"] .nav-menu {
        display: none !important;
    }
    
    html[lang="en"] .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 40px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-dot {
        left: 40px;
    }

    .zero-click-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 16px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Blog Article Styles */
    .article-hero {
        padding: 40px 0;
    }
    
    .article-meta {
        font-size: 0.875rem;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .article-container {
        padding: 40px 0;
    }
    
    .article-content {
        font-size: 16px;
        line-height: 1.8;
        padding: 0 20px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 48px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .article-content p {
        margin-bottom: 20px;
    }
    
    .article-content ul, .article-content ol {
        padding-left: 24px;
        margin-bottom: 20px;
    }
    
    .article-content li {
        margin-bottom: 12px;
    }
    
    /* Tables */
    .data-table {
        overflow-x: auto;
        display: block;
        font-size: 14px;
        margin: 24px -20px;
    }
    
    .data-table table {
        min-width: 500px;
    }
    
    .data-table th, .data-table td {
        padding: 12px;
        font-size: 13px;
    }
    
    /* Highlight Boxes */
    .highlight-box {
        margin: 24px -20px;
        padding: 20px;
        border-radius: 8px;
    }
    
    .key-takeaway {
        margin: 24px -20px;
        padding: 20px;
        font-size: 15px;
    }
    
    .key-takeaway::before {
        top: -10px;
        left: 20px;
        font-size: 20px;
    }
    
    /* Formula Box */
    .formula-box {
        margin: 24px -20px;
        padding: 16px;
        font-size: 13px;
        overflow-x: auto;
    }
    
    /* CTA Inline */
    .cta-inline {
        margin: 32px -20px;
        padding: 32px 20px;
        border-radius: 12px;
    }
    
    .cta-inline h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cta-inline p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* Code Blocks */
    pre, code {
        font-size: 13px;
    }
    
    pre {
        padding: 16px;
        margin: 20px -20px;
        overflow-x: auto;
    }
    
    /* Images */
    .article-content img {
        margin: 20px -20px;
        width: calc(100% + 40px);
        max-width: none;
        border-radius: 8px;
    }
    
    /* Blockquotes */
    blockquote {
        margin: 24px 0;
        padding: 16px;
        border-left: 4px solid var(--primary);
        font-size: 15px;
    }
    
    /* Blog List Page */
    .blog-grid {
        gap: 24px;
        padding: 0 16px;
    }
    
    .blog-card {
        flex-direction: column;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .blog-card-image {
        width: 100%;
        height: 200px;
        border-radius: 16px 16px 0 0;
    }
    
    .blog-card-content {
        padding: 24px;
    }
    
    .blog-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .blog-card-excerpt {
        font-size: 14px;
        line-height: 1.6;
        -webkit-line-clamp: 3;
    }
    
    .blog-card-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .blog-card-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    /* Related Articles */
    .related-articles {
        margin: 32px -20px 0;
        padding: 24px 20px;
    }
    
    .related-articles h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .related-article {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .related-article-title {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .related-article-meta {
        font-size: 12px;
    }

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .navbar {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-container {
        padding: 0 16px;
        height: 60px;
    }
    
    .nav-cta {
        gap: 12px;
    }
    
    .nav-cta .btn-gradient {
        padding: 8px 16px;
        font-size: 0.875rem;
        min-height: 40px;
    }

    .logo {
        font-size: 1.25rem;
    }
    
    /* 移动端Logo的.AI部分 */
    .logo-ai {
        font-weight: 800;  /* 移动端稍微减轻字重 */
    }

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

    .logo-svg {
        width: 22px;
        height: 22px;
    }

    .mobile-nav {
        top: 60px;
    }

    .lang-toggle-nav {
        display: none !important;
    }
    
    .nav-auth-btn {
        display: none !important;
    }

    /* Buttons */
    .btn {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .btn-large {
        min-height: 52px;
        padding: 14px 28px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        padding: 0 16px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        margin-bottom: 32px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .stat {
        flex: 0 0 calc(33.333% - 16px);
        text-align: center;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Hero Visual */
    .hero-visual {
        margin-top: 20px;
    }

    .dashboard-preview {
        padding: 20px;
        transform: none !important;
    }

    .dashboard-wrapper:hover .dashboard-preview {
        transform: none !important;
    }

    .preview-title h3 {
        font-size: 1rem;
    }

    .preview-title p {
        font-size: 0.75rem;
    }

    .preview-badge {
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    .preview-metrics {
        gap: 12px;
        margin: 16px 0;
    }

    .preview-metric {
        padding: 16px;
    }

    .preview-metric-value {
        font-size: 1.5rem;
    }

    .preview-metric-label {
        font-size: 0.75rem;
    }

    .ai-platforms {
        gap: 12px;
        padding: 16px;
        margin-top: 20px;
    }

    .platform-logo {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    /* Zero Click Section */
    .zero-click-section {
        padding: 80px 0;
    }
    
    .section-title--xl {
        font-size: 2rem;
    }

    .section-subtitle--lg {
        font-size: 1.125rem;
    }
    
    .zero-click-card {
        padding: 32px;
    }
    
    .zero-click-card__title {
        font-size: 1.75rem;
    }
    
    .zero-click-card__desc {
        font-size: 1rem;
    }
    
    .zero-click-card__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }

    .zero-click-card__icon svg {
        width: 36px;
        height: 36px;
    }

    .zero-click-showcase {
        padding: 40px 20px;
    }
    
    .impact-card {
        padding: 24px;
    }

    .zero-click-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 32px;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.875rem;
    }

    /* Advantages */
    .advantages {
        padding: 60px 0;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-nav {
        display: none;
    }
    
    .testimonial-slide {
        padding: 0 20px;
    }

    .testimonial-content {
        font-size: 1.125rem;
    }
    
    .testimonial-metrics {
        gap: 20px;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }

    /* Timeline */
    .timeline {
        padding: 60px 0;
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding: 20px;
    }

    .timeline-dot {
        left: 24px;
        width: 16px;
        height: 16px;
    }

    .timeline-year {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .timeline-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .timeline-desc {
        font-size: 0.875rem;
    }

    /* Live Data */
    .live-data {
        padding: 60px 0;
    }

    .data-dashboard {
        padding: 24px 16px;
        border-radius: 16px;
        margin: 0 16px;
    }

    .data-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .data-title {
        font-size: 1.25rem;
    }

    .data-filters {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 0.875rem;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .data-card {
        padding: 16px;
    }

    .data-value {
        font-size: 1.5rem;
    }

    .data-label {
        font-size: 0.75rem;
    }

    .data-change {
        font-size: 0.625rem;
        padding: 2px 6px;
    }

    /* Dots Container Mobile */
    .dots-container {
        padding: 10px !important;
        margin: 0;
        background: rgba(255, 255, 255, 0.02);
    }
    
    .dot-row {
        margin-bottom: 6px !important;
        padding: 4px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dot-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .dot-label {
        width: 58px !important;
        font-size: 10px !important;
        margin-right: 8px;
    }
    
    .dots-grid {
        gap: 2px;
        max-width: 100%;
    }
    
    .dots-grid .dot {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        flex: 0 0 6px !important;
    }
    
    .dots-grid .dot:nth-child(n+21) {
        display: none !important;
    }
    
    .chart-container h4 {
        font-size: 14px;
        margin-bottom: 16px;
        color: white;
    }

    /* CTA */
    .cta {
        padding: 60px 0 40px;  /* 调整padding */
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;  /* 减小间距 */
    }
    
    .cta-content .btn {
        margin-bottom: 0;  /* 移除按钮底部间距 */
    }

    .contact-email {
        font-size: 14px !important;
        gap: 8px !important;
        justify-content: center !important;
        margin-top: 20px !important;  /* 减小顶部间距 */
        margin-bottom: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        background: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .contact-icon {
        width: 18px !important;
        height: 18px !important;
    }

    /* Modal */
    .modal-container {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header {
        padding: 30px 30px 40px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 1rem;
    }

    .modal-body {
        padding: 30px;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

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

    .btn-cancel {
        order: 2;
    }

    /* Footer Mobile */
    .footer {
        background: 
            radial-gradient(ellipse 800px 300px at top center, 
                rgba(139, 92, 246, 0.3) 0%, 
                rgba(99, 102, 241, 0.15) 20%,
                transparent 50%
            ),
            #0f172a;
        padding: 40px 20px 30px;  /* 调整顶部padding */
        margin-top: 0;  /* 移除负margin */
        position: relative;
    }
    
    .footer::before,
    .footer::after {
        display: none;
    }

    .footer,
    .footer .copyright,
    .footer .footer-links,
    .footer .footer-links a {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Loading */
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    /* Disable hover effects on mobile */
    @media (hover: none) {
        .nav-link:hover::after,
        .feature-icon:hover,
        .platform-logo:hover {
            transform: none;
        }
    }

    /* Simplify animations */
    * {
        animation-duration: 0.3s !important;
    }

    /* Hide background animations on mobile */
    .dynamic-bg {
        display: none;
    }

    .dashboard-glow {
        display: none;
    }
}

/* Ultra small screens */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .stat {
        flex: 0 0 100%;
        margin-bottom: 16px;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .ai-platforms {
        gap: 8px;
    }

    .platform-logo {
        width: 36px;
        height: 36px;
        font-size: 0.625rem;
    }
    
    .dot {
        width: 4px;
        height: 4px;
    }

    .dot-label {
        font-size: 11px;
        width: 60px;
    }
    
    .cta .contact-email {
        font-size: 13px !important;
        margin-top: 16px !important;  /* 进一步减小间距 */
        margin-bottom: 0 !important;
    }
    
    .cta .contact-email .contact-icon {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
    }
    
    .cta .contact-email span {
        font-size: 13px !important;
    }
}

/* PC端修复 */
@media screen and (min-width: 769px) {
    section.cta {
        padding-bottom: 60px !important;  /* 恢复合理的底部padding */
    }
    
    footer.footer {
        padding-top: 40px !important;
        margin-top: 0 !important;
    }
    
    .cta .contact-email {
        margin-bottom: 0 !important;
        font-size: 1rem !important;
        gap: 10px !important;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 70px 0 40px;
    }

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

    .hero-visual {
        display: none;
    }

    .navbar {
        height: 50px;
    }

    .nav-container {
        height: 50px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-nav,
    .dynamic-bg,
    .scroll-indicator,
    .mobile-menu-toggle,
    .lang-toggle-nav {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .btn {
        background: none;
        color: black;
        border: 1px solid black;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #4338ca;
        --gray-600: #374151;
        --gray-700: #1f2937;
    }
}

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

/* =========================
   Image Lazy Loading Styles
   ========================= */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.lazy-loaded {
    opacity: 1;
}

img.lazy-error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Loading placeholder animation */
.img-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Aspect ratio containers for better CLS */
.img-container-16-9 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
}

.img-container-4-3 {
    position: relative;
    padding-bottom: 75%; /* 4:3 */
    overflow: hidden;
}

.img-container-1-1 {
    position: relative;
    padding-bottom: 100%; /* 1:1 */
    overflow: hidden;
}

.img-container-16-9 img,
.img-container-4-3 img,
.img-container-1-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   Extra Small Devices (Phones)
   ========================= */
@media (max-width: 480px) {
    /* Typography fine-tuning for small screens */
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Article Content for small screens */
    .article-content {
        padding: 0 16px;
        font-size: 15px;
        line-height: 1.75;
    }
    
    .article-content h2 {
        font-size: 1.375rem;
        margin-top: 40px;
        margin-bottom: 16px;
    }
    
    .article-content h3 {
        font-size: 1.125rem;
        margin-top: 28px;
        margin-bottom: 14px;
    }
    
    /* Tables on small screens */
    .data-table {
        margin: 20px -16px;
        font-size: 12px;
    }
    
    .data-table th, .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    /* Boxes and highlights */
    .highlight-box,
    .key-takeaway,
    .formula-box,
    .cta-inline {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
    }
    
    .highlight-box {
        padding: 16px;
    }
    
    .key-takeaway {
        padding: 16px;
        font-size: 14px;
    }
    
    .formula-box {
        padding: 12px;
        font-size: 11px;
    }
    
    /* Lists */
    .article-content ul,
    .article-content ol {
        padding-left: 20px;
    }
    
    .article-content li {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    /* Blog cards on phones */
    .blog-card-image {
        height: 160px;
    }
    
    .blog-card-content {
        padding: 20px 16px;
    }
    
    .blog-card-title {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .blog-card-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    /* Navigation adjustments */
    .nav-container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .nav-cta .btn-gradient {
        padding: 6px 12px;
        font-size: 0.813rem;
    }
}

/* Brand Search Box Styles */
.brand-search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.brand-search-box {
    position: relative;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 0 32px;
    padding-right: 80px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.brand-search-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.brand-search-box:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2),
                0 15px 50px rgba(0, 0, 0, 0.4);
}

.brand-search-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.5;
}

.brand-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.brand-search-input::-webkit-search-decoration,
.brand-search-input::-webkit-search-cancel-button,
.brand-search-input::-webkit-search-results-button,
.brand-search-input::-webkit-search-results-decoration {
    display: none;
}

.search-submit-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.search-submit-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.6);
}

.search-submit-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.ai-scan-icon {
    width: 24px;
    height: 24px;
    color: white;
}

/* Search Glow Effect */
.search-glow {
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #007AFF, 
        transparent
    );
    opacity: 0;
    animation: glow-flow 2s ease-in-out infinite;
}

.brand-search-box:focus-within .search-glow {
    opacity: 1;
}

@keyframes glow-flow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .brand-search-box {
        height: 56px;
        padding: 0 24px;
        padding-right: 64px;
    }
    
    .brand-search-input {
        font-size: 16px;
    }
    
    .search-submit-btn {
        width: 40px;
        height: 40px;
    }
    
    .ai-scan-icon {
        width: 20px;
        height: 20px;
    }
    
    .brand-search-container {
        max-width: 90%;
    }
}

/* Auth Modal Styles */
.auth-modal {
    max-width: 400px;
    width: 90%;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.auth-form .form-group {
    width: 100%;
}

.auth-form .form-input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 16px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.auth-form .form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.auth-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-form .btn {
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 10px;
}

.auth-switch a {
    color: #007AFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.auth-switch a:hover {
    opacity: 0.8;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}
