/* ===== Sistemas Club — global styles ===== */
:root {
  --bg: #fafafa;
  --bg-2: #f1f1f1;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --accent: #0040ff;
  --accent-2: #0066ff;
  --accent-soft: #e6efff;
  --shadow-soft: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== Layout ===== */
.page { width: 100%; min-height: 100vh; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250,250,250,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); position: relative;
  display: grid; place-items: center; color: white;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  overflow: hidden;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, var(--accent-2) 100%);
  opacity: .85;
}
.brand-mark span { position: relative; z-index: 1; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: 14px; padding: 8px 14px; border-radius: 999px;
  color: #333; transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: rgba(0,0,0,0.05); color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 9px 16px 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: none; transition: transform .15s ease, background .2s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta .arrow {
  width: 16px; height: 16px; transition: transform .25s ease;
}
.nav-cta:hover .arrow { transform: translate(2px, -2px); }
@media (max-width: 720px) {
  .nav-links .nav-link { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: none; transition: all .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink); color: #fff;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0,64,255,0.5); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--ink); color: white; border-color: var(--ink); }
.btn .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,102,255,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(0,102,255,0.05); }
}

/* ===== Hero shared ===== */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}

/* === HERO 1: Big kinetic type === */
.hero-1 .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
}
.hero-1 .blob {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero-1 .blob.a { top: -120px; right: -100px; }
.hero-1 .blob.b { bottom: -200px; left: -100px; width: 500px; height: 500px; animation-delay: -7s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}

.hero-1 h1 {
  font-size: clamp(56px, 10vw, 168px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 28px 0 32px;
  text-wrap: balance;
}
.hero-1 h1 .ital {
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero-1 h1 .strike {
  position: relative; display: inline-block;
  color: var(--muted);
}
.hero-1 h1 .underline {
  background: linear-gradient(transparent 70%, var(--accent-soft) 70%);
  padding: 0 0.05em;
}
.hero-1 .sub {
  max-width: 600px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: #444;
  line-height: 1.55;
  margin: 0 0 36px;
}
.hero-1 .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-1 .meta-row {
  display: flex; gap: 40px; margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 28px; flex-wrap: wrap;
}
.hero-1 .meta-row .item .num {
  font-size: 40px; font-weight: 500; letter-spacing: -0.02em;
  display: block; line-height: 1;
}
.hero-1 .meta-row .item .lab {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 8px; display: block;
}

/* Kinetic word swap */
.kinetic-word {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 0 0.15em;
  border-radius: 0.08em;
  position: relative;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1;
}
.kinetic-word .slot {
  display: inline-block;
  vertical-align: top;
  height: 0.95em;
  overflow: hidden;
  position: relative;
}
.kinetic-word .slot ul {
  list-style: none; padding: 0; margin: 0;
  animation: rotateWords 8s steps(4) infinite;
}
.kinetic-word .slot li {
  height: 0.95em; line-height: 0.95;
  white-space: nowrap;
}
@keyframes rotateWords {
  0%, 22% { transform: translateY(0); }
  25%, 47% { transform: translateY(-0.95em); }
  50%, 72% { transform: translateY(-1.9em); }
  75%, 97% { transform: translateY(-2.85em); }
  100% { transform: translateY(-3.8em); }
}

/* === HERO 2: Terminal / split === */
.hero-2 { padding: 130px 0 60px; }
.hero-2 .split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-2 .split { grid-template-columns: 1fr; gap: 40px; }
}
.hero-2 h1 {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.hero-2 h1 .accent { color: var(--accent); }
.hero-2 h1 .box {
  display: inline-block;
  background: var(--ink); color: var(--bg);
  padding: 0 0.18em 0.04em; border-radius: 8px;
}
.hero-2 .sub { font-size: 18px; color: #444; line-height: 1.6; max-width: 520px; margin: 0 0 32px; }
.hero-2 .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.terminal {
  background: var(--ink); color: #e9e9e9;
  border-radius: 18px; padding: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 13.5px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.5);
  position: relative;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: #161616; border-bottom: 1px solid #222;
}
.terminal-bar .lights { display: flex; gap: 6px; }
.terminal-bar .lights span { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.terminal-bar .lights span:nth-child(1) { background: #ff5f57; }
.terminal-bar .lights span:nth-child(2) { background: #febc2e; }
.terminal-bar .lights span:nth-child(3) { background: #28c840; }
.terminal-bar .title { color: #888; font-size: 12px; flex: 1; text-align: center; }
.terminal-body { padding: 22px 24px; }
.term-line { display: block; margin-bottom: 6px; white-space: pre; }
.term-prompt { color: #6ad7ff; }
.term-cmd { color: #fff; }
.term-out { color: #888; }
.term-ok { color: #5ee27f; }
.term-warn { color: #ffb45c; }
.term-bar {
  display: block; height: 4px; background: #222; border-radius: 2px;
  margin: 8px 0; position: relative; overflow: hidden;
}
.term-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-2), #6ad7ff);
  border-radius: 2px;
  animation: progress 3s ease-in-out infinite;
}
@keyframes progress {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(0); }
  100% { transform: translateX(0); }
}
.term-cursor {
  display: inline-block; width: 8px; height: 16px;
  background: #fff; vertical-align: -3px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* === HERO 3: Editorial mosaic === */
.hero-3 { padding: 130px 0 60px; }
.hero-3 .mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
@media (max-width: 980px) {
  .hero-3 .mosaic { grid-template-columns: 1fr; }
}
.hero-3 .tile {
  border-radius: 24px;
  padding: 36px;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.hero-3 .tile:hover { transform: translateY(-4px); }
.hero-3 .tile.headline {
  grid-row: 1 / 3;
  background: var(--ink); color: var(--bg);
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 540px;
}
.hero-3 .tile.headline h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 24px 0 0;
  text-wrap: balance;
}
.hero-3 .tile.headline h1 .accent { color: var(--accent-2); font-style: italic; font-weight: 400; }
.hero-3 .tile.headline .bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero-3 .tile.headline .sub { font-size: 16px; color: #aaa; max-width: 380px; margin: 0; line-height: 1.5; }

.hero-3 .tile.metric {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-3 .tile.metric .big {
  font-size: 88px; font-weight: 500; letter-spacing: -0.04em; line-height: 1;
}
.hero-3 .tile.metric .big sup { font-size: 0.35em; vertical-align: top; color: var(--accent); }
.hero-3 .tile.metric .label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-3 .tile.cta {
  background: var(--accent);
  color: #fff;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-3 .tile.cta h3 {
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0;
}
.hero-3 .tile.cta .arrow {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .3s ease, background .2s ease;
}
.hero-3 .tile.cta:hover .arrow { transform: rotate(-45deg) scale(1.08); background: rgba(255,255,255,0.25); }

/* === Marquee === */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 16px;
}
.marquee-item .sep {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === Sections === */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end; margin-bottom: 72px;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
  font-weight: 500; margin: 16px 0 0;
  text-wrap: balance;
}
.section-head h2 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.section-head .lede {
  font-size: 18px; color: #444; line-height: 1.55; max-width: 460px;
  justify-self: end;
}

/* Services */
.services { background: var(--bg); }
.service-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  position: relative; overflow: hidden;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  cursor: default;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.2);
}
.service-card .corner-tag {
  position: absolute; top: 24px; right: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: 36px; font-weight: 500; letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.service-card .desc { color: #555; font-size: 16px; line-height: 1.55; margin: 0 0 24px; max-width: 90%; }
.service-card ul.feats {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.service-card ul.feats li {
  font-size: 15px; color: var(--ink-2);
  display: flex; align-items: center; gap: 12px;
}
.service-card ul.feats li::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
}
.service-card .visual {
  margin-top: auto;
  border-radius: 16px;
  background: #f5f5f5;
  position: relative; overflow: hidden;
  height: 180px;
}

/* Phone mock */
.phone-mock {
  position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 200px; height: 380px;
  background: var(--ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
}
.phone-mock .screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--accent), #6ad7ff);
  border-radius: 28px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 20px 14px;
  color: white;
  font-size: 11px;
}
.phone-mock .notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 50px; height: 5px; background: #000; border-radius: 4px; z-index: 2; }
.phone-mock .top-row { display: flex; justify-content: space-between; margin-top: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.phone-mock .title { font-size: 14px; font-weight: 600; margin-top: 16px; }
.phone-mock .card-pill { background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px; margin-top: 10px; font-size: 10px; }
.phone-mock .card-pill.big { padding: 14px; }

/* Browser mock */
.browser-mock {
  position: absolute; left: 24px; right: 24px; bottom: -20px;
  height: 240px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25), 0 0 0 1px var(--line);
  overflow: hidden;
}
.browser-mock .bar { background: #f1f1f1; padding: 8px 10px; display: flex; align-items: center; gap: 6px; }
.browser-mock .bar span { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d4; }
.browser-mock .bar .url { flex: 1; height: 16px; background: #e5e5e5; border-radius: 4px; margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #888; padding: 2px 8px; display: flex; align-items: center; }
.browser-mock .body { padding: 18px; }
.browser-mock .hero-block { height: 56px; background: linear-gradient(135deg, var(--ink), var(--accent)); border-radius: 8px; margin-bottom: 12px; display: flex; align-items: center; padding: 0 14px; color: white; font-size: 12px; font-weight: 600; }
.browser-mock .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.browser-mock .row > div { height: 60px; background: #f5f5f5; border-radius: 8px; }
.browser-mock .row > div:first-child { background: var(--accent-soft); border: 1px solid rgba(0,64,255,0.2); }

/* Differentials */
.diffs {
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.diffs::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.diffs .container { position: relative; }
.diffs .section-head h2 .accent { color: var(--accent-2); }
.diffs .section-head .lede { color: #aaa; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.diff-card:hover {
  background: rgba(0,102,255,0.08);
  border-color: var(--accent-2);
  transform: translateY(-4px);
}
.diff-card .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--accent-2); letter-spacing: 0.1em;
}
.diff-card h3 {
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  margin: 56px 0 12px;
}
.diff-card p {
  color: #aaa; font-size: 15px; line-height: 1.55; margin: 0;
}

/* Process */
.process { background: var(--bg); }
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 140px 1fr 1fr 80px; gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: all .25s ease;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { background: rgba(0,102,255,0.03); padding-left: 16px; padding-right: 16px; margin-left: -16px; margin-right: -16px; border-radius: 12px; }
.step .num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--muted); }
.step h4 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.step p { font-size: 15px; color: #555; line-height: 1.55; margin: 0; }
.step .duration { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step .duration { text-align: left; }
}

/* CTA / contact */
.cta-section {
  padding: 140px 0;
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.cta-section .bg-text {
  position: absolute; left: -40px; right: -40px; bottom: -80px;
  font-size: 28vw; font-weight: 600; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.04);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-section .inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
}
@media (max-width: 980px) { .cta-section .inner { grid-template-columns: 1fr; gap: 40px; } }
.cta-section h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  margin: 24px 0 28px;
}
.cta-section h2 .accent { color: var(--accent-2); font-style: italic; font-weight: 400; }
.cta-section .lede { color: #aaa; font-size: 18px; line-height: 1.6; max-width: 460px; margin: 0 0 32px; }
.cta-section .contact-row { display: flex; flex-direction: column; gap: 16px; }
.cta-section .contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
}
.cta-section .contact-item .lab { color: #888; min-width: 110px; }
.cta-section .contact-item .val { font-size: 18px; color: white; }
.cta-section .contact-item a { transition: color .2s ease; }
.cta-section .contact-item a:hover { color: var(--accent-2); }

/* Form */
.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(20px);
}
.form-card .form-title {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em; color: #888;
  margin-bottom: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #888;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  padding: 10px 0;
  outline: none;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-bottom-color: var(--accent-2);
}
.form-row select option { background: var(--ink); color: white; }
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row .chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.form-chip {
  font-family: inherit; font-size: 13px;
  padding: 8px 14px; border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #ccc;
  cursor: pointer;
  transition: all .15s ease;
}
.form-chip:hover { border-color: white; color: white; }
.form-chip.active {
  background: var(--accent); color: white; border-color: var(--accent);
}
.form-card .submit {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; width: 100%;
  margin-top: 12px;
  background: var(--accent-2); color: white;
  padding: 18px 22px; border-radius: 14px;
  border: none; font-size: 16px; font-weight: 500;
  transition: all .2s ease;
}
.form-card .submit:hover { background: white; color: var(--ink); transform: translateY(-2px); }
.form-card .submit .arrow { width: 20px; height: 20px; transition: transform .2s ease; }
.form-card .submit:hover .arrow { transform: translate(3px, -3px); }

.success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
}
.success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-2);
  display: grid; place-items: center;
  margin-bottom: 24px;
  animation: pop .5s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.success h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px; }
.success p { color: #aaa; margin: 0; }

/* ===== Market Stats ===== */
.market {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.market-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.market-lede {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}
.market-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 980px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .market-grid { grid-template-columns: 1fr; }
}
.market-card {
  padding: 36px 28px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
  transition: background .2s ease;
}
.market-card:hover { background: rgba(0,102,255,0.03); }
.market-card:last-child { border-right: none; }
@media (max-width: 980px) {
  .market-card:nth-child(2) { border-right: none; }
  .market-card:nth-child(3) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .market-card:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .market-card { border-right: none; border-top: 1px solid var(--line); }
  .market-card:first-child { border-top: none; }
}
.market-num {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.market-num .unit {
  font-size: 0.45em; color: var(--accent);
  margin-left: 4px;
}
.market-lab {
  font-size: 15px; color: #444; line-height: 1.45;
  flex: 1;
}
.market-source {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ===== Compare Table ===== */
.compare { background: var(--bg); }
.compare-table {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.compare-header, .compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr 1fr;
}
.compare-header {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}
.compare-row {
  border-top: 1px solid var(--line);
  transition: background .15s ease;
}
.compare-row:first-of-type { border-top: none; }
.compare-row:hover { background: #fbfbfb; }
.compare-cell {
  padding: 22px 28px;
  font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
.compare-cell.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #fafafa;
  border-right: 1px solid var(--line);
}
.compare-cell.head {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.compare-cell.head .brand-mark {
  width: 22px; height: 22px; border-radius: 6px; font-size: 10px;
}
.compare-cell.highlight {
  background: var(--ink); color: #fff;
  position: relative;
}
.compare-cell.head.highlight {
  font-weight: 600;
}
.compare-cell.value.highlight {
  font-weight: 500;
}
.compare-cell.value.highlight .check {
  color: var(--accent-2);
  flex-shrink: 0;
}
.compare-cell.muted { color: #888; }
.compare-row:last-child .compare-cell.highlight {
  /* keep highlight column edge clean */
}

@media (max-width: 900px) {
  .compare-header { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }
  .compare-row:first-of-type { border-top: 1px solid var(--line); }
  .compare-cell {
    padding: 10px 22px;
    border-right: none !important;
    background: transparent !important;
  }
  .compare-cell.label {
    background: transparent !important;
    color: var(--muted);
    padding-top: 14px;
  }
  .compare-cell.highlight {
    background: var(--ink) !important;
    color: white !important;
    margin: 4px 12px;
    border-radius: 10px;
  }
  .compare-cell.value::before {
    content: attr(data-col);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 8px;
  }
}

/* ===== Configurator ===== */
.contact-tip {
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.18);
  font-size: 13px;
  color: #ccc;
  letter-spacing: 0.02em;
  max-width: 460px;
}
.contact-tip span { color: var(--accent-2); margin-right: 6px; }

.config-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(20px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.config-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,102,255,0.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0,102,255,0.06), transparent 50%);
  pointer-events: none;
}
.config-card > * { position: relative; }

.config-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.config-title h3 {
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em; margin: 6px 0 0;
}
.config-badge {
  font-size: 11px; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.config-score {
  display: flex; flex-direction: column; align-items: flex-end;
  background: rgba(0,102,255,0.12);
  border: 1px solid rgba(0,102,255,0.25);
  padding: 8px 14px; border-radius: 999px;
}
.config-score .lab { font-size: 9px; color: var(--accent-2); letter-spacing: 0.1em; }
.config-score .num { font-size: 18px; font-weight: 600; line-height: 1; margin-top: 2px; }

.config-progress {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-bottom: 8px;
}
.config-progress-bar {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent-2), #6ad7ff);
  border-radius: 2px;
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.config-steps {
  display: flex; justify-content: space-between;
  margin: 10px 0 24px;
  font-family: 'JetBrains Mono', monospace;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.config-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: #666;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.config-step .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #333;
}
.config-step.done .dot { background: var(--accent-2); }
.config-step.done { color: #ccc; }
.config-step.active { color: white; }
.config-step.active .dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.25);
}

.config-estimate {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  margin-bottom: 24px;
  overflow: hidden;
}
.estimate-item {
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
}
.estimate-item:last-child { border-right: none; }
.estimate-item .lab {
  font-size: 9.5px; color: #888;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.estimate-item .val {
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.estimate-item:first-child .val { color: var(--accent-2); font-size: 22px; }

.config-body { min-height: 280px; }
.step-pane { animation: stepIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-q {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: #888;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.step-hint {
  font-size: 11px; color: #666;
  margin-top: 14px; letter-spacing: 0.02em;
}

.opt-stack { display: flex; flex-direction: column; gap: 10px; }
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 540px) {
  .opt-grid { grid-template-columns: 1fr; }
}

.opt-card {
  all: unset;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  color: white;
  text-align: left;
  box-sizing: border-box;
}
.opt-card:hover {
  background: rgba(0,102,255,0.08);
  border-color: rgba(0,102,255,0.4);
  transform: translateY(-2px);
}
.opt-card.on {
  background: rgba(0,102,255,0.16);
  border-color: var(--accent-2);
  box-shadow: 0 8px 24px -12px rgba(0,102,255,0.5);
}

.opt-card.type {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.opt-card.type .opt-icon {
  font-size: 28px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.opt-card.type .opt-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt-card.type .opt-label { font-size: 17px; font-weight: 500; }
.opt-card.type .opt-desc { font-size: 13px; color: #999; }
.opt-card.type .opt-price { font-size: 11px; color: var(--accent-2); white-space: nowrap; }

.opt-card.feat {
  padding: 14px;
  min-height: 120px;
  padding-right: 38px;
}
.opt-card.feat .opt-icon { font-size: 22px; margin-bottom: 4px; }
.opt-card.feat .opt-label { font-size: 14px; font-weight: 500; }
.opt-card.feat .opt-desc { font-size: 11.5px; color: #888; line-height: 1.35; }
.opt-card.feat .opt-price {
  font-size: 10px;
  color: var(--accent-2);
  margin-top: auto;
  padding-top: 6px;
}
.opt-card.feat .opt-check {
  position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  font-size: 13px;
  color: #888; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.opt-card.feat.on .opt-check {
  background: var(--accent-2);
  color: white;
}

.opt-card.style { padding: 16px; gap: 8px; }
.style-swatches {
  display: flex; gap: 0;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}
.style-swatches span { flex: 1; }
.opt-card.style .opt-label { font-size: 15px; font-weight: 500; }
.opt-card.style .opt-desc { font-size: 11.5px; color: #888; }

.config-form-row {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 14px;
}
.config-form-row label {
  font-size: 10px; color: #888;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.config-form-row input,
.config-form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  transition: border-color .2s ease;
}
.config-form-row textarea { resize: vertical; min-height: 60px; }
.config-form-row input:focus,
.config-form-row textarea:focus { border-bottom-color: var(--accent-2); }

.config-submit {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  background: var(--accent-2);
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px; font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.config-submit:hover:not(:disabled) {
  background: white; color: var(--ink);
}
.config-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.config-submit-arrow {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
}

.config-nav {
  display: flex; justify-content: space-between;
  margin-top: 20px; gap: 10px;
}
.config-nav-btn {
  all: unset;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.config-nav-btn.primary { background: white; color: var(--ink); }
.config-nav-btn.primary:hover:not(:disabled) { background: var(--accent-2); color: white; }
.config-nav-btn.primary:disabled { opacity: 0.35; cursor: not-allowed; }
.config-nav-btn.ghost {
  color: #999;
  border: 1px solid rgba(255,255,255,0.12);
}
.config-nav-btn.ghost:hover { color: white; border-color: white; }

.step-success { text-align: center; padding: 12px 0; }
.success-emoji {
  font-size: 48px; margin-bottom: 12px;
  animation: bounce .8s cubic-bezier(.2,1.4,.4,1);
}
@keyframes bounce {
  0% { transform: scale(0) rotate(-15deg); }
  60% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.step-success h3 {
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.success-lede {
  color: #aaa; font-size: 14px;
  margin: 0 0 24px; line-height: 1.55;
}
.success-summary {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: left;
}
.summary-row {
  display: flex; justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13.5px;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .mono {
  font-size: 11px; color: #888;
  text-transform: uppercase; letter-spacing: 0.08em;
  flex-shrink: 0;
}
.summary-row span:last-child { text-align: right; color: white; }
.summary-row.big span:last-child {
  font-size: 16px; font-weight: 500; color: var(--accent-2);
}
.success-actions {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
}

/* ===== Interactive Pipeline Terminal ===== */
.pipeline-terminal {
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.terminal-bar .pl-clock {
  margin-left: 12px;
  color: var(--accent-2);
  font-size: 11px;
}
.terminal-bar .pl-reset {
  all: unset;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.terminal-bar .pl-reset:hover { background: rgba(255,255,255,0.06); color: white; }

/* Pipeline rail */
.pipeline-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 16px 18px 0;
  position: relative;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid #1f1f1f;
  padding-bottom: 14px;
}
.pl-stage {
  all: unset;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background .2s ease;
}
.pl-stage:disabled { cursor: default; }
.pl-stage:not(:disabled):hover { background: rgba(255,255,255,0.04); }
.pl-stage-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: #666;
  letter-spacing: 0.08em;
}
.pl-stage-label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
.pl-stage-status {
  display: flex; align-items: center;
  height: 14px;
  margin-top: 2px;
}
.pl-stage-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #333;
}
.pl-stage-status .check {
  color: #5ee27f;
  font-size: 11px;
  font-weight: 700;
}
.pl-stage-status .spinner {
  width: 10px; height: 10px;
  border: 1.5px solid rgba(0,102,255,0.3);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pl-stage.done .pl-stage-label { color: #5ee27f; }
.pl-stage.done .pl-stage-num { color: rgba(94,226,127,0.7); }
.pl-stage.active .pl-stage-label { color: var(--accent-2); }
.pl-stage.active .pl-stage-num { color: rgba(0,102,255,0.8); }

.pl-rail-track {
  grid-column: 1 / -1;
  position: relative;
  height: 3px;
  background: #1f1f1f;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.pl-rail-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, #5ee27f, var(--accent-2));
  border-radius: 2px;
  transition: width .25s linear;
}

/* Pipeline body */
.pipeline-body {
  flex: 1;
  min-height: 280px;
}

/* Idle state */
.pl-idle {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 20px;
  height: 100%;
}
.pl-idle-glyph {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.25);
  color: var(--accent-2);
  font-size: 22px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  padding-left: 4px;
}
.pl-idle-title {
  font-size: 17px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.pl-idle-sub {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.pl-start {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--accent-2);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .2s ease, transform .2s ease;
}
.pl-start:hover {
  background: white;
  color: var(--ink);
  transform: translateY(-1px);
}
.pl-start-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
  animation: pulse 1.8s ease-in-out infinite;
}
.pl-start:hover .pl-start-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.25);
}

/* Output */
.pl-output .term-line {
  animation: termLineIn .25s ease both;
}
@keyframes termLineIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.inline-bar {
  display: inline-block;
  width: 180px; height: 5px;
  background: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: middle;
  margin-left: 4px;
}
.inline-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent-2), #6ad7ff);
  border-radius: 2px;
  transition: width .15s linear;
}
.term-launch {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-2), #6ad7ff);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 8px;
  animation: launchPop .6s cubic-bezier(.2,1.4,.4,1);
}
@keyframes launchPop {
  0% { transform: scale(0) rotate(-3deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(1deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.pl-summary {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1f1f1f;
}
.pl-summary-row {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
}
.pl-summary-row .lab { color: #666; font-size: 11px; }
.pl-summary-row span:last-child { color: #ddd; }

/* ===== Emerging phone (out of terminal) ===== */
.pipeline-terminal { position: relative; }
.pl-phone {
  position: absolute;
  bottom: -30px;
  right: 20px;
  width: 160px;
  height: 320px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80%) scale(0.7) rotate(-3deg);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,1.2,.4,1);
}
.pl-phone.show {
  opacity: 1;
  transform: translateY(-110px) scale(1) rotate(-2deg);
}
.pl-phone.show.done {
  transform: translateY(-110px) scale(1) rotate(-1deg);
}

.pl-phone-device {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1f1f1f, #050505);
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    0 -2px 0 rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}
.pl-phone-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,102,255,0.4), transparent 60%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: -1;
}
.pl-phone.show .pl-phone-glow {
  opacity: 1;
  animation: phoneGlow 3s ease-in-out infinite;
}
@keyframes phoneGlow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.pl-phone-notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 5px;
  background: #000;
  border-radius: 4px;
  z-index: 2;
}
.pl-phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a2e5f 0%, #0066ff 50%, #6ad7ff 100%);
  border-radius: 22px;
  padding: 14px 12px;
  color: white;
  display: flex; flex-direction: column;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  overflow: hidden;
}
.pl-phone-screen::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.pl-phone-status {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  margin-top: 6px;
  opacity: 0.85;
}

.pl-phone-icon {
  margin: 16px auto 12px;
  width: 36px; height: 36px;
  background: white;
  color: var(--ink);
  border-radius: 9px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,0.3);
}

.pl-phone-title {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
}
.pl-phone-live {
  display: inline-flex; align-items: center; gap: 5px;
  align-self: center;
  margin-top: 6px;
  padding: 3px 9px;
  background: rgba(94,226,127,0.9);
  color: #003319;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
.pl-phone-live .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #003319;
  animation: pulse 1.4s ease-in-out infinite;
}

.pl-phone-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 16px;
}
.pl-phone-stat {
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 8px 6px;
  display: flex; flex-direction: column;
  align-items: center;
  backdrop-filter: blur(6px);
}
.pl-phone-stat .big {
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.02em;
}
.pl-phone-stat .lab {
  font-size: 8px;
  opacity: 0.8;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pl-phone-stores {
  display: flex; gap: 6px;
  margin-top: auto;
  padding-bottom: 4px;
}
.pl-phone-stores .store {
  flex: 1;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 4px;
  border-radius: 6px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 980px) {
  .pl-phone { right: 12px; bottom: -20px; width: 130px; height: 260px; }
  .pl-phone.show, .pl-phone.show.done { transform: translateY(-80px) scale(1) rotate(-2deg); }
}
@media (max-width: 560px) {
  .pl-phone { display: none; }
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  flex-wrap: wrap;
}

/* ===== Brand v2 (interactive logo) ===== */
.brand-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark-v2 {
  display: inline-block;
  border-radius: 22%;
  overflow: hidden;
  position: relative;
  transition: transform .25s cubic-bezier(.2,1.6,.4,1), box-shadow .25s ease;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 14px -8px rgba(0,0,0,0.25);
}
.brand-mark-v2.hov {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 12px -2px rgba(0,64,255,0.35), 0 10px 30px -10px rgba(0,0,0,0.4);
}
.brand-mark-v2 svg { display: block; }
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  min-width: 0;
}
.wordmark .wm-left,
.wordmark .wm-right {
  font-variant-ligatures: none;
  font-feature-settings: 'tnum' on;
}
.wordmark .wm-dot {
  color: var(--accent);
  display: inline-block;
  margin: 0 -0.02em;
  transition: transform .3s cubic-bezier(.2,1.6,.4,1);
}
.wordmark:hover .wm-dot {
  transform: scale(1.6) translateY(-1px);
}

/* Footer-on-light tweak: brand-mark-v2 keeps its dark square; no change needed. */
.footer .brand-v2 { color: var(--ink); }
.footer-inner .brand-v2 { font-family: inherit; }

/* ===== Reveal on scroll =====
 * Default state is fully VISIBLE. The .in class triggers a one-shot
 * fade-in keyframe animation. If JS/observer fails, content is still
 * visible — degrades gracefully. */
.reveal { opacity: 1; }
.reveal.in {
  animation: revealIn .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal.delay-1.in { animation-delay: .08s; }
.reveal.delay-2.in { animation-delay: .16s; }
.reveal.delay-3.in { animation-delay: .24s; }
.reveal.delay-4.in { animation-delay: .32s; }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  all: unset;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: padding .3s ease;
}
.faq-item:hover { padding-left: 16px; padding-right: 16px; background: rgba(0,102,255,0.025); }
.faq-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  padding-top: 4px;
}
.faq-q {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.faq-icon {
  position: relative; width: 22px; height: 22px;
  display: grid; place-items: center;
  margin-top: 6px;
}
.faq-icon span {
  position: absolute; background: var(--ink);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.4,1.5,.4,1);
}
.faq-icon span:first-child { width: 14px; height: 2px; }
.faq-icon span:last-child  { width: 2px; height: 14px; }
.faq-item.open .faq-icon span:last-child { transform: rotate(90deg); }

.faq-a-wrap {
  grid-column: 2 / 3;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1);
  margin-top: 0;
  overflow: hidden;
}
.faq-item.open .faq-a-wrap {
  grid-template-rows: 1fr;
  margin-top: 16px;
}
.faq-a {
  min-height: 0;
  font-size: 16px; line-height: 1.6; color: #444;
  margin: 0;
  max-width: 760px;
  padding-right: 24px;
}
.faq-item.open .faq-a {
  padding-bottom: 4px;
}
@media (max-width: 720px) {
  .faq-item { grid-template-columns: 50px 1fr auto; column-gap: 14px; }
  .faq-num { font-size: 10px; }
  .faq-q { font-size: 18px; }
  .faq-a-wrap { grid-column: 1 / -1; }
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  /* opacity/transform/pointer-events driven by React inline style.
     Transition only on background — putting opacity/transform on
     transition causes a chromium-in-iframe stuck-paint bug here. */
  transition: background .2s ease;
}
.sticky-cta:hover {
  background: var(--accent);
}
.sticky-cta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
.sticky-cta:hover .dot {
  background: white;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
}
@media (max-width: 560px) {
  .sticky-cta { right: 16px; bottom: 16px; font-size: 14px; padding: 12px 18px 12px 14px; }
}

/* ===== Custom Cursor ===== */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea, select, [data-cursor] { cursor: none; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  mix-blend-mode: difference;
  transition: opacity .15s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  transition: width .25s cubic-bezier(.4,1.5,.4,1),
              height .25s cubic-bezier(.4,1.5,.4,1),
              background .15s ease,
              border-color .15s ease,
              opacity .15s ease;
  mix-blend-mode: difference;
  border-color: rgba(250,250,250,0.7);
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  background: rgba(250,250,250,0.15);
  border-color: rgba(250,250,250,0.9);
}
.cursor-ring.down {
  width: 26px; height: 26px;
}
@media (pointer: coarse), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Selection */
::selection { background: var(--accent); color: white; }
