/* ==========================================================================
   Techbeee Technology — cinematic / futuristic theme
   ========================================================================== */
:root {
    --bg: #05060f;
    --bg-2: #0a0c1d;
    --surface: rgba(255, 255, 255, .04);
    --surface-2: rgba(255, 255, 255, .07);
    --border: rgba(148, 163, 255, .14);
    --text: #e8eaff;
    --muted: #9aa0c3;
    --cyan: #22d3ee;
    --indigo: #6366f1;
    --violet: #a855f7;
    --grad: linear-gradient(120deg, var(--cyan), var(--indigo) 55%, var(--violet));
    --radius: 20px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-tech: 'Orbitron', 'Space Grotesk', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 15px/1.65 var(--font-body);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
::selection { background: var(--indigo); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad {
    background: var(--grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- ambience ---------- */
.noise {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
    position: fixed; z-index: 0; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
    pointer-events: none; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99, 102, 241, .16), transparent 65%);
    transition: opacity .4s; opacity: 0;
}
body.has-pointer .cursor-glow { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
main, .footer { position: relative; z-index: 2; }

/* ---------- preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
    background: var(--bg); transition: opacity .7s var(--ease), visibility .7s;
}
body:not(.is-loading) .preloader { opacity: 0; visibility: hidden; }
.preloader__logo { width: 92px; }
.preloader__logo img { width: 100%; height: auto; animation: logoIn 1.1s var(--ease) both, logoGlow 2s 1.1s ease-in-out infinite; }
@keyframes logoIn { from { opacity: 0; transform: scale(.6) rotate(-12deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes logoGlow { 50% { filter: drop-shadow(0 0 18px rgba(99, 102, 241, .9)); } }
.preloader__logo .logo-hex { stroke-dasharray: 180; stroke-dashoffset: 180; fill-opacity: 0; animation: draw 1.3s var(--ease) forwards, hexFill .6s 1s forwards; }
.preloader__logo .logo-emblem > :not(.logo-hex) { opacity: 0; animation: fadeUp .6s .9s var(--ease) forwards; }
@keyframes hexFill { to { fill-opacity: 1; } }
.preloader__bar { width: 180px; height: 2px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: loadbar 1.1s ease-in-out infinite; }
.preloader__text { font: 600 11px var(--font-tech); letter-spacing: .5em; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- buttons ---------- */
.btn {
    --pad: .85rem 1.5rem;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: var(--pad); border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    font: 600 .88rem var(--font-display); letter-spacing: .01em; color: #fff; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
}
.btn--sm { --pad: .5rem 1rem; font-size: .82rem; }
.btn--lg { --pad: .9rem 1.6rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); background-size: 160% auto; box-shadow: 0 10px 40px -10px rgba(99, 102, 241, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background-position: right center; box-shadow: 0 14px 50px -8px rgba(34, 211, 238, .55), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    background-size: 250% 100%; background-position: 150% 0; transition: background-position .9s var(--ease);
}
.btn--primary:hover::after { background-position: -50% 0; }
.btn--ghost { background: var(--surface); border-color: var(--border); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .08); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

/* ---------- eyebrow ---------- */
.eyebrow {
    display: inline-flex; max-width: 100%; align-items: center; gap: .55rem; padding: .4rem .95rem; margin-bottom: 1.3rem;
    border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
    font: 600 .64rem var(--font-tech); letter-spacing: .18em; text-transform: uppercase; color: #c7d2fe;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: padding .4s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 10px 0; background: rgba(5, 6, 15, .72); backdrop-filter: blur(18px) saturate(140%); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { display: block; width: auto; max-width: none; transition: transform .5s var(--ease), filter .5s; }
.nav__brand .brand-logo { height: 50px; }
.nav.is-scrolled .nav__brand .brand-logo { height: 42px; }
.nav__brand:hover .brand-logo, .footer__brand:hover .brand-logo { filter: drop-shadow(0 0 14px rgba(99, 102, 241, .7)); transform: scale(1.03); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { position: relative; padding: .5rem .9rem; font: 500 .88rem var(--font-display); color: var(--muted); transition: color .3s; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.active { color: #fff; }
.nav__links a:not(.btn):hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* logo idle animation: fluttering wings, blinking circuit nodes */
.logo-wing { transform-box: fill-box; animation: flutterL 3s ease-in-out infinite; }
.logo-wing.wl { transform-origin: 100% 60%; }
.logo-wing.wr { transform-origin: 0% 60%; animation-name: flutterR; }
@keyframes flutterL { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: -14deg; } 80% { rotate: 4deg; } 90% { rotate: -8deg; } }
@keyframes flutterR { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: 14deg; } 80% { rotate: -4deg; } 90% { rotate: 8deg; } }
.logo-node { animation: pulse 2.4s infinite; } .logo-node.n2 { animation-delay: 1.2s; }
.logo-emblem { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
.nav__brand:hover .logo-emblem, .footer__brand:hover .logo-emblem { transform: scale(1.08) rotate(-6deg); }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
/* site-wide banner background (fixed behind every section) */
.bg-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; translate: 0 calc(var(--sy, 0) * -1px); animation: orb 18s ease-in-out infinite alternate; }
.bg-orb--a { width: 560px; height: 560px; background: #4338ca; top: -180px; left: -140px; }
.bg-orb--b { width: 480px; height: 480px; background: #0e7490; bottom: -200px; right: -120px; animation-delay: -6s; translate: 0 calc(var(--sy, 0) * .6px); }
.bg-orb--c { width: 380px; height: 380px; background: #7e22ce; top: 40%; left: 55%; opacity: .28; animation-delay: -12s; translate: 0 calc(var(--sy, 0) * -.4px); }
@keyframes orb { to { transform: translate(80px, 60px) scale(1.15); } }
.bg-grid {
    position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
    background-image: linear-gradient(rgba(99, 102, 241, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .35) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(70deg);
    transform-origin: center top;
    mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
    animation: gridMove 3s linear infinite;
    opacity: .38;
}
@keyframes gridMove { to { background-position: 0 60px; } }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 4.9vw, 4.1rem); font-weight: 700; line-height: 1.02; margin-bottom: .45em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split, .hero__title .rotator { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > * { animation-delay: .12s; }
.hero__title .line:nth-child(3) > * { animation-delay: .24s; }
body.is-loading .hero__title .split, body.is-loading .hero__title .rotator { animation-play-state: paused; }
@keyframes lineUp { to { transform: none; } }
.rotator { min-height: 1.05em; }
.rotator .word { display: inline-block; white-space: nowrap; }
.rotator .ch { text-shadow: 0 0 28px currentColor; }
.hero__title .line:has(.rotator) { overflow: visible; }
.rotator .ch { display: inline-block; opacity: 0; transform: translateY(.4em) rotateX(-80deg); animation: chIn .55s var(--ease) forwards; }
.rotator.out .ch { animation: chOut .35s ease-in forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }
@keyframes chOut { to { opacity: 0; transform: translateY(-.4em) rotateX(80deg); } }
.hero__lead { font-size: clamp(.95rem, 1.15vw, 1.05rem); color: var(--muted); max-width: 560px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.2rem; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero__platforms li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: .78rem; color: #c7d2fe; }
.hero__platforms .ico { color: var(--cyan); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { to { transform: translateY(14px); opacity: 0; } }

/* hero devices */
.hero__stage { position: relative; height: 520px; perspective: 1200px; }
.device { position: absolute; border-radius: 18px; background: linear-gradient(160deg, rgba(30, 33, 70, .9), rgba(10, 12, 30, .95)); border: 1px solid rgba(148, 163, 255, .25); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 60px -20px rgba(99, 102, 241, .6); overflow: hidden; }
.device--browser { width: 88%; top: 40px; left: 0; transform: rotateY(14deg) rotateX(6deg); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .device__bar i:nth-child(2) { background: #febc2e; } .device__bar i:nth-child(3) { background: #28c840; }
.device__bar span { margin-left: 12px; padding: 2px 12px; border-radius: 6px; background: rgba(255,255,255,.05); font-size: 11px; color: var(--muted); }
.dash { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.dash__side { padding: 16px 12px; border-right: 1px solid var(--border); display: grid; gap: 14px; align-content: start; }
.dash__side b { height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); } .dash__side b:first-child { background: var(--grad); }
.dash__main { padding: 16px; display: grid; gap: 14px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.dash__kpis small { display: block; font-size: 10px; color: var(--muted); }
.dash__kpis strong { font: 700 1rem var(--font-display); }
.dash__chart { height: 100px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); overflow: hidden; }
.dash__chart svg { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s 1.2s var(--ease) forwards; filter: drop-shadow(0 0 6px var(--cyan)); }
.chart-area { opacity: 0; animation: fadeUp 1s 2.2s forwards; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; }
.dash__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--indigo), var(--violet)); transform-origin: bottom; animation: barGrow 1.2s var(--ease) backwards, barLive 4s 2s ease-in-out infinite alternate; }
.dash__bars i:nth-child(odd) { animation-delay: .1s, 2.4s; }
@keyframes barGrow { from { transform: scaleY(0); } }
@keyframes barLive { to { transform: scaleY(.75); } }
.device--phone { width: 200px; height: 400px; right: 0; top: 110px; border-radius: 34px; padding: 12px; transform: rotateY(-16deg) rotateX(4deg); border-width: 2px; }
.phone__notch { position: absolute; top: 12px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 0 0 12px 12px; background: #000; z-index: 2; }
.app { height: 100%; border-radius: 24px; background: linear-gradient(180deg, #0f1230, #090b1d); padding: 36px 14px 14px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.app__head { display: flex; align-items: center; gap: 8px; }
.app__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); }
.app__line { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.app__card { position: relative; padding: 14px; border-radius: 16px; background: var(--grad); overflow: hidden; box-shadow: 0 10px 30px -10px rgba(99,102,241,.8); }
.app__card small { display: block; font-size: 10px; opacity: .8; } .app__card strong { font: 700 1.05rem var(--font-display); }
.app__spark { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35), transparent 70%); background-size: 250% 100%; animation: shine 3s infinite; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.app__row { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.04); }
.app__row > span:first-child { width: 22px; height: 22px; border-radius: 8px; background: rgba(34, 211, 238, .25); flex: none; }
.app__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); }
.app__tabs i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.12); } .app__tabs i.on { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(148, 163, 255, .2); border-radius: 50%; transform: translate(-50%, -50%); animation: spin 30s linear infinite; }
.orbit--1 { width: 560px; height: 560px; } .orbit--2 { width: 400px; height: 400px; animation-duration: 20s; animation-direction: reverse; }
.orbit span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.orbit--2 span { background: var(--violet); box-shadow: 0 0 20px var(--violet); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 14px; font: 600 .76rem var(--font-display); background: rgba(15, 18, 45, .75); border: 1px solid var(--border); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px #000; }
.chip .ico { color: var(--cyan); }
.chip--a { left: -10px; bottom: 50px; } .chip--b { right: 150px; top: 0; }
.float { animation: float 6s ease-in-out infinite; }
.float--alt { animation-duration: 7s; animation-delay: -3s; }
.device--browser.float { animation-name: floatB; } .device--phone.float { animation-name: floatP; }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes floatB { 50% { translate: 0 -12px; } }
@keyframes floatP { 50% { translate: 0 -20px; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; padding: 26px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,.015); overflow: hidden; 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; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 600 .92rem var(--font-tech); letter-spacing: .08em; color: rgba(199, 210, 254, .45); text-transform: uppercase; transition: color .3s; }
.marquee span:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tight { padding-top: 0; }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    position: relative; display: block; padding: 28px 26px 26px; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    border: 1px solid var(--border); transform-style: preserve-3d;
    transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .4s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { box-shadow: 0 30px 80px -30px rgba(99, 102, 241, .55); }
.card:hover::before { opacity: 1; }
.card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .card__shine { opacity: 1; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; background: linear-gradient(140deg, rgba(34, 211, 238, .18), rgba(168, 85, 247, .18)); border: 1px solid var(--border); color: var(--cyan); font-size: 1.2rem; box-shadow: 0 0 30px -10px rgba(34, 211, 238, .6); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); margin: 0; font-size: .9rem; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 16px; font: 600 .82rem var(--font-display); color: var(--cyan); }
.card__more .ico { transition: transform .35s var(--ease); } .card:hover .card__more .ico { transform: translateX(5px); }
.card__num { position: absolute; top: 20px; right: 22px; font: 800 2rem var(--font-tech); color: rgba(255,255,255,.04); transition: color .4s; }
.card:hover .card__num { color: rgba(99, 102, 241, .18); }

/* sync */
.sync__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sync__visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.sync__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid var(--border); background: radial-gradient(circle, rgba(99, 102, 241, .18), transparent 60%); }
.sync__ring::before, .sync__ring::after { content: ''; position: absolute; inset: -8%; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .25); animation: ripple 3.6s var(--ease) infinite; }
.sync__ring::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.sync__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sync__lines path { stroke: url(#ico-g); stroke: var(--indigo); stroke-width: 1.5; stroke-dasharray: 6 8; fill: none; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.sync__node { position: absolute; z-index: 1; display: grid; place-items: center; gap: 4px; width: 92px; height: 92px; border-radius: 26px; background: rgba(15, 18, 45, .85); border: 1px solid var(--border); backdrop-filter: blur(10px); font: 600 .8rem var(--font-display); color: #c7d2fe; transform: translate(-50%, -50%); box-shadow: 0 20px 50px -20px #000; }
.sync__node .ico { width: 28px; height: 28px; color: var(--cyan); }
.sync__node--core { left: 50%; top: 50%; width: 130px; height: 130px; border-radius: 36px; box-shadow: 0 0 80px -10px rgba(99, 102, 241, .8); animation: corePulse 3s ease-in-out infinite; }
.sync__node--core img { width: 80px; height: auto; filter: drop-shadow(0 0 12px rgba(99, 102, 241, .6)); }
@keyframes corePulse { 50% { box-shadow: 0 0 110px 0 rgba(34, 211, 238, .55); } }
.sync__node--web { left: 20%; top: 22.5%; } .sync__node--ios { left: 80%; top: 22.5%; } .sync__node--android { left: 50%; top: 85%; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .ico { margin-top: .25em; color: var(--cyan); padding: 2px; border-radius: 50%; background: rgba(34, 211, 238, .12); width: 1.3em; height: 1.3em; stroke-width: 2.4; }
.checklist--lg li { font-size: .98rem; }

/* stats */
.stats { position: relative; z-index: 2; padding: 30px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(148, 163, 255, .1); border: 1px solid var(--border); }
.stat { padding: 30px 24px; background: rgba(10, 12, 29, .72); backdrop-filter: blur(14px); }
.stat strong { display: block; font: 800 clamp(1.8rem, 3vw, 2.4rem) var(--font-tech); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; margin-bottom: .4rem; }
.stat > span { color: var(--muted); font-size: .86rem; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--border); }
.timeline__line span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px var(--cyan); }
.timeline__step { position: relative; }
.timeline__dot { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: #0c0e24; border: 1px solid var(--border); font: 700 .82rem var(--font-tech); color: var(--cyan); box-shadow: 0 0 0 6px rgba(5, 6, 15, .6); transition: background .5s, color .5s, box-shadow .5s; }
.timeline__step.is-active .timeline__dot { background: var(--grad); color: #fff; box-shadow: 0 0 0 6px rgba(5, 6, 15, .6), 0 0 30px rgba(99, 102, 241, .8); }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { --c1: hsl(var(--hue) 90% 60%); --c2: hsl(calc(var(--hue) + 50) 85% 60%); position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .5s var(--ease), box-shadow .5s, opacity .4s; }
.project:hover { box-shadow: 0 30px 80px -30px var(--c1); }
.project.is-hidden { display: none; }
.project__art { position: relative; height: 220px; overflow: hidden; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 60%), radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--c2) 40%, transparent), transparent 60%), #0b0d22; }
.project__screen { position: absolute; left: 24px; top: 30px; width: 64%; height: 160px; padding: 16px; border-radius: 12px; background: rgba(8, 10, 28, .8); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 8px; align-content: start; transition: transform .7s var(--ease); }
.project__screen > span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); } .project__screen > span:first-child { background: var(--c1); }
.project__blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.project__blocks i { height: 46px; border-radius: 8px; background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 50%, transparent), rgba(255,255,255,.04)); }
.project__phone { position: absolute; right: 22px; top: 50px; width: 84px; height: 170px; padding: 18px 8px 8px; border-radius: 18px; background: rgba(8, 10, 28, .92); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 7px; align-content: start; transition: transform .7s var(--ease); }
.project__phone span { height: 26px; border-radius: 7px; background: rgba(255,255,255,.08); } .project__phone span:first-child { height: 40px; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.project:hover .project__screen { transform: translateY(-8px) rotate(-1deg); }
.project:hover .project__phone { transform: translateY(-16px) rotate(3deg); }
.project__body { padding: 20px 22px 24px; } .project p { font-size: .9rem; }
.project__meta { display: flex; justify-content: space-between; margin-bottom: 10px; font: 600 .72rem var(--font-tech); letter-spacing: .14em; text-transform: uppercase; color: var(--c1); }
.project__meta span:last-child { color: var(--muted); }
.project p { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 600 .82rem var(--font-display); cursor: pointer; transition: all .3s; }
.filter:hover { color: #fff; } .filter.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8); }

/* ---------- inner pages ---------- */
.page-hero { padding: 160px 0 80px; text-align: center; }
.page-hero__inner { max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4.1vw, 3.2rem); }
.page-hero .hero__lead { margin-inline: auto; }
.split-2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.prose p { color: var(--muted); font-size: .98rem; } .prose strong { color: var(--text); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.glass { padding: clamp(26px, 4vw, 42px); border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--border); backdrop-filter: blur(20px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.license { display: flex; gap: 22px; align-items: center; padding: 30px; border-radius: var(--radius); border: 1px solid rgba(34, 211, 238, .3); background: linear-gradient(120deg, rgba(34, 211, 238, .08), rgba(168, 85, 247, .06)); }
.license .card__icon { margin: 0; flex: none; } .license h3 { margin-bottom: .3em; } .license p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: .28rem .7rem; border-radius: 8px; font-size: .76rem; background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .25); color: #c7d2fe; }
.tags--lg span { font-size: .84rem; padding: .4rem .85rem; }
.mini-steps { padding-left: 1.2rem; color: var(--muted); display: grid; gap: .55rem; margin: 0; }
.mini-steps strong { color: var(--text); }
.service-list { display: grid; gap: 22px; }
.service-row { position: relative; display: grid; grid-template-columns: 90px 1.3fr 1fr 60px; gap: 30px; align-items: center; padding: 32px; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); transition: border-color .4s, transform .5s var(--ease); }
.service-row:hover { border-color: rgba(34, 211, 238, .4); transform: translateX(6px); }
.service-row__num { font: 800 2.3rem var(--font-tech); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .7; }
.service-row h2 { font-size: 1.35rem; } .service-row p { margin: 0; }
.service-row .checklist { margin: 0; }
.service-row__go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border); font-size: 1.3rem; transition: all .4s var(--ease); }
.service-row__go:hover { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }

/* contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact__item { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); word-break: break-word; }
a.contact__item:hover { border-color: rgba(34, 211, 238, .45); transform: translateX(6px); }
.contact__item .card__icon { margin: 0; flex: none; width: 48px; height: 48px; font-size: 1.2rem; }
.contact__item small { display: block; font: 600 .7rem var(--font-tech); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%; padding: 1.4rem 1.1rem .6rem; border-radius: 14px; border: 1px solid var(--border);
    background: rgba(5, 6, 15, .55); color: var(--text); font: inherit; outline: none; appearance: none;
    transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { cursor: pointer; }
.field--select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select option { background: var(--bg-2); }
.field label { position: absolute; left: 1.1rem; top: 1rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: .45rem; font-size: .72rem; letter-spacing: .04em; color: var(--cyan); }
.field.has-error input, .field.has-error textarea { border-color: #f87171; }
.err { display: block; margin-top: 6px; color: #fca5a5; font-size: .85rem; }
.budget { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.budget legend { width: 100%; margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: .9rem; transition: all .3s; }
.pill input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: .6rem; align-items: center; padding: 14px 18px; border-radius: 14px; }
.alert--ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); color: #86efac; }
.alert--err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }

/* ---------- footer ---------- */
.footer { overflow: hidden; padding: 0 0 30px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(5, 6, 15, .35), rgba(3, 4, 10, .9)); backdrop-filter: blur(2px); }
.footer__glow { position: absolute; left: 50%; top: -200px; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99, 102, 241, .3), transparent 65%); pointer-events: none; }
.footer__cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 64px 0; border-bottom: 1px solid var(--border); }
.footer__cta h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .7fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer__brand .brand-logo { height: 56px; margin-bottom: 18px; }
.footer h4 { font: 600 .75rem var(--font-tech); letter-spacing: .2em; text-transform: uppercase; color: #c7d2fe; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .9rem; }
.footer ul a { color: var(--muted); transition: color .3s; } .footer ul a:hover { color: var(--cyan); }
.footer__contact li { display: flex; gap: .65rem; color: var(--muted); word-break: break-word; } .footer__contact .ico { margin-top: .3em; color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }

.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .4s var(--ease); }
.whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ripple 2.4s infinite; }
.whatsapp svg { width: 30px; height: 30px; } .whatsapp:hover { transform: scale(1.1) rotate(-8deg); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- added content blocks ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: rgba(10, 12, 29, .55); backdrop-filter: blur(10px); transition: border-color .4s, transform .5s var(--ease); }
.feature:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-4px); }
.feature .card__icon { margin: 0; flex: none; width: 42px; height: 42px; font-size: 1.1rem; }
.feature h3 { font-size: 1rem; margin-bottom: .35em; } .feature p { margin: 0; font-size: .88rem; }

.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry { position: relative; overflow: hidden; padding: 24px 22px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.industry:hover { border-color: rgba(168, 85, 247, .45); box-shadow: 0 24px 60px -30px rgba(168, 85, 247, .7); }
.industry:hover .card__shine { opacity: 1; }
.industry > .ico { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .5)); }
.industry h3 { font-size: .98rem; margin-bottom: .3em; } .industry p { margin: 0; font-size: .84rem; }

.stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stack__group h4 { font: 600 .68rem var(--font-tech); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: .2rem; }
.stack__group .tags { margin-top: 12px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: transform .5s var(--ease), box-shadow .5s; }
.plan:hover .card__shine { opacity: 1; }
.plan--featured { border-color: rgba(99, 102, 241, .6); background: linear-gradient(160deg, rgba(99, 102, 241, .2), rgba(34, 211, 238, .06)); box-shadow: 0 30px 80px -40px rgba(99, 102, 241, .9); }
.plan h3 { font-size: 1.15rem; margin-bottom: .3em; }
.plan__best { color: var(--muted); font-size: .86rem; }
.plan .checklist { margin: .6rem 0 1.6rem; font-size: .9rem; flex: 1; }
.plan__badge { position: absolute; top: 18px; right: 18px; padding: .25rem .65rem; border-radius: 999px; background: var(--grad); font: 600 .62rem var(--font-tech); letter-spacing: .12em; text-transform: uppercase; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { font-size: .95rem; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; border: 1px solid var(--border); background: rgba(10, 12, 29, .6); backdrop-filter: blur(10px); transition: border-color .3s; }
.faq__item[open] { border-color: rgba(34, 211, 238, .4); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: 600 .95rem var(--font-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); color: var(--cyan); transition: transform .4s var(--ease), background .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: rgba(34, 211, 238, .12); }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: .9rem; }

.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv__card h3 { font-size: 1.1rem; } .mv__card p { margin: 0; font-size: .92rem; } .mv__card .checklist { margin-top: .4rem; font-size: .9rem; }

.ideal { display: flex; gap: 16px; align-items: flex-start; margin-top: 1.4rem; padding: 20px; border-radius: 16px; border: 1px solid rgba(34, 211, 238, .3); background: linear-gradient(120deg, rgba(34, 211, 238, .07), rgba(168, 85, 247, .05)); }
.ideal .card__icon { margin: 0; flex: none; width: 40px; height: 40px; font-size: 1rem; }
.ideal strong { font-family: var(--font-display); } .ideal p { margin: .2rem 0 0; font-size: .9rem; }
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.deliverable { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: rgba(10, 12, 29, .55); font-size: .92rem; }
.deliverable span { font: 700 .8rem var(--font-tech); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; }
.step__num { display: block; margin-bottom: 14px; font: 800 1.8rem var(--font-tech); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin: 0; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .hero__inner, .sync__inner, .split-2, .contact { grid-template-columns: minmax(0, 1fr); }
    .hero__stage { height: 460px; max-width: 600px; width: 100%; margin-inline: auto; }
    .cards, .cards--3, .projects { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr; gap: 30px; padding-left: 80px; }
    .timeline__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .timeline__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
    .timeline__dot { position: absolute; left: -80px; top: -6px; }
    .stats__grid, .industries { grid-template-columns: repeat(2, 1fr); }
    .features, .plans, .mv, .deliverables, .steps { grid-template-columns: repeat(2, 1fr); }
    .stack { grid-template-columns: repeat(3, 1fr); }
    .faq { grid-template-columns: minmax(0, 1fr); gap: 30px; } .faq__head { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .service-row { grid-template-columns: 1fr; gap: 22px; padding: 30px; }
    .service-row__num { position: absolute; top: 24px; right: 30px; font-size: 2.2rem; }
    .service-row__go { display: none; }
}
@media (max-width: 860px) {
    .nav__toggle { display: block; z-index: 2; }
    .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px; background: rgba(5, 6, 15, .96); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
    .nav__links a:not(.btn) { font-size: 1.6rem; }
    .nav__cta { margin: 16px 0 0; }
    .nav-open .nav__links { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
    .hero { padding-top: 110px; }
    .hero__stage { height: 380px; }
    .device--browser { width: 92%; } .dash { min-height: 230px; } .dash__chart { height: 70px; } .dash__bars { height: 40px; }
    .device--phone { width: 150px; height: 300px; top: 120px; border-radius: 28px; }
    .hero__title .line:has(.rotator) { min-height: 2.1em; }
    .app { padding-top: 30px; gap: 8px; } .app__card strong { font-size: .82rem; white-space: nowrap; } .app__row:nth-of-type(n+4) { display: none; }
    .orbit--1 { width: 380px; height: 380px; } .orbit--2 { width: 280px; height: 280px; }
    .chip--b { right: 40px; }
    .cards, .cards--3, .projects, .stats__grid, .form__row, .footer__grid, .features, .plans, .mv, .deliverables, .steps { grid-template-columns: minmax(0, 1fr); }
    .stack { grid-template-columns: repeat(2, 1fr); }
    .hero__actions .btn { flex: 1 1 100%; }
    .eyebrow { letter-spacing: .1em; font-size: .64rem; }
    .sync__node { width: 74px; height: 74px; border-radius: 20px; } .sync__node--core { width: 104px; height: 104px; } .sync__node--core img { width: 62px; }
    .license { flex-direction: column; align-items: flex-start; }
    .nav__brand .brand-logo { height: 40px; }
    .page-hero { padding: 150px 0 70px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; filter: none; }
}

/* ============ HRMS product page + free trial ============ */
.trial-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.trial-perks li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(34, 211, 238, .3); background: rgba(34, 211, 238, .07); font-size: .86rem; color: #dbe3ff; }
.trial-perks .ico { width: 15px; height: 15px; color: var(--cyan); }
.page-hero .hero__actions { justify-content: center; margin: 1.8rem 0 1.4rem; }
.hrms-shot { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(148, 163, 255, .25); background: linear-gradient(160deg, rgba(30, 33, 70, .9), rgba(10, 12, 30, .95));
    box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(99, 102, 241, .7); }
.hrms-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 1081px) { .timeline--3 { grid-template-columns: repeat(3, 1fr); } }
.trial-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--border);
    background: radial-gradient(600px 240px at 0% 0%, rgba(99, 102, 241, .25), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(34, 211, 238, .14), transparent 70%), var(--surface); }
.trial-cta h2 { margin: .7rem 0 .4rem; }
.trial-cta p { margin: 0; max-width: 560px; }
.trial-cta p a { color: var(--cyan); }
.trial-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nav__links a.nav__hrms { color: #fff; }
.nav__links a.nav__hrms .nav__new { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--grad); font-size: .62rem; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }

/* ---------- HRMS feature guide ---------- */
.tour__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.tour__video { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(148, 163, 255, .25); background: #0f1035; box-shadow: 0 40px 80px -40px rgba(79, 70, 229, .55); }
.tour__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0f1035; }
.tour__video { position: relative; }
.tour__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, #4f46e5, #22d3ee); box-shadow: 0 0 0 10px rgba(34, 211, 238, .18), 0 20px 50px -10px rgba(79, 70, 229, .8); transition: transform .3s var(--ease); }
.tour__play:hover { transform: scale(1.08); }
.tour__play svg { width: 36px; height: 36px; margin-left: 4px; fill: #fff; }
.tour__play[hidden] { display: none; }
@media (max-width: 600px) { .tour__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .tour__play svg { width: 26px; height: 26px; } }
.tour__files { padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: rgba(10, 12, 29, .55); }
.tour__files h3 { margin: 0 0 6px; font-size: 1.25rem; }
.tour__files > p { margin: 0 0 18px; font-size: .92rem; }
.tour__file { display: flex; gap: 14px; align-items: center; padding: 14px; margin-top: 10px; border-radius: 14px; border: 1px solid rgba(148, 163, 255, .18); color: inherit; text-decoration: none; transition: border-color .3s, background .3s, transform .3s; }
.tour__file:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .06); transform: translateY(-2px); }
.tour__file strong { display: block; font-size: .95rem; }
.tour__file small { display: block; font-size: .8rem; color: var(--muted, #aab1d6); }
.tour__ext { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
.tour__ext--ppt { background: #d35230; }
.tour__ext--pdf { background: #e11d48; }
.tour__ext--mp4 { background: linear-gradient(135deg, #4f46e5, #22d3ee); }
@media (max-width: 900px) { .tour__grid { grid-template-columns: minmax(0, 1fr); } }
.guide__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 56px; max-width: 960px; }
.guide__nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(10, 12, 29, .55); color: var(--muted, #aab1d6); font-size: .85rem; font-weight: 600; text-decoration: none; transition: border-color .3s, color .3s, background .3s; }
.guide__nav a:hover { border-color: rgba(34, 211, 238, .5); color: #fff; background: rgba(34, 211, 238, .08); }
.guide__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid rgba(148, 163, 255, .1); scroll-margin-top: 90px; }
.guide__item:first-of-type { border-top: 0; }
.guide__item--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.guide__item--flip .guide__text { order: 2; }
.guide__num { display: inline-block; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #22d3ee; }
.guide__text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 0 0 14px; }
.guide__list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.guide__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.guide__list .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #22d3ee; }
.guide__how { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(10, 12, 29, .55); }
.guide__how strong { display: block; margin-bottom: 6px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #c7d2fe; }
.guide__how ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: .9rem; color: var(--muted, #aab1d6); }
.guide__media { position: relative; }
.guide__shot { display: block; width: 100%; padding: 0; border: 1px solid rgba(148, 163, 255, .25); border-radius: 16px; overflow: hidden; cursor: zoom-in; background: linear-gradient(160deg, rgba(30, 33, 70, .9), rgba(10, 12, 30, .95)); box-shadow: 0 40px 80px -40px rgba(79, 70, 229, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.guide__shot:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -40px rgba(34, 211, 238, .45); }
.guide__shot img { display: block; width: 100%; height: auto; }
.guide__shot .device__bar { display: flex; }
.guide__shot--extra { position: absolute; right: -18px; bottom: -34px; width: 44%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.guide__shot--extra .device__bar { display: none; }
.guide__shot--phone.guide__shot--extra { width: 24%; border-radius: 22px; border: 3px solid #1e2146; }
.guide__item--flip .guide__shot--extra { right: auto; left: -18px; }
.zoom { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(3, 4, 12, .9); backdrop-filter: blur(6px); cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: min(1600px, 100%); max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: rgba(10, 12, 29, .8); color: #fff; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 991px) {
    .guide__item, .guide__item--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
    .guide__item--flip .guide__text { order: 0; }
    .guide__shot--extra { right: -6px; bottom: -22px; }
    .guide__item--flip .guide__shot--extra { left: auto; right: -6px; }
    .guide__media { margin-bottom: 22px; }
}
