@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
    --bg: #060608;
    --bg-surface: #0d0d10;
    --bg-elevated: #141418;
    --text-primary: #f0f0f2;
    --text-secondary: #8b8b9a;
    --text-tertiary: #44444f;

    --accent: #ff4500;
    --accent-light: #ff6a35;
    --accent-glow: rgba(255, 69, 0, 0.35);

    --purple: #6366f1;
    --purple-glow: rgba(99, 102, 241, 0.3);
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.3);
    --blue: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.3);

    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 600; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language Switcher */
.lang-switcher-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-switch:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-switch.active {
    color: var(--accent);
    background: rgba(255, 69, 0, 0.1);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    user-select: none;
}

@media (max-width: 767px) {
    .lang-switcher-container {
        display: none; /* Hidden in main header on mobile, menu handles navigation */
    }
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3, h4 {
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    background: linear-gradient(180deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 64px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-center.section-desc { margin-left: auto; margin-right: auto; }

.text-accent-gradient {
    background: linear-gradient(135deg, #ff4500 0%, #ff8c00 50%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent-underline {
    color: #fff;
    -webkit-text-fill-color: #fff;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

/* ═══════════════════════════════════════
   ICON COLORS
═══════════════════════════════════════ */
.icon-orange { color: var(--accent); }
.icon-purple { color: var(--purple); }
.icon-green  { color: var(--green); }
.icon-blue   { color: var(--blue); }

/* ═══════════════════════════════════════
   SECTION EYEBROW
═══════════════════════════════════════ */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.eyebrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 69, 0, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
}

.eyebrow-icon.icon-orange-bg { background: rgba(255,69,0,0.12); border-color: rgba(255,69,0,0.25); color: var(--accent); }
.eyebrow-icon.icon-purple-bg { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.25); color: var(--purple); }
.eyebrow-icon.icon-green-bg  { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.25); color: var(--green); }
.eyebrow-icon.icon-blue-bg   { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.25); color: var(--blue); }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: background 0.5s ease, padding 0.4s ease, border-color 0.4s ease, backdrop-filter 0.5s ease;
}

header.scrolled {
    background: rgba(6, 6, 8, 0.4);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 10px 0;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img { transform: scale(1.05); }

.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop nav */
.header-nav {
    display: none;
    gap: 8px;
    align-items: center;
}

@media (min-width: 768px) {
    .header-nav { display: flex; }
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

/* Header right group */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(255,69,0,0.15) 0%, rgba(255,69,0,0.08) 100%);
    border: 1px solid rgba(255,69,0,0.3);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6a35;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-cta i { font-size: 1rem; }
.nav-cta span { display: inline; }

.nav-cta:hover {
    background: linear-gradient(135deg, rgba(255,69,0,0.25) 0%, rgba(255,69,0,0.15) 100%);
    border-color: rgba(255,69,0,0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,69,0,0.2);
}

/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

@media (min-width: 768px) {
    .hamburger { display: none; }
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    transform-origin: center;
}

.hamburger:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobile nav panel */
@media (max-width: 767px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100dvh;
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(40px);
        border-left: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        padding: 80px 32px 40px;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
    }

    .header-nav.open {
        display: flex;
        right: 0;
    }

    .header-nav .nav-link {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--text-primary);
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }

    .header-nav .nav-link:hover {
        background: transparent;
        color: var(--accent);
    }
}

body.menu-open { overflow: hidden; }

/* ═══════════════════════════════════════
   CTA BUTTONS
═══════════════════════════════════════ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(180deg, #ff5c26 0%, #e03d00 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 20px rgba(255,69,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(255,69,0,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
    filter: brightness(1.1);
}

.cta-button.primary i { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.cta-button.primary:hover i { transform: translateX(6px) rotate(-15deg); }

.cta-button.primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 20%; height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(30deg);
    filter: blur(20px);
    transition: all 0.6s ease;
    opacity: 0;
}

.cta-button.primary:hover::after {
    left: 120%;
    opacity: 1;
}

.cta-button.secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.cta-button.secondary i { color: var(--accent); }

.cta-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════
   SECTIONS BASE
═══════════════════════════════════════ */
section { padding: 80px 0; }

@media (min-width: 768px) { section { padding: 130px 0; } }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px; /* Increased from 70px */
    padding-bottom: 80px; /* Added padding bottom */
    overflow: hidden;
    width: 100%;
}

/* Ambient orbs */
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

@keyframes orb-drift {
    0%, 100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
    33% { transform: translateX(-52%) translateY(-40px) rotate(2deg); }
    66% { transform: translateX(-48%) translateY(-20px) rotate(-2deg); }
}

.orb-1 {
    width: 800px; height: 800px;
    top: -300px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255,69,0,0.18) 0%, transparent 70%);
    animation: orb-drift 18s ease-in-out infinite;
}

.orb-2, .orb-3 { animation: orb-drift2 16s ease-in-out infinite; }
@keyframes orb-drift2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Cinematic light beam */
.hero-light-beam {
    position: absolute;
    top: -10%; left: 50%;
    width: 1px; height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(255,69,0,0.4), transparent);
    transform: rotate(35deg);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    box-shadow: 0 0 100px rgba(255,69,0,0.2);
    animation: beam-pulse 8s ease-in-out infinite;
}

@keyframes beam-pulse {
    0%, 100% { opacity: 0.4; transform: rotate(35deg) scaleX(1); }
    50% { opacity: 0.8; transform: rotate(33deg) scaleX(2); }
}

/* Subtle grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 100px; /* Increased from 60px */
    padding-bottom: 80px; /* Increased from 60px */
    padding-top: 60px; /* Increased from 40px */
}

/* Hero text column */
.hero-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

/* Hero illustration column */
.hero-illustration-zone {
    flex: 1;
    min-width: 0;
    max-width: 680px; /* Increased from 540px */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-illustration-zone { display: block; }
}

/* On mobile: center the text column */
@media (max-width: 899px) {
    .hero-container { flex-direction: column; }
    .hero-text { text-align: center; }
    
    .hero-illustration-zone {
        display: block;
        width: 100%;
        margin-top: 20px;
        padding: 0;
    }
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px; /* Increased from 32px */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    border-color: rgba(255,69,0,0.3);
    color: #fff;
    transform: translateY(-2px);
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(255,69,0,0.4);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--accent); }
    50% { opacity: 0.7; transform: scale(0.8); box-shadow: 0 0 6px var(--accent); }
}

/* Hero headline — harmonized with section-title style */
.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem); /* Reduced from 4.8rem */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-mockup-img {
    width: 100%;
    max-height: 600px; /* Increased from 480px */
    object-fit: contain;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    transform: rotateX(4deg) rotateY(-2deg) rotateZ(0.5deg) scale(1.1); /* Added scale(1.1) */
    transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-mockup-img:hover {
    transform: rotateX(2deg) rotateY(-1deg) rotateZ(0.2deg) scale(1.15);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,0.6));
}

.headline-gradient {
    background: linear-gradient(135deg, #ff4500 0%, #ff8c00 50%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(255,69,0,0.25));
}

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 520px; /* Increased from 480px */
    margin: 0 0 48px; /* Increased from 36px */
    line-height: 1.75;
    font-weight: 400;
}

@media (max-width: 899px) {
    .hero-sub { margin: 0 auto 36px; }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 60px; /* Increased from 40px */
}

@media (max-width: 899px) {
    .hero-actions { align-items: center; justify-content: center; }
}

@media (min-width: 480px) {
    .hero-actions { flex-direction: row; }
}

/* ─── Hero Mockup (inside illustration zone) ─── */
.hero-mockup {
    position: relative;
    width: 100%;
    margin: 0;
    perspective: 2000px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-frame {
    background: linear-gradient(165deg, rgba(14, 14, 18, 0.95), rgba(6, 6, 8, 0.98));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 40px 80px rgba(0,0,0,0.7),
        0 0 60px rgba(255,69,0,0.08);
    backdrop-filter: blur(25px);
    transform: rotateX(6deg) rotateY(4deg) rotateZ(-1deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mockup:hover .mockup-frame {
    transform: rotateX(3deg) rotateY(2deg) rotateZ(-0.5deg) scale(1.02);
    border-color: rgba(255,255,255,0.2);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title-bar {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

.mockup-body {
    display: flex;
    min-height: 320px;
}

/* Sidebar */
.mockup-sidebar {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 20px 12px;
    display: none;
    flex-direction: column;
    gap: 4px;
}

@media (min-width: 640px) { .mockup-sidebar { display: flex; } }

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-item i { font-size: 1rem; }

.sidebar-item.active {
    background: rgba(255,69,0,0.1);
    color: var(--accent);
    border: 1px solid rgba(255,69,0,0.2);
}

.sidebar-progress {
    margin-top: auto;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.prog-label { font-size: 0.7rem; color: var(--text-tertiary); margin-bottom: 8px; }

.prog-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 6px;
}

.prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ffd700);
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}

.prog-value { font-size: 0.75rem; font-weight: 600; color: var(--accent); }

/* Main chat area */
.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    overflow: hidden;
}

.mockup-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.chat-bubble {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat-bubble.user { flex-direction: row-reverse; }

.chat-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,69,0,0.15);
    border: 1px solid rgba(255,69,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent);
    flex-shrink: 0;
}

.chat-text {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.chat-bubble.ai .chat-text {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-primary);
    border-radius: 4px 14px 14px 14px;
}

.chat-bubble.user .chat-text {
    background: rgba(255,69,0,0.12);
    border: 1px solid rgba(255,69,0,0.2);
    color: var(--text-primary);
    border-radius: 14px 4px 14px 14px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px 14px 14px 14px;
    width: fit-content;
}

.chat-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    animation: typing-bounce 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* Stats row */
.mockup-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stat-pill i { font-size: 0.9rem; }





/* ═══════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════ */
.section-problem { background: var(--bg); }

.problem-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .problem-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .pb-large { grid-column: 1 / -1; }
}

.pb-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
}

.pb-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.06) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

.pb-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pb-large {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .pb-large {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.pb-text-group {
    display: flex;
    flex-direction: column;
}

.pb-text-group .pb-content {
    margin-top: 0;
}

.pb-large .pb-illustration {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.pb-icon-wrap {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255,69,0,0.12);
}

.pb-card:hover .pb-icon-wrap {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(255,69,0,0.2);
}

.icon-blue-wrap   { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: var(--blue); box-shadow: 0 8px 24px rgba(59,130,246,0.12); }
.icon-purple-wrap { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.25); color: var(--purple); box-shadow: 0 8px 24px rgba(99,102,241,0.12); }

.pb-content h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
}

.pb-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.pb-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.pb-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.pb-illustration {
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.pb-illustration svg { width: 100%; height: auto; }

.pb-ill-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.pb-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.pb-dark { background: linear-gradient(145deg, rgba(99,102,241,0.06) 0%, rgba(99,102,241,0.01) 100%); }

/* ═══════════════════════════════════════
   SOLUTION SECTION
═══════════════════════════════════════ */
.section-solution {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.solution-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(255,69,0,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-solution .container { position: relative; z-index: 1; }

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 48px;
    text-align: left;
}

@media (min-width: 768px) {
    .solution-features { flex-direction: row; }
}

.sol-feature {
    flex: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sol-divider {
    width: 100%; height: 1px;
    background: var(--border);
}

@media (min-width: 768px) {
    .sol-divider { width: 1px; height: auto; }
}

.sol-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    box-shadow: 0 6px 20px rgba(255,69,0,0.1);
}

.sol-icon.icon-purple-bg { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.2); color: var(--purple); box-shadow: 0 6px 20px rgba(99,102,241,0.1); }
.sol-icon.icon-green-bg  { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: var(--green); box-shadow: 0 6px 20px rgba(16,185,129,0.1); }

.sol-text h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 8px;
}

.sol-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Solution flow */
.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.flow-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.flow-icon.flow-active {
    background: rgba(255,69,0,0.12);
    border-color: rgba(255,69,0,0.3);
    color: var(--accent);
    box-shadow: 0 0 24px rgba(255,69,0,0.2);
}

.flow-icon.flow-success {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.3);
    color: var(--green);
    box-shadow: 0 0 24px rgba(16,185,129,0.2);
}

.flow-arrow {
    color: var(--text-tertiary);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════
   EXPERIENCE SECTION
═══════════════════════════════════════ */
.section-experience { background: var(--bg); }

.section-experience h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    background: linear-gradient(180deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 48px;
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .exp-grid {
        grid-template-columns: 1fr 1fr;
    }
    .exp-card-wide { grid-column: 1 / -1; }
}

.exp-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
}

.exp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

.exp-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exp-card-wide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

@media (min-width: 768px) {
    .exp-card-wide { grid-template-columns: auto 1fr; }
}

.exp-card-icon {
    width: 80px; height: 80px;
    border-radius: 22px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--accent);
    box-shadow: 0 10px 30px rgba(255,69,0,0.15);
    flex-shrink: 0;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.exp-card:hover .exp-card-icon { transform: scale(1.05) rotate(-3deg); }

.exp-card-icon.icon-blue-bg   { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: var(--blue); box-shadow: 0 10px 30px rgba(59,130,246,0.15); }
.exp-card-icon.icon-orange-bg { background: rgba(255,69,0,0.1); border-color: rgba(255,69,0,0.25); color: var(--accent); box-shadow: 0 10px 30px rgba(255,69,0,0.15); }

.exp-card-body h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.exp-card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Audio wave animation */
.audio-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 40px;
}

.audio-wave span {
    display: block;
    width: 3px;
    border-radius: 100px;
    background: linear-gradient(180deg, var(--accent), rgba(255,69,0,0.3));
    animation: wave-bar 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(odd)  { height: 12px; }
.audio-wave span:nth-child(even) { height: 24px; }
.audio-wave span:nth-child(3n)   { height: 36px; }

@keyframes wave-bar {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Exp illustration */
.exp-illustration {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}

.exp-illustration svg { width: 100%; height: auto; }

/* Mini chat */
.mini-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-bubble {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.4;
    max-width: 90%;
}

.ai-mini {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-secondary);
    border-radius: 4px 10px 10px 10px;
}

.user-mini {
    background: rgba(255,69,0,0.08);
    border: 1px solid rgba(255,69,0,0.15);
    color: var(--text-secondary);
    border-radius: 10px 4px 10px 10px;
    align-self: flex-end;
}

/* ═══════════════════════════════════════
   SCIENCE SECTION
═══════════════════════════════════════ */
.section-science {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.science-bg-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.science-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .science-pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
}

.pillar-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pillar-featured {
    background: linear-gradient(145deg, rgba(255,69,0,0.08) 0%, rgba(255,69,0,0.02) 100%);
    border-color: rgba(255,69,0,0.2);
    box-shadow: 0 0 40px rgba(255,69,0,0.06);
}

.pillar-glow {
    position: absolute;
    top: -30%; right: -30%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,69,0,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pillar-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(255,69,0,0.12);
    transition: all 0.3s;
}

.pillar-card:hover .pillar-icon { transform: scale(1.05) rotate(-3deg); }

.pillar-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.pillar-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pillar-tag-accent {
    background: rgba(255,69,0,0.1);
    border-color: rgba(255,69,0,0.25);
    color: var(--accent);
}

/* Brain network */
.brain-network {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
}

.brain-svg { width: 100%; max-width: 600px; height: auto; }

.brain-network-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 12px;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   STANDARD SECTION
═══════════════════════════════════════ */
.section-standard { background: var(--bg); }

.standard-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,69,0,0.4) 0%, rgba(255,69,0,0.05) 50%, rgba(99,102,241,0.2) 100%);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(255,69,0,0.1);
}

.standard-card-glow {
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,69,0,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.standard-card-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.04), transparent);
    transform: skewX(-20deg);
    animation: shimmer-anim 6s infinite;
    z-index: 1;
}

@keyframes shimmer-anim {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.standard-inner {
    background: linear-gradient(165deg, rgba(15,10,8,0.98), rgba(6,6,8,0.99));
    border-radius: calc(var(--radius-xl) - 2px);
    padding: 48px;
    position: relative;
    z-index: 2;
}

.standard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.standard-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.standard-badge i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-ring {
    position: relative;
    width: 80px; height: 80px;
}

.score-ring svg { width: 100%; height: 100%; }

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 6px;
    letter-spacing: 0.05em;
}

.standard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .standard-grid { grid-template-columns: repeat(3, 1fr); }
}

.standard-item h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 14px;
}

.standard-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.std-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
}

.std-icon-purple { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.2); color: var(--purple); }
.std-icon-green  { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: var(--green); }

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.section-cta {
    position: relative;
    text-align: center;
    text-align: center;
    overflow: hidden;
}

.section-cta .cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(255,69,0,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px; height: 80px;
    border-radius: 24px;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--accent);
    margin: 0 auto 28px;
    box-shadow: 0 12px 36px rgba(255,69,0,0.15);
    animation: float-anim 4s ease-in-out infinite;
}

.cta-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    background: linear-gradient(180deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0 !important;
}

.cta-note i { font-size: 0.9rem; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    color: var(--text-secondary);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 69, 0, 0.1);
}

.contact-card.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 211, 102, 0.1);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.4s ease;
}

.contact-card.whatsapp .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.contact-card.whatsapp:hover .contact-icon {
    background: #25d366;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-mission {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

footer .logo-container {
    gap: 16px;
    margin-bottom: 20px;
}

footer .logo-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 69, 0, 0.15);
}

footer .brand-name { 
    font-size: 2rem; 
    font-weight: 800;
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ═══════════════════════════════════════
   MOBILE OVERRIDES — Comprehensive
═══════════════════════════════════════ */

/* Small phones */
@media (max-width: 390px) {
    .header-content { gap: 8px; }
    .brand-name { display: none; } /* Hide brand name on very small phones */
    .logo-img { width: 34px; height: 34px; }
    .hero-headline { font-size: 2.1rem; letter-spacing: -0.035em; }
    .container { padding: 0 16px; }
    .hero-badge { font-size: 0.7rem; }
}

/* All mobile */
@media (max-width: 640px) {
    /* Header */
    header { 
        padding: 8px 0; 
        background: rgba(6, 6, 8, 0.8); /* Stronger background for better visibility */
        backdrop-filter: blur(20px);
    }
    .logo-img { width: 38px; height: 38px; }
    .brand-name { font-size: 1rem; }
    .header-content { gap: 12px; }

    /* Hero */
    .hero { padding-top: 130px; min-height: 100svh; }
    .hero-container { padding-bottom: 0px; padding-left: 0; padding-right: 0; }
    .hero-headline { font-size: clamp(2.4rem, 10vw, 3rem); line-height: 1.1; }
    .hero-sub { font-size: 1.05rem; margin-bottom: 28px; }
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 36px; }
    .cta-button { width: 100%; max-width: 320px; padding: 14px 24px; }
    .cta-large { padding: 16px 30px; font-size: 1.1rem; }
    .hero-social-proof { flex-direction: column; gap: 8px; text-align: center; }

    /* Mockup — simplified on mobile */
    .hero-mockup { margin-bottom: 32px; }
    .mockup-body { min-height: 220px; }
    .mockup-main { padding: 14px; gap: 10px; }
    .chat-text { font-size: 0.85rem; padding: 10px 14px; }
    .mockup-stats { gap: 6px; }
    .stat-pill { font-size: 0.75rem; padding: 6px 12px; }

    /* Sections */
    section { padding: 72px 0; }
    .section-title { font-size: clamp(2rem, 7vw, 2.5rem); }
    .section-desc { font-size: 1.05rem; margin-bottom: 40px; }
    .section-eyebrow { font-size: 0.8rem; }

    /* Cards */
    .standard-inner { padding: 28px 20px; }
    .pillar-card, .pb-card, .exp-card { padding: 28px 24px; }
    .pb-icon-wrap { width: 72px; height: 72px; font-size: 2rem; }
    .exp-card-icon { width: 72px; height: 72px; font-size: 2.2rem; }
    .pillar-icon { width: 72px; height: 72px; font-size: 2rem; }

    /* Solution flow */
    .solution-flow { gap: 12px; padding: 24px 16px; flex-wrap: wrap; }
    .flow-icon { width: 52px; height: 52px; font-size: 1.4rem; }
    .flow-step { font-size: 0.8rem; }
    .flow-arrow { font-size: 1rem; }

    /* Standard section */
    .standard-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .standard-grid { gap: 24px; }
    .standard-badge { font-size: 1.25rem; }

    /* Science */
    .brain-network { padding: 24px 16px; }

    /* CTA */
    .cta-content h2 { font-size: clamp(2rem, 8vw, 3rem); }
    .cta-content p { font-size: 1.05rem; }
    .cta-icon { width: 72px; height: 72px; font-size: 2.2rem; }

    /* Footer */
    .footer-content { flex-direction: column; align-items: flex-start; gap: 16px; }
    
    .footer-contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 48px;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
        gap: 12px;
        border-radius: var(--radius-md);
        aspect-ratio: 1/1;
        justify-content: center;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        border-radius: 12px;
    }

    .contact-label {
        font-size: 0.65rem;
    }

    .contact-value {
        display: none; /* Hide long values on small mobile square cards */
    }

    .contact-card::after {
        content: attr(href);
        display: none;
    }
    
    /* Show action name instead of label on mobile */
    .contact-card .contact-label {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    /* Experience */
    .exp-card-wide { grid-template-columns: 1fr; }
    .audio-wave { height: 36px; }

    /* Nav CTA */
    .nav-cta { padding: 8px 16px; font-size: 0.85rem; }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 767px) {
    .hero-headline { font-size: clamp(2.6rem, 6vw, 3.5rem); }
    .hero-actions { flex-direction: row; }
    .cta-button { width: auto; }
    section { padding: 80px 0; }
}

/* Touch-friendly targets */
@media (hover: none) {
    .pb-card:hover,
    .exp-card:hover,
    .pillar-card:hover { transform: none; }
    .cta-button.primary:hover { transform: none; }
}

/* ═══════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════ */
.legal-hero {
    padding-top: 160px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top center, rgba(255, 69, 0, 0.05) 0%, transparent 70%);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-last-update {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-legal-links a:hover {
    color: var(--accent);
}
