/* =========================================================
   Custom Business Software — futuristic theme
   ========================================================= */
:root {
    --bg: #05070f;
    --bg-2: #0a1022;
    --bg-3: #0f1730;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .08);
    --border-2: rgba(255, 255, 255, .14);
    --text: #eaf0ff;
    --muted: #96a3c4;
    --dim: #67739a;
    --amber: #fcc419;
    --amber-2: #f59f00;
    --orange: #ff922b;
    --cyan: #3bc9db;
    --violet: #845ef7;
    --ok: #51cf66;
    --info: #4dabf7;
    --warn: #fcc419;
    --bad: #ff6b6b;
    --grad: linear-gradient(100deg, #fcc419 0%, #ff922b 45%, #f06595 100%);
    --grad-cool: linear-gradient(120deg, #3bc9db, #845ef7);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --accent: #fcc419;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
html, body { overflow-x: clip; }
.hero, .page-hero, .cta-band { overflow-x: clip; }
.split > *, .hero-grid > *, .contact-grid > *, .solution-card > *, .live-panel > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--amber); color: #111; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; }
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.pt-0 { padding-top: 0 !important; }
.grad {
    background: var(--grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Background layers ---------- */
.bg-layers { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    animation: gridmove 30s linear infinite;
}
@keyframes gridmove { to { background-position: 64px 64px, 64px 64px; } }
.aurora { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; will-change: transform; }
.aurora.a1 { width: 620px; height: 620px; background: #f59f00; top: -260px; right: -120px; opacity: .22; animation: drift1 22s ease-in-out infinite alternate; }
.aurora.a2 { width: 560px; height: 560px; background: #5f3dc4; top: 35%; left: -260px; opacity: .25; animation: drift2 26s ease-in-out infinite alternate; }
.aurora.a3 { width: 500px; height: 500px; background: #0b7285; bottom: -260px; right: 10%; opacity: .25; animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-120px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(140px, -80px) scale(1.1); } }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.cursor-glow {
    position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(252, 196, 25, .08), transparent 65%);
    transform: translate(-50%, -50%); left: -999px; top: -999px; transition: opacity .3s;
}
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1001; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
    --h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    height: var(--h); padding: 0 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem;
    border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
    white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-sm { --h: 40px; font-size: .88rem; padding: 0 1.1em; }
.btn-lg { --h: 56px; font-size: 1rem; padding: 0 1.7em; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, #ffd43b, #f59f00); color: #1a1200; box-shadow: 0 10px 30px -8px rgba(252, 196, 25, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(252, 196, 25, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(252, 196, 25, .5); transform: translateY(-2px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--amber); padding: .45em 1em; border-radius: 999px;
    background: rgba(252, 196, 25, .07); border: 1px solid rgba(252, 196, 25, .22); margin-bottom: 1.3rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.dot.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(252, 196, 25, .7); } 70% { box-shadow: 0 0 0 10px rgba(252, 196, 25, 0); } 100% { box-shadow: 0 0 0 0 rgba(252, 196, 25, 0); } }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head.is-left { text-align: left; margin-left: 0; margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 640px; }
.section-head .lead { margin-inline: auto; }
.section-head.is-left .lead { margin-inline: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5, 7, 15, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #1a1200;
    background: linear-gradient(135deg, #ffd43b, #f59f00); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 8px 24px -6px rgba(252, 196, 25, .6);
    position: relative;
}
.logo-mark::after { content: ''; position: absolute; inset: -4px; border-radius: 15px; border: 1px solid rgba(252, 196, 25, .35); animation: ring 3s ease-in-out infinite; }
@keyframes ring { 50% { inset: -7px; opacity: .2; } }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; }
.logo-text small { font-size: .7rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.main-nav a { padding: .5em 1em; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: #1a1200; background: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); place-items: center; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-close { display: block; }
body.nav-open .nav-toggle .i-open { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero-hook { color: var(--amber); font-weight: 600; font-size: 1.1rem; margin-bottom: .6rem; }
.hero h1 { margin-bottom: 1.4rem; }
.rotator { display: inline-block; position: relative; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
.rotator::after { content: ''; position: absolute; right: -2px; top: 12%; bottom: 8%; width: 4px; border-radius: 4px; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-ctas.center { justify-content: center; }
.hero-badges { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--amber); }

.hero-visual { position: relative; height: 600px; perspective: 1400px; }
.hero-visual > .phone { position: absolute; left: 50%; top: 50%; transition: transform .4s var(--ease); }
.hero-visual .phone-front { transform: translate(-50%, -50%) rotateY(var(--ry, -12deg)) rotateX(var(--rx, 6deg)); z-index: 3; animation: float 7s ease-in-out infinite; }
.hero-visual .phone-left { transform: translate(-128%, -44%) rotateY(22deg) scale(.78); z-index: 1; opacity: .45; filter: blur(1px); }
.hero-visual .phone-right { transform: translate(28%, -56%) rotateY(-24deg) scale(.78); z-index: 2; opacity: .5; filter: blur(1px); }
.hero-visual.single .phone-front { transform: translate(-50%, -50%) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 5deg)); }
@keyframes float { 50% { margin-top: -14px; } }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(252, 196, 25, .22); transform: translate(-50%, -50%); }
.orbit.o1 { width: 480px; height: 480px; animation: spin 40s linear infinite; }
.orbit.o2 { width: 620px; height: 620px; border-color: rgba(59, 201, 219, .14); border-style: solid; animation: spin 60s linear infinite reverse; }
.orbit::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); }
.orbit.o2::before { background: var(--cyan); box-shadow: 0 0 18px var(--cyan); top: 50%; left: -5px; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.float-chip {
    position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
    background: rgba(15, 23, 48, .75); border: 1px solid var(--border-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
}
.float-chip svg { color: var(--amber); }
.fc1 { top: 14%; right: 0; animation: float 6s ease-in-out infinite; }
.fc2 { bottom: 9%; left: 0; animation: float 7s ease-in-out infinite .8s; }
.fc3 { bottom: 2%; right: 10%; animation: float 8s ease-in-out infinite 1.6s; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ---------- Phone mockup ---------- */
.phone {
    --w: 290px;
    width: var(--w); border-radius: 40px; padding: 12px; position: relative;
    background: linear-gradient(160deg, #1c2440, #0a0f1f 60%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -20px color-mix(in srgb, var(--accent) 60%, transparent);
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.phone-bar {
    display: flex; justify-content: space-between; align-items: center; padding: 42px 18px 14px; border-radius: 30px 30px 0 0; color: #fff;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
}
.phone-app { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .85rem; }
.phone-dots { display: flex; gap: 3px; }
.phone-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.phone-body { background: #0d1428; border-radius: 0 0 30px 30px; padding: 14px; }
.phone-title { font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pstat { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 8px 10px; }
.pstat small { display: block; font-size: .64rem; color: var(--muted); line-height: 1.3; }
.pstat b { font-size: .95rem; font-family: var(--font-display); }
.phone-rows { display: flex; flex-direction: column; gap: 6px; }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); }
.prow span { display: block; font-size: .72rem; font-weight: 600; line-height: 1.3; }
.prow small { font-size: .66rem; color: var(--muted); }
.prow em { font-style: normal; font-size: .6rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.tone-ok { color: var(--ok); background: rgba(81, 207, 102, .12); }
.tone-info { color: var(--info); background: rgba(77, 171, 247, .12); }
.tone-warn { color: var(--warn); background: rgba(252, 196, 25, .12); }
.tone-bad { color: var(--bad); background: rgba(255, 107, 107, .12); }
.phone-cta { margin-top: 12px; text-align: center; padding: 10px; border-radius: 12px; font-weight: 700; font-size: .8rem; color: #fff; background: var(--accent); box-shadow: 0 8px 20px -8px var(--accent); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: rgba(255, 255, 255, .015); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; font-family: var(--font-display); font-size: 1.05rem; }
.mq-item svg { color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-section { padding-block: 70px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); overflow: hidden; }
.stat { padding: 34px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border-2); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- VS (problem/solution) ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.vs-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); background: var(--surface); }
.vs-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vs-card li { padding-left: 26px; position: relative; color: var(--muted); }
.vs-card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; }
.vs-old li::before { background: rgba(255, 107, 107, .5); }
.vs-old li { text-decoration: line-through; text-decoration-color: rgba(255, 107, 107, .4); }
.vs-new { border-color: rgba(252, 196, 25, .35); background: linear-gradient(160deg, rgba(252, 196, 25, .08), rgba(255, 255, 255, .02)); box-shadow: 0 0 60px -20px rgba(252, 196, 25, .35); }
.vs-new li::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.vs-new li b { color: var(--text); }
.vs-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--font-display); margin-bottom: 20px; font-size: 1.1rem; }
.vs-old .vs-label { color: var(--bad); }
.vs-new .vs-label { color: var(--amber); }
.vs-arrow { display: grid; place-items: center; }
.vs-arrow svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--amber); color: #1a1200; box-shadow: 0 0 30px rgba(252, 196, 25, .5); }

/* ---------- Live preview ---------- */
.live-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; border: 1px solid var(--border); border-radius: 28px; padding: 18px; background: rgba(10, 16, 34, .55); backdrop-filter: blur(16px); }
.live-tabs { display: flex; flex-direction: column; gap: 4px; max-height: 640px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.live-tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 14px; background: transparent; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.live-tab b { display: block; font-size: .92rem; }
.live-tab small { display: block; color: var(--dim); font-size: .74rem; line-height: 1.3; }
.lt-icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.live-tab:hover { background: var(--surface); }
.live-tab.active { background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.live-tab.active .lt-icon { background: var(--accent); color: #fff; box-shadow: 0 0 20px -2px var(--accent); }
.live-stage { position: relative; min-height: 640px; display: grid; }
.live-ring { position: absolute; left: 28%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(252, 196, 25, .12), transparent 65%); pointer-events: none; }
.live-panel { grid-area: 1 / 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; padding: 20px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.live-panel.active { opacity: 1; visibility: visible; transform: none; }
.live-panel .phone { --w: 280px; }
.live-info h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .8rem 0; }
.live-info p { color: var(--muted); }
.tag-accent { display: inline-block; font-size: .78rem; font-weight: 700; padding: .35em .9em; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 4px; color: var(--accent, var(--amber)); }
.ticks.big li { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.ticks.big li b { color: var(--text); }

/* ---------- Product grid / cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.spot { --mx: 50%; --my: 50%; position: relative; isolation: isolate; }
.spot::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
    background: radial-gradient(400px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent, #fcc419) 16%, transparent), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.pcard {
    display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.pcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pcard-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000)); box-shadow: 0 10px 30px -8px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .3); }
.pcard-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--muted); transition: all .3s var(--ease); }
.pcard:hover .pcard-arrow { background: var(--accent); color: #fff; border-color: transparent; transform: rotate(45deg); }
.pcard h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.pcard-sub { color: var(--accent); font-weight: 600; font-size: .88rem; margin-bottom: .7rem; filter: brightness(1.25); }
.pcard-for { color: var(--muted); font-size: .9rem; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .72rem; font-weight: 600; padding: .35em .75em; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--muted); }
.chip-accent { color: var(--text); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .8rem; }
.pcard-custom { border-style: dashed; border-color: rgba(252, 196, 25, .4); background: linear-gradient(160deg, rgba(252, 196, 25, .1), rgba(255, 255, 255, .01)); }
.pcard-custom .pcard-icon { color: #1a1200; }
.pcard.is-hidden { display: none; }
@media (min-width: 1100px) { .pcard-custom { grid-column: span 2; } }

/* ---------- Feature cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fgrid-4 { grid-template-columns: repeat(4, 1fr); }
.fcard { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.fcard:hover { border-color: color-mix(in srgb, var(--accent, #fcc419) 40%, transparent); transform: translateY(-4px); }
.fcard p { color: var(--muted); margin: 0; font-size: .95rem; }
.fcard-icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--amber); background: rgba(252, 196, 25, .1); border: 1px solid rgba(252, 196, 25, .25); }
.fcard-icon.wa { color: #40c057; background: rgba(64, 192, 87, .1); border-color: rgba(64, 192, 87, .3); }
.fcard-num { display: inline-block; font-size: .8rem; color: var(--accent); margin-bottom: 14px; padding: 3px 9px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ---------- Capabilities ---------- */
.caps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 0 auto; }
.cap { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.15em; border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--surface); border: 1px solid var(--border); transition: all .25s var(--ease); }
.cap svg { color: var(--amber); }
.cap:hover { border-color: rgba(252, 196, 25, .5); background: rgba(252, 196, 25, .08); transform: translateY(-2px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-line { position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--border-2); overflow: hidden; }
.process-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.process.in .process-line span { transform: scaleX(1); }
.pstep { text-align: center; position: relative; padding: 0 8px; }
.pstep-node { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); background: var(--bg-2); border: 1px solid rgba(252, 196, 25, .4); box-shadow: 0 0 0 8px var(--bg), 0 0 40px -6px rgba(252, 196, 25, .5); position: relative; z-index: 1; }
.pstep-num { font-size: .75rem; color: var(--amber); letter-spacing: .1em; }
.pstep h3 { margin: .4rem 0; font-size: 1.25rem; }
.pstep p { color: var(--muted); font-size: .93rem; }

/* ---------- Gallery ---------- */
.gallery { --gp: max(20px, calc((100vw - 1200px) / 2)); scroll-padding-inline: var(--gp); display: flex; gap: 20px; overflow-x: auto; padding: 10px var(--gp) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.g-item { flex: 0 0 300px; scroll-snap-align: start; border-radius: 22px; overflow: hidden; position: relative; border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s; }
.g-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s var(--ease); user-select: none; }
.g-item:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: rgba(5, 7, 15, .75); backdrop-filter: blur(10px); border: 1px solid var(--border-2); }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0 100px; }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; border: 1px solid rgba(252, 196, 25, .3); background: linear-gradient(135deg, rgba(252, 196, 25, .12), rgba(132, 94, 247, .08) 60%, rgba(59, 201, 219, .08)); }
.cta-card h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta-card p { color: var(--muted); max-width: 600px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-glow { position: absolute; width: 400px; height: 400px; right: -100px; top: -150px; background: radial-gradient(circle, rgba(252, 196, 25, .35), transparent 65%); filter: blur(30px); animation: drift1 12s ease-in-out infinite alternate; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(5, 7, 15, .7); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 18px 0; max-width: 380px; font-size: .95rem; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; transition: color .2s; word-break: break-all; }
.footer-contact a:hover { color: var(--amber); }
.footer-contact svg { color: var(--amber); flex: none; }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: .94rem; transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: var(--text); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 0; margin-top: 50px; border-top: 1px solid var(--border); color: var(--dim); font-size: .85rem; }
.to-top { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-2); transform: rotate(-45deg); transition: background .2s; }
.to-top:hover { background: var(--amber); color: #111; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #062b12; font-weight: 800; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa 2.4s ease-out infinite; }
@keyframes wa { to { inset: -12px; opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 950px; margin-inline: auto; }
.page-hero .lead { margin-inline: auto; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter { padding: .6em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .2s; }
.filter span { font-size: .72rem; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.filter:hover { color: var(--text); border-color: var(--border-2); }
.filter.active { background: var(--amber); color: #1a1200; border-color: var(--amber); }
.filter.active span { background: rgba(0, 0, 0, .15); }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 26px; border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 80px -30px var(--accent, #fcc419); width: 100%; max-width: 460px; margin-inline: auto; transform: rotate(-2deg); transition: transform .5s var(--ease); }
.split-media:hover img { transform: rotate(0) scale(1.02); }

/* ---------- Product page ---------- */
.product-hero { padding-top: 30px; }
.crumbs { font-size: .85rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; }
.prod-id { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.prod-id h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; }
.prod-id p { margin: 0; color: var(--muted); font-weight: 600; }
.prod-icon { width: 76px; height: 76px; flex: none; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); box-shadow: 0 16px 40px -10px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .3); }
.product-page .hero-hook { color: var(--accent); filter: brightness(1.2); }
.prod-headline { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-page .eyebrow { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.product-page .eyebrow .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.made-for { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }
.made-for svg { color: var(--accent); }
.product-page .chips { margin-top: 1.2rem; }

.challenge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.challenge { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 107, 107, .18); background: linear-gradient(135deg, rgba(255, 107, 107, .06), transparent); }
.challenge span { color: var(--bad); flex: none; margin-top: 2px; }
.challenge p { margin: 0; font-weight: 500; }

.solution-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: 30px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255, 255, 255, .02)); box-shadow: 0 0 80px -30px var(--accent); }
.solution-copy p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.benefits { display: grid; gap: 12px; }
.benefits > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(5, 7, 15, .5); border: 1px solid var(--border); }
.benefits svg { grid-row: span 2; color: var(--accent); filter: brightness(1.2); margin-top: 2px; }
.benefits small { color: var(--muted); }

.flow { display: flex; align-items: center; justify-content: center; }
.flow-step { flex: 0 1 220px; text-align: center; padding: 26px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.flow-num { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--accent); box-shadow: 0 0 30px -4px var(--accent); }
.flow-step b { font-size: 1rem; }
.flow-link { flex: 1 1 40px; max-width: 80px; height: 2px; position: relative; background: var(--border-2); overflow: hidden; }
.flow-link i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flowdot 1.8s linear infinite; }
@keyframes flowdot { to { left: 100%; } }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Services ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scard { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.scard:hover { border-color: rgba(252, 196, 25, .4); transform: translateY(-5px); }
.scard-head { display: flex; justify-content: space-between; align-items: flex-start; }
.scard-num { color: var(--dim); font-size: .85rem; }
.scard h3 { font-size: 1.3rem; }
.scard p { color: var(--muted); flex: 1; font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { text-align: center; padding: 36px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.team-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.team-ring { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--amber); position: relative; background: radial-gradient(circle, rgba(252, 196, 25, .15), transparent 70%); }
.team-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px; background: conic-gradient(from 0deg, var(--amber), transparent 40%, var(--cyan) 70%, var(--amber)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin2 6s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }

/* ---------- Industries ---------- */
.igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.icard { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.icard:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-5px); }
.icard-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); filter: brightness(1.2); background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.icard p { color: var(--muted); font-size: .93rem; flex: 1; }
.icard-links { display: flex; flex-wrap: wrap; gap: 8px; }
.icard-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; padding: .4em .9em; border-radius: 999px; color: var(--text); background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); transition: background .2s; }
.icard-links a:hover { background: var(--accent); }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.about-stats .stat:nth-child(odd)::before { display: none; }
.about-stats .stat:nth-child(n+3) { border-top: 1px solid var(--border); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.contact-side { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
a.ccard:hover { border-color: rgba(252, 196, 25, .45); transform: translateX(4px); }
.ccard .fcard-icon { margin: 0; }
.ccard small { display: block; color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ccard b { font-size: 1.02rem; }
.break { word-break: break-all; }
.next-box { margin-top: 10px; padding: 26px; border-radius: var(--radius); border: 1px dashed rgba(252, 196, 25, .35); background: rgba(252, 196, 25, .04); }
.next-box ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: var(--muted); }
.next-box li { display: flex; gap: 12px; align-items: flex-start; }
.next-box li span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #1a1200; background: var(--amber); }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--border-2); background: rgba(10, 16, 34, .7); backdrop-filter: blur(18px); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(252, 196, 25, .6), transparent 35%, transparent 65%, rgba(59, 201, 219, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; color: var(--text); padding: 24px 16px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-2); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2396a3c4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: #0f1730; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--dim); pointer-events: none; transition: all .2s var(--ease); font-size: .98rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.static { top: 7px; font-size: .72rem; color: var(--amber); letter-spacing: .04em; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); background: rgba(252, 196, 25, .04); box-shadow: 0 0 0 4px rgba(252, 196, 25, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }
.field small { display: block; color: var(--bad); margin-top: 6px; font-size: .82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); color: #ffc9c9; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--dim); font-size: .82rem; margin: 0; }
.form-success { text-align: center; padding: 30px 0; }
.form-success p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.success-ring { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: #1a1200; background: var(--amber); box-shadow: 0 0 0 10px rgba(252, 196, 25, .15), 0 0 60px rgba(252, 196, 25, .5); animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* 404 */
.notfound { padding-block: 120px; }
.nf-code { font-size: clamp(6rem, 18vw, 12rem); line-height: 1; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; text-shadow: 0 0 80px rgba(252, 196, 25, .2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .fgrid-4 { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .live-grid { grid-template-columns: 1fr; }
    .live-tabs { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
    .live-tab { flex: none; }
    .live-tab small { display: none; }
}
@media (max-width: 960px) {
    .nav-toggle { display: grid; }
    .nav-actions .btn { display: none; }
    .main-nav {
        position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px;
        border-radius: 0; background: rgba(5, 7, 15, .97); backdrop-filter: blur(20px); border: 0; border-bottom: 1px solid var(--border);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    }
    body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
    .hero-grid, .split, .solution-card, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { height: 560px; }
    .vs-grid { grid-template-columns: 1fr; }
    .vs-arrow svg { transform: rotate(90deg); }
    .fgrid, .sgrid { grid-template-columns: repeat(2, 1fr); }
    .pgrid-3 { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats .stat:nth-child(3)::before { display: none; }
    .stats .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
    .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .process-line { display: none; }
    .cta-card { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: row; flex-wrap: wrap; }
    .live-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .live-panel .ticks { justify-items: center; }
    .live-stage { min-height: 0; }
    .flow { flex-direction: column; }
    .flow-step { width: 100%; max-width: 360px; flex: none; }
    .flow-link { width: 2px; height: 30px; flex: none; }
    .flow-link i { width: 100%; height: 40%; left: 0; top: -40%; animation-name: flowdotv; }
    @keyframes flowdotv { to { top: 100%; } }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .logo-text small { display: none; }
    .logo-text b { font-size: .92rem; }
    .fgrid, .fgrid-4, .sgrid, .team-grid, .pgrid-3, .challenge-grid, .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { height: 520px; transform: scale(.86); margin: -30px -20px; }
    .hero-visual .phone-left, .hero-visual .phone-right { display: none; }
    .orbit.o2 { display: none; }
    .fc1 { right: 2%; } .fc2 { left: 0; } .fc3 { display: none; }
    .process { grid-template-columns: 1fr; }
    .g-item { flex-basis: 240px; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .pager .btn { flex: 1; font-size: .82rem; padding: 0 .8em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    #particles, .cursor-glow { display: none; }
}
