:root {
            --white: #FFFFFF;
            --cream-50: #FFFBF6;
            --gray-50: #F9FAFB;
            --gray-100: #F3F4F6;
            --gray-200: #E5E7EB;
            --gray-300: #D1D5DB;
            --gray-400: #9CA3AF;
            --gray-500: #6B7280;
            --gray-600: #4B5563;
            --gray-700: #374151;
            --gray-800: #1F2937;
            --gray-900: #111827;
            --gray-950: #0a0d12;
            
            --bronze-900: #312E81;
            --bronze-800: #3730A3;
            --bronze-700: #4F46E5;
            --bronze-600: #6366F1;
            --bronze-500: #818CF8;
            --bronze-400: #A5B4FC;
            --bronze-300: #C7D2FE;
            --bronze-200: #E0E7FF;
            --bronze-100: #EEF2FF;
            
            --emerald: #10B981;
            --blue: #3B82F6;
            --violet: #8B5CF6;
            --cyan: #06B6D4;
            
            --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-serif: 'DM Serif Display', Georgia, serif;
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-sans);
            background: var(--gray-950);
            color: var(--white);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
        }

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

        .container { max-width: 1600px; margin: 0 auto; padding: 0 72px; }

        /* HEADER */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 16px 0;
            background: rgba(10, 13, 18, 0.95);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 600;
            color: var(--white);
        }

        .logo-mark {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--bronze-700), var(--bronze-900));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(61, 41, 20, 0.3);
        }

        .logo-mark svg { width: 18px; height: 18px; color: white; }
        .logo sup { font-size: 10px; font-weight: 500; color: var(--bronze-400); margin-left: 2px; }

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

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            font-family: var(--font-sans);
            font-size: 14px;
            font-weight: 600;
            border-radius: 10px;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
        }

        .btn-sm { padding: 10px 18px; font-size: 13px; }
        .btn-lg { padding: 16px 32px; font-size: 16px; }

        .btn-primary { background: transparent; color: #1E1E24; border: 1.5px solid #1E1E24; box-shadow: none; }

        .btn-primary:hover { background: #1E1E24; color: #FFFFFF; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10); }

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

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .btn-ghost {
            background: transparent;
            color: var(--gray-300);
        }

        .btn-ghost:hover { color: white; }
        .btn-icon { width: 16px; height: 16px; }

        /* DEMO HERO */
        .demo-hero {
            padding: 140px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .demo-hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 1400px;
            height: 600px;
            background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99,102,241, 0.12) 0%, transparent 70%);
            pointer-events: none;
        }

        .demo-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(99,102,241, 0.12);
            border: 1px solid rgba(99,102,241, 0.25);
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            color: var(--bronze-400);
            margin-bottom: 24px;
        }

        .demo-badge svg { width: 16px; height: 16px; }

        .demo-title {
            font-family: var(--font-serif);
            font-size: clamp(36px, 5vw, 56px);
            font-weight: 400;
            color: var(--white);
            line-height: 1.15;
            margin-bottom: 20px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .demo-title span {
            background: linear-gradient(135deg, var(--bronze-400), var(--bronze-300));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .demo-subtitle {
            font-size: 18px;
            color: var(--gray-400);
            max-width: 600px;
            margin: 0 auto 48px;
            line-height: 1.7;
        }

        /* VIDEO CONTAINER */
        .video-section {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .video-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: #000;
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
        }

        .video-container::before {
            content: "";
            position: absolute;
            inset: -2px;
            border-radius: 22px;
            background: linear-gradient(135deg, rgba(99,102,241, 0.4), rgba(99,102,241, 0.1));
            z-index: -1;
        }

        .video-wrapper {
            position: relative;
            aspect-ratio: 16 / 9;
            background: #000;
        }

        /* Native HTML5 Video with controls */
        .video-wrapper video {
            width: 100%;
            height: 100%;
            display: block;
            background: #000;
        }

        /* Fallback message */
        .video-fallback {
            display: none;
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #1a1f2e, #0f1318);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
            padding: 40px;
            text-align: center;
        }

        .video-fallback.show {
            display: flex;
        }

        .fallback-icon {
            width: 80px;
            height: 80px;
            background: rgba(99,102,241, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fallback-icon svg {
            width: 36px;
            height: 36px;
            color: var(--bronze-400);
        }

        .fallback-text {
            font-size: 16px;
            color: var(--gray-400);
            max-width: 400px;
        }

        .fallback-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--bronze-600), var(--bronze-800));
            border-radius: 10px;
            font-weight: 600;
            color: white;
            transition: all 0.2s;
        }

        .fallback-link:hover {
            background: linear-gradient(135deg, var(--bronze-500), var(--bronze-700));
            transform: translateY(-2px);
        }

        .fallback-link svg {
            width: 18px;
            height: 18px;
        }

        /* Direct link below video */
        .video-direct-link {
            margin-top: 16px;
            text-align: center;
        }

        .video-direct-link a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: var(--gray-400);
            transition: color 0.2s;
        }

        .video-direct-link a:hover {
            color: var(--bronze-400);
        }

        .video-direct-link svg {
            width: 16px;
            height: 16px;
        }

        /* STATS BAR */
        .stats-bar {
            padding: 50px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            margin: 60px 0 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

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

        .stat-value {
            font-size: 36px;
            font-weight: 800;
            color: var(--bronze-400);
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 14px;
            color: var(--gray-400);
        }

        /* FEATURES SECTION */
        .features-section {
            padding: 100px 0;
        }

        .features-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .features-title {
            font-size: 28px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 12px;
        }

        .features-subtitle {
            font-size: 16px;
            color: var(--gray-400);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 16px;
            padding: 28px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(99,102,241, 0.3);
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 20px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon.voice { background: linear-gradient(135deg, var(--bronze-500), var(--bronze-700)); }
        .feature-icon.messaging { background: linear-gradient(135deg, #25D366, #128C7E); }
        .feature-icon.analytics { background: linear-gradient(135deg, var(--blue), #1D4ED8); }
        .feature-icon.integration { background: linear-gradient(135deg, var(--violet), #6D28D9); }
        .feature-icon svg { width: 28px; height: 28px; color: white; }

        .feature-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 8px;
        }

        .feature-desc {
            font-size: 14px;
            color: var(--gray-400);
            line-height: 1.6;
        }

        /* CTA SECTION */
        .cta-section {
            padding: 80px 0 120px;
        }

        .cta-card {
            background: linear-gradient(135deg, rgba(99,102,241, 0.12), rgba(99,102,241, 0.04));
            border: 1px solid rgba(99,102,241, 0.2);
            border-radius: 24px;
            padding: 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-card::before {
            content: "";
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(99,102,241, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-title {
            font-family: var(--font-serif);
            font-size: 32px;
            color: var(--white);
            margin-bottom: 16px;
            position: relative;
        }

        .cta-text {
            font-size: 17px;
            color: var(--gray-400);
            max-width: 500px;
            margin: 0 auto 32px;
            line-height: 1.7;
            position: relative;
        }

        .cta-actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            position: relative;
        }

        /* FOOTER */
        .footer {
            padding: 40px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 24px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            font-weight: 600;
            color: var(--white);
        }

        .footer-logo-mark {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--bronze-600), var(--bronze-800));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .footer-logo-mark svg { width: 16px; height: 16px; color: white; }

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

        .footer-link {
            font-size: 14px;
            color: var(--gray-400);
            transition: color 0.2s;
        }

        .footer-link:hover { color: white; }

        .footer-copyright {
            font-size: 14px;
            color: var(--gray-500);
        }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
        }

        @media (max-width: 768px) {
            .demo-hero { padding: 120px 0 40px; }
            .demo-title { font-size: 32px; }
            .demo-subtitle { font-size: 16px; margin-bottom: 32px; }
            .features-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr; gap: 20px; }
            .stat-value { font-size: 28px; }
            .cta-card { padding: 40px 24px; }
            .cta-title { font-size: 26px; }
            .cta-actions { flex-direction: column; align-items: center; }
            .btn-lg { width: 100%; max-width: 280px; }
            .footer-inner { flex-direction: column; text-align: center; }
            .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
        }

        @media (max-width: 480px) {
            .demo-title { font-size: 28px; }
            .feature-card { padding: 24px 20px; }
            .video-section { padding: 0 16px; }
        }
    
/* ── Nav wrapping fix for long translations ── */
#header .nav-link,
#header .nav-item > a {
  white-space: nowrap;
}
#header .nav {
  font-size: clamp(12px, 1.1vw, 15px);
  flex-wrap: nowrap;
}
#header .header-inner {
  flex-wrap: nowrap;
  align-items: center;
}
.header-actions {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Hero badge overflow fix for long translations ── */
.hero-badge {
  white-space: nowrap;
  width: auto;
  max-width: 100%;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
