/* S3 Web - high-end motion & effects layer. Everything here is progressive enhancement:
   the site is fully usable without it, and it is switched off for prefers-reduced-motion. */

/* ---------- Intro curtain (first visit per session, CSS only) ---------- */
.intro { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a1f8f, #0b0b0d 70%); pointer-events: none; animation: introOut .9s cubic-bezier(.76, 0, .24, 1) 1s forwards; }
.intro img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; animation: introLogo 1.1s var(--ease) both; box-shadow: 0 0 80px rgba(167, 124, 246, .7); }
.intro i { position: absolute; left: 50%; top: calc(50% + 80px); width: 120px; height: 3px; margin-left: -60px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.intro i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #c79dff, #7c4ae8); transform: translateX(-100%); animation: introBar .9s ease-out .1s forwards; }
.noi .intro { display: none; }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes introLogo { from { transform: scale(.4) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.08) rotate(3deg); opacity: 1; } to { transform: none; } }
@keyframes introBar { to { transform: none; } }

/* ---------- Custom cursor ---------- */
.fx-cursor, .fx-dot { position: fixed; left: 0; top: 0; z-index: 998; pointer-events: none; opacity: 0; border-radius: 50%; margin: -18px 0 0 -18px; }
.fx-cursor { width: 36px; height: 36px; border: 1.5px solid rgba(199, 157, 255, .8); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: difference; }
.fx-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #c79dff; }
.fx-cursor.on, .fx-dot.on { opacity: 1; }
.fx-cursor.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(199, 157, 255, .25); }

/* ---------- Hero: particle network, depth parallax, rotator ---------- */
.fx-net { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.hero > .container, .page-hero > .container { position: relative; z-index: 2; }
.rotator { margin: -6px auto 26px; font: 600 clamp(20px, 3vw, 30px) var(--head); color: rgba(255, 255, 255, .92); position: relative; z-index: 2; opacity: 0; animation: fadeup .9s .55s var(--ease) forwards; }
.rotator .rot { background: linear-gradient(90deg, #fff, #e0c8ff, #a67cf6, #fff); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.rotator .caret { display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: -.12em; background: #fff; animation: blink 1s steps(2) infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes blink { 50% { opacity: 0; } }
.hero .hero-phone { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px); transition: translate .35s ease-out; }
.hero .hero-word { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 10px); transition: translate .5s ease-out; }
.hero .chip { translate: calc(var(--px, 0) * var(--k, 1) * 22px) calc(var(--py, 0) * var(--k, 1) * 16px); transition: translate .4s ease-out; }
.hero .chip.c1 { --k: 1.6; } .hero .chip.c2 { --k: -1.3; } .hero .chip.c3 { --k: 1.1; } .hero .chip.c4 { --k: -1.8; }

/* aurora sweep on inner-page heroes */
.page-hero::after { content: ''; position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none; background: conic-gradient(from 0deg at 50% 60%, transparent, rgba(255, 255, 255, .22), transparent 30%, rgba(124, 74, 232, .35), transparent 70%); filter: blur(60px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Section spotlight that follows the pointer ---------- */
.sec { position: relative; }
.sec::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .5s; background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 40%), rgba(155, 92, 246, .13), transparent 65%); }
.sec.spot::before { opacity: 1; }
.sec > .container { position: relative; z-index: 1; }

/* ---------- Split-word headings ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.sw > span { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; transition: transform .95s var(--ease); transition-delay: calc(var(--i) * .06s); }
.in .sw > span, .sw.in > span { transform: none; }

/* ---------- 3D tilt + glare + magnetic ---------- */
.tilting { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) !important; transition: transform .18s ease-out, border-color .3s, box-shadow .35s !important; will-change: transform; }
.tilting:hover { --ty: -6px; }
.tilting::selection { background: transparent; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), transparent 55%); }
.tilting:hover > .glare { opacity: 1; }
.btn { will-change: translate; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(155, 92, 246, .35); transform: scale(0); animation: rip .7s ease-out forwards; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

/* ---------- Featured plan light sweep + ribbons ---------- */
.plan.featured::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 60px; left: -30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); animation: sweep 4.5s ease-in-out infinite; pointer-events: none; z-index: 2; }
@keyframes sweep { 0%, 55% { left: -30%; } 100% { left: 130%; } }
.plan .price { transition: transform .4s var(--ease); }
.plan:hover .price { transform: scale(1.06); transform-origin: left; }

/* ---------- Process: drawn timeline ---------- */
.process { position: relative; }
.process::before { content: ''; position: absolute; left: 6%; right: 6%; top: -16px; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), #fff, var(--primary), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); box-shadow: 0 0 18px var(--primary); }
.process.drawn::before { transform: none; }
.step b { transition: transform .5s var(--ease); display: inline-block; }
.step:hover b { transform: scale(1.18) rotate(-4deg); }

/* ---------- Scroll-driven word band ---------- */
.band { overflow: hidden; padding: 38px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(155, 92, 246, .08), transparent, rgba(155, 92, 246, .08)); }
.band .btrack { display: flex; width: max-content; gap: 46px; will-change: transform; font: 700 clamp(44px, 8vw, 110px)/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.band span { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.band span:nth-child(even) { color: #fff; -webkit-text-stroke: 0; }
.band span i { font-style: normal; color: var(--primary); -webkit-text-stroke: 0; margin-left: 46px; }
.band span:hover { color: var(--primary-light); }
.tech .marquee + .marquee { margin-top: 12px; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 46s; }
.marquee span { transition: transform .3s var(--ease), background .3s, border-color .3s; }
.marquee span:hover { transform: translateY(-4px) scale(1.06); background: rgba(155, 92, 246, .25); border-color: var(--primary); }

/* ---------- Image reveals ---------- */
.show .pic img, .svc-detail .pic img { clip-path: inset(0 0 100% 0 round 24px); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.in .pic img, .pic.in img { clip-path: inset(0 0 0 0 round 24px); transform: none; }
.show .pic:hover img { transform: scale(1.04); }

/* ---------- "See us build" live demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.code-win, .browser { border-radius: 22px; border: 1px solid var(--line); background: #0e0e12; overflow: hidden; box-shadow: 0 30px 80px rgba(60, 20, 150, .28); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #15151b; border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; font: 500 12px var(--body); color: var(--muted); }
.browser .win-bar span { flex: 1; text-align: center; background: #0b0b0f; border-radius: 8px; padding: 5px 10px; margin: 0 10px; }
.code-win pre { margin: 0; padding: 20px 20px 24px; font: 13px/1.85 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #c9c9d6; overflow: hidden; min-height: 340px; }
.ln { display: block; overflow: hidden; white-space: pre; width: 0; border-right: 2px solid transparent; }
.demo.in .ln { animation: typeln calc(var(--w) * 28ms) steps(var(--w), end) calc(var(--d) * 1ms) forwards; }
@keyframes typeln { 0% { width: 0; border-right-color: #c79dff; } 99% { border-right-color: #c79dff; } 100% { width: calc(var(--w) * 1ch); border-right-color: transparent; } }
.k { color: #c79dff; } .f { color: #7dd3fc; } .s { color: #86efac; } .c { color: #6b6b7b; } .n { color: #fbbf77; }
.site { position: relative; padding: 16px; display: grid; gap: 12px; min-height: 340px; background: linear-gradient(160deg, #1b1240, #0e0e12 60%); }
.site > * { opacity: 0; transform: translateY(18px) scale(.97); }
.demo.in .site > * { animation: pop .7s var(--ease) forwards; animation-delay: calc(var(--t) * 1ms); }
@keyframes pop { to { opacity: 1; transform: none; } }
.s-nav { --t: 1200; display: flex; align-items: center; gap: 8px; }
.s-nav b { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #c79dff, #6a3fe0); }
.s-nav u { height: 7px; width: 38px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin-left: 6px; }
.s-nav em { margin-left: auto; height: 22px; width: 64px; border-radius: 7px; background: #fff; }
.s-hero { --t: 1800; border-radius: 16px; padding: 22px 18px; background: linear-gradient(135deg, #b98bff, #5b34c9); display: grid; gap: 9px; }
.s-hero b { height: 13px; border-radius: 6px; background: rgba(255, 255, 255, .95); width: 78%; }
.s-hero b + b { width: 52%; }
.s-hero i { height: 7px; width: 66%; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.s-hero em { height: 24px; width: 92px; border-radius: 8px; background: #0b0b0d; margin-top: 4px; }
.s-cards { --t: 2400; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-cards u { height: 64px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); position: relative; overflow: hidden; }
.s-cards u::after { content: ''; position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; border-radius: 6px; background: rgba(167, 124, 246, .7); }
.s-chart { --t: 3000; border-radius: 14px; padding: 12px 14px 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.s-chart small { color: var(--muted); font-size: 11px; }
.s-chart svg { width: 100%; height: 70px; display: block; }
.s-chart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.demo.in .s-chart path.l { animation: draw 2.2s ease-out 3.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.badge-float { position: absolute; z-index: 3; display: flex; gap: 8px; align-items: center; background: #fff; color: #111; font: 700 12.5px var(--body); padding: 9px 14px; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); opacity: 0; }
.badge-float.b1 { right: 14px; top: 60px; } .badge-float.b2 { left: 14px; bottom: 16px; }
.demo.in .badge-float { animation: pop .6s var(--ease) forwards, bob 3s ease-in-out infinite 1s; animation-delay: 3.6s, 4.2s; }
.demo.in .badge-float.b2 { animation-delay: 4.1s, 4.6s; }
@keyframes bob { 50% { translate: 0 -6px; } }
.badge-float b { color: #16a34a; }

.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.gauge { text-align: center; padding: 24px 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.gauge svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.gauge .bg { stroke: rgba(255, 255, 255, .08); }
.gauge .g { stroke: url(#gg); stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset 2s var(--ease) .2s; filter: drop-shadow(0 0 6px rgba(167, 124, 246, .8)); }
.gauges.in .g { stroke-dashoffset: calc(163.4 * (1 - var(--v))); }
.gauge .num { position: relative; margin-top: -66px; height: 66px; display: grid; place-items: center; font: 700 24px var(--head); }
.gauge span.lbl { display: block; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Footer mega type ---------- */
.mega { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .35em; font: 800 clamp(54px, 13vw, 190px)/1 var(--head); letter-spacing: -.03em; margin: 30px 0 10px; user-select: none; overflow: hidden; }
.mega span { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .22); background: linear-gradient(90deg, #c79dff, #7c4ae8); background-repeat: no-repeat; background-size: calc(var(--p, 0) * 100%) 100%; -webkit-background-clip: text; background-clip: text; transition: background-size .15s linear; }

/* ---------- Floating decorative shapes ---------- */
.float-shape { position: absolute; pointer-events: none; z-index: 0; border: 1.5px solid rgba(167, 124, 246, .35); border-radius: 30%; animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-28px) rotate(24deg); } }

/* confetti canvas */
.fx-confetti { position: fixed; inset: 0; z-index: 997; pointer-events: none; }

@media (max-width: 960px) {
  .demo { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: repeat(2, 1fr); }
  .code-win pre { min-height: 0; font-size: 12px; }
}
@media (max-width: 640px) {
  .band { padding: 24px 0; }
  .intro img { width: 80px; height: 80px; border-radius: 50%; }
}
@media (hover: none), (pointer: coarse) {
  .fx-cursor, .fx-dot { display: none; }
}

/* =====================================================================
   v3 fixes: continuous word band, clean gauges, new footer, mobile layout
   ===================================================================== */
html { overflow-x: hidden; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; }
main, .site-footer { overflow-x: hidden; overflow-x: clip; }

/* --- Word band: two rows, endless horizontal motion --- */
.band { padding: 26px 0; display: grid; gap: 8px; overflow: hidden; }
.bmarq { display: flex; width: max-content; animation: marq 48s linear infinite; will-change: transform; }
.bmarq.rev { animation-direction: reverse; animation-duration: 60s; }
.bset { display: flex; align-items: center; gap: 36px; padding-right: 36px; font: 700 clamp(38px, 7vw, 92px)/1.05 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.bset span { color: #fff; }
.bset b { font-size: .32em; color: var(--primary); }
.bmarq.rev .bset span { color: rgba(167, 124, 246, .38); }
.bmarq.rev .bset span:nth-of-type(3n) { color: rgba(255, 255, 255, .85); }

/* --- Quality gauges --- */
.gauges { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 14px 24px; text-align: center; }
.gauge .ring { position: relative; width: 92px; height: 92px; margin-bottom: 10px; }
.gauge .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.gauge .bg { stroke: rgba(255, 255, 255, .09); }
.gauge .g { stroke: url(#gg); stroke-dasharray: 100; stroke-dashoffset: 100; filter: none; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.gauges.in .g { stroke-dashoffset: calc(100 * (1 - var(--v))); }
.gauge .num { position: absolute; inset: 0; margin: 0; height: auto; display: grid; place-items: center; font: 700 26px var(--head); }
.gauge strong { font: 600 15px var(--body); color: #fff; }
.gauge .lbl { margin: 0; font-size: 12px; color: var(--muted); }

/* --- Footer --- */
.mega, .foot-pill { display: none; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); }
.foot-bottom .copy { margin: 0; text-align: left; color: var(--muted); font-size: 13px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-legal a { color: var(--muted); font-size: 13px; transition: color .2s; }
.foot-legal a:hover { color: #fff; }
.foot-bottom .socials { gap: 10px; }
.socials a { width: 40px; height: 40px; background: rgba(255, 255, 255, .06); color: #d6d6df; border: 1px solid var(--line); }
.socials a:hover { background: var(--primary); color: #fff; border-color: transparent; }
.socials a.totop { background: linear-gradient(135deg, #b98bff, #7c4ae8); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(124, 74, 232, .4); }
.foot-mark { font: 800 clamp(70px, 19vw, 290px)/.82 var(--head); letter-spacing: -.04em; text-align: center; white-space: nowrap; user-select: none; margin: 8px 0 -1.5vw; padding-bottom: .04em; background: linear-gradient(180deg, rgba(167, 124, 246, .55), rgba(167, 124, 246, 0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-grid { padding: 50px 0 40px; }

/* --- Mobile --- */
.m-cta { display: none; }
@media (max-width: 960px) {
  .nav-pill { grid-template-columns: 1fr auto; }
  .nav-pill nav { display: contents; }
  .m-cta { display: block; margin-top: 6px; }
  .m-cta .btn { width: 100%; min-height: 48px; font-size: 14px; }
  .nav-links { inset: 84px 4% auto 4%; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-links a { font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: 90%; }
  .hero-word { font-size: clamp(110px, 31vw, 200px); top: 52%; }
  .stage { height: 440px; }
  .hero-phone { width: min(250px, 66vw); }
  .rotator { font-size: 20px; margin-bottom: 22px; }
  .hero .cta-row .btn { width: min(300px, 90%); }
  .hero-cta2 { padding: 18px 5% 34px; }
  .hero-cta2 .btn { flex: 1 1 140px; }
  .tech > small { font-size: 11.5px; }
  .marquee span { font-size: 13px; padding: 8px 15px; }
  .band { padding: 18px 0; }
  .bset { gap: 24px; padding-right: 24px; }
  .code-win pre { font-size: 11px; padding: 16px 14px; overflow-x: auto; min-height: 0; }
  .site { min-height: 0; padding: 12px; }
  .s-cards u { height: 52px; }
  .badge-float { font-size: 11.5px; padding: 7px 10px; }
  .badge-float.b1 { top: 54px; right: 8px; }
  .gauges { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gauge { padding: 22px 10px 18px; }
  .gauge .ring { width: 78px; height: 78px; }
  .gauge .num { font-size: 22px; }
  .stats { gap: 10px; }
  .stat b { font-size: 30px; }
  .step { padding: 22px 20px; }
  .step b { font-size: 38px; }
  .t-grid { gap: 14px; }
  .toast { top: 78px; font-size: 13px; padding: 12px 14px; }
  .foot-grid { padding: 36px 0 28px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 16px; padding: 22px 0 14px; }
  .foot-bottom .copy { text-align: center; }
  .foot-legal { justify-content: center; }
  .foot-bottom .socials { justify-content: center; }
  .foot-mark { font-size: 24vw; margin-bottom: -2vw; }
  .page-hero { padding: 120px 0 56px; }
  .svc-detail { gap: 24px; }
  .contact-wrap { gap: 24px; padding-top: 30px; }
  .cta { margin-top: 56px; }
  .cta h2 { font-size: clamp(27px, 8vw, 36px); }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 31px; }
  .nav-pill { padding: 0 8px 0 10px; }
  .brand { font-size: 17px; }
}
.band .bset span { -webkit-text-stroke: 0; transition: color .3s; }
.band .bset b { -webkit-text-stroke: 0; color: var(--primary); }

/* =====================================================================
   v4: typing banner + motion across existing sections
   ===================================================================== */
.rotator { display: flex; width: fit-content; max-width: 92vw; align-items: center; justify-content: center; min-width: min(92vw, 480px); margin: 2px auto 26px; padding: 13px 28px 13px 22px; font: 600 clamp(20px, 3.2vw, 32px)/1.2 var(--head); background: rgba(14, 10, 36, .74); border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(30, 5, 90, .35); }
.rotator::before { content: '>_'; font: 700 .62em ui-monospace, Menlo, Consolas, monospace; color: #c79dff; margin-right: 14px; }
.rotator .pre { color: #fff; white-space: pre; }
.rotator .rot { white-space: nowrap; }
.rotator .caret { width: 3px; height: 1.1em; margin-left: 4px; background: #c79dff; box-shadow: 0 0 12px #c79dff; vertical-align: baseline; animation: blink .8s steps(2) infinite; }

/* nav underline slide */
.nav-links a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #9b5cf6, #c79dff); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* hero CTA pulse */
.hero .cta-row .btn { animation: ctaPulse 2.6s ease-out 2.4s infinite; }
@keyframes ctaPulse { 0% { box-shadow: 0 8px 26px rgba(20, 0, 60, .25), 0 0 0 0 rgba(255, 255, 255, .6); } 70%, 100% { box-shadow: 0 8px 26px rgba(20, 0, 60, .25), 0 0 0 18px rgba(255, 255, 255, 0); } }

/* eyebrow light sweep */
.eyebrow { position: relative; overflow: hidden; }
.eyebrow::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: eyeSweep 4.5s ease-in-out infinite; }
@keyframes eyeSweep { 0%, 45% { left: -60%; } 100% { left: 140%; } }

/* service icons: float + radar ring */
.svc .ico { position: relative; animation: icoFloat 4.2s ease-in-out infinite; }
.svc:nth-child(2n) .ico { animation-delay: -1.2s; } .svc:nth-child(3n) .ico { animation-delay: -2.4s; }
.svc .ico::after { content: ''; position: absolute; inset: -4px; border-radius: 19px; border: 2px solid rgba(167, 124, 246, .6); animation: ring 3s ease-out infinite; }
.svc:nth-child(2n) .ico::after { animation-delay: 1s; } .svc:nth-child(3n) .ico::after { animation-delay: 2s; }
.svc:hover .ico svg { animation: wig .6s var(--ease); }
@keyframes icoFloat { 50% { translate: 0 -6px; } }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes wig { 30% { transform: rotate(-14deg) scale(1.15); } 60% { transform: rotate(10deg) scale(1.1); } }

/* testimonials */
.tcard:nth-child(odd) { animation: tfloat 8s ease-in-out infinite; }
.tcard:nth-child(even) { animation: tfloat 9.5s ease-in-out infinite reverse; }
@keyframes tfloat { 50% { translate: 0 -9px; } }
.stars { background: linear-gradient(90deg, #fbbf24 38%, #fff 50%, #fbbf24 62%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: starshine 3.6s linear infinite; }
@keyframes starshine { to { background-position: -260% 0; } }
.tcard .pic { animation: picGlow 3.4s ease-in-out infinite; }
@keyframes picGlow { 50% { box-shadow: 0 0 0 6px rgba(167, 124, 246, .28); } }

/* stats + steps glow */
.stat b { animation: statGlow 3.2s ease-in-out infinite; transition: transform .4s var(--ease); }
.stat:nth-child(2) b { animation-delay: .5s; } .stat:nth-child(3) b { animation-delay: 1s; } .stat:nth-child(4) b { animation-delay: 1.5s; }
.stat:hover b { transform: scale(1.1); }
@keyframes statGlow { 50% { filter: drop-shadow(0 0 14px rgba(167, 124, 246, .75)); } }
.process.drawn .step b { animation: statGlow 3.2s ease-in-out infinite; }
.process.drawn .step:nth-child(2) b { animation-delay: .6s; } .process.drawn .step:nth-child(3) b { animation-delay: 1.2s; } .process.drawn .step:nth-child(4) b { animation-delay: 1.8s; }

/* pricing */
.plan.featured { animation: planGlow 3.6s ease-in-out infinite; }
@keyframes planGlow { 0%, 100% { box-shadow: 0 24px 60px rgba(124, 74, 232, .3); } 50% { box-shadow: 0 30px 90px rgba(167, 124, 246, .65); } }
.plan .ribbon { animation: icoFloat 2.6s ease-in-out infinite; }
.plan li { opacity: 1; }
.plan.in li { animation: tickIn .6s var(--ease) backwards; animation-delay: calc(var(--n, 0) * .08s + .25s); }
.plan li:nth-child(1) { --n: 1; } .plan li:nth-child(2) { --n: 2; } .plan li:nth-child(3) { --n: 3; } .plan li:nth-child(4) { --n: 4; } .plan li:nth-child(5) { --n: 5; } .plan li:nth-child(6) { --n: 6; } .plan li:nth-child(7) { --n: 7; }
@keyframes tickIn { from { opacity: 0; transform: translateX(-16px); } }
.plan li svg { transition: transform .3s var(--ease); }
.plan li:hover svg { transform: scale(1.4) rotate(-10deg); }

/* faq, showcase, work, bento */
.faq details[open] p { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }
.faq summary { transition: color .25s, padding-left .3s var(--ease); }
.faq summary:hover { color: var(--primary-light); padding-left: 6px; }
.show .pic { animation: icoFloat 9s ease-in-out infinite; }
.link-arrow svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 4px 0; } }
.tpl .img { overflow: hidden; }
.tpl .img img { transition: transform 1.1s var(--ease); }
.tpl:hover .img img { transform: scale(1.08); }
.bento .shot { overflow: hidden; }
.bento .shot img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate(-2%, -1%); } }

/* CTA aurora + footer */
.cta::after { content: ''; position: absolute; inset: -40%; z-index: -1; pointer-events: none; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .22), transparent 35%, rgba(124, 74, 232, .45), transparent 70%); filter: blur(50px); animation: spin 22s linear infinite; }
.foot-mark { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; } }
.socials a { transition: transform .3s var(--ease), background .25s, color .25s; }
.socials a:hover { transform: translateY(-4px) rotate(8deg); }

/* varied scroll reveals */
.reveal.zoom { transform: scale(.86); }
.reveal.flip { transform: perspective(900px) rotateX(24deg) translateY(40px); transform-origin: 50% 100%; }
.reveal.rise-l { transform: translate(-44px, 30px) rotate(-3deg); }
.reveal.rise-r { transform: translate(44px, 30px) rotate(3deg); }
.reveal.zoom.in, .reveal.flip.in, .reveal.rise-l.in, .reveal.rise-r.in { transform: none; }

.fx-trail { position: fixed; inset: 0; z-index: 996; pointer-events: none; }

@media (max-width: 640px) {
  .rotator { min-width: 0; width: auto; padding: 10px 18px 10px 16px; font-size: 19px; }
  .rotator::before { margin-right: 10px; }
  .reveal.rise-l, .reveal.rise-r { transform: translateY(30px); }
}

/* ---- Motion preferences -------------------------------------------
   OS "reduce motion" => lite mode (typing, glows and fades stay; heavy movement is off).
   Visitors can switch to full motion or pause everything with the motion button. */
@media (prefers-reduced-motion: reduce) {
html:not(.full) .intro,
html:not(.full) .fx-cursor,
html:not(.full) .fx-dot,
html:not(.full) .fx-net,
html:not(.full) .fx-trail,
html:not(.full) .fx-confetti,
html:not(.full) .sym,
html:not(.full) .float-shape,
html:not(.full) .glare,
html:not(.full) .page-hero::after,
html:not(.full) .plan.featured::after,
html:not(.full) .eyebrow::after,
html:not(.full) .cta::after { display: none !important; }
html:not(.full) .show .pic,
html:not(.full) .tcard,
html:not(.full) .bento .shot img,
html:not(.full) .svc .ico,
html:not(.full) .svc .ico::after,
html:not(.full) .plan .ribbon,
html:not(.full) .hero .cta-row .btn,
html:not(.full) .hero .btn-white::after { animation: none !important; }
html:not(.full) .tilting { transform: none !important; }
html:not(.full) .sw > span { transform: none; transition: none; }
}
html.calm .intro,
html.calm .fx-cursor,
html.calm .fx-dot,
html.calm .fx-net,
html.calm .fx-trail,
html.calm .fx-confetti,
html.calm .sym,
html.calm .float-shape,
html.calm .glare,
html.calm .page-hero::after,
html.calm .plan.featured::after,
html.calm .eyebrow::after,
html.calm .cta::after { display: none !important; }
html.calm .show .pic,
html.calm .tcard,
html.calm .bento .shot img,
html.calm .svc .ico,
html.calm .svc .ico::after,
html.calm .plan .ribbon,
html.calm .hero .cta-row .btn,
html.calm .hero .btn-white::after { animation: none !important; }
html.calm .tilting { transform: none !important; }
html.calm .sw > span { transform: none; transition: none; }
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
html.calm .reveal, html.calm .hero h1 .w, html.calm .hero p.lead, html.calm .hero .cta-row, html.calm .rotator { opacity: 1 !important; transform: none !important; }
html.calm .ln { width: calc(var(--w) * 1ch); border-right-color: transparent; }
html.calm .site > *, html.calm .badge-float { opacity: 1; transform: none; }
html.calm .s-chart path, html.calm .gauge .g { stroke-dashoffset: 0; }
html.calm .gauges .g { stroke-dashoffset: calc(100 * (1 - var(--v))); }
html.calm .process::before { transform: none; }
html.calm .show .pic img, html.calm .svc-detail .pic img { clip-path: none; transform: none; }
html.calm .band .bmarq, html.calm .marquee .track { transform: none; }
html.calm .t-caret { display: none; }

/* =====================================================================
   v5: live typing, automated effects, usability helpers
   ===================================================================== */
.t-off { -webkit-text-fill-color: transparent; color: transparent; }
.t-caret { display: inline-block; width: 2px; height: 1.05em; margin: 0 -1px; vertical-align: -.14em; background: currentColor; animation: blink .8s steps(2) infinite; }

/* floating code symbols */
.sym { position: absolute; bottom: -40px; z-index: 1; font: 600 var(--s, 14px) ui-monospace, Menlo, Consolas, monospace; color: rgba(255, 255, 255, .34); pointer-events: none; animation: symRise var(--t, 16s) linear var(--dl, 0s) infinite; }
@keyframes symRise { 0% { translate: 0 0; opacity: 0; rotate: -8deg; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { translate: var(--dx, 30px) -1200px; opacity: 0; rotate: 12deg; } }

/* automatic spotlight that walks across cards */
.svc.auto { border-color: rgba(167, 124, 246, .7); box-shadow: 0 0 0 1px rgba(167, 124, 246, .25), 0 18px 50px rgba(80, 30, 200, .35); }
.svc.auto::after { opacity: 1; }
.tcard.auto { border-color: rgba(167, 124, 246, .65); box-shadow: 0 18px 50px rgba(80, 30, 200, .3); }
.hero .btn-white::after { animation: idleShine 5s ease-in-out 3s infinite; }
@keyframes idleShine { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }

/* scroll cue (visibility of next step) */
.scroll-cue { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 5; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .65); border-radius: 14px; transition: opacity .4s; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
.scroll-cue.gone { opacity: 0; pointer-events: none; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
.hero-cta2 { padding-bottom: 76px; }

/* motion switch (user control) */
.motion-toggle { position: fixed; left: 14px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 99px; border: 1px solid var(--line); background: rgba(20, 20, 26, .86); backdrop-filter: blur(10px); color: #d9d9e2; font: 600 12px var(--body); cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.motion-toggle:hover { background: rgba(124, 74, 232, .45); transform: translateY(-2px); }
.motion-toggle svg { width: 16px; height: 16px; }

/* form feedback: status + error prevention */
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #000; animation: spin .7s linear infinite; }
form.contact input:user-invalid, form.contact select:user-invalid, form.contact textarea:user-invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .2); }
form.contact input:user-valid { border-color: rgba(74, 222, 128, .55); }
:focus-visible { outline: 3px solid #c79dff; outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-color: #fff; }

@media (max-width: 760px) {
  .motion-toggle { bottom: 84px; left: 12px; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .motion-toggle span { display: none; }
}
@media (max-width: 640px) { .hero-cta2 { padding-bottom: 80px; } }

/* Mobile menu CTA: keep label readable (white on dark) */

.motion-toggle{display:none!important}
.nav-pill .m-cta a.btn, .nav-links li.m-cta > a.btn.btn-dark { color: #fff !important; -webkit-text-fill-color: #fff; background: #0b0b12; opacity: 1; font-weight: 600; justify-content: center; }

/* =====================================================================
   v6: phone that builds a website on a loop (pure CSS, 8s cycle)
   ===================================================================== */
.hero .dphone { width: min(280px, 60vw); container-type: inline-size; aspect-ratio: 9 / 18.6; filter: drop-shadow(0 50px 60px rgba(10, 0, 50, .5)); }
.dp-frame { position: relative; width: 100%; height: 100%; padding: 2.6cqw; border-radius: 15cqw; background: linear-gradient(145deg, #4a4a52, #16161a 40%, #34343b); box-shadow: inset 0 0 0 .6cqw rgba(255, 255, 255, .12), 0 0 0 .5cqw #0b0b0e; }
.dp-frame::before, .dp-frame::after { content: ''; position: absolute; width: 1.2cqw; border-radius: 1cqw; background: #2b2b32; left: -1cqw; }
.dp-frame::before { top: 24cqw; height: 9cqw; }
.dp-frame::after { top: 38cqw; height: 15cqw; box-shadow: 0 19cqw 0 #2b2b32; }
.dp-screen { position: relative; width: 100%; height: 100%; border-radius: 12.6cqw; overflow: hidden; padding: 12cqw 5.5cqw 5cqw; background: linear-gradient(165deg, #231552, #0e0e14 62%); }
.dp-island { position: absolute; top: 3cqw; left: 50%; width: 27cqw; height: 7.6cqw; margin-left: -13.5cqw; border-radius: 5cqw; background: #050507; z-index: 3; }
.dp-bar { position: absolute; left: 0; top: 0; height: .9cqw; width: 100%; z-index: 3; background: linear-gradient(90deg, #c79dff, #7c4ae8); transform-origin: left; animation: dpBar 8s linear infinite; }
.dp-site { display: grid; gap: 3.4cqw; align-content: start; height: 100%; }
.dp-nav { display: flex; align-items: center; gap: 2.2cqw; animation: dpA 8s ease-out infinite; }
.dp-nav b { width: 6.4cqw; height: 6.4cqw; border-radius: 2cqw; background: linear-gradient(135deg, #c79dff, #6a3fe0); }
.dp-nav u { width: 10cqw; height: 1.8cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .22); }
.dp-nav u:first-of-type { margin-left: 2cqw; }
.dp-nav em { margin-left: auto; width: 15cqw; height: 6cqw; border-radius: 2cqw; background: #fff; }
.dp-hero { display: grid; gap: 2.4cqw; padding: 6cqw 5cqw; border-radius: 5cqw; background: linear-gradient(135deg, #b98bff, #5b34c9); animation: dpB 8s ease-out infinite; }
.dp-hero b { height: 3.8cqw; width: 80%; border-radius: 2cqw; background: rgba(255, 255, 255, .96); }
.dp-hero b + b { width: 54%; }
.dp-hero i { height: 2cqw; width: 68%; border-radius: 1cqw; background: rgba(255, 255, 255, .45); }
.dp-hero em { height: 6.4cqw; width: 24cqw; border-radius: 2.2cqw; background: #0b0b0d; margin-top: 1cqw; }
.dp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; animation: dpC 8s ease-out infinite; }
.dp-cards u { height: 17cqw; border-radius: 3.4cqw; background: rgba(255, 255, 255, .08); border: .3cqw solid rgba(255, 255, 255, .1); position: relative; }
.dp-cards u::after { content: ''; position: absolute; left: 2.6cqw; top: 2.6cqw; width: 5.4cqw; height: 5.4cqw; border-radius: 1.8cqw; background: rgba(167, 124, 246, .8); }
.dp-cards u::before { content: ''; position: absolute; left: 2.6cqw; right: 4cqw; bottom: 3cqw; height: 1.7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .2); }
.dp-chart { padding: 3.4cqw 4cqw 2cqw; border-radius: 4cqw; background: rgba(255, 255, 255, .06); border: .3cqw solid rgba(255, 255, 255, .1); animation: dpD 8s ease-out infinite; }
.dp-chart small { display: flex; justify-content: space-between; color: #a8a8b6; font: 600 3.2cqw var(--body); }
.dp-chart strong { color: #86efac; }
.dp-chart svg { display: block; width: 100%; height: 22cqw; overflow: visible; }
.dp-line { stroke-dasharray: 1; animation: dpL 8s ease-in-out infinite; }
.dp-area { animation: dpAr 8s ease-in-out infinite; }
.dp-live { display: flex; justify-content: center; margin-top: auto; padding-bottom: 3cqw; animation: dpE 8s ease-out infinite; }
.dp-typ { position: relative; display: inline-block; overflow: hidden; white-space: nowrap; width: 24ch; padding: 2.4cqw 3cqw; font: 600 3.7cqw ui-monospace, Menlo, Consolas, monospace; color: #bbf7d0; background: rgba(34, 197, 94, .14); border: .3cqw solid rgba(74, 222, 128, .45); border-radius: 3cqw; animation: dpT 8s steps(22, end) infinite; box-sizing: content-box; }
.dp-typ::after { content: ''; position: absolute; right: 1.4cqw; top: 2.2cqw; bottom: 2.2cqw; width: .7cqw; background: #86efac; animation: blink .8s steps(2) infinite; }
@keyframes dpBar { 0%, 3% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 76%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes dpA { 0%, 3% { opacity: 0; transform: translateY(10px); } 8%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes dpB { 0%, 11% { opacity: 0; transform: translateY(14px) scale(.96); } 17%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes dpC { 0%, 20% { opacity: 0; transform: translateY(14px) scale(.96); } 26%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes dpD { 0%, 29% { opacity: 0; transform: translateY(14px) scale(.96); } 35%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes dpL { 0%, 36% { stroke-dashoffset: 1; } 60%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes dpAr { 0%, 46% { opacity: 0; } 62%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes dpE { 0%, 64% { opacity: 0; } 67%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes dpT { 0%, 67% { width: 0; } 80%, 100% { width: 24ch; } }
@media (max-width: 640px) { .hero .dphone { width: min(205px, 54vw); } }
html.calm .dp-bar { display: none; }

/* ---- v7: premium phone polish ---- */
.hero .dphone::before { content: ''; position: absolute; inset: -14% -26%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(199, 157, 255, .55), rgba(124, 74, 232, .22) 55%, transparent 72%); filter: blur(24px); animation: haloPulse 4s ease-in-out infinite; }
@keyframes haloPulse { 50% { opacity: .6; transform: scale(1.08); } }
.dp-frame { background: linear-gradient(145deg, #8b8b99 0%, #2a2a31 18%, #101014 50%, #3a3a44 82%, #9a9aa8 100%); box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .18), inset 0 0 6cqw rgba(0, 0, 0, .6), 0 0 0 .5cqw #08080b, 0 4cqw 12cqw rgba(60, 20, 150, .45); }
.dp-screen { background: radial-gradient(circle at 80% 8%, rgba(199, 157, 255, .45), transparent 42%), radial-gradient(circle at 10% 70%, rgba(91, 52, 201, .55), transparent 50%), linear-gradient(165deg, #261560, #0c0b16 66%); }
.dp-screen::after { content: ''; position: absolute; inset: -20% -60%; z-index: 4; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .13) 50%, transparent 58%); transform: translateX(-60%); animation: dpGlass 4s ease-in-out 1s infinite; }
@keyframes dpGlass { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
.dp-screen::before { content: '9:41'; position: absolute; left: 8cqw; top: 3.3cqw; z-index: 3; font: 700 3.3cqw var(--body); color: #fff; }
.dp-nav b { box-shadow: 0 0 4cqw rgba(199, 157, 255, .7); }
.dp-nav em { background: linear-gradient(135deg, #fff, #e5d3ff); }
.dp-hero { position: relative; overflow: hidden; box-shadow: 0 3cqw 8cqw rgba(106, 63, 224, .5), inset 0 .3cqw 0 rgba(255, 255, 255, .35); }
.dp-hero::after { content: ''; position: absolute; top: 0; bottom: 0; width: 18cqw; left: -30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); animation: eyeSweep 2.6s ease-in-out infinite; }
.dp-cards u { background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); backdrop-filter: blur(6px); }
.dp-cards u::after { background: linear-gradient(135deg, #d7b8ff, #7c4ae8); box-shadow: 0 0 3cqw rgba(167, 124, 246, .8); animation: dpTick 1.8s ease-in-out infinite; }
.dp-cards u:nth-child(2)::after { animation-delay: .3s; } .dp-cards u:nth-child(3)::after { animation-delay: .6s; }
@keyframes dpTick { 50% { transform: scale(1.18) rotate(-6deg); } }
.dp-line { filter: drop-shadow(0 0 1.6cqw rgba(199, 157, 255, .9)); }
.dp-chart { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.dp-typ { color: #fff; background: linear-gradient(135deg, rgba(34, 197, 94, .3), rgba(34, 197, 94, .1)); box-shadow: 0 0 5cqw rgba(74, 222, 128, .35); }
.dp-site::after { content: ''; position: absolute; left: 50%; bottom: 2.2cqw; width: 30cqw; height: 1.1cqw; margin-left: -15cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .55); z-index: 3; }

/* ---- v7: contact dock (desktop) ---- */
.dock { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dk { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 54px; height: 54px; border-radius: 99px; border: 0; cursor: pointer; color: #fff; font: 600 14px var(--body); box-shadow: 0 12px 30px rgba(10, 0, 40, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.dk:hover { transform: translateY(-3px) scale(1.05); }
.dk-ic svg { width: 24px; height: 24px; display: block; }
.dk-call { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.dk-wa { background: #25d366; color: #05290f; }
.dk-wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
.dk-q { padding: 0 20px 0 16px; background: linear-gradient(135deg, #b98bff, #7c4ae8); }
.dk-tip { position: absolute; right: 64px; top: 50%; translate: 8px -50%; opacity: 0; pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 9px; background: #0b0b12; border: 1px solid var(--line); font-size: 12.5px; transition: opacity .2s, translate .25s var(--ease); }
.dk:hover .dk-tip, .dk:focus-visible .dk-tip { opacity: 1; translate: 0 -50%; }
.wa-float { display: none !important; }
html.lock, html.lock body { overflow: hidden; }

/* ---- v7: quote popup ---- */
.qmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.qmodal[hidden] { display: none; }
.qm-back { position: absolute; inset: 0; background: rgba(7, 5, 20, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.qm-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 30px 26px; border-radius: 26px; background: radial-gradient(circle at 100% 0, rgba(155, 92, 246, .35), transparent 50%), linear-gradient(180deg, #181426, #0f0d18); border: 1px solid rgba(167, 124, 246, .4); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 80px rgba(124, 74, 232, .25); opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .3s, transform .45s var(--ease); outline: 0; }
.qmodal.show .qm-back { opacity: 1; }
.qmodal.show .qm-card { opacity: 1; transform: none; }
.qm-card h2 { font-size: clamp(24px, 4vw, 30px); margin-bottom: 8px; }
.qm-sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.qm-x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.qm-x:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.qm-alt { display: flex; gap: 10px; margin-top: 16px; }
.qm-alt .btn { flex: 1; gap: 8px; min-height: 46px; }
.qm-alt svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .dock { display: none; }
  .mbar a.wa svg, .mbar a svg { width: 18px; height: 18px; }
  .qm-card { padding: 26px 18px 20px; border-radius: 22px; }
  .qm-alt { flex-direction: column; }
}
.dk .dk-tip { color: #fff; }
.dk-wa, .dk-wa:hover { color: #fff; }
