/* bitcd.cloud — redesign */

:root {
  /* base palette */
  --bg: #07070b;
  --bg-2: #0c0c14;
  --surface: #10101a;
  --surface-2: #161622;
  --line: #1e1e2e;
  --line-2: #2a2a3d;
  --ink: #f2f2f7;
  --ink-2: #b8b8c7;
  --ink-3: #7a7a8c;
  --ink-4: #4a4a5c;

  /* brand */
  --purple: #6A3DFB;
  --purple-deep: #4B22C7;
  --purple-glow: #8A63FF;
  --magenta: #FF3D9E;
  --magenta-deep: #D01D74;
  --magenta-glow: #FF6FB8;
  --gradient: linear-gradient(100deg, #FF3D9E 0%, #A545E8 48%, #6A3DFB 100%);
  --gradient-soft: linear-gradient(100deg, rgba(255,61,158,.18) 0%, rgba(106,61,251,.18) 100%);

  /* accent intensity (tweakable) */
  --accent-strength: 1;

  /* type */
  --f-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* spacing */
  --gutter: clamp(20px, 3vw, 40px);
  --section-y: clamp(80px, 10vw, 160px);
  --maxw: 1280px;
  --density: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: 'ss01', 'ss02'; }
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ambient page glow */
.page-atmos {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(106, 61, 251, calc(.22 * var(--accent-strength))), transparent 60%),
    radial-gradient(800px 500px at 10% 10%, rgba(255, 61, 158, calc(.18 * var(--accent-strength))), transparent 55%),
    radial-gradient(1200px 700px at 50% 110%, rgba(106, 61, 251, calc(.12 * var(--accent-strength))), transparent 60%);
}

/* subtle grid overlay */
.page-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 85%);
}

main, header, footer { position: relative; z-index: 1; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(7,7,11,.85), rgba(7,7,11,.6));
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7,7,11,.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em;
  font-size: 19px;
}
.brand .mark { width: 30px; height: 30px; }
.brand b { font-weight: 700; }
.brand .tld { color: var(--ink-3); font-weight: 500; }

.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.nav-list a {
  color: var(--ink-2); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .18s;
}
.nav-list a:hover { color: var(--ink); }
.nav-list .chip {
  font-size: 10px; padding: 2px 6px; border-radius: 999px;
  background: rgba(255,61,158,.15); color: var(--magenta-glow);
  font-family: var(--f-mono); font-weight: 600; letter-spacing: .02em;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600;
  font-size: 14px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 8px 24px -8px rgba(255,61,158,.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 14px 40px -10px rgba(255,61,158,.65);
}
.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(138,99,255,.5); background: rgba(138,99,255,.06); }
.btn-tiny { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  isolation: isolate;
}
.hero-shell {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-shell { grid-template-columns: 1fr; gap: 40px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.02);
  font-size: 12.5px; color: var(--ink-2);
  font-family: var(--f-mono);
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(255,61,158,.6);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: white; font-family: var(--f-display); font-weight: 700;
}
.eyebrow b { color: var(--ink); font-weight: 600; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 22px 0 22px;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-title .strike {
  color: var(--ink-3);
  position: relative;
  font-style: normal;
}
.hero-title .strike::after {
  content: ''; position: absolute; inset: 48% 0 auto 0; height: 3px;
  background: var(--ink-3); border-radius: 2px;
  transform: rotate(-2deg);
}

.hero-sub {
  max-width: 52ch; color: var(--ink-2);
  font-size: clamp(16px, 1.35vw, 18px); line-height: 1.55;
  margin: 0 0 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-subdomains {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3);
  align-items: center;
}
.hero-subdomains .label { color: var(--ink-4); }
.hero-subdomains .sub { color: var(--ink-2); }
.hero-subdomains .sub b { color: var(--magenta-glow); font-weight: 500; }

/* ============ HERO INFINITY VISUAL ============ */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
.hero-visual .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(138,99,255,.15);
}
.hero-visual .ring.r2 { inset: 8%; border-color: rgba(255,61,158,.1); }
.hero-visual .ring.r3 { inset: 18%; border-color: rgba(138,99,255,.18); border-style: dashed; }

.hero-visual .orbit {
  position: absolute; inset: 0;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .orbit .node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 12px var(--magenta);
}
.hero-visual .orbit .node:nth-child(1) { top: 2%; left: 50%; transform: translateX(-50%); background: var(--purple-glow); box-shadow: 0 0 12px var(--purple-glow); }
.hero-visual .orbit .node:nth-child(2) { top: 50%; right: 2%; transform: translateY(-50%); }
.hero-visual .orbit .node:nth-child(3) { bottom: 2%; left: 50%; transform: translateX(-50%); background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.hero-visual .orbit .node:nth-child(4) { top: 50%; left: 2%; transform: translateY(-50%); background: var(--magenta-glow); box-shadow: 0 0 12px var(--magenta-glow); }

.hero-infinity {
  position: absolute; inset: 20%;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 40px rgba(255, 61, 158, calc(.4 * var(--accent-strength)))) drop-shadow(0 0 60px rgba(106, 61, 251, calc(.3 * var(--accent-strength))));
}
.hero-infinity img {
  width: 100%; height: 100%; object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.hero-visual .tag {
  position: absolute; padding: 8px 12px; border-radius: 10px;
  background: rgba(22,22,34,.85);
  border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-2);
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px;
  animation: bob 4s ease-in-out infinite;
}
.hero-visual .tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(255,61,158,.6);
  animation: pulse 1.8s infinite;
}
.hero-visual .tag.t1 { top: 8%; left: -4%; }
.hero-visual .tag.t2 { top: 38%; right: -8%; animation-delay: -1s; }
.hero-visual .tag.t3 { bottom: 12%; left: 2%; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,61,158,.6); }
  80%  { box-shadow: 0 0 0 10px rgba(255,61,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,61,158,0); }
}

/* ============ SECTION SHELL ============ */
section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--magenta-glow); text-transform: lowercase;
  letter-spacing: 0.02em; margin-bottom: 18px;
}
.section-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 8px var(--magenta);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-lead {
  color: var(--ink-2); font-size: 17px;
  max-width: 58ch;
  text-wrap: pretty;
}

/* ============ STATS ============ */
.stats {
  padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 20% 50%, rgba(255,61,158,.08), transparent 70%),
    radial-gradient(600px 200px at 80% 50%, rgba(106,61,251,.08), transparent 70%);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-radius: 16px; overflow: hidden;
}
@media (max-width: 800px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--bg);
  padding: 28px 28px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat-value {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(32px, 3.6vw, 44px);
  letter-spacing: -0.02em; line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-value .suffix { font-size: .7em; color: var(--magenta-glow); }
.stat-label { font-size: 13px; color: var(--ink-3); }
.stat-sub { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); margin-top: 10px; }

/* ============ INTEGRATIONS / MARQUEE ============ */
.integrations {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
.int-cell {
  background: var(--bg);
  padding: 26px 20px; min-height: 110px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 10px;
  transition: background .25s;
  cursor: default;
}
.int-cell:hover { background: var(--surface); }
.int-cell .name { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.int-cell .cat { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .04em; }
.int-cell .icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  color: white; letter-spacing: -.02em;
}

/* ============ TECH / ARCH ============ */
.tech {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.arch {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: stretch;
}
@media (max-width: 1000px) { .arch { grid-template-columns: 1fr; } }

.arch-diagram {
  position: relative;
  background: linear-gradient(180deg, rgba(22,22,34,.5), rgba(16,16,26,.5));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  min-height: 440px;
  overflow: hidden;
}
.arch-diagram::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.arch-stack { position: relative; display: flex; flex-direction: column; gap: 16px; }
.arch-layer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-size: 13.5px;
}
.arch-layer .lbl { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .05em; }
.arch-layer .val { font-weight: 500; }
.arch-layer.brand {
  background: linear-gradient(100deg, rgba(255,61,158,.12), rgba(106,61,251,.12));
  border-color: rgba(138,99,255,.3);
}
.arch-layer.brand .val { color: white; font-weight: 600; }
.arch-layer .pill {
  font-family: var(--f-mono); font-size: 11px; padding: 3px 8px;
  border-radius: 999px; background: rgba(138,99,255,.12); color: var(--purple-glow);
  border: 1px solid rgba(138,99,255,.2);
}
.arch-conn {
  height: 20px; border-left: 2px dashed var(--line-2); margin-left: 40px;
}

.arch-side { display: flex; flex-direction: column; gap: 18px; }
.arch-feat {
  border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
  background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.arch-feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.arch-feat h4 {
  margin: 0 0 8px; font-family: var(--f-display); font-weight: 600;
  font-size: 17px; letter-spacing: -.015em;
  display: flex; align-items: center; gap: 10px;
}
.arch-feat h4 .bullet {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gradient);
}
.arch-feat p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ============ PROBLEM / SOLUTION ============ */
.problem {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.prob-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
@media (max-width: 900px) { .prob-grid { grid-template-columns: 1fr; } }

.prob-col { padding: 36px; background: var(--bg); }
.prob-col h3 {
  margin: 0 0 20px; font-family: var(--f-display); font-weight: 600;
  font-size: 20px; letter-spacing: -.015em;
  display: flex; align-items: center; gap: 10px;
}
.prob-col.old h3 .badge { background: rgba(255,80,80,.1); color: #ff8a8a; border: 1px solid rgba(255,80,80,.2); }
.prob-col.new h3 .badge { background: rgba(138,99,255,.12); color: var(--purple-glow); border: 1px solid rgba(138,99,255,.25); }
.prob-col h3 .badge {
  font-family: var(--f-mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px;
  font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
}

.prob-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.prob-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.5;
}
.prob-list .mark {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; margin-top: 2px;
}
.prob-col.old .mark { background: rgba(255,80,80,.1); color: #ff8a8a; }
.prob-col.new .mark {
  background: var(--gradient); color: white;
  box-shadow: 0 0 10px rgba(255,61,158,.4);
}

/* ============ STEPS ============ */
.steps {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 32px;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: border-color .25s, transform .25s;
  counter-increment: step;
}
.step:hover {
  border-color: rgba(138,99,255,.3);
  transform: translateY(-3px);
}
.step::before {
  content: '0' counter(step);
  position: absolute; top: 24px; right: 28px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 56px; line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .9;
  letter-spacing: -.04em;
}
.step .kicker {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  color: var(--ink-4); letter-spacing: .06em; margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 10px; font-family: var(--f-display); font-weight: 600;
  font-size: 22px; letter-spacing: -.02em;
  max-width: 80%;
}
.step p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; }
.step .cmd {
  background: rgba(0,0,0,.4);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--f-mono); font-size: 12.5px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; overflow-x: auto;
}
.step .cmd .prompt { color: var(--magenta-glow); }
.step .cmd .var { color: var(--purple-glow); }

/* ============ SOLUTIONS (TABS) ============ */
.solutions {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.sol-wrap {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 28px;
}
@media (max-width: 900px) { .sol-wrap { grid-template-columns: 1fr; } }

.tablist { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .tablist { flex-direction: row; overflow-x: auto; } }
.tab {
  text-align: left;
  background: transparent; border: none;
  padding: 14px 16px; border-radius: 10px;
  color: var(--ink-3); font-size: 14px; font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.tab:hover { color: var(--ink-2); }
.tab .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4); transition: background .2s;
}
.tab.is-active {
  color: var(--ink);
  background: linear-gradient(100deg, rgba(255,61,158,.12), rgba(106,61,251,.12));
}
.tab.is-active .dot {
  background: var(--gradient);
  box-shadow: 0 0 8px var(--magenta);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.panel-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.panel-head .icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient);
  font-family: var(--f-display); font-weight: 700; color: white;
}
.panel-head h3 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.panel-head .sub-url {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-3);
  margin-left: auto;
  padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px;
}
.panel-head .sub-url b { color: var(--magenta-glow); font-weight: 500; }
.panel-desc { color: var(--ink-2); font-size: 15px; margin: 0 0 22px; max-width: 60ch; }

.panel-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .panel-body { grid-template-columns: 1fr; } }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-2); font-size: 14px;
}
.feat-list .tick {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  color: var(--magenta-glow);
}

.price {
  padding: 22px; border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.3);
}
.price .tier { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; }
.price .amount {
  font-family: var(--f-display); font-weight: 500;
  font-size: 40px; letter-spacing: -.03em; line-height: 1;
  margin: 6px 0;
}
.price .amount .grad-text { display: inline; }
.price .amount .per { font-size: 14px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.price .note { font-size: 13px; color: var(--ink-3); margin: 8px 0 14px; }
.price .btn { width: 100%; justify-content: center; }

/* ============ UPDATES ============ */
.updates { border-top: 1px solid var(--line); background: var(--bg); }
.updates-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 40px;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr; } }

.update-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: border-color .25s, transform .25s;
  overflow: hidden;
}
.update-card::after {
  content: ''; position: absolute; inset: auto -40% -60% auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,158,.25), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.update-card:hover { border-color: rgba(255,61,158,.3); transform: translateY(-3px); }
.update-card:hover::after { opacity: 1; }
.update-card.podcast::after { background: radial-gradient(circle, rgba(106,61,251,.3), transparent 70%); }
.update-card.podcast:hover { border-color: rgba(138,99,255,.4); }

.update-type {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,61,158,.1); color: var(--magenta-glow);
  border: 1px solid rgba(255,61,158,.2);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 20px;
}
.update-card.podcast .update-type {
  background: rgba(138,99,255,.1); color: var(--purple-glow);
  border-color: rgba(138,99,255,.25);
}
.update-card.casestudy .update-type {
  background: rgba(255,255,255,.05); color: var(--ink); border-color: var(--line-2);
}

.update-title {
  margin: 0 0 12px; font-family: var(--f-display);
  font-weight: 600; font-size: 20px;
  letter-spacing: -.02em; line-height: 1.25;
  text-wrap: balance;
}
.update-title a { transition: color .2s; }
.update-card:hover .update-title a { color: var(--ink); }
.update-excerpt { color: var(--ink-2); font-size: 14px; margin: 0 0 24px; line-height: 1.55; }
.update-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3);
  padding-top: 16px; border-top: 1px solid var(--line);
}
.update-meta .author { font-weight: 500; }
.update-meta .date { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-4); }

/* ============ CONTACTS / SIGNUP ============ */
.contacts {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  position: relative; overflow: hidden;
}
.contacts::before {
  content: ''; position: absolute;
  top: -20%; right: -10%; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,158,.12), transparent 60%);
  pointer-events: none;
}
.contacts::after {
  content: ''; position: absolute;
  bottom: -30%; left: -10%; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,61,251,.12), transparent 60%);
  pointer-events: none;
}
.signup {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 30px; } }

.signup-form {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-row label, .form-grid label {
  display: block; font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); margin-bottom: 6px;
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em;
}
.form-row label .req, .form-grid label .req { color: var(--magenta); }
.form-row input, .form-row select,
.form-grid input, .form-grid select {
  width: 100%; padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  color: var(--ink); background: rgba(22,22,34,.6);
  border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.form-row input:focus, .form-row select:focus,
.form-grid input:focus, .form-grid select:focus {
  outline: none;
  border-color: rgba(138,99,255,.5);
  background: rgba(22,22,34,.9);
}
.form-row select, .form-grid select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7a8c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.signup-form .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 10px; }
.form-terms { font-size: 12px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.form-terms a { color: var(--purple-glow); }

.signup-pitch .section-title { margin-bottom: 20px; }
.pitch-bullets { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pitch-bullets li { display: flex; gap: 14px; color: var(--ink-2); font-size: 15px; }
.pitch-bullets .num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient); color: white; font-family: var(--f-display); font-weight: 600; font-size: 14px;
}
.pitch-bullets b { color: var(--ink); font-weight: 600; }
.contact-email { margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.contact-email a { color: var(--magenta-glow); font-weight: 500; font-family: var(--f-mono); }

/* ============ FOOTER CTA ============ */
.cta {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cta-inner {
  position: relative; overflow: hidden;
  padding: 80px 60px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,61,158,.14) 0%, rgba(106,61,251,.14) 100%);
  border: 1px solid rgba(138,99,255,.25);
  text-align: center;
}
@media (max-width: 700px) { .cta-inner { padding: 50px 24px; } }
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -.028em; line-height: 1.05;
  margin: 0 0 16px; position: relative;
}
.cta-sub { color: var(--ink-2); font-size: 17px; margin: 0 auto 28px; max-width: 52ch; position: relative; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
  background: var(--bg);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--ink-3); font-size: 14px; max-width: 34ch; margin: 0 0 18px; }
.footer-col h5 {
  margin: 0 0 16px; font-family: var(--f-mono); font-size: 11px;
  font-weight: 500; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--magenta-glow); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-4); font-family: var(--f-mono);
}
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* ============ TWEAKS ============ */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 280px;
  background: rgba(16,16,26,.95);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(16px);
  display: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  font-size: 13px;
}
.tweaks.open { display: block; }
.tweaks h4 {
  margin: 0 0 14px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
}
.tweaks h4 .close {
  background: none; border: none; color: var(--ink-3); cursor: pointer;
  width: 24px; height: 24px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.tweaks h4 .close:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.tweak-row { margin-bottom: 14px; }
.tweak-row label {
  display: block; font-size: 11px; color: var(--ink-3);
  font-family: var(--f-mono); text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 6px;
}
.tweak-opts { display: flex; gap: 6px; }
.tweak-opts button {
  flex: 1; padding: 7px 8px; font-size: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-2);
  color: var(--ink-2); border-radius: 8px; cursor: pointer;
  transition: all .15s;
}
.tweak-opts button:hover { border-color: var(--line-2); color: var(--ink); }
.tweak-opts button.on {
  background: var(--gradient); color: white; border-color: transparent;
  font-weight: 600;
}
.tweak-row input[type="range"] { width: 100%; accent-color: var(--magenta); }

/* ============ HELPERS ============ */
.only-compact { display: none; }
body[data-density="compact"] { --section-y: clamp(60px, 7vw, 100px); }
body[data-density="compact"] .hero { padding: 60px 0 80px; }

/* hero visual variant: code */
.hero-code {
  display: none;
  position: absolute; inset: 14%;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-2);
  padding: 18px;
  font-family: var(--f-mono); font-size: 12.5px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(106,61,251,.5);
}
body[data-hero="code"] .hero-infinity,
body[data-hero="code"] .orbit,
body[data-hero="code"] .ring { display: none; }
body[data-hero="code"] .hero-code { display: block; }
body[data-hero="code"] .hero-visual .tag { display: none; }

.hero-code .win {
  display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
}
.hero-code .win span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.hero-code .win span:first-child { background: #ff5f57; }
.hero-code .win span:nth-child(2) { background: #ffbd2e; }
.hero-code .win span:nth-child(3) { background: #28c940; }
.hero-code .win .path { margin-left: auto; font-size: 11px; color: var(--ink-4); }
.hero-code .ln { display: block; color: var(--ink-2); line-height: 1.8; }
.hero-code .ln .kw { color: var(--magenta-glow); }
.hero-code .ln .st { color: var(--purple-glow); }
.hero-code .ln .fn { color: #7ee2d6; }
.hero-code .ln .cm { color: var(--ink-4); }
.hero-code .cursor { display: inline-block; width: 8px; height: 14px; background: var(--magenta); vertical-align: text-bottom; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
