/* =====================================================
   GrabNear — Home (3D redesign)
   Used only by landing.html. Shared pages keep landing.css.
===================================================== */
:root {
    --bg: #04050d;
    --bg-2: #080a18;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #f4f5ff;
    --muted: #9aa0c3;
    --dim: #6a7096;
    --indigo: #6366f1;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --green: #34d399;
    --amber: #f59e0b;
    --grad: linear-gradient(120deg, #818cf8 0%, #c084fc 45%, #f472b6 100%);
    --grad-btn: linear-gradient(120deg, #6366f1, #8b5cf6 60%, #a855f7);
    --radius: 20px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Custom scrollbar — matches app theme (same as landing.css / styles.css) */
* { scrollbar-width: thin; scrollbar-color: rgba(99,102,241,0.35) transparent; }
*::-webkit-scrollbar { width: 5px; height: 5px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.35); border-radius: 99px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.65); }
*::-webkit-scrollbar-corner { background: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body.h3d {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Background ---------- */
.h3d-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.h3d-bg::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(900px 600px at 78% -10%, rgba(99, 102, 241, 0.22), transparent 60%),
        radial-gradient(700px 500px at -10% 30%, rgba(236, 72, 153, 0.10), transparent 60%),
        radial-gradient(800px 600px at 50% 110%, rgba(34, 211, 238, 0.08), transparent 60%);
}
.h3d-grid {
    position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70vh;
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.13) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(600px) rotateX(62deg);
    transform-origin: 50% 100%;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 75%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 75%);
    animation: gridMove 6s linear infinite;
    opacity: 0.55;
}
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(139, 92, 246, 0.8); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 16px; transition: top 0.3s var(--ease); }
.nav-inner {
    max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px 10px 18px; border-radius: 18px;
    border: 1px solid transparent; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { top: 10px; }
.nav.scrolled .nav-inner {
    background: rgba(8, 10, 24, 0.72); border-color: var(--line);
    backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-cta {
    margin-left: 8px; padding: 10px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
    background: var(--grad-btn); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255,255,255,0.25); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 14px;
    font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn-primary {
    position: relative; background: var(--grad-btn); overflow: hidden;
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -3px 0 rgba(0,0,0,0.18);
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg); animation: shine 4.5s var(--ease) infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -3px 0 rgba(0,0,0,0.18); }
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.btn-ghost .play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 92px 0 36px; display: flex; align-items: center; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
    font-size: 13.5px; font-weight: 500; color: #c7c9ff; border: 1px solid rgba(129, 140, 248, 0.3);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.06));
}
.eyebrow b { padding: 2px 9px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.hero h1 {
    margin: 18px 0 16px; font-family: var(--display); font-size: clamp(40px, min(5.6vw, 8.6vh), 86px); line-height: 1.0;
    font-weight: 700; letter-spacing: -0.045em;
}
.hero h1 .line { display: block; white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator { position: relative; display: inline-block; transition: width 0.6s var(--ease); vertical-align: top; height: 1.12em; margin-bottom: -0.12em; min-width: 3.4em; overflow: hidden; white-space: nowrap; perspective: 600px; }
.rotator span {
    position: absolute; left: 0; top: 0; white-space: nowrap; padding-right: 0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    transform: translateY(110%) rotateX(-80deg); opacity: 0; transform-origin: 50% 0;
    transition: transform 0.7s var(--ease), opacity 0.5s;
}
.rotator span.on { transform: translateY(0) rotateX(0); opacity: 1; }
.rotator span.off { transform: translateY(-110%) rotateX(80deg); opacity: 0; }
.hero-sub { max-width: 500px; font-size: clamp(15.5px, min(1.3vw, 2.2vh), 18px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: clamp(20px, 3.4vh, 32px) 0 clamp(20px, 3.8vh, 36px); }
.hero-proof { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; }
.proof-num { font-family: var(--display); font-size: clamp(24px, 3.4vh, 30px); font-weight: 700; letter-spacing: -0.03em; }
.proof-lbl { font-size: 13px; color: var(--dim); }
.proof-sep { width: 1px; height: 38px; background: var(--line-2); }

/* Hero 3D stage */
.hero-stage { position: relative; height: min(620px, calc(100vh - 130px)); min-height: 480px; perspective: 1400px; z-index: 2; }
.globe-canvas { position: absolute; inset: -110px -200px -50px 20px; z-index: 0; cursor: grab; touch-action: pan-y; }
.globe-canvas:active { cursor: grabbing; }
.globe-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-fallback {
    position: absolute; top: 50%; left: 50%; width: 440px; height: 440px; transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(129, 140, 248, 0.5), rgba(99, 102, 241, 0.12) 50%, transparent 70%);
    box-shadow: 0 0 120px rgba(99, 102, 241, 0.35);
}
.globe-canvas.ready .globe-fallback { display: none; }

.stage-3d {
    position: absolute; left: -30px; bottom: 30px; width: 400px; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, 14deg)) rotateZ(-1deg);
    transition: transform 0.6s var(--ease); z-index: 3;
}
.mock {
    position: relative; transform-style: preserve-3d; border-radius: 22px; padding: 16px;
    background: linear-gradient(160deg, rgba(22, 24, 48, 0.88), rgba(10, 12, 28, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mock::before {
    content: ''; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(129, 140, 248, 0.7), transparent 35%, transparent 65%, rgba(236, 72, 153, 0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); transform: translateZ(24px); }
.mock-q { flex: 1; font-size: 13.5px; color: #dfe1ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-q::after { content: ''; display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--indigo); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.mock-list { margin: 12px 0; display: grid; gap: 8px; transform-style: preserve-3d; }
.mock-row {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05);
    transform: translateZ(calc(14px + var(--i) * 8px));
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mock-row.swap { opacity: 0; transform: translateZ(0) translateY(10px); }
.mock-thumb { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 6px 16px rgba(0,0,0,0.3); }
.mock-info { flex: 1; min-width: 0; }
.mock-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 12px; color: var(--dim); }
.mock-meta .star { color: var(--amber); font-weight: 600; }
.mock-meta .open { padding: 1px 7px; border-radius: 6px; background: rgba(52, 211, 153, 0.12); color: var(--green); font-weight: 600; font-size: 11px; }
.mock-wa { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(37, 211, 102, 0.12); flex: none; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; transform: translateZ(20px); }
.mock-count { font-size: 12.5px; color: var(--muted); }
.mock-count b { color: var(--text); }
.mock-export { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #c7d2fe; background: rgba(99, 102, 241, 0.18); border: 1px solid rgba(129, 140, 248, 0.35); }

.chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
    font-size: 13px; font-weight: 600; white-space: nowrap;
    background: rgba(14, 16, 36, 0.85); border: 1px solid var(--line-2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    animation: bob 5s ease-in-out infinite;
}
.chip-1 { top: -26px; right: -40px; transform: translateZ(90px); }
.chip-2 { bottom: 70px; right: -80px; transform: translateZ(120px); animation-delay: -1.6s; }
.chip-3 { bottom: -24px; left: 24px; transform: translateZ(70px); animation-delay: -3.2s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.city-tag {
    position: absolute; top: 60px; right: 20px; z-index: 3; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(10, 12, 28, 0.7); border: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px;
}
.city-tag .pin { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(34, 211, 238, 0.14); }
.city-tag small { display: block; color: var(--dim); font-size: 11px; line-height: 1.2; }
.city-tag strong { display: block; font-weight: 600; line-height: 1.3; transition: opacity 0.3s; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); z-index: 3; }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(10px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); overflow: hidden; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.sec-hd { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #a5b4fc; }
.kicker::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.sec-title { margin: 16px 0 16px; font-family: var(--display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.sec-sub { font-size: 17.5px; color: var(--muted); }

/* Reveal */
.rv { opacity: 0; transform: translateY(40px) rotateX(-12deg); transform-origin: 50% 100%; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Features (3D bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; perspective: 1600px; }
.card3d {
    --mx: 50%; --my: 50%; --c: var(--indigo);
    position: relative; grid-column: span 2; border-radius: var(--radius); padding: 30px; min-height: 290px;
    background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
    border: 1px solid var(--line); transform-style: preserve-3d;
    transition: transform 0.6s var(--ease), border-color 0.3s, box-shadow 0.4s;
    display: flex; flex-direction: column; overflow: visible;
}
.card3d.wide { grid-column: span 3; }
.card3d::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.card3d:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--c) 45%, transparent); }
.card3d:hover::before { opacity: 1; }
.card3d > * { position: relative; }
.f-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
    box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--c) 55%, transparent);
    transform: translateZ(50px);
}
.card3d h3 { margin: 22px 0 8px; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; transform: translateZ(35px); }
.card3d p { color: var(--muted); font-size: 15px; transform: translateZ(22px); }
.f-pill { margin-top: auto; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); transform: translateZ(40px); }
.card3d .f-art { margin-top: 22px; transform: translateZ(60px); }

/* feature art: query chips */
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chips span { padding: 7px 12px; border-radius: 10px; font-size: 12.5px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: #d7d9ff; }
.q-chips span:first-child { border-color: rgba(129, 140, 248, 0.45); background: rgba(99, 102, 241, 0.14); }
/* feature art: mini sheet */
.sheet { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-size: 12px; }
.sheet div { display: grid; grid-template-columns: 1.4fr 1fr 0.6fr; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line); color: var(--muted); }
.sheet div:first-child { border-top: 0; background: rgba(52, 211, 153, 0.12); color: var(--green); font-weight: 600; }

/* ---------- How it works (3D stack) ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stack-scene { position: relative; height: 520px; perspective: 1800px; display: grid; place-items: center; }
.stack {
    --p: 0; position: relative; width: 320px; height: 320px; transform-style: preserve-3d;
    transform: rotateX(58deg) rotateZ(-42deg);
    transition: transform 0.2s linear;
}
.slab {
    position: absolute; inset: 0; border-radius: 28px; transform-style: preserve-3d;
    transform: translateZ(calc(var(--z) * (18px + var(--p) * 84px)));
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #0b0d20), rgba(10, 12, 28, 0.92));
    border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 30px 60px -20px color-mix(in srgb, var(--c) 60%, transparent);
    transition: transform 0.25s linear, box-shadow 0.4s, background 0.4s;
    display: grid; place-items: center;
}
.slab-edge {
    position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px);
    background: color-mix(in srgb, var(--c) 35%, #05060f); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.slab-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateZ(2px); transition: opacity 0.4s; }
.slab-face svg { filter: drop-shadow(0 0 14px var(--c)); }
.slab-face span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.08em; }
.slab-grid { position: absolute; inset: 14px; border-radius: 18px; transform: translateZ(1px); background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 24px 24px; }
.slab.dim { --c: #3a3e66 !important; }
.slab.dim .slab-face { opacity: 0.55; }
.slab.hot { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 60px color-mix(in srgb, var(--c) 70%, transparent); }
.stack-floor { position: absolute; width: 520px; height: 520px; border-radius: 50%; transform: rotateX(58deg) translateZ(-60px); background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 65%); filter: blur(20px); }

.steps { display: grid; gap: 16px; }
.step {
    display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--surface); cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.step:hover { transform: translateX(6px); }
.step.on { border-color: color-mix(in srgb, var(--c) 50%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 12%, transparent), transparent); }
.step-num { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.step h3 { font-family: var(--display); font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.stat {
    position: relative; padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    transform-style: preserve-3d; transition: transform 0.6s var(--ease);
}
.stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); filter: blur(60px); opacity: 0.35; }
.stat-num { font-family: var(--display); font-size: clamp(38px, 4vw, 54px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; transform: translateZ(30px); }
.stat-lbl { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1040px; margin: 0 auto; }
.price-points { display: grid; gap: 18px; }
.pp { display: flex; gap: 16px; align-items: flex-start; }
.pp-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.pp h4 { font-size: 16.5px; font-weight: 600; }
.pp p { color: var(--muted); font-size: 14.5px; }
.price-card {
    --mx: 50%; --my: 50%;
    position: relative; border-radius: 28px; padding: 40px 36px; transform-style: preserve-3d;
    background: linear-gradient(165deg, rgba(24, 26, 54, 0.95), rgba(10, 12, 28, 0.95));
    box-shadow: 0 60px 120px -40px rgba(99, 102, 241, 0.6);
    transition: transform 0.6s var(--ease);
    isolation: isolate;
}
.price-card::before {
    content: ''; position: absolute; inset: -2px; border-radius: 30px; z-index: -2;
    background: conic-gradient(from var(--ang, 0deg), #6366f1, #22d3ee, #ec4899, #8b5cf6, #6366f1);
    animation: spinAng 6s linear infinite;
}
.price-card::after { content: ''; position: absolute; inset: 0; border-radius: 28px; z-index: -1; background: linear-gradient(165deg, #15173a, #0a0c1c); }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinAng { to { --ang: 360deg; } }
.price-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--grad-btn); transform: translateZ(40px); }
.price-name { margin-top: 20px; font-size: 16px; color: var(--muted); transform: translateZ(30px); }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 26px; transform: translateZ(60px); }
.price-amt strong { font-family: var(--display); font-size: 76px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price-amt span { color: var(--dim); }
.price-list { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; transform: translateZ(30px); }
.price-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.price-list li::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; background: rgba(52, 211, 153, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price-card .btn { width: 100%; justify-content: center; transform: translateZ(50px); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(129, 140, 248, 0.35); background: rgba(99, 102, 241, 0.06); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform 0.35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 150px 0; overflow: hidden; text-align: center; }
.gyro { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; transform-style: preserve-3d; perspective: 1000px; pointer-events: none; opacity: 0.8; }
.gyro div { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid; transform-style: preserve-3d; }
.gyro div:nth-child(1) { border-color: rgba(99, 102, 241, 0.5); animation: g1 14s linear infinite; }
.gyro div:nth-child(2) { inset: 50px; border-color: rgba(236, 72, 153, 0.4); animation: g2 18s linear infinite; }
.gyro div:nth-child(3) { inset: 100px; border-color: rgba(34, 211, 238, 0.45); animation: g3 11s linear infinite; }
.gyro div::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.gyro div:nth-child(1) { color: #818cf8; } .gyro div:nth-child(2) { color: #f472b6; } .gyro div:nth-child(3) { color: #22d3ee; }
@keyframes g1 { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes g2 { from { transform: rotateY(65deg) rotateZ(0); } to { transform: rotateY(65deg) rotateZ(-360deg); } }
@keyframes g3 { from { transform: rotateX(-50deg) rotateY(30deg) rotateZ(0); } to { transform: rotateX(-50deg) rotateY(30deg) rotateZ(360deg); } }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 700px; height: 400px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent); filter: blur(30px); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-family: var(--display); font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.cta p { margin: 20px auto 36px; max-width: 520px; color: var(--muted); font-size: 18px; }
.cta .btn { padding: 19px 34px; font-size: 17px; }
.cta-note { margin-top: 22px !important; font-size: 14px !important; color: var(--dim) !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: rgba(255,255,255,0.012); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 300px; color: var(--dim); font-size: 14.5px; }
.foot-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--dim); transition: color 0.2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--dim); }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); transition: transform 0.3s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.2s infinite; }
.wa-float:hover { transform: scale(1.08) translateY(-3px); }
@keyframes waRing { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Responsive ---------- */
/* short desktop screens: keep the whole hero above the fold */
@media (min-width: 1101px) and (max-height: 820px) {
    .stage-3d { scale: 0.86; transform-origin: 0 100%; bottom: 10px; }
    .scroll-cue { display: none; }
}

@media (max-width: 1100px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
    .hero { padding-top: 120px; }
    .hero-copy { text-align: center; }
    .hero-sub { margin: 0 auto; }
    .hero-actions, .hero-proof { justify-content: center; }
    .hero-stage { height: 600px; max-width: 640px; width: 100%; margin: 0 auto; }
    .globe-canvas { inset: -40px; }
    .stage-3d { left: 50%; margin-left: -200px; bottom: 10px; }
    .how-grid, .price-wrap { grid-template-columns: 1fr; }
    .stack-scene { height: 440px; }
    .bento .card3d, .bento .card3d.wide { grid-column: span 3; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .nav-links {
        position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px; border-radius: 18px; background: #0b0d1f; box-shadow: 0 30px 60px rgba(0,0,0,0.6); border: 1px solid var(--line);
        backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
    }
    .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-link { padding: 12px 14px; }
    .nav-cta { margin: 6px 0 0; text-align: center; }
    .burger { display: flex; }
    .nav-inner { background: rgba(8, 10, 24, 0.72); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .section { padding: 90px 0; }
    .sec-hd { margin-bottom: 44px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .btn { white-space: normal; text-align: center; }
    .hero-proof { gap: 18px; }
    .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .proof-sep { display: none; }
    .proof-num { font-size: 24px; }
    .proof-lbl { font-size: 12px; line-height: 1.3; }
    .hero-stage { height: 640px; }
    .globe-canvas { inset: 0 -70px 220px -70px; }
    .stage-3d { width: 320px; margin-left: -160px; bottom: 0; transform: rotateX(10deg) rotateY(-8deg); }
    .mock-meta { white-space: nowrap; }
    .mock-meta span:nth-child(3) { display: none; }
    .chip-1 { right: 4px; } .chip-2, .chip-3 { display: none; }
    .city-tag { top: 0; right: 50%; transform: translateX(50%); }
    .bento .card3d, .bento .card3d.wide { grid-column: span 6; min-height: 0; }
    .stack { width: 230px; height: 230px; }
    .stack-scene { height: 380px; }
    .stack-floor { width: 380px; height: 380px; }
    .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat { padding: 24px 18px; }
    .price-card { padding: 32px 24px; }
    .gyro { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .foot-brand { grid-column: 1 / -1; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .rv { opacity: 1; transform: none; }
}
