/* ============================================================
   neesites limited — design system (LIGHT)
   White canvas · Twitter-blue brand · soft glass + connected diagram
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-0: #FFFFFF;
  --bg-1: #F6F9FD;
  --bg-2: #EEF3FA;

  /* Surfaces & borders */
  --surface: #FFFFFF;
  --surface-2: #F4F8FC;
  --surface-3: #EAF1F8;
  --border: rgba(15, 23, 42, 0.10);
  --border-2: rgba(15, 23, 42, 0.16);
  --border-glow: rgba(29, 161, 242, 0.40);

  /* Brand */
  --brand: #1DA1F2;
  --brand-2: #0E8FE0;
  --brand-3: #0B6FB8;
  --brand-soft: rgba(29, 161, 242, 0.10);

  /* Text */
  --text: #0F1B2D;
  --text-2: #3E4D63;
  --text-muted: #6B7A90;
  --text-sky: #1280C8;

  /* Effects */
  --glow-strength: 1;
  --glow: 0 12px 34px -10px rgba(29, 161, 242, calc(0.40 * var(--glow-strength)));
  --glow-soft: 0 8px 22px -10px rgba(29, 161, 242, calc(0.26 * var(--glow-strength)));
  --shadow-card: 0 18px 48px -26px rgba(15, 23, 42, 0.30);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Persistent ambient backdrop — subtle blue light on white */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(820px 560px at 82% -6%, rgba(29, 161, 242, 0.10), transparent 60%),
    radial-gradient(760px 640px at 6% 12%, rgba(14, 165, 233, 0.07), transparent 55%),
    linear-gradient(180deg, #FFFFFF, #FBFDFF);
}

/* Subtle dot grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(900px 900px at 50% 24%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 900px at 50% 24%, #000 0%, transparent 78%);
  opacity: 0.7;
}

::selection { background: rgba(29, 161, 242, 0.22); color: var(--brand-3); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { position: relative; padding: 120px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-3);
  padding: 7px 13px;
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  background: var(--brand-soft);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(29,161,242,0.14);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  text-wrap: balance;
  color: var(--text);
}
.h-section .accent { color: var(--brand); }

.lead {
  color: var(--text-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  max-width: 56ch;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.grad-text {
  background: linear-gradient(120deg, var(--brand-3) 0%, var(--brand) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(29,161,242,.55), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--border-glow); color: var(--brand-3); transform: translateY(-2px); box-shadow: var(--glow-soft); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--maxw);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px 11px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 36px -18px rgba(15,23,42,0.30);
  transition: box-shadow .3s, background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--border-2);
  box-shadow: 0 16px 44px -20px rgba(15,23,42,0.30);
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-brand img { height: 26px; width: auto; }
.brand-mark {
  position: relative;
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 10px;
  position: relative;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--brand-3); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  width: 40px; height: 40px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  text-wrap: balance;
  color: var(--text);
}
.hero .lead { font-size: clamp(17px, 1.8vw, 20px); margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
}
.hero-stats .stat .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero floating visual grid — light glass cards */
.hero-visual {
  position: relative;
  height: 480px;
  perspective: 1200px;
}
.float-grid {
  position: absolute;
  inset: 0;
}
.tile {
  position: absolute;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 22px 50px -28px rgba(15,23,42,0.4), 0 2px 8px -4px rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
  padding: 16px;
  opacity: 0;
  transform: translateY(24px);
  animation: tile-in .9s cubic-bezier(.2,.8,.25,1) forwards;
}
.tile .ti-head { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 13px; font-family: var(--font-mono); }
.tile .ti-head svg { width: 16px; height: 16px; color: var(--brand); }
.tile .ti-bar { height: 6px; border-radius: 4px; background: var(--surface-3); margin-top: 12px; }
.tile .ti-bar:first-of-type { background: linear-gradient(90deg, var(--brand), rgba(29,161,242,0.25)); }
.tile .ti-bar.b2 { width: 70%; }
.tile .ti-bar.b3 { width: 45%; }
.tile.glow { border-color: var(--border-glow); box-shadow: var(--glow), 0 22px 50px -28px rgba(15,23,42,0.4); }
.tile.float { animation: tile-in .9s cubic-bezier(.2,.8,.25,1) forwards, floaty 6s ease-in-out infinite; }

@keyframes tile-in { to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.tile.t1 { top: 0; left: 6%; width: 215px; height: 138px; animation-delay: .15s; rotate: -4deg; }
.tile.t2 { top: 92px; right: 0; width: 200px; height: 150px; animation-delay: .35s; rotate: 3.5deg; }
.tile.t3 { bottom: 78px; left: 0; width: 190px; height: 132px; animation-delay: .55s; rotate: -3deg; }
.tile.t4 { bottom: 0; right: 8%; width: 225px; height: 128px; animation-delay: .75s; rotate: 4deg; }
.tile.t5 { top: 162px; left: 30%; width: 175px; height: 110px; animation-delay: .95s; rotate: -1.5deg; }

.hero-orbit {
  position: absolute;
  left: 50%; top: 50%;
  width: 320px; height: 320px;
  translate: -50% -50%;
  border: 1px dashed var(--border-2);
  border-radius: 50%;
  animation: spin 26s linear infinite;
  opacity: .6;
}
.hero-orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%; translate: -50% 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 5px rgba(29,161,242,0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-marquee {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 26s linear infinite;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span svg { width: 16px; height: 16px; color: var(--brand); }
.marquee-track .sep { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   reveal animation utility
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   CLOUD INFRA — Stripe-style scroll-drawn architecture diagram
   ============================================================ */
.cloud-pin { position: relative; height: 360vh; background: var(--bg-1); border-block: 1px solid var(--border); }
.cloud-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cloud-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}
.cloud-copy { max-width: 440px; }
.cloud-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.cloud-step {
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color .35s, background .35s, box-shadow .35s;
}
.cloud-step.active { border-color: var(--border-glow); background: #fff; box-shadow: var(--glow-soft); }
.cloud-step h4 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); }
.cloud-step p { margin: 5px 0 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.cloud-step .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--brand); background: var(--surface-2); transition: all .35s; }
.cloud-step.active .ic { background: linear-gradient(180deg, var(--brand), var(--brand-3)); color: #fff; border-color: transparent; }
.cloud-step .ic svg { width: 19px; height: 19px; }

/* Diagram */
.diagram-wrap {
  position: relative;
  width: 100%;
  height: clamp(380px, 80vh, 640px);
  display: grid;
  place-items: center;
}
.diagram {
  position: relative;
  width: 600px;
  height: 560px;
  transform-origin: center center;
}
.diagram-lines {
  position: absolute;
  inset: 0;
  width: 600px;
  height: 560px;
  overflow: visible;
  pointer-events: none;
}
.wire-track { fill: none; stroke: rgba(15,23,42,0.10); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wire {
  fill: none;
  stroke: url(#wireGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.pkt { fill: var(--brand); opacity: 0; transition: opacity .3s; }
.pkt-halo { fill: var(--brand); opacity: 0; transition: opacity .3s; }
.conn.flow .pkt { opacity: .95; }
.conn.flow .pkt-halo { opacity: .15; }
.no-packets .pkt, .no-packets .pkt-halo { opacity: 0 !important; }

/* Node cards */
.node-card {
  position: absolute;
  width: 154px;
  transform: translate(-50%, -50%) scale(.9);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
  z-index: 2;
}
.node-card.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.node-card.lit { border-color: var(--border-glow); box-shadow: var(--glow), var(--shadow-card); }
.node-card .nc-ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--border-glow); transition: all .4s; }
.node-card.lit .nc-ic { background: linear-gradient(180deg, var(--brand), var(--brand-3)); color: #fff; border-color: transparent; }
.node-card .nc-ic svg { width: 17px; height: 17px; }
.node-card .nc-t { font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 1.12; color: var(--text); }
.node-card .nc-s { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-top: 3px; letter-spacing: .01em; }
.node-card.nc-compute { width: 142px; }
.node-card.nc-wide { width: 188px; }

/* diagram caption chip bottom-left */
.diagram-chip {
  position: absolute;
  left: 0; bottom: -2px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--text-muted);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 12px; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.diagram-chip.on { opacity: 1; transform: none; }
.diagram-chip .lock { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

/* ============================================================
   SOFTWARE SECTION
   ============================================================ */
.soft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 56px; align-items: stretch; }
.panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
/* code editor — kept DARK as an embedded IDE card */
.panel.editor { background: #0E1726; border-color: rgba(15,23,42,0.16); display: flex; flex-direction: column; }
.editor-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); min-width: 0; }
.editor .editor-bar { background: rgba(255,255,255,0.03); border-bottom-color: rgba(255,255,255,0.08); }
.editor-bar .dots { display: flex; gap: 7px; flex: none; }
.editor-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.editor-bar .dots i:nth-child(1){ background:#ff5f57; } .editor-bar .dots i:nth-child(2){ background:#febc2e; } .editor-bar .dots i:nth-child(3){ background:#28c840; }
.editor-bar .fname { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin-left: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor .editor-bar .fname { color: #8aa0b8; }
.editor-bar .lang { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 11px; color: var(--brand-2); border: 1px solid var(--border-glow); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.editor .editor-bar .lang { color: #58c0ff; }
.code { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; padding: 18px 18px 20px; margin: 0; overflow-x: auto; color: #e2e8f0; }
.code .ln { display: block; white-space: pre; }
.tok-key { color: #c084fc; }
.tok-fn { color: #58c0ff; }
.tok-str { color: #6ee7b7; }
.tok-num { color: #fca5a5; }
.tok-com { color: #6b7c93; font-style: italic; }
.tok-var { color: #e2e8f0; }
.tok-punc { color: #94a3b8; }
.cursor-blink { display:inline-block; width:8px; height:16px; background: #58c0ff; vertical-align:-2px; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* api viz — light card */
.api-block { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.api-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); transition: border-color .25s, transform .25s, box-shadow .25s; }
.api-row:hover { border-color: var(--border-glow); transform: translateX(4px); box-shadow: var(--glow-soft); }
.api-method { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; letter-spacing: .04em; }
.m-get { color: #0a8f54; background: rgba(16,185,129,.12); }
.m-post { color: var(--brand-3); background: rgba(29,161,242,.12); }
.m-put { color: #b27908; background: rgba(252,211,77,.18); }
.m-del { color: #d23b3b; background: rgba(252,165,165,.22); }
.api-path { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.api-status { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.api-status .sd { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.api-foot { margin-top: 4px; display:flex; align-items:center; justify-content:space-between; font-family: var(--font-mono); font-size:12px; color: var(--text-muted); }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.fcard {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.fcard::before { content:""; position:absolute; inset:0; background: radial-gradient(300px 160px at 80% -20%, rgba(29,161,242,.10), transparent 70%); opacity:0; transition: opacity .3s; }
.fcard:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--glow-soft), var(--shadow-card); }
.fcard:hover::before { opacity: 1; }
.fcard .fic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--border-glow); background: var(--brand-soft); color: var(--brand); }
.fcard .fic svg { width: 22px; height: 22px; }
.fcard h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 18px 0 0; color: var(--text); }
.fcard p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 9px 0 0; }
.fcard .ftags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.fcard .ftags span { font-family: var(--font-mono); font-size: 11px; color: var(--brand-3); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; background: var(--surface-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.contact-left {
  padding: 44px;
  background:
    radial-gradient(420px 320px at 110% -10%, rgba(29,161,242,0.14), transparent 70%),
    linear-gradient(180deg, rgba(29,161,242,0.05), rgba(255,255,255,0));
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.contact-left h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; margin: 14px 0 0; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.contact-left p.sub { color: var(--text-muted); margin: 14px 0 0; line-height: 1.6; font-size: 15px; }
.contact-info { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.cinfo { display: flex; gap: 14px; align-items: flex-start; }
.cinfo .ci { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border-glow); background: var(--brand-soft); color: var(--brand); }
.cinfo .ci svg { width: 18px; height: 18px; }
.cinfo .ck { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.cinfo .cv { font-size: 15.5px; color: var(--text); margin-top: 3px; font-weight: 600; }
.cinfo a.cv:hover { color: var(--brand-3); }

.contact-form { padding: 44px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--text-2); margin-bottom: 8px; }
.field .req { color: var(--brand); }
.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: #9aa7b8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,161,242,0.16); background: #fff; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231DA1F2' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer; }
.select option { background: #fff; color: var(--text); }
.textarea { resize: vertical; min-height: 118px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 6px; font-size: 16px; padding: 15px; position: relative; overflow: hidden; }
.form-submit.sending { pointer-events: none; opacity: .85; }
.form-submit.sent { background: linear-gradient(180deg, #34d399, #10b981); color: #042018; box-shadow: 0 0 40px rgba(16,185,129,.4); }
.form-submit.error { background: linear-gradient(180deg, #f87171, #ef4444); color: #fff; box-shadow: 0 0 40px rgba(239,68,68,.35); }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; position: relative; background: var(--bg-1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 28px; }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 18px 0 0; max-width: 30ch; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; transition: color .2s, transform .2s; width: fit-content; }
.footer-col a:hover { color: var(--brand-3); transform: translateX(4px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 18px; }
.footer-bottom .cr { color: var(--text-muted); font-size: 13.5px; }
.footer-bottom .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-3); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border-2); background: #fff; color: var(--text-2); transition: all .25s; }
.socials a:hover { color: var(--brand-3); border-color: var(--border-glow); box-shadow: var(--glow-soft); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(255,255,255,0.97); border: 1px solid var(--border-2);
    border-radius: 16px; padding: 10px; gap: 2px; backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
  }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; order: -1; }
  .cloud-inner { grid-template-columns: 1fr; }
  .cloud-copy { display: none; }
  .soft-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 84px 0; }
  .wrap { padding: 0 18px; }
  .cloud-inner { padding: 0 18px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-left, .contact-form { padding: 30px 24px; }
  .feature-cards { grid-template-columns: 1fr; }
}

/* Reduced motion */
.reduce-motion .reveal { opacity: 1 !important; transform: none !important; }
.reduce-motion .tile { opacity: 1 !important; transform: none !important; animation: none !important; }
.reduce-motion .marquee-track, .reduce-motion .hero-orbit { animation: none !important; }
.reduce-motion .pkt, .reduce-motion .pkt-halo { display: none !important; }
