/* ============================================================
   VELTRIX SYSTEMS — Engineering Editorial Design System
   Syne (display) · Instrument Sans (body) · JetBrains Mono (labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #0a0b0e;
  --bg-2: #0e1014;
  --panel: #13161c;
  --panel-2: #181c24;
  --line: rgba(242, 241, 237, 0.09);
  --line-strong: rgba(242, 241, 237, 0.18);
  --text: #f2f1ed;
  --text-soft: #c7cad0;
  --muted: #8f949d;
  --accent: #c8ff44;
  --accent-soft: rgba(200, 255, 68, 0.14);
  --accent-line: rgba(200, 255, 68, 0.35);
  --ink: #0a0b0e;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -0.015em; font-weight: 700; }

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

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--accent); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid var(--accent-line);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(200,255,68,0.07); border-color: var(--accent); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #8ee000);
  z-index: 1001;
}

/* ---------- Grain overlay ---------- */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 1000;
  transition: top 0.3s var(--ease-out);
}
.nav-inner {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled .nav-inner {
  background: rgba(13, 15, 19, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand:hover .brand-mark svg { transform: rotate(-45deg); }
.brand-mark svg { transition: transform 0.4s var(--ease-spring); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.brand-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-links a.nav-link:hover { color: var(--text); background: rgba(242,241,237,0.06); }
.nav-links a.nav-link.is-active { color: var(--accent); }

.has-dropdown > a.nav-link::after {
  content: ''; display: inline-block; margin-left: 7px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}
.has-dropdown:hover > a.nav-link::after { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px; padding: 8px;
  background: rgba(17, 20, 26, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 14px; border-radius: 9px; font-size: 14.5px;
  color: var(--text-soft); transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: rgba(242,241,237,0.06); color: var(--text); }
.dropdown a .price { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }

.nav-cta { display: inline-flex; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  border-radius: 10px;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 11, 14, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(26px, 7vw, 40px); font-weight: 700;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(16px); opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s, color 0.2s;
}
.mobile-menu.is-open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a .m-price { font-family: var(--font-mono); font-size: 14px; color: var(--accent); font-weight: 400; }
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; } .mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; } .mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; } .mobile-menu a:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200, 255, 68, 0.3); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 36px; font-size: 16.5px; }

/* ---------- Mono labels ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: '//'; color: var(--muted); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 14px; max-width: 16ch; }
.section-head .head-side { max-width: 380px; color: var(--muted); font-size: 16px; padding-bottom: 6px; }
.section-num {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.16em;
}
.section-num b { color: var(--accent); font-weight: 500; }

section { position: relative; padding: 110px 0; }

/* ---------- Decorative animated micro-elements ---------- */
.dec { position: absolute; pointer-events: none; z-index: 1; }

.dec-asterisk { animation: spin-slow 14s linear infinite; color: var(--accent); }
.dec-asterisk.slow { animation-duration: 26s; }
.dec-asterisk.reverse { animation-direction: reverse; }

.dec-ring { width: 70px; height: 70px; }
.dec-ring .ring-track { width: 100%; height: 100%; border: 1px dashed var(--line-strong); border-radius: 50%; animation: spin-slow 22s linear infinite; position: relative; }
.dec-ring .ring-dot { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.dec-plus { font-family: var(--font-mono); color: var(--muted); font-size: 20px; animation: float-y 6s ease-in-out infinite; }
.dec-plus.alt { animation: float-y 8s ease-in-out infinite reverse; color: var(--accent); }

.dec-diamond { width: 14px; height: 14px; border: 1.5px solid var(--accent); transform: rotate(45deg); animation: diamond-spin 9s ease-in-out infinite; }

.dec-slash { font-family: var(--font-mono); font-weight: 700; color: var(--accent); opacity: 0.85; animation: blink-soft 2.4s ease-in-out infinite; }

.dec-orb {
  border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.dec-orb.lime { background: rgba(200, 255, 68, 0.16); }
.dec-orb.blue { background: rgba(80, 140, 255, 0.12); }

.dec-dots { display: grid; grid-template-columns: repeat(4, 8px); gap: 12px; }
.dec-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); animation: pulse-dot 2.6s ease-in-out infinite; }
.dec-dots i:nth-child(2n) { animation-delay: 0.4s; }
.dec-dots i:nth-child(3n) { animation-delay: 0.9s; }
.dec-dots i:nth-child(5n) { animation-delay: 1.3s; }

.dec-bracket { font-family: var(--font-mono); font-size: 30px; color: var(--line-strong); animation: float-y 7s ease-in-out infinite; }

.dec-arrow-up { color: var(--accent); animation: arrow-nudge 2.8s ease-in-out infinite; }

.dec-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.dec-bars i { width: 5px; border-radius: 3px; background: var(--accent); opacity: 0.8; animation: bar-bounce 1.6s ease-in-out infinite; }
.dec-bars i:nth-child(1) { height: 40%; }
.dec-bars i:nth-child(2) { height: 75%; animation-delay: 0.15s; }
.dec-bars i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.dec-bars i:nth-child(4) { height: 95%; animation-delay: 0.45s; }
.dec-bars i:nth-child(5) { height: 65%; animation-delay: 0.6s; }

.dec-coin {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  background: rgba(200,255,68,0.06);
  animation: float-y 5.5s ease-in-out infinite;
}
.dec-coin.small { width: 28px; height: 28px; font-size: 12px; animation-duration: 7s; animation-direction: reverse; }

.dec-orbit { width: 120px; height: 120px; }
.dec-orbit .orbit-core { position: absolute; inset: 42px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.dec-orbit .orbit-path { position: absolute; inset: 0; border: 1px dashed var(--line-strong); border-radius: 50%; animation: spin-slow 16s linear infinite; }
.dec-orbit .orbit-path::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.dec-orbit .orbit-path.p2 { inset: 18px; animation-duration: 10s; animation-direction: reverse; }
.dec-orbit .orbit-path.p2::after { width: 7px; height: 7px; background: var(--text-soft); }

/* ---------- Keyframes ---------- */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes diamond-spin { 0%, 100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(225deg) scale(1.25); } }
@keyframes blink-soft { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }
@keyframes orb-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.15); } }
@keyframes pulse-dot { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); background: var(--accent); } }
@keyframes arrow-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); } }
@keyframes bar-bounce { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes grid-pan { from { background-position: 0 0; } to { background-position: 64px 64px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.from-left { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.zoom { transform: scale(0.92); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.1s; }
.reveal[data-delay='2'] { transition-delay: 0.2s; }
.reveal[data-delay='3'] { transition-delay: 0.3s; }
.reveal[data-delay='4'] { transition-delay: 0.4s; }
.reveal[data-delay='5'] { transition-delay: 0.5s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 30%, transparent 75%);
  animation: grid-pan 26s linear infinite;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 64px; align-items: center; }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; margin: 22px 0 26px;
}
.hero h1 .accent-word { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .accent-word svg {
  position: absolute; left: 0; bottom: -0.12em; width: 100%; height: 0.22em;
  overflow: visible;
}
.hero h1 .accent-word svg path {
  fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600; opacity: 0.55;
  animation: underline-draw 1.1s var(--ease-out) 1s forwards;
}
@keyframes underline-draw { to { stroke-dashoffset: 0; } }

.hero-sub { color: var(--muted); font-size: 18.5px; max-width: 50ch; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta .meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .meta-value { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--text); }
.hero-meta .meta-value em { color: var(--accent); font-style: normal; }
.hero-meta .meta-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Hero entrance */
.hero-enter { opacity: 0; transform: translateY(30px); animation: hero-in 0.9s var(--ease-out) forwards; }
.hero-enter.d1 { animation-delay: 0.1s; } .hero-enter.d2 { animation-delay: 0.22s; }
.hero-enter.d3 { animation-delay: 0.34s; } .hero-enter.d4 { animation-delay: 0.46s; }
.hero-enter.d5 { animation-delay: 0.6s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Terminal card */
.terminal {
  background: linear-gradient(160deg, #14181f, #0e1116);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden; position: relative;
  transform-style: preserve-3d; will-change: transform;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.terminal-bar i:first-child { background: #ff5f57; } .terminal-bar i:nth-child(2) { background: #febc2e; } .terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar .t-title { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.terminal-body { padding: 24px 24px 28px; font-family: var(--font-mono); font-size: 13.5px; line-height: 2.05; min-height: 280px; }
.terminal-body .t-line { white-space: pre-wrap; }
.terminal-body .t-prompt { color: var(--accent); }
.terminal-body .t-cmd { color: var(--text); }
.terminal-body .t-out { color: var(--muted); }
.terminal-body .t-ok { color: #6ee87a; }
.terminal-caret { display: inline-block; width: 9px; height: 17px; background: var(--accent); vertical-align: middle; animation: caret-blink 0.9s step-end infinite; }

.hero-visual { position: relative; }
.hero-badge {
  position: absolute; right: -18px; top: -26px; z-index: 3;
  width: 108px; height: 108px; animation: spin-slow 18s linear infinite;
}
.hero-badge text { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 2.5px; fill: var(--text-soft); text-transform: uppercase; }
.hero-badge .badge-center { fill: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: var(--bg-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.marquee-item svg { color: var(--accent); flex: none; }

/* ---------- Services cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200,255,68,0.09), transparent 65%);
  transition: opacity 0.4s; pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--accent-line); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.service-card:hover::before { opacity: 1; }
.service-card .sc-num { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.16em; }
.service-card h3 { font-size: 23px; margin: 16px 0 10px; }
.service-card .sc-desc { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.service-card .sc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-card .sc-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-soft); align-items: flex-start; }
.service-card .sc-list svg { flex: none; margin-top: 4px; color: var(--accent); }
.service-card .sc-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); }
.service-card .sc-price { font-family: var(--font-display); font-size: 27px; font-weight: 800; }
.service-card .sc-price small { font-family: var(--font-mono); font-size: 11px; display: block; color: var(--muted); font-weight: 400; letter-spacing: 0.1em; }
.service-card .sc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--accent);
}
.service-card .sc-link svg { transition: transform 0.3s var(--ease-out); }
.service-card:hover .sc-link svg { transform: translate(4px, -4px); }
.service-card.is-featured { border-color: var(--accent-line); background: linear-gradient(170deg, rgba(200,255,68,0.07), var(--panel) 45%); }
.featured-chip {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); border-radius: 999px; padding: 5px 12px; font-weight: 700;
}

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 27px; left: 4%; right: 4%; height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%);
  background-size: 14px 1px;
}
.step { position: relative; padding-top: 64px; }
.step-dot {
  position: absolute; top: 16px; left: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-2); border: 1.5px solid var(--accent);
}
.step-dot::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); }
.step-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 2.6s var(--ease-out) infinite; }
.step:nth-child(2) .step-dot::before { animation-delay: 0.5s; }
.step:nth-child(3) .step-dot::before { animation-delay: 1s; }
.step:nth-child(4) .step-dot::before { animation-delay: 1.5s; }
.step:nth-child(5) .step-dot::before { animation-delay: 2s; }
.step .step-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.step h3 { font-size: 18.5px; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 20px;
  transition: transform 0.4s var(--ease-spring);
}
.why-card:hover .why-icon { transform: rotate(-8deg) scale(1.08); }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.testi-quote-mark {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-display); font-size: 64px; font-weight: 800;
  color: var(--accent); opacity: 0.16; line-height: 1;
}
.testi-stars { display: flex; gap: 4px; color: var(--accent); }
.testi-text { color: var(--text-soft); font-size: 15.5px; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-ava {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent);
}
.testi-person .t-name { font-weight: 600; font-size: 15.5px; }
.testi-person .t-role { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- CTA band ---------- */
.cta-band { overflow: hidden; }
.cta-box {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--ink);
  border-radius: 28px; padding: 76px 56px; text-align: center;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,11,14,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,11,14,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: grid-pan 20s linear infinite;
}
.cta-box > * { position: relative; }
.cta-box .kicker { color: var(--ink); }
.cta-box .kicker::before { color: rgba(10,11,14,0.5); }
.cta-box h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 16px auto 18px; max-width: 20ch; }
.cta-box p { max-width: 52ch; margin: 0 auto 34px; color: rgba(10, 11, 14, 0.75); font-size: 17px; }
.cta-box .btn-dark { background: var(--ink); color: var(--text); }
.cta-box .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(10, 11, 14, 0.35); }
.cta-deco-star { position: absolute; color: var(--ink); opacity: 0.85; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 36px; background: var(--bg-2); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 44px; margin-bottom: 64px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-soft); font-size: 15px; transition: color 0.2s, padding-left 0.25s var(--ease-out); }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-about p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.footer-req { font-size: 14.5px; color: var(--text-soft); display: flex; flex-direction: column; gap: 9px; }
.footer-req span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.footer-req a { transition: color 0.2s; } .footer-req a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }
.footer-watermark {
  position: absolute; bottom: -38px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 16vw, 230px);
  color: rgba(242, 241, 237, 0.025); white-space: nowrap; pointer-events: none; line-height: 1;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 100px) 0 80px; position: relative; overflow: hidden; }
.page-hero .hero-bg-grid { mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 70%); }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; margin: 20px 0 22px; max-width: 17ch; }
.page-hero .lead { color: var(--muted); font-size: 18px; max-width: 56ch; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 28px; text-transform: uppercase; }
.breadcrumbs a { transition: color 0.2s; } .breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--accent); }

.price-chip {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: 34px; padding: 16px 26px;
  background: var(--panel); border: 1px solid var(--accent-line); border-radius: 16px;
}
.price-chip .pc-amount { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--accent); }
.price-chip .pc-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Service detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.included-list { display: flex; flex-direction: column; gap: 14px; }
.included-item {
  display: flex; gap: 18px; padding: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.included-item:hover { transform: translateX(8px); border-color: var(--accent-line); }
.included-item .ii-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; padding-top: 3px; }
.included-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.included-item p { color: var(--muted); font-size: 14.5px; }

.sticky-aside { position: sticky; top: calc(var(--nav-h) + 30px); }
.aside-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
}
.aside-card .ac-price { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--accent); }
.aside-card .ac-vat { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin: 4px 0 22px; }
.aside-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.aside-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.aside-card ul svg { flex: none; margin-top: 4px; color: var(--accent); }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* spec strip */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec-item { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); text-align: center; transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.spec-item:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.spec-item .sp-val { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--accent); }
.spec-item .sp-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; transition: border-color 0.3s; }
.faq-item.is-open { border-color: var(--accent-line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; text-align: left; font-weight: 600; font-size: 16.5px; cursor: pointer;
}
.faq-q .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.35s var(--ease-out), background 0.3s, border-color 0.3s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.contact-card .cc-icon {
  width: 50px; height: 50px; flex: none; border-radius: 13px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center; color: var(--accent);
}
.contact-card .cc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card .cc-value { font-weight: 600; font-size: 16.5px; word-break: break-all; }
.copy-btn {
  margin-left: auto; flex: none; padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted); cursor: pointer; transition: all 0.25s; letter-spacing: 0.08em;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.contact-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; position: relative; overflow: hidden;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font: inherit; font-size: 15.5px;
  transition: border-color 0.25s, box-shadow 0.25s; width: 100%;
}
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f949d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 14px; font-size: 14.5px; color: var(--accent); display: none; }
.form-status.show { display: block; }

.req-table { width: 100%; border-collapse: collapse; }
.req-table td { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.req-table td:first-child { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 38%; padding-right: 18px; }
.req-table tr:last-child td { border-bottom: none; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 800px; margin-inline: auto; }
.legal-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 40px; display: flex; gap: 24px; flex-wrap: wrap; }
.legal-body h2 { font-size: 24px; margin: 48px 0 16px; }
.legal-body h2 .ln { color: var(--accent); font-family: var(--font-mono); font-size: 15px; font-weight: 500; margin-right: 10px; }
.legal-body p { color: var(--text-soft); margin-bottom: 14px; font-size: 16px; }
.legal-body ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-body ul li { color: var(--text-soft); font-size: 16px; padding-left: 22px; position: relative; }
.legal-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--text); }
.legal-callout {
  background: var(--panel); border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 22px 26px; margin: 28px 0;
}
.legal-callout p { margin: 0; font-size: 15px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14.5px; }
.legal-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-strong); font-weight: 500; }
.legal-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--text-soft); vertical-align: top; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 1002;
  max-width: 520px; margin-inline: auto;
  background: rgba(17, 20, 26, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.55s var(--ease-spring), opacity 0.4s;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cookie-banner h3 svg { color: var(--accent); }
.cookie-banner p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--text);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.3s var(--ease-out); cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ---------- Scroll hint ---------- */
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.scroll-hint .sh-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.scroll-hint .sh-line { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-hint .sh-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--accent); animation: scroll-drop 1.8s var(--ease-out) infinite; }
@keyframes scroll-drop { to { top: 110%; } }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 580px; }
  .services-grid, .why-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .process-steps::before { display: none; }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .container { width: calc(100% - 36px); }
  .services-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .hero-meta { gap: 22px; }
  .cta-box { padding: 56px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .dec { display: none; }
  .dec.keep-mobile { display: block; }
  .terminal-body { min-height: 230px; font-size: 12px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-enter { opacity: 1; transform: none; animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
