/* ═══════════════════════════════════════════════════════════
   Olbrain Labs — Technical & Minimal AGI Lab Aesthetic
   Inspired by Vercel / Perplexity
   ═══════════════════════════════════════════════════════════ */

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

/* ── Color System ── */
:root {
    --bg: #000000;
    --bg-subtle: #0a0a0a;
    --bg-card: #111111;
    --border: rgba(255,255,255,0.12);
    --border-hover: rgba(255,255,255,0.25);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --text-muted: #666666;
    --accent: #7dd3fc;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    /* Backward compat — map old var names */
    --navy: var(--bg);
    --navy-light: var(--bg-subtle);
    --navy-card: var(--bg-card);
    --navy-border: var(--border);
    --brand: var(--text-primary);
    --brand-dark: #e0e0e0;
    --brand-soft: rgba(255,255,255,0.08);
    --brand-glow: rgba(255,255,255,0.15);
    --text-white: var(--text-primary);
    --text-dim: var(--text-secondary);
    --wa-green: #25D366;
    --wa-dark: #128C7E;
    --wa-chat-bg: #ECE5DD;
    --wa-outgoing: #DCF8C6;
}

/* ── Base Typography ── */
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.15;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

a { color: inherit; }

strong { color: var(--text-primary); }

/* ── Top Banner ── */
.top-banner {
    background: var(--bg);
    color: var(--text-primary);
    text-align: center;
    padding: 0.6rem 5%;
    font-size: 0.85rem;
    font-weight: 600;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}

.top-banner a {
    color: var(--bg);
    background: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    padding: 0.2rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    transition: background 0.2s;
}

.top-banner a:hover { background: #e0e0e0; }

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    z-index: 1000;
    padding: 0.85rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.brand-sup {
    font-size: 0.55em;
    letter-spacing: 0.05em;
    vertical-align: super;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.nav-cta {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.03);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.2s;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

/* Subtle top radial glow only */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120,119,198,0.15), transparent);
    pointer-events: none;
}

/* Remove the second orb */
.hero::after {
    display: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 780px;
    opacity: 1;
    animation: fadeUp 0.8s ease both;
}

.hero-visual {
    flex: 0 0 320px;
    opacity: 1;
    animation: fadeUp 0.8s ease 0.3s both;
}

/* Hero Eyebrow — no pill, just mono text */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero h1 .gradient-text {
    color: rgba(255,255,255,0.8);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Buttons — transparent with border */
.btn-primary {
    border: 1px solid var(--border-hover);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Hero proof line */
.hero-proof {
    display: flex;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-proof span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Platform logos — hidden */
.platform-logos { display: none; }
.platform-logo { display: none; }

/* ── Phone Mockup ── */
.phone-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    position: relative;
    max-width: 280px;
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-notch {
    width: 100px; height: 22px;
    background: var(--bg-card);
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-screen {
    border-radius: 30px;
    overflow: hidden;
}

/* ── WhatsApp Chat (inside phone) ── */
.wa-header {
    background: #1a1a1a;
    color: var(--text-primary);
    padding: 1.8rem 1rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--wa-green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: white; flex-shrink: 0;
}

.wa-contact-name { font-weight: 600; font-size: 0.9rem; }
.wa-contact-status { font-size: 0.7rem; opacity: 0.6; }

.wa-chat {
    background: var(--wa-chat-bg);
    padding: 0.75rem;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.wa-chat::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--wa-chat-bg));
    z-index: 2; pointer-events: none;
}

.wa-chat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 30px;
    background: linear-gradient(var(--wa-chat-bg), transparent);
    z-index: 2; pointer-events: none;
}

.wa-chat-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: scrollChat 40s linear infinite;
    padding-bottom: 1rem;
}

.wa-chat-scroll:hover { animation-play-state: paused; }

.wa-date-badge {
    align-self: center;
    background: rgba(0,0,0,0.08);
    color: #666;
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin: 0.3rem 0;
}

.wa-phase-label {
    align-self: center;
    background: rgba(37,211,102,0.15);
    color: #075E54;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin: 0.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wa-msg {
    max-width: 85%;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #1a1a1a;
    line-height: 1.45;
    position: relative;
    flex-shrink: 0;
}

.wa-msg .wa-time {
    font-size: 0.52rem;
    color: #8a8a8a;
    float: right;
    margin-left: 0.4rem;
    margin-top: 0.2rem;
}

.wa-msg.customer {
    background: var(--wa-outgoing);
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.wa-msg.agent {
    background: #ffffff;
    align-self: flex-start;
    border-top-left-radius: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* ── Validation Badge (Hero) ── */
.validation-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 560px;
}

.validation-strip .v-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.validation-strip p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.validation-strip strong { color: var(--text-primary); }

/* ── Section Styles ── */
section {
    padding: 8rem 5%;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-header {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Epiphany / Why Identity ── */
.epiphany {
    background: var(--bg);
}

.epiphany-story {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
}

.epiphany-story::before { display: none; }

.epiphany-story .story-label {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
}

.epiphany-story p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.epiphany-story p:last-child { margin-bottom: 0; }

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

/* ── Old vs New World ── */
.worlds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.world-card {
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    background: transparent;
}

.world-card.old {
    background: rgba(255,100,100,0.03);
    border: 1px solid rgba(255,100,100,0.2);
}

.world-card.new {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.15);
}

.world-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.world-card.old .world-label { color: #a1a1a1; }
.world-card.new .world-label { color: var(--text-primary); }

.world-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.world-card li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.world-card li .icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.world-card.old li .icon { color: var(--text-muted); }
.world-card.new li .icon { color: var(--text-secondary); }

/* ── How It Works ── */
.how-it-works {
    background: var(--bg-subtle);
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.hiw-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: border-color 0.2s;
}

.hiw-step:hover {
    border-color: var(--border-hover);
}

.hiw-num {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
}

.hiw-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.hiw-step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hiw-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.hiw-note strong { color: var(--text-primary); }

/* ── Demo Section / Products ── */
.demo-section {
    background: var(--bg);
    position: relative;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.cap-card:hover {
    border-color: var(--border-hover);
}

.cap-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.cap-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cap-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cap-example {
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--border);
    border-radius: 0 8px 8px 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Validation / Social Proof Section ── */
.validation {
    background: var(--bg);
}

.validation-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.validation-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.validation-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.validation-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
}

.stat-card .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── Trust Marquee ── */
.trust-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    background: var(--bg-subtle);
}

.trust-track {
    overflow: hidden;
    position: relative;
}

.trust-track::before, .trust-track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.trust-track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-subtle), transparent);
}

.trust-track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-subtle), transparent);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 80s linear infinite;
}

.trust-logos:hover { animation-play-state: paused; }

.trust-logos a, .trust-logos span {
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: color 0.2s;
}

.trust-logos a:hover { color: var(--text-primary); }

/* Hide pipe separators — wider gap handles spacing */
.trust-sep { display: none; }

/* ── Three Layers / What We Build ── */
.three-layers {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.three-layers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.layer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.layer-card:hover {
    border-color: var(--border-hover);
}

.layer-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.layer-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.layer-card .layer-label {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.layer-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.layer-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.layer-card a:hover { text-decoration: underline; }

/* ── Traction Grid ── */
.traction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.traction-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.traction-item .traction-num {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.traction-item .traction-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ── Pricing ── */
.pricing {
    background: var(--bg);
}

.pricing-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3rem;
    text-align: center;
    position: relative;
}

.pricing-card::before { display: none; }

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-usage {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-tax {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li .check {
    color: var(--text-primary);
    flex-shrink: 0;
}

/* ── Team ── */
.team {
    background: var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
}

.team-card:hover {
    border-color: var(--border-hover);
}

.team-card:hover { transform: none; }

.team-img {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.team-card .team-role {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── CTA Section ── */
.cta-section {
    background: var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before { display: none; }

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn-primary { position: relative; }

.cta-contact {
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.cta-contact a {
    color: var(--text-primary);
    text-decoration: none;
}

/* ── Footer ── */
footer {
    background: var(--bg);
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

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

/* ── Floating WhatsApp ── */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #ffffff; }

/* ── Identity Layers Visual ── */
.identity-layers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeUp 0.8s ease 0.4s both;
    position: relative;
}

/* Remove the connecting line */
.identity-layers::before { display: none; }

.identity-layer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.2s;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.identity-layer:last-child { margin-bottom: 0; }

.identity-layer:hover {
    border-color: var(--border-hover);
}

/* Subtle tint backgrounds for identity layers */
.layer-3 { background: var(--bg-card); }
.layer-2 { background: var(--bg-card); }
.layer-1 { background: var(--bg-card); }

.layer-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.layer-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.layer-content strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.layer-content span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ── Animations ── */

/* Keep keyframe definitions but don't apply float1/float2 */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 30px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

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

@keyframes scrollChat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

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

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-text, .hero-visual, .identity-layers {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .phone-frame { animation: none; }
    .wa-chat-scroll { animation: none; }
    .trust-logos { animation: none; }
}

/* ── Responsive: 960px ── */
@media (max-width: 960px) {
    section { padding: 5rem 5%; }
    .three-layers { padding: 5rem 5%; }

    .hero-inner { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-text { max-width: 100%; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-proof { justify-content: center; flex-wrap: wrap; }
    .hero-visual { flex: none; max-width: 300px; }
    .validation-strip { margin-left: auto; margin-right: auto; }

    .three-layers-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .worlds { grid-template-columns: 1fr; }
    .hiw-steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .capabilities-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .validation-content { grid-template-columns: 1fr; text-align: center; }
    .validation-stats { max-width: 350px; margin: 0 auto; }
    .section-header { text-align: center; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
    .top-banner {
        font-size: 0.72rem;
        padding: 0.5rem 3%;
        gap: 0.3rem;
    }
    .top-banner a { font-size: 0.68rem; padding: 0.15rem 0.6rem; margin-left: 0; }

    nav { top: 0; padding: 0.6rem 5%; }
    .logo-img { height: 34px; }
    .mobile-menu-btn { display: block; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.25rem; color: var(--text-primary); }
    .nav-cta { display: none; }

    .hero {
        padding: 6rem 5% 3rem;
        min-height: auto;
    }
    .hero h1 { font-size: 1.7rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-visual { max-width: 240px; }

    .phone-frame {
        border-radius: 32px;
        padding: 8px;
        max-width: 240px;
    }
    .phone-screen { border-radius: 24px; }
    .phone-notch { width: 80px; height: 18px; border-radius: 0 0 10px 10px; }
    .wa-chat { height: 300px; }

    .epiphany-story { padding: 2rem 1.5rem; }
    .team-grid { grid-template-columns: 1fr; max-width: 350px; }
    .pricing-card { padding: 2rem 1.5rem; }

    .footer-content { flex-direction: column; text-align: center; }

    .section-header { text-align: center; }

    .products-layout { flex-direction: column; align-items: center; }
    .products-text { max-width: 100%; }
    .products-visual { flex: none; max-width: 260px; }
}

/* ── Product Layout (proper classes) ── */
.products-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    flex-wrap: wrap;
}

.products-text {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.products-text h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.products-text h3 + ul { margin-bottom: 0; }
.products-text h3:not(:first-child) { margin-top: 2rem; }

.products-text a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.products-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.products-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.products-visual {
    flex: 0 0 300px;
}

/* ── Desaturated WhatsApp header ── */
.wa-header {
    background: #1a1a1a !important;
}

.wa-avatar {
    background: var(--text-muted) !important;
}

/* ── How It Works left-aligned ── */
.how-it-works .section-header {
    text-align: left;
}

.hiw-steps {
    text-align: left;
}

.hiw-step {
    text-align: left;
}

/* ── Hero centered layout (from inline styles) ── */
.hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.hero-text {
    max-width: 900px;
    text-align: center;
}

.hero-sub {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    justify-content: center;
}

.hero-proof {
    justify-content: center;
}

.hero-visual {
    flex: none;
    width: 100%;
    max-width: 700px;
    margin-top: 2rem;
}

/* ── Layer icon monospace ── */
.layer-icon {
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.layer-card-icon {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* ── Inline link styling ── */
.hiw-note a,
.how-it-works a,
.pricing-card a[href^="mailto"] {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
