/* =========================================================
   Tross Remote — HomeDesk IT · design system
   Palette inspired by deep petrol / mint editorial B2B style
   ========================================================= */
:root {
  --bg: #0b1f1d;
  --bg-2: #0e2724;
  --surface: #133430;
  --surface-2: #183f3a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f6f5;
  --muted: #a3beb8;
  --muted-2: #6f8d87;
  --accent: #34df89;
  --accent-2: #4ee89f;
  --accent-dim: rgba(52, 223, 137, 0.14);
  --sage: #7e9587;
  --beige: #b2c0b0;
  --white: #ffffff;
  --pale: #eef2f1;
  --dark-text: #0b1f1d;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overline {
  color: var(--accent);
  margin-bottom: 20px;
}

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.55;
}
.bg-glow--1 {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(52, 223, 137, 0.25), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 600px; height: 600px;
  bottom: -250px; left: -200px;
  background: radial-gradient(circle, rgba(30, 90, 80, 0.6), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-80px, 60px) scale(1.15); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
}
.preloader__logo b { color: var(--accent); font-weight: 600; }
.preloader__bar {
  width: 220px; height: 2px; margin: 28px auto 14px;
  background: var(--line-strong); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
  transition: width 0.3s ease;
}
.preloader__meta { color: var(--muted-2); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 999;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, opacity 0.3s;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px; background: #fff; opacity: 0;
}
body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; background: rgba(255,255,255,0.15); }
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.logo b { color: var(--accent); font-weight: 600; }
.logo-mark { display: inline-flex; flex-direction: column; gap: 3px; }
.logo-mark i {
  display: block; height: 3px; background: var(--text); border-radius: 1px;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.logo-mark i:nth-child(1) { width: 22px; }
.logo-mark i:nth-child(2) { width: 14px; background: var(--accent); }
.logo-mark i:nth-child(3) { width: 18px; }
.logo:hover .logo-mark i:nth-child(1) { transform: translateX(4px); }
.logo:hover .logo-mark i:nth-child(3) { transform: translateX(-4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 31, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header__frame {
  display: flex; justify-content: space-between;
  width: min(var(--container), calc(100% - 48px)); margin-inline: auto;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  color: var(--muted-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 14px; color: var(--muted); position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px;
  align-items: center;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
}
.btn__label { padding: 13px 20px; display: flex; align-items: center; position: relative; z-index: 1; }
.btn__icon {
  display: flex; align-items: center; justify-content: center; width: 46px;
  border-left: 1px solid var(--line-strong); position: relative; z-index: 1;
  transition: transform 0.3s var(--ease);
}
.btn__icon i { transition: transform 0.4s var(--ease); }
.btn:hover .btn__icon i { transform: translateX(4px); }
.btn--light { background: var(--white); color: var(--dark-text); border-color: var(--white); }
.btn--light .btn__icon { border-color: rgba(0, 0, 0, 0.12); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); }
.btn--outline { background: transparent; color: var(--text); }
.btn--outline:hover { background: var(--white); color: var(--dark-text); border-color: var(--white); }
.btn--outline:hover .btn__icon { border-color: rgba(0, 0, 0, 0.12); }
.btn--accent { background: var(--accent); color: var(--dark-text); border-color: var(--accent); }
.btn--accent .btn__icon { border-color: rgba(0, 0, 0, 0.15); }
.btn--accent:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { padding: 12px 16px; color: var(--muted); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); border-color: var(--text); }
.btn--full { width: 100%; justify-content: space-between; }

.link-arrow { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.link-arrow i { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover i { transform: translateY(4px); }
.link-inline { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  min-height: min(calc(100vh - 110px), 820px); padding: 80px 0 60px; position: relative;
}
.hero__title {
  font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500;
  margin-bottom: 28px; max-width: 12ch;
}
.hero__lead { font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__ticks { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: 13px; }
.hero__ticks i { color: var(--accent); margin-right: 6px; }

/* Isometric block scene (SVG, generated by js/iso.js) */
.hero__visual { position: relative; height: 560px; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; }
.iso { position: relative; z-index: 2; width: 100%; max-width: 620px; height: auto; overflow: visible; }
.iso__block { transition: transform 0.2s linear; }
.scene__shadow {
  position: absolute; left: 50%; top: 58%; width: 420px; height: 160px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(52,223,137,0.22), transparent 65%); filter: blur(30px); z-index: 1;
}

.ring {
  position: absolute; border: 1px solid var(--line-strong); border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
}
.ring--1 { width: 420px; height: 420px; }
.ring--2 { width: 580px; height: 580px; animation-delay: -2s; border-style: dashed; opacity: 0.6; }
.ring--3 { width: 760px; height: 760px; animation-delay: -4s; opacity: 0.35; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.7; }
}

.hud {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: rgba(11, 31, 29, 0.85); border: 1px solid var(--line-strong);
  color: var(--text); border-radius: var(--radius); font-size: 10px; letter-spacing: 0.12em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: hudFloat 5s ease-in-out infinite;
}
.hud .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: hudBlink 2s ease-in-out infinite; }
.hud--1 { left: 2%; top: 14%; }
.hud--2 { right: 2%; top: 22%; animation-delay: -1.6s; }
.hud--3 { left: 18%; bottom: 8%; animation-delay: -3.2s; }
@keyframes hudFloat { 50% { transform: translateY(-8px); } }
@keyframes hudBlink { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ---------- Proof bar ---------- */
.proof {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0; margin-bottom: 40px;
}
.proof__text { color: var(--muted); font-size: 14px; max-width: 56ch; }
.proof__logos { display: flex; align-items: center; gap: 24px; min-width: 0; }
.proof__label { color: var(--muted-2); white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { white-space: nowrap; color: var(--muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.marquee__track i { color: var(--text); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head--row {
  max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end;
}
.section__title {
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500;
}
.section__sub { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 58ch; }

/* ---------- Problem ---------- */
.problem__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); background: var(--line);
  gap: 1px;
}
.pcard {
  background: var(--bg); padding: 40px 28px; position: relative; overflow: hidden;
  transition: background 0.4s;
  transform-style: preserve-3d;
}
.pcard::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--accent-dim), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.pcard:hover::before { opacity: 1; }
.pcard:hover { background: var(--bg-2); }
.pcard__num { position: absolute; top: 20px; right: 24px; color: var(--muted-2); }
.pcard__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--accent); font-size: 20px; margin-bottom: 28px;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.pcard:hover .pcard__icon { transform: translateY(-4px) rotate(-6deg); background: var(--accent-dim); }
.pcard h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard em { color: var(--text); font-style: italic; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 1px; border: 1px solid var(--line); border-top: 0; background: var(--line);
}
.stat { background: var(--surface); padding: 32px 28px; }
.stat__value { font-size: 48px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 10px; }
.stat__value small { font-size: 22px; color: var(--accent); font-weight: 500; }
.stat__label { color: var(--muted-2); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.services__nav { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 4px; }
.services__nav a {
  padding: 10px 0 10px 20px; font-size: 15px; color: var(--muted-2); position: relative;
  border-left: 1px solid var(--line); transition: color 0.3s, padding-left 0.3s var(--ease);
}
.services__nav a::before {
  content: ''; position: absolute; left: -1px; top: 0; height: 100%; width: 2px;
  background: var(--accent); transform: scaleY(0); transition: transform 0.4s var(--ease);
}
.services__nav a.is-active, .services__nav a:hover { color: var(--text); padding-left: 26px; }
.services__nav a.is-active::before { transform: scaleY(1); }

.services__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 56px 48px; background: var(--bg-2); scroll-margin-top: 140px;
}
.svc__idx { color: var(--accent); display: block; margin-bottom: 14px; }
.svc h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.svc p { color: var(--muted); font-size: 16px; }

.kv { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.kv dt { color: var(--muted-2); padding-top: 4px; }
.kv dd { font-size: 15px; color: var(--text); }
.kv--dark { border-color: rgba(0,0,0,0.1); }
.kv--dark dt { color: rgba(11,31,29,0.55); }
.kv--dark dd { color: var(--dark-text); }

/* UI cards */
.ui-card {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}
.svc:hover .ui-card { transform: perspective(1000px) rotateY(0) rotateX(0); }
.ui-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted-2); }
.ui-card__row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ui-card__row span { color: var(--muted); }
.ui-card__row b { font-weight: 500; }
.ui-card__bar { height: 4px; background: var(--line-strong); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.ui-card__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.4s var(--ease) 0.3s; }
.is-visible .ui-card__bar span { width: var(--w); }
.ui-card__foot { margin-top: 12px; color: var(--muted-2); }
.pill { font-size: 11px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.pill--ok { color: var(--accent); border-color: rgba(52,223,137,0.4); background: var(--accent-dim); }

.radar { position: relative; height: 90px; margin-top: 18px; overflow: hidden; }
.radar span { position: absolute; left: 50%; top: 100%; width: 60px; height: 60px; border: 1px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%); animation: radar 3s ease-out infinite; opacity: 0; }
.radar span:nth-child(2) { animation-delay: 1s; }
.radar span:nth-child(3) { animation-delay: 2s; }
@keyframes radar { from { width: 20px; height: 20px; opacity: 0.9; } to { width: 320px; height: 320px; opacity: 0; } }

.chat { display: flex; margin-top: 10px; }
.chat--me { justify-content: flex-end; }
.chat__msg { max-width: 85%; padding: 10px 14px; font-size: 13px; border-radius: 10px 10px 10px 2px; background: var(--surface-2); color: var(--muted); }
.chat--me .chat__msg { background: var(--accent); color: var(--dark-text); border-radius: 10px 10px 2px 10px; }

.wave { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: 18px; }
.wave i { flex: 1; background: var(--accent); opacity: 0.8; border-radius: 2px; animation: wave 1.6s ease-in-out infinite; height: 20%; }
.wave i:nth-child(2n) { animation-delay: -0.3s; }
.wave i:nth-child(3n) { animation-delay: -0.6s; }
.wave i:nth-child(5n) { animation-delay: -0.9s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }

.steps { display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--muted-2); }
.steps li.done { color: var(--muted); }
.steps li.done i { color: var(--accent); }
.steps li.active { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }
.steps li.active i { color: var(--accent); animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; margin-top: 12px; }
.bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bars span { width: 100%; height: 0; background: var(--surface-2); border-radius: 2px 2px 0 0; transition: height 1.2s var(--ease); }
.bars .hi span { background: var(--accent); }
.is-visible .bars span { height: var(--h); }
.bars em { font-style: normal; color: var(--muted-2); font-size: 9px; }

/* ---------- Process ---------- */
.process { padding-bottom: 0; }
.steps-stack { margin-top: -8px; }
.step { padding: 96px 0; overflow: hidden; position: relative; }
.step__inner { display: grid; grid-template-columns: 180px 1fr 320px; gap: 48px; align-items: center; }
.step__meta { align-self: start; padding-top: 10px; opacity: 0.7; }
.step h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 16px; }
.step p { font-size: 17px; max-width: 60ch; }
.step__art { height: 280px; position: relative; }

.step--white { background: var(--white); color: var(--dark-text); }
.step--white p { color: #4b5f5a; }
.step--pale { background: var(--pale); color: var(--dark-text); }
.step--pale p { color: #4b5f5a; }
.step--sage { background: #607c76; color: var(--white); }
.step--sage p { color: rgba(255,255,255,0.8); }
.step--sage .kv { border-color: rgba(255,255,255,0.2); }
.step--sage .kv dt { color: rgba(255,255,255,0.6); }
.step--deep { background: var(--surface); }
.step--deep p { color: var(--muted); }
.step--black { background: #061412; }
.step--black p { color: var(--muted); }

/* Sonar art */
.art-sonar { position: absolute; inset: 0; display: grid; place-items: center; }
.art-sonar span { position: absolute; border: 1px solid rgba(11,31,29,0.25); border-radius: 50%; width: 40px; height: 40px; animation: sonar 4s ease-out infinite; }
.art-sonar span:nth-child(2) { animation-delay: 1s; }
.art-sonar span:nth-child(3) { animation-delay: 2s; }
.art-sonar span:nth-child(4) { animation-delay: 3s; border-color: var(--accent); }
@keyframes sonar { from { transform: scale(0.2); opacity: 1; } to { transform: scale(7); opacity: 0; } }

/* Cube art */
.art-cube { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform-style: preserve-3d; animation: spin 14s linear infinite; margin: -60px 0 0 -60px; }
.art-cube .c { position: absolute; inset: 0; border: 1px solid rgba(11,31,29,0.4); background: rgba(52,223,137,0.08); }
.art-cube .c1 { transform: translateZ(60px); }
.art-cube .c2 { transform: rotateY(180deg) translateZ(60px); }
.art-cube .c3 { transform: rotateY(90deg) translateZ(60px); }
.art-cube .c4 { transform: rotateY(-90deg) translateZ(60px); }
.art-cube .c5 { transform: rotateX(90deg) translateZ(60px); background: rgba(52,223,137,0.3); }
.art-cube .c6 { transform: rotateX(-90deg) translateZ(60px); }
@keyframes spin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }

/* Grid art */
.art-grid { position: absolute; inset: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-grid i { border: 1px solid rgba(255,255,255,0.4); animation: gridPulse 3s ease-in-out infinite; }
.art-grid i:nth-child(1) { animation-delay: 0s; } .art-grid i:nth-child(2) { animation-delay: 0.2s; } .art-grid i:nth-child(3) { animation-delay: 0.4s; }
.art-grid i:nth-child(4) { animation-delay: 0.6s; } .art-grid i:nth-child(5) { animation-delay: 0.8s; } .art-grid i:nth-child(6) { animation-delay: 1s; }
.art-grid i:nth-child(7) { animation-delay: 1.2s; } .art-grid i:nth-child(8) { animation-delay: 1.4s; } .art-grid i:nth-child(9) { animation-delay: 1.6s; }
@keyframes gridPulse { 0%, 100% { background: transparent; } 50% { background: var(--accent); border-color: var(--accent); } }

/* Waves art */
.art-waves { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.art-waves span { height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: sweep 3s linear infinite; }
.art-waves span:nth-child(2) { animation-delay: -0.5s; } .art-waves span:nth-child(3) { animation-delay: -1s; }
.art-waves span:nth-child(4) { animation-delay: -1.5s; } .art-waves span:nth-child(5) { animation-delay: -2s; }
@keyframes sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Orbit art */
.art-orbit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 240px; height: 240px; }
.art-orbit i { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 50%; animation: orbit 10s linear infinite; }
.art-orbit i::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.art-orbit i:nth-child(2) { inset: 40px; animation-duration: 7s; animation-direction: reverse; }
.art-orbit i:nth-child(3) { inset: 80px; animation-duration: 4s; }
.art-orbit b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; background: var(--white); border-radius: 50%; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- Security ---------- */
.security__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { display: grid; gap: 20px; margin-top: 40px; }
.checklist li { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s, transform 0.4s var(--ease); background: rgba(255,255,255,0.01); }
.checklist li:hover { border-color: var(--accent); transform: translateX(8px); }
.checklist i { color: var(--accent); font-size: 18px; margin-top: 3px; }
.checklist b { display: block; font-weight: 500; margin-bottom: 4px; }
.checklist span { color: var(--muted); font-size: 14px; }

.shield { position: relative; width: 100%; aspect-ratio: 1; max-width: 480px; margin-inline: auto; }
.shield__ring { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 50%; animation: orbit 30s linear infinite; }
.shield__ring:nth-child(2) { inset: 15%; border-style: dashed; animation-direction: reverse; animation-duration: 22s; }
.shield__ring:nth-child(3) { inset: 30%; animation-duration: 16s; }
.shield__core {
  position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%);
  background: var(--accent); color: var(--dark-text); display: grid; place-items: center; font-size: 42px; border-radius: 24px;
  box-shadow: 0 0 80px rgba(52,223,137,0.5); animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 120px rgba(52,223,137,0.75); transform: translate(-50%, -50%) scale(1.06); } }
.shield__node {
  position: absolute; width: 56px; height: 56px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; font-size: 20px; color: var(--text);
  animation: float2 5s ease-in-out infinite;
}
.shield__node.n1 { left: 6%; top: 18%; }
.shield__node.n2 { right: 4%; top: 28%; animation-delay: -1s; }
.shield__node.n3 { left: 14%; bottom: 14%; animation-delay: -2s; }
.shield__node.n4 { right: 12%; bottom: 10%; animation-delay: -3s; }
@keyframes float2 { 50% { transform: translateY(-12px); } }

/* ---------- Audience ---------- */
.audience { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.acard { padding: 36px 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); position: relative; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s; }
.acard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.acard:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.acard:hover::after { transform: scaleX(1); }
.acard i { font-size: 26px; color: var(--accent); margin-bottom: 24px; }
.acard h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.acard p { color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; padding: 40px 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.5s var(--ease); }
.plan:hover { border-color: var(--line-strong); }
.plan--featured { background: var(--surface); border-color: rgba(52,223,137,0.45); box-shadow: 0 40px 80px -40px rgba(52,223,137,0.3); }
.plan__badge { position: absolute; top: -12px; left: 32px; background: var(--accent); color: var(--dark-text); padding: 5px 12px; border-radius: 99px; font-weight: 500; }
.plan__tag { color: var(--muted-2); }
.plan h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin: 12px 0 6px; }
.plan__desc { color: var(--muted); font-size: 15px; }
.plan__price { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.plan__price span { color: var(--muted-2); }
.plan__price b { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; }
.plan li i { color: var(--accent); margin-top: 4px; font-size: 12px; }
.plan .btn { justify-content: space-between; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; transition: color 0.3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '\002B'; font-size: 22px; color: var(--accent); transition: transform 0.4s var(--ease); font-weight: 300; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary i { display: none; }
.acc summary:hover { color: var(--accent); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(180deg, var(--bg-2), #061412); border-top: 1px solid var(--line); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta__contacts { display: grid; gap: 12px; margin-top: 36px; }
.contact-line { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; transition: color 0.3s; }
.contact-line i { color: var(--accent); }
a.contact-line:hover { color: var(--text); }

.form { display: grid; gap: 18px; padding: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,0.02); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; width: 100%; transition: border-color 0.3s, box-shadow 0.3s;
}
.form select option { color: var(--dark-text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form input.is-invalid, .form textarea.is-invalid { border-color: #ff6b6b; }
.form textarea { resize: vertical; }
.form .check { grid-template-columns: auto 1fr; align-items: start; }
.form .check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.form .check a { color: var(--accent); border-bottom: 1px solid currentColor; }
.form__note { color: var(--accent); min-height: 14px; }
.form__note.is-error { color: #ff6b6b; }

/* ---------- Footer ---------- */
.footer { background: #061412; border-top: 1px solid var(--line); padding: 80px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); font-size: 14px; margin: 20px 0 24px; max-width: 40ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--muted); transition: all 0.3s; }
.footer__social a:hover { color: var(--dark-text); background: var(--accent); border-color: var(--accent); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { color: var(--muted-2); margin-bottom: 8px; font-weight: 500; }
.footer__col a, .footer__cookie-btn { font-size: 14px; color: var(--muted); transition: color 0.3s, transform 0.3s var(--ease); text-align: left; padding: 0; }
.footer__col a:hover, .footer__cookie-btn:hover { color: var(--accent); transform: translateX(4px); }

.footer__company { font-style: normal; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.footer__company div { display: grid; gap: 6px; }
.footer__company span { color: var(--muted-2); }
.footer__company b { font-weight: 500; font-size: 14px; color: var(--text); }
.footer__company a { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; color: var(--muted-2); font-size: 13px; flex-wrap: wrap; }
.footer__bottom p { max-width: 80ch; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 500;
  display: flex; justify-content: center;
  transform: translateY(40px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s;
}
.cookie[hidden] { display: none; }
.cookie.is-visible { transform: translateY(0); opacity: 1; }
.cookie__inner {
  width: min(820px, 100%); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 18px 22px; background: rgba(11, 31, 29, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.cookie__title { color: var(--accent); margin-bottom: 8px; }
.cookie__text p { font-size: 13px; color: var(--muted); }
.cookie__text a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie__prefs { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie__prefs[hidden] { display: none; }
.cookie__prefs label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.cookie__prefs input { accent-color: var(--accent); }
.cookie__prefs b { color: var(--text); font-weight: 500; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie__actions .btn[hidden] { display: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 120px; }
.legal__head { max-width: 820px; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__head h1 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 20px 0 16px; }
.legal__head .meta { color: var(--muted-2); }
.legal__grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal__toc { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 2px; }
.legal__toc a { padding: 8px 0 8px 18px; font-size: 13.5px; color: var(--muted-2); border-left: 1px solid var(--line); transition: color 0.3s, padding-left 0.3s var(--ease); }
.legal__toc a:hover { color: var(--text); padding-left: 24px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 48px 0 16px; scroll-margin-top: 130px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; font-weight: 500; margin: 28px 0 10px; }
.legal__body p, .legal__body li { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal__body ul li { margin-bottom: 8px; }
.legal__body a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0 28px; }
.legal__body th, .legal__body td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal__body th { color: var(--text); font-weight: 500; background: var(--surface); }
.legal__body .callout { padding: 20px 24px; border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); color: var(--text); }
.legal__body .callout p { color: var(--text); margin: 0; }

/* ---------- Reveal animation defaults ---------- */
.reveal-up { opacity: 0; transform: translateY(32px); }
.reveal-up.is-visible, .no-js .reveal-up { opacity: 1; transform: none; }
.split-text .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-text .word > span { display: inline-block; transform: translateY(110%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .problem__grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .step__inner { grid-template-columns: 1fr; gap: 24px; }
  .step__art { height: 220px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__company { grid-template-columns: repeat(2, 1fr); }
  .services__layout { grid-template-columns: 1fr; }
  .services__nav { display: none; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero__visual { height: 380px; order: 2; }
  .iso { max-width: 420px; }
  .ring--3 { display: none; }
  .ring--2 { width: 420px; height: 420px; }
  .ring--1 { width: 300px; height: 300px; }
  .proof { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 80px 0; }
  .section__head--row { grid-template-columns: 1fr; gap: 16px; }
  .svc { grid-template-columns: 1fr; padding: 40px 24px; }
  .security__grid, .faq__grid, .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .header__frame { display: none; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    transform: translateY(-16px); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .burger { display: flex; }
  .nav__actions .btn { display: none; }
  .cookie__inner { grid-template-columns: 1fr; }
  .cookie__actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .problem__grid, .stats, .audience__grid, .footer__top, .footer__company { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .hero__title { max-width: none; }
  .stat__value { font-size: 40px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
}
