:root {
  --bg: #0a0c10;
  --bg2: #10141a;
  --line: #1e252f;
  --text: #e7eaee;
  --muted: #8d96a3;
  --accent: #5fd4ff;
  --accent2: #ff7a2f;
  --radius: 14px;
  font-synthesis: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; backdrop-filter: blur(12px);
  background: rgba(10,12,16,.72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; letter-spacing: .18em; font-size: 15px; font-weight: 600; }
.logo b { color: var(--accent); font-weight: 600; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px;
  padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.lang:hover { color: var(--text); border-color: var(--muted); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #041018; font-weight: 600;
  padding: 13px 22px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(95,212,255,.6); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); box-shadow: none; }

/* hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,12,16,.85) 35%, rgba(10,12,16,0) 70%),
              linear-gradient(0deg, var(--bg) 0%, rgba(10,12,16,0) 25%); }
.hero-inner { position: relative; z-index: 1; padding-top: 68px; max-width: 1160px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; letter-spacing: -.025em; max-width: 13ch; font-weight: 650; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; margin-top: 22px; }
.cta-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.note.small { font-size: 13px; margin-top: 4px; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }

/* sections */
.section { padding: 120px 0; }
.section-alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; font-weight: 650; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 620; }

.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, #0e1218, #0b0e13);
  transition: border-color .2s, transform .2s; }
.card:hover { border-color: #2d3846; transform: translateY(-2px); }
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.card .num { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--accent); font-size: 13px; display: block; margin-bottom: 18px; }
.card-accent { border-color: rgba(255,122,47,.35); }
.card-accent .num { color: var(--accent2); }
.card .price { color: var(--text); font-weight: 600; margin-top: 16px; }

/* cases */
.cases { display: grid; gap: 20px; margin-top: 56px; }
.case { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.case-body { padding: 32px 36px; }
.case-body p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.case-body .tag { color: var(--accent); font-size: 13px; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.chips li { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; color: var(--muted); }
.case-visual { position: relative; min-height: 220px; border-right: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, #142030 0%, #0b0f15 70%); overflow: hidden; }
/* sensor visual: rotating axes */
.v-sensor .axis { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px; border: 1.5px solid var(--accent);
  border-radius: 18px; transform: rotateX(55deg) rotateZ(30deg); animation: spin 9s linear infinite; box-shadow: 0 0 40px -10px var(--accent); }
.v-sensor .axis::before, .v-sensor .axis::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent2); }
.v-sensor .axis::before { width: 2px; height: 160px; margin: -80px 0 0 -1px; }
.v-sensor .axis::after { width: 160px; height: 2px; margin: -1px 0 0 -80px; background: var(--accent); }
@keyframes spin { to { transform: rotateX(55deg) rotateZ(390deg); } }
/* fleet visual: grid of machines with status lights */
.v-fleet { display: grid; grid-template-columns: repeat(3, 46px); gap: 18px; place-content: center; }
.v-fleet i { height: 64px; border: 1.5px solid #2a3644; border-radius: 6px; position: relative; background: #0e141b; }
.v-fleet i::after { content: ""; position: absolute; top: 8px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #3ee08f; box-shadow: 0 0 10px #3ee08f; animation: blink 2.4s infinite; }
.v-fleet i:nth-child(4)::after { background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation-delay: .8s; }
.v-fleet i:nth-child(2)::after { animation-delay: 1.4s; }
@keyframes blink { 50% { opacity: .35; } }
/* orders visual: progress bars */
.v-orders { display: grid; gap: 14px; align-content: center; padding: 0 40px; }
.v-orders span { height: 10px; border-radius: 99px; background: #1a2430; position: relative; overflow: hidden; }
.v-orders span::after { content: ""; position: absolute; inset: 0; width: var(--w, 60%); background: linear-gradient(90deg, var(--accent), #8be3ff); border-radius: 99px; }
.v-orders span:nth-child(1) { --w: 100%; } .v-orders span:nth-child(2) { --w: 75%; }
.v-orders span:nth-child(3) { --w: 40%; } .v-orders span:nth-child(4) { --w: 15%; }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 20px; display: grid; gap: 8px; }
.steps li::before { content: "0" counter(s); font-family: ui-monospace, Consolas, monospace; color: var(--accent); font-size: 13px; }
.steps li:first-child { border-color: var(--accent); }
.steps span { color: var(--muted); font-size: 15px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.about p { color: var(--muted); font-size: 17px; }
.about p + p { margin-top: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact > div > p { color: var(--muted); margin-top: 18px; }
.mail a { color: var(--accent); }
.form { display: grid; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select { background: var(--bg); border: 1px solid var(--line); border-radius: 9px; color: var(--text);
  padding: 11px 12px; font: inherit; font-size: 15px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .links { display: none; }
  .grid.cards { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; }
  .case-visual { border-right: 0; border-bottom: 1px solid var(--line); min-height: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .grid.cards, .steps, .form .row { grid-template-columns: 1fr; }
  .nav-right .btn { display: none; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(10,12,16,.75) 60%, rgba(10,12,16,.5)); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
