/* ==========================================================================
   Stonecode Marketing — main stylesheet
   ========================================================================== */
:root {
  --bg: #05070B;
  --bg2: #0A0E15;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --text: #EEF2F6;
  --muted: #909CAA;
  --dim: #677382;
  --cyan: #45E0D0;
  --violet: #8B7CF6;
  --pink: #F472B6;
  --grad: linear-gradient(120deg, #45E0D0 0%, #8B7CF6 55%, #F472B6 100%);
  --fh: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --fb: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, 'DejaVu Sans Mono', monospace;
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--fb);
  font-size: 16px; line-height: 1.6; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 88% -10%, rgba(139, 124, 246, .16), transparent 60%),
    radial-gradient(800px 600px at -10% 25%, rgba(69, 224, 208, .10), transparent 60%),
    radial-gradient(700px 500px at 50% 115%, rgba(244, 114, 182, .08), transparent 60%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
#sum-body { display: flex; flex-direction: column; gap: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.eyebrow {
  font-family: var(--fm); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }
h1, h2, h3, h4 { font-family: var(--fh); margin: 0; letter-spacing: -.02em; line-height: 1.08; }
.h-display { font-size: clamp(44px, 6.6vw, 90px); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.03em; }
.h3 { font-size: 24px; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 620px; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.grad-text {
  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; } }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 60px; max-width: 760px; }
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 12px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background-position .4s, border-color .25s, color .25s;
}
.btn-primary {
  background: var(--grad); background-size: 170% auto; color: #05070B;
  box-shadow: 0 10px 30px -10px rgba(69, 224, 208, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 18px 44px -12px rgba(139, 124, 246, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(69, 224, 208, .6); color: #fff; transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); font-size: 15px; }
.link-arrow svg { transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled, .menu-open .nav { background: rgba(5, 7, 11, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--fh); font-weight: 700; font-size: 19px; letter-spacing: -.01em; line-height: 1.05; }
.logo small { display: block; font-family: var(--fm); font-size: 9.5px; letter-spacing: .28em; color: var(--muted); font-weight: 500; text-transform: uppercase; margin-top: 3px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 0 26px rgba(69, 224, 208, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: perspective(200px) rotateX(10deg) rotateY(-14deg); transition: transform .5s var(--ease);
}
.logo:hover .logo-mark { transform: perspective(200px) rotateX(0) rotateY(0) rotate(-8deg); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links .btn { margin-left: 12px; min-height: 44px; padding: 0 18px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); cursor: pointer; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(5, 7, 11, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 400px at 100% 0%, rgba(139, 124, 246, .25), transparent 70%), radial-gradient(400px 400px at 0% 100%, rgba(69, 224, 208, .15), transparent 70%); pointer-events: none; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mm-link { position: relative; font-family: var(--fh); font-size: clamp(34px, 9vw, 46px); font-weight: 700; letter-spacing: -.03em; padding: 6px 0; display: flex; align-items: baseline; gap: 16px; transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mm-link span { font-family: var(--fm); font-size: 13px; color: var(--cyan); letter-spacing: .1em; }
.mm-link[aria-current="page"] { color: var(--cyan); }
.menu-open .mm-link { transform: none; opacity: 1; }
.menu-open .mm-link:nth-child(2) { transition-delay: .05s; } .menu-open .mm-link:nth-child(3) { transition-delay: .1s; }
.menu-open .mm-link:nth-child(4) { transition-delay: .15s; } .menu-open .mm-link:nth-child(5) { transition-delay: .2s; }
.menu-open .mm-link:nth-child(6) { transition-delay: .25s; }
.mm-foot { position: relative; margin-top: 30px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 90px; display: flex; align-items: center; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.02fr; gap: 36px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; width: fit-content;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); font-size: 13.5px; color: var(--muted); backdrop-filter: blur(8px);
}
.badge b { font-family: var(--fm); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; background: var(--grad); color: #05070B; }
.caret { display: inline-block; width: 3px; height: .95em; background: var(--cyan); margin-left: 3px; vertical-align: -.12em; animation: blink 1s steps(2) infinite; border-radius: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.type { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-meta { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--fh); font-size: 26px; letter-spacing: -.02em; }
.hero-meta span { font-size: 13px; color: var(--muted); }

.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -2px; height: 46%; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(69, 224, 208, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 124, 246, .26) 1px, transparent 1px);
  background-size: 70px 70px; transform: perspective(420px) rotateX(72deg); transform-origin: 50% 100%;
  animation: floor 3s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%); mask-image: linear-gradient(to top, #000 5%, transparent 85%);
}
@keyframes floor { to { background-position: 0 70px; } }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 124, 246, .22), transparent 65%); pointer-events: none; }

.scene { position: relative; height: 600px; perspective: 1600px; }
#globe { position: absolute; left: -12%; top: -8%; width: 124%; height: 116%; pointer-events: none; z-index: 0; }
.layer { position: absolute; will-change: transform; transition: transform .35s ease-out; }
.tilt3d { transform-style: preserve-3d; }
.l-main { left: 6%; right: 4%; top: 92px; z-index: 2; }
.l-main .tilt3d { transform: rotateY(-17deg) rotateX(7deg); animation: floaty 7s ease-in-out infinite; }
.l-news { width: 30%; right: -3%; top: 8px; z-index: 3; }
.l-news .tilt3d { transform: rotateY(-26deg) rotateX(10deg) rotateZ(3deg); animation: floaty 8s ease-in-out -2s infinite; }
.l-flyer { width: 25%; left: -3%; bottom: 0; z-index: 3; }
.l-flyer .tilt3d { transform: rotateY(18deg) rotateX(8deg) rotateZ(-5deg); animation: floaty 9s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.doc-card { border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; z-index: 4; white-space: nowrap;
  background: rgba(12, 16, 24, .75); border: 1px solid var(--line2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 600; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
}
.chip-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #05070B; }
.c1 { right: 2%; bottom: 58px; }
.c2 { left: 22%; top: 30px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line2); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- browser frame + scaled mini sites ---------- */
.browser {
  border-radius: 14px; background: #0B0F16; border: 1px solid var(--line2); overflow: hidden; position: relative;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 30px 70px -30px rgba(69, 224, 208, .22);
}
.bchrome { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #0F141D; border-bottom: 1px solid var(--line); }
.bchrome > i { width: 10px; height: 10px; border-radius: 50%; background: #2B3441; flex-shrink: 0; }
.bchrome > i:nth-child(1) { background: #FF5F57; } .bchrome > i:nth-child(2) { background: #FEBC2E; } .bchrome > i:nth-child(3) { background: #28C840; }
.burl { margin: 0 auto; display: flex; align-items: center; gap: 6px; font-family: var(--fm); font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .05); padding: 4px 14px; border-radius: 7px; max-width: 64%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.burl svg { flex-shrink: 0; color: #28C840; }
.mini { position: relative; width: 100%; overflow: hidden; background: #fff; }
.mini-inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.mini.full { background: transparent; }
.mini.full .mini-inner { pointer-events: auto; }

/* rotator */
.rot-stage { position: relative; }
.rot-item { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rot-item.active { position: relative; opacity: 1; transform: none; }
.rot-ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.rot-dot { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.rot-dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #2E3846; transition: width .3s, background .3s; }
.rot-dot.active::after { width: 24px; background: var(--grad); }
.rot-tab { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .25s; min-height: 38px; }
.rot-tab.active { background: var(--grad); color: #05070B; border-color: transparent; }
.rot-cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; font-family: var(--fm); }

/* ---------- 3D stages ---------- */
.stage3d { perspective: 1500px; position: relative; }
.stage3d > .tilt3d { transform: rotateY(-13deg) rotateX(6deg); transition: transform .8s var(--ease); }
.split.rev .stage3d > .tilt3d { transform: rotateY(13deg) rotateX(6deg); }
.stage3d:hover > .tilt3d { transform: rotateY(-4deg) rotateX(2deg); }
.split.rev .stage3d:hover > .tilt3d { transform: rotateY(4deg) rotateX(2deg); }
.stage3d::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -40px; height: 60px; background: radial-gradient(ellipse, rgba(69, 224, 208, .25), transparent 70%); filter: blur(10px); z-index: -1; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: rgba(255, 255, 255, .015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 60px; width: max-content; animation: marq 45s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; gap: 12px; font-family: var(--fh); font-size: 20px; font-weight: 600; color: #B7C1CC; white-space: nowrap; }
.mq-item small { font-family: var(--fm); font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.mq-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.mq-label { font-family: var(--fm); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); display: flex; align-items: center; white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- cards + tilt ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 32px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); transition: transform .3s ease-out, border-color .3s, box-shadow .3s;
}
.card:hover { border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .11), transparent 42%); }
[data-tilt]:hover .glare { opacity: 1; }
.pop { transform: translateZ(40px); }
.icon3d {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(69, 224, 208, .3), rgba(139, 124, 246, .3)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -12px rgba(69, 224, 208, .6);
}
.num { font-family: var(--fm); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-card { display: flex; flex-direction: column; gap: 18px; min-height: 340px; }
.svc-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card h3 { font-size: 24px; font-weight: 600; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card .link-arrow { margin-top: auto; }

/* animated gradient border */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.gb { position: relative; isolation: isolate; }
.gb::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), #45E0D0, #8B7CF6, #F472B6, #45E0D0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* ---------- coverflow ---------- */
.cf { position: relative; }
.cf-stage { position: relative; height: clamp(240px, 38vw, 470px); perspective: 1800px; }
.cf-item { position: absolute; top: 0; left: 50%; width: min(700px, 76vw); margin-left: calc(min(700px, 76vw) / -2); padding: 0; border: 0; background: none; cursor: pointer; text-align: left; transition: transform .9s var(--ease), opacity .9s, filter .9s; }
.cf-item .browser { -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .14)); }
.cf-item:not(.center) .browser { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.cf-item.center .browser { box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(69, 224, 208, .35), 0 30px 80px -20px rgba(69, 224, 208, .35); }
.cf-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 70px; flex-wrap: wrap; }
.cf-info h3 { font-size: 28px; }
.cf-info p { color: var(--muted); font-size: 14px; font-family: var(--fm); margin-top: 4px; }
.cf-nav { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); cursor: pointer; transition: .25s; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 67px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--pink), transparent); opacity: .5; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-family: var(--fm); font-size: 18px; color: var(--cyan); background: #0B0F16; border: 1px solid var(--line2); box-shadow: 0 0 36px rgba(69, 224, 208, .18), inset 0 1px 0 rgba(255, 255, 255, .08); position: relative; z-index: 1; }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; }
.price-card.hot { background: linear-gradient(180deg, rgba(139, 124, 246, .14), rgba(69, 224, 208, .04)); }
.tier { font-family: var(--fm); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; color: #C9D2DC; }
.tier i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.t-bronze { color: #D9955A; background: #D9955A; } .t-silver { color: #C9D3DC; background: #C9D3DC; } .t-gold { color: #F2C14E; background: #F2C14E; } .t-plat { color: #A9D4FF; background: #A9D4FF; }
.price { font-family: var(--fh); font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; font-family: var(--fb); }
.price-sub { font-size: 14px; color: var(--muted); margin-top: -8px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: #CBD3DC; }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.feat-list li svg { margin-top: 2px; flex-shrink: 0; color: var(--cyan); }
.price-card .btn { margin-top: auto; }
.hot-tag { position: absolute; top: 18px; right: 18px; font-family: var(--fm); font-size: 10.5px; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #05070B; font-weight: 700; z-index: 3; }

/* ---------- CTA ---------- */
.cta-panel { position: relative; border-radius: 30px; padding: 96px 32px; text-align: center; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(700px 320px at 50% 0%, rgba(139, 124, 246, .35), transparent 70%), linear-gradient(180deg, #0C1119, #06090E); }
.cta-panel .grid-floor { height: 70%; }
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-inner .lead { margin: 0 auto; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: 170px 0 100px; overflow: hidden; text-align: center; }
.page-hero .grid-floor { height: 62%; }
.page-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.page-hero .lead { margin: 0 auto; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 600; color: #C9D2DC; transition: .25s; backdrop-filter: blur(8px); cursor: pointer; min-height: 42px; display: inline-flex; align-items: center; gap: 8px; }
.pill:hover, .pill.active { border-color: transparent; background: var(--grad); color: #05070B; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.split.rev { grid-template-columns: 1.08fr 1fr; }
.split.rev > .copy { order: 2; }
.copy { display: flex; flex-direction: column; gap: 22px; }
.check-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #CBD3DC; }
.check-list li i { width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: rgba(69, 224, 208, .12); color: var(--cyan); margin-top: 1px; }
.copy .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line2), transparent); }

/* docs fan */
.fan { position: relative; height: clamp(360px, 44vw, 520px); perspective: 1600px; }
.fan .doc { position: absolute; width: 46%; top: 6%; left: 27%; transition: transform .7s var(--ease); }
.fan .doc:nth-child(1) { transform: translateX(-58%) translateZ(-80px) rotateY(22deg) rotateZ(-7deg); }
.fan .doc:nth-child(2) { transform: translateZ(30px) rotateX(4deg); z-index: 2; }
.fan .doc:nth-child(3) { transform: translateX(58%) translateZ(-80px) rotateY(-22deg) rotateZ(7deg); }
.fan:hover .doc:nth-child(1) { transform: translateX(-72%) translateZ(-40px) rotateY(12deg) rotateZ(-9deg); }
.fan:hover .doc:nth-child(3) { transform: translateX(72%) translateZ(-40px) rotateY(-12deg) rotateZ(9deg); }
.fan.two .doc { width: 58%; left: 21%; }
.fan.two .doc:nth-child(1) { transform: translateX(-24%) translateY(-4%) translateZ(-90px) rotateY(18deg) rotateZ(-4deg); }
.fan.two .doc:nth-child(2) { transform: translateX(16%) translateY(6%) translateZ(20px) rotateY(-10deg) rotateZ(2deg); }
.doc .doc-card { background: #fff; }
.doc-label { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-family: var(--fm); font-size: 11px; color: var(--muted); white-space: nowrap; }

/* page deck (gold) */
.deck { position: relative; height: clamp(300px, 36vw, 440px); perspective: 1800px; }
.deck .pg { position: absolute; width: 64%; left: 4%; bottom: 4%; transform-style: preserve-3d; transition: transform .7s var(--ease), box-shadow .4s; cursor: pointer; }
.deck .pg .browser { box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .9); }
.deck .pg-tag { position: absolute; top: -12px; right: 14px; z-index: 3; font-family: var(--fm); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(12, 16, 24, .9); border: 1px solid var(--line2); color: #C9D2DC; }
.deck .pg:not(.front) .pg-tag { opacity: 0; }
.deck .pg.front .pg-tag { background: var(--grad); color: #05070B; border-color: transparent; }

/* sitemap (platinum) */
.sitemap-wrap { perspective: 1800px; }
.sitemap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; transform: rotateX(20deg) rotateZ(-3deg); transform-style: preserve-3d; transition: transform .9s var(--ease); }
.sitemap-wrap:hover .sitemap { transform: none; }
.sm-item { display: flex; flex-direction: column; gap: 8px; transition: transform .4s var(--ease); }
.sm-item:hover { transform: translateZ(40px) translateY(-6px); }
.sm-item .browser { border-radius: 8px; }
.sm-item .bchrome { height: 16px; padding: 0 6px; gap: 3px; }
.sm-item .bchrome > i { width: 5px; height: 5px; }
.sm-item span { font-family: var(--fm); font-size: 11px; color: var(--muted); text-align: center; }
.docs-row { display: grid; gap: 14px; margin-top: 30px; }
.docs-row .d { display: flex; flex-direction: column; gap: 8px; }
.docs-row .d span { font-family: var(--fm); font-size: 11px; color: var(--muted); text-align: center; }
.docs-row .doc-card { border-radius: 6px; }

/* ---------- tier sections ---------- */
.tier-sec { padding: 110px 0; border-top: 1px solid var(--line); }
.tier-sec:nth-of-type(even) { background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent); }
.tier-head { display: flex; align-items: center; gap: 14px; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-row .price { font-size: clamp(46px, 5vw, 64px); }
.mo { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); font-size: 14px; color: #CBD3DC; }

/* maintenance grid */
.maint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.maint .card { padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.maint .card .icon3d { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; }
.maint h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.01em; }
.maint p { font-size: 14px; color: var(--muted); }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.compare th, .compare td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: #CBD3DC; }
.compare thead th { font-family: var(--fh); font-size: 18px; font-weight: 600; background: rgba(255, 255, 255, .03); position: sticky; top: 0; }
.compare thead th small { display: block; font-family: var(--fm); font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.compare tbody tr:hover { background: rgba(255, 255, 255, .025); }
.compare .yes { color: var(--cyan); display: inline-grid; }
.compare .no { color: var(--dim); }
.compare td.hl, .compare th.hl { background: rgba(139, 124, 246, .08); }
.compare tfoot td { border-bottom: 0; }

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.work-card { padding: 16px; display: flex; flex-direction: column; gap: 18px; transition: opacity .4s, transform .4s; }
.work-card.hide { display: none; }
.work-card .browser { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 8px 6px; flex-wrap: wrap; }
.work-meta h3 { font-size: 22px; }
.work-meta p { font-family: var(--fm); font-size: 12.5px; color: var(--muted); }
.work-actions { display: flex; gap: 8px; }
.work-actions .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.tag-cat { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }

/* ---------- order form ---------- */
.form-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 26px; align-items: start; }
.panel { position: relative; border-radius: 24px; padding: 36px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend { font-family: var(--fh); font-size: 21px; font-weight: 600; margin-bottom: 18px; padding: 0; display: flex; align-items: center; gap: 12px; }
legend span { font-family: var(--fm); font-size: 12px; color: var(--cyan); padding: 4px 9px; border-radius: 8px; background: rgba(69, 224, 208, .1); border: 1px solid rgba(69, 224, 208, .25); }
.pkg-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pkg-opt { position: relative; display: block; cursor: pointer; }
.pkg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(5, 7, 11, .5); transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; height: 100%; }
.pkg-opt:hover .pkg-card { border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.pkg-opt input:checked + .pkg-card { border-color: var(--cyan); background: linear-gradient(180deg, rgba(69, 224, 208, .1), rgba(139, 124, 246, .06)); box-shadow: 0 0 0 3px rgba(69, 224, 208, .18), 0 20px 40px -20px rgba(69, 224, 208, .5); }
.pkg-opt input:focus-visible + .pkg-card { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pkg-top { display: flex; justify-content: space-between; align-items: center; }
.pkg-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; transition: .2s; }
.pkg-opt input:checked + .pkg-card .pkg-radio { border-color: var(--cyan); }
.pkg-opt input:checked + .pkg-card .pkg-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.pkg-price { font-family: var(--fh); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.pkg-price small { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--fb); letter-spacing: 0; }
.pkg-sub { font-size: 13px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.row2 .field { margin-bottom: 0; }
.field label, .label { font-size: 14px; font-weight: 600; color: #CBD3DC; }
.req { color: var(--pink); }
.opt { color: var(--dim); font-weight: 400; font-size: 13px; }
.input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; background: rgba(5, 7, 11, .65); border: 1px solid var(--line2);
  color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23909CAA' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: #0B0F16; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.input::placeholder, .field textarea::placeholder { color: #5D6875; }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(69, 224, 208, .15); }
.field.invalid .input, .field.invalid select { border-color: #FF7A93; box-shadow: 0 0 0 4px rgba(255, 122, 147, .12); }
.error { color: #FF8FA3; font-size: 13.5px; min-height: 0; }
.error:empty { display: none; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.check { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); cursor: pointer; font-size: 14.5px; transition: border-color .2s, background .2s; min-height: 50px; }
.check:hover { border-color: var(--line2); }
.check input, .consent input { accent-color: #45E0D0; width: 19px; height: 19px; flex-shrink: 0; margin: 0; }
.check:has(input:checked) { border-color: rgba(69, 224, 208, .5); background: rgba(69, 224, 208, .06); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 20px; cursor: pointer; line-height: 1.5; }
.consent input { margin-top: 2px; }
.form-note { font-size: 13px; color: var(--dim); margin-top: 14px; text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sum-tier { display: flex; align-items: center; justify-content: space-between; }
.sum-price { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(5, 7, 11, .6); border: 1px solid var(--line); }
.sum-price div { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.sum-price div b { color: var(--text); font-family: var(--fh); font-size: 18px; }
.sum-price .due { border-top: 1px dashed var(--line2); padding-top: 10px; margin-top: 2px; }
.sum-price .due b { color: var(--cyan); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.next-steps li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); counter-increment: s; }
.next-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--fm); font-size: 12px; color: var(--cyan); background: rgba(69, 224, 208, .1); border: 1px solid rgba(69, 224, 208, .25); }
.next-steps b { color: var(--text); font-weight: 600; }
.secure { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.secure svg { color: var(--cyan); flex-shrink: 0; }

.confirm { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px 36px; }
.confirm[hidden] { display: none; }
.check-anim { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: var(--grad); color: #05070B; box-shadow: 0 0 60px rgba(69, 224, 208, .45); animation: popin .7s var(--ease); }
@keyframes popin { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
.msg-preview { width: 100%; max-width: 520px; text-align: left; white-space: pre-wrap; font-family: var(--fm); font-size: 13px; line-height: 1.6; color: #CBD3DC; background: rgba(5, 7, 11, .7); border: 1px solid var(--line2); border-radius: 16px; padding: 18px 20px; max-height: 280px; overflow: auto; }
.confirm .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--fm); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #C3CCD6; font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--cyan); }
.f-brand p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 18px 0 22px; }
.f-brand .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.f-brand .btn { min-height: 44px; font-size: 14px; padding: 0 16px; }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px;
  border-radius: 999px; border: 0; cursor: pointer; background: var(--grad); background-size: 160% auto; color: #05070B; font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 40px -10px rgba(69, 224, 208, .7); transition: transform .3s var(--ease), opacity .3s;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.02); }
.chat-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(69, 224, 208, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(69, 224, 208, 0); } }
.chat-open .chat-fab { transform: scale(.9); opacity: 0; pointer-events: none; }
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 61; width: min(390px, calc(100vw - 28px)); height: min(600px, calc(100vh - 44px)); height: min(600px, calc(100dvh - 44px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: rgba(9, 12, 18, .94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--line2);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(69, 224, 208, .08);
  transform-origin: bottom right; transform: scale(.92) translateY(14px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s;
}
.chat-open .chat-panel { transform: none; opacity: 1; visibility: visible; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(139, 124, 246, .12), transparent); }
.chat-av { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.chat-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #28C840; border: 2px solid #0B0F16; }
.chat-head b { display: block; font-family: var(--fh); font-size: 16px; }
.chat-head span { font-size: 12.5px; color: var(--muted); }
.chat-x { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer; display: grid; place-items: center; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; animation: bub .35s var(--ease); }
@keyframes bub { from { opacity: 0; transform: translateY(8px); } }
.bubble.them { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--grad); color: #05070B; border-bottom-right-radius: 5px; font-weight: 500; }
.bubble a { color: var(--cyan); text-decoration: underline; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chat-chips button { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font-size: 13px; cursor: pointer; transition: .2s; min-height: 36px; }
.chat-chips button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-foot { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row textarea, .chat-phone { flex: 1; min-height: 48px; max-height: 120px; resize: none; padding: 12px 14px; border-radius: 14px; background: rgba(5, 7, 11, .7); border: 1px solid var(--line2); color: var(--text); font: inherit; font-size: 16px; line-height: 1.4; }
.chat-row textarea:focus, .chat-phone:focus { outline: none; border-color: var(--cyan); }
.chat-send { width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer; background: var(--grad); color: #05070B; display: grid; place-items: center; flex-shrink: 0; }
.chat-note { font-size: 11.5px; color: var(--dim); text-align: center; }

/* ---------- demo page ---------- */
.demo-page .footer { display: none; }
.demo-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: rgba(5, 7, 11, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.demo-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; min-height: 44px; }
.demo-back:hover { color: var(--text); }
.demo-title { display: flex; flex-direction: column; line-height: 1.2; }
.demo-title strong { font-family: var(--fh); font-size: 17px; }
.demo-title span { font-family: var(--fm); font-size: 11.5px; color: var(--muted); }
.demo-tabs { display: flex; gap: 6px; overflow-x: auto; flex: 1; justify-content: center; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13px; cursor: pointer; white-space: nowrap; color: var(--muted); font-weight: 600; min-height: 38px; }
.demo-tabs button.active { background: var(--grad); color: #05070B; border-color: transparent; }
.demo-cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
.demo-note { text-align: center; font-family: var(--fm); font-size: 12px; color: var(--dim); padding: 14px 20px 0; }
.demo-stage { padding: 20px 20px 80px; max-width: 1340px; margin: 0 auto; }
.demo-stage .browser { border-radius: 14px; }
.demo-switch { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .services-grid, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maint { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .scene { height: 470px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 50px; }
  .split.rev > .copy { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-tabs { order: 5; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 84px 0; }
  .tier-sec { padding: 80px 0; }
  .page-hero { padding: 130px 0 70px; }
  .services-grid, .pricing, .steps, .maint { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .scene { height: 360px; }
  .l-main { left: 2%; right: 2%; top: 60px; }
  .l-news { width: 34%; right: -2%; top: 0; }
  .l-flyer { width: 30%; left: -2%; }
  .chip { display: none; }
  .hero-meta { gap: 22px; }
  .hero-meta strong { font-size: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .panel { padding: 24px 18px; border-radius: 20px; }
  .pkg-options, .checks, .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-panel { padding: 70px 22px; border-radius: 24px; }
  .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; }
  .fan .doc { width: 54%; left: 23%; }
  .chat-fab { width: 60px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .chat-fab .lbl { display: none; }
  .chat-panel { right: 14px; bottom: 14px; }
  .cf-bar { margin-top: 40px; }
  .demo-cta { display: none; }
}
@media (hover: none) { .stage3d:hover > .tilt3d { transform: rotateY(-8deg) rotateX(4deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Concept-site styles (.ms = "mini site"). Rendered at 1280px then scaled.
   ========================================================================== */
.ms { width: 1280px; background: var(--m-bg); color: var(--m-t); font-family: var(--m-b); font-size: 17px; line-height: 1.55; text-align: left; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
.ms * { box-sizing: border-box; }
.ms h1, .ms h2, .ms h3 { font-family: var(--m-h); font-weight: var(--m-hw); letter-spacing: -.01em; margin: 0; line-height: 1.05; color: var(--m-t); }
.ms p { margin: 0; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 64px; border-bottom: 1px solid var(--m-l); background: var(--m-bg); }
.ms-logo { display: flex; align-items: center; gap: 12px; font-family: var(--m-h); font-weight: var(--m-hw); font-size: 26px; letter-spacing: -.01em; cursor: pointer; }
.ms-logo i { width: 42px; height: 42px; border-radius: 12px; background: var(--m-a); color: var(--m-on); display: grid; place-items: center; font-style: normal; }
.ms-links { display: flex; gap: 38px; font-size: 16px; color: var(--m-m); font-weight: 600; }
.ms-links span { cursor: pointer; position: relative; padding: 6px 0; }
.ms-links span.on { color: var(--m-t); }
.ms-links span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--m-a); border-radius: 2px; }
.ms-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--m-r); background: var(--m-a); color: var(--m-on); font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; }
.ms-btn.alt { background: transparent; color: var(--m-t); box-shadow: inset 0 0 0 1.5px var(--m-l2); }
.ms-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 64px 76px; }
.ms-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-a); }
.ms-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--m-a); box-shadow: 0 0 0 5px var(--m-soft); }
.ms-h1 { font-size: var(--m-hs); margin: 22px 0 22px; letter-spacing: -.02em; }
.ms-sub { font-size: 19px; color: var(--m-m); max-width: 520px; margin: 0 0 36px; }
.ms-actions { display: flex; gap: 14px; }
.ms-art { height: 520px; border-radius: var(--m-r2); overflow: hidden; position: relative; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.ms-float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 16px; background: var(--m-bg); color: var(--m-t); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .35); border: 1px solid var(--m-l); }
.ms-float b { display: block; font-size: 16px; }
.ms-float span { font-size: 13.5px; color: var(--m-m); }
.ms-fic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--m-soft); color: var(--m-a); }
.ms-live { width: 14px; height: 14px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 0 6px rgba(46, 204, 113, .2); margin: 0 6px; }
.ms-search { display: flex; align-items: center; gap: 0; margin-top: 30px; background: var(--m-s); border: 1px solid var(--m-l); border-radius: 14px; padding: 8px 8px 8px 0; max-width: 560px; }
.ms-search > div { padding: 6px 20px; border-right: 1px solid var(--m-l); display: flex; flex-direction: column; }
.ms-search small { font-size: 12px; color: var(--m-m); text-transform: uppercase; letter-spacing: .1em; }
.ms-search b { font-size: 15px; }
.ms-search .ms-btn { margin-left: auto; }
.ms-sec { padding: 88px 64px; }
.ms-sec.alt { background: var(--m-s); }
.ms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.ms-kicker { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--m-a); margin-bottom: 14px; }
.ms-h2 { font-size: 50px; letter-spacing: -.02em; }
.ms-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ms-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ms-card { background: var(--m-s); border: 1px solid var(--m-l); border-radius: var(--m-r2); padding: 32px; }
.ms-sec.alt .ms-card { background: var(--m-bg); }
.ms-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--m-soft); color: var(--m-a); margin-bottom: 22px; }
.ms-card h3 { font-size: 25px; margin-bottom: 10px; }
.ms-card p { color: var(--m-m); font-size: 16px; }
.ms-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ms-img { height: 440px; border-radius: var(--m-r2); overflow: hidden; }
.ms-p { color: var(--m-m); font-size: 18px; margin-top: 20px !important; }
.ms-checks { display: grid; gap: 14px; margin-top: 28px; }
.ms-checks div { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.ms-checks i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--m-a); color: var(--m-on); }
.ms-item { padding: 0; overflow: hidden; }
.ms-item:not(.has-img) { padding: 32px; }
.ms-thumb { height: 220px; overflow: hidden; }
.ms-item-b { padding: 24px 26px 28px; }
.ms-item:not(.has-img) .ms-item-b { padding: 0; }
.ms-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.ms-row h3 { margin: 0; font-size: 23px; }
.ms-price { font-family: var(--m-h); font-weight: var(--m-hw); font-size: 20px; color: var(--m-a); white-space: nowrap; }
.ms-meta { display: block; font-size: 13px; color: var(--m-m); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ms-stars { display: flex; gap: 3px; color: var(--m-a2); margin-bottom: 16px; }
.ms-quote p { color: var(--m-t); font-size: 19px; line-height: 1.5; margin-bottom: 18px !important; }
.ms-quote b { color: var(--m-m); font-size: 15px; }
.ms-cta { margin: 0 64px 88px; border-radius: calc(var(--m-r2) * 1.3); padding: 64px 70px; background: var(--m-a); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.ms-cta h2 { color: var(--m-on); font-size: 48px; }
.ms-cta .ms-btn { background: var(--m-on); color: var(--m-a); }
.ms-foot { padding: 40px 64px; border-top: 1px solid var(--m-l); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--m-m); font-size: 15px; }
.ms-foot .ms-logo { font-size: 22px; color: var(--m-t); }
.ms-foot .ms-logo i { width: 36px; height: 36px; }
.ms-foot-cols { display: flex; gap: 28px; }
.ms-foot-cols span { display: flex; align-items: center; gap: 8px; }
.ms-foot small { font-size: 12px; opacity: .7; }
.ms-ph { padding: 90px 64px 70px; text-align: center; background: var(--m-s); border-bottom: 1px solid var(--m-l); }
.ms-gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
.ms-gi { position: relative; border-radius: var(--m-r2); overflow: hidden; }
.ms-gi.big { grid-row: span 2; }
.ms-gi span { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--m-bg); font-size: 14px; font-weight: 700; }
.ms-list { display: grid; gap: 16px; }
.ms-ev { display: flex; align-items: center; gap: 30px; padding: 26px 30px; border-radius: var(--m-r2); background: var(--m-s); border: 1px solid var(--m-l); }
.ms-date { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 150px; padding: 16px; border-radius: 14px; background: var(--m-soft); color: var(--m-a); text-align: center; }
.ms-date b { font-size: 16px; color: var(--m-t); }
.ms-ev-b { flex: 1; }
.ms-ev-b h3 { font-size: 26px; margin-bottom: 6px; }
.ms-ev-b p { color: var(--m-m); }
.ms-rsum { display: flex; align-items: center; gap: 28px; margin-bottom: 40px; padding: 30px 36px; border-radius: var(--m-r2); background: var(--m-soft); }
.ms-big { font-family: var(--m-h); font-size: 76px; font-weight: var(--m-hw); line-height: 1; color: var(--m-a); }
.ms-rsum .ms-stars { margin-bottom: 6px; }
.ms-rsum p { color: var(--m-m); }
.ms-person { text-align: center; }
.ms-av { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-family: var(--m-h); font-size: 44px; color: var(--m-on); background: var(--m-a); box-shadow: 0 0 0 8px var(--m-soft); }
.ms-faq-wrap { max-width: 900px; margin: 0 auto; }
.ms-faq { border-bottom: 1px solid var(--m-l); padding: 26px 0; }
.ms-faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 700; font-family: var(--m-h); }
.ms-faq-q i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--m-soft); color: var(--m-a); }
.ms-faq p { color: var(--m-m); margin-top: 12px !important; font-size: 17px; max-width: 760px; }
.ms-form { display: flex; flex-direction: column; gap: 14px; }
.ms-in { height: 56px; border-radius: 12px; border: 1px solid var(--m-l2); background: var(--m-bg); padding: 0 18px; display: flex; align-items: center; color: var(--m-m); font-size: 16px; }
.ms-in.tall { height: 140px; align-items: flex-start; padding-top: 16px; }
.ms-contact { display: flex; flex-direction: column; gap: 18px; }
.ms-map { position: relative; flex: 1; min-height: 320px; border-radius: var(--m-r2); overflow: hidden; border: 1px solid var(--m-l); }
.ms-pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--m-a); color: var(--m-on); box-shadow: 0 0 0 12px var(--m-soft); }
.ms-cinfo { display: grid; gap: 12px; padding: 24px; border-radius: var(--m-r2); background: var(--m-s); border: 1px solid var(--m-l); }
.ms-cinfo span { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ms-cinfo svg { color: var(--m-a); }

/* newsletter (600 x 860) */
.nl { width: 600px; min-height: 860px; font-size: 15px; }
.nl-top { text-align: center; font-size: 11px; color: var(--m-m); padding: 10px; }
.nl-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 32px; border-top: 4px solid var(--m-a); border-bottom: 1px solid var(--m-l); }
.nl-head .ms-logo { font-size: 20px; }
.nl-head .ms-logo i { width: 34px; height: 34px; border-radius: 10px; }
.nl-head > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m-a); }
.nl-hero { height: 250px; overflow: hidden; }
.nl-body { padding: 30px 32px 26px; }
.nl-body .ms-kicker { font-size: 11px; margin-bottom: 10px; }
.nl-body h1 { font-size: 34px; line-height: 1.1; margin-bottom: 14px; }
.nl-body p { color: var(--m-m); font-size: 15.5px; margin-bottom: 22px !important; }
.nl-body .ms-btn { padding: 12px 22px; font-size: 14px; }
.nl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 32px 26px; }
.nl-two > div { display: flex; flex-direction: column; gap: 4px; }
.nl-thumb { height: 110px; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.nl-two b { font-size: 15px; }
.nl-two span { font-size: 13px; color: var(--m-m); }
.nl-foot { text-align: center; font-size: 11px; color: var(--m-m); padding: 18px 32px 24px; border-top: 1px solid var(--m-l); line-height: 1.6; }

/* flyer (612 x 792) */
.fl { width: 612px; height: 792px; display: flex; flex-direction: column; overflow: hidden; }
.fl-art { position: relative; height: 380px; overflow: hidden; }
.fl-logo { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--m-bg); font-family: var(--m-h); font-weight: var(--m-hw); font-size: 18px; }
.fl-logo i { width: 32px; height: 32px; border-radius: 50%; background: var(--m-a); color: var(--m-on); display: grid; place-items: center; }
.fl-body { flex: 1; padding: 30px 38px 24px; display: flex; flex-direction: column; }
.fl-k { font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--m-a); margin-bottom: 10px; }
.fl h1 { font-size: 60px; line-height: .98; margin-bottom: 16px; letter-spacing: -.02em; }
.fl.v1 h1 { color: var(--m-a); }
.fl-body p { color: var(--m-m); font-size: 17px; line-height: 1.5; }
.fl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; }
.fl-row > div { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--m-soft); color: var(--m-a); }
.fl-row span { display: flex; flex-direction: column; color: var(--m-m); font-size: 13px; line-height: 1.35; }
.fl-row b { color: var(--m-t); font-size: 15px; }
.fl-strip { background: var(--m-a); color: var(--m-on); text-align: center; font-weight: 800; font-size: 16px; padding: 16px; letter-spacing: .04em; }

/* bulletin (1000 x 640, open two-panel) */
.bl { width: 1000px; height: 640px; display: grid; grid-template-columns: 1fr 1fr; }
.bl-l { display: flex; flex-direction: column; border-right: 2px dashed var(--m-l2); }
.bl-cover { height: 330px; overflow: hidden; }
.bl-ct { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; }
.bl-ct h1 { font-size: 50px; }
.bl-ct p { color: var(--m-m); font-weight: 700; }
.bl-ct em { color: var(--m-a); font-size: 18px; }
.bl-r { padding: 34px 40px; display: flex; flex-direction: column; gap: 12px; }
.bl-r h2 { font-size: 26px; color: var(--m-a); border-bottom: 2px solid var(--m-l); padding-bottom: 8px; }
.bl-r ol { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 7px; font-size: 15px; }
.bl-r ol li { display: flex; align-items: baseline; gap: 10px; }
.bl-r ol li i { flex: 1; border-bottom: 2px dotted var(--m-l2); }
.bl-ev { display: grid; gap: 8px; font-size: 14px; }
.bl-ev div { display: flex; gap: 14px; }
.bl-ev b { min-width: 110px; color: var(--m-a); }
.bl-note { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--m-soft); font-size: 14px; }
