:root {
  --bg: #07090f;
  --panel: #0d111c;
  --panel-deep: #05070c;
  --orange: #ff8a1e;
  --orange-hover: #ffab5c;
  --text: #e7e9ee;
  --muted: #8b93a5;
  --dim: #5c6474;
  --green: #39ff88;
  --blue: #38bdf8;
  --purple: #a78bfa;
  --emerald: #34d399;
  --pink: #f472b6;
  --indigo: #5865f2;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.07);
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
}
html { scroll-behavior: smooth; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }

button { font-family: inherit; }

@keyframes v2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes v2-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v2-fade-sm { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v2-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes v2-glow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.page { background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: clip; }

/* nav */
.nav-wrap {
  position: sticky; top: 16px; z-index: 20;
  display: flex; justify-content: center;
  padding: 0 24px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  width: 100%; max-width: 1060px;
  background: rgba(13, 17, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 20px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand-text {
  font-family: var(--display);
  font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 26px; font-family: var(--mono); font-size: 12.5px; }
.nav-links a { color: var(--muted); transition: color 0.15s ease; }
.nav-links a:hover { color: #fff; }
.btn-join {
  display: inline-block;
  background: var(--orange); color: #0b0d13;
  border: none; border-radius: 10px;
  padding: 9px 18px;
  font-family: var(--mono); font-weight: 700; font-size: 12.5px;
  cursor: pointer;
}
.btn-join:hover { background: var(--orange-hover); color: #0b0d13; }

/* hero */
.hero { position: relative; padding: 110px 24px 80px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 30, 0.13), transparent 65%);
  top: -260px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1060px; margin: 0 auto; }
.hero-prompt {
  font-family: var(--mono); font-size: 13px; color: var(--orange);
  margin-bottom: 26px;
  animation: v2-fade 0.6s ease both;
}
.cursor { animation: v2-cursor 1s step-end infinite; }
.hero-title {
  font-family: var(--display);
  font-weight: 700; font-size: 84px; line-height: 0.98; letter-spacing: -0.04em;
  margin: 0 0 28px; color: #fff; text-wrap: balance;
  animation: v2-fade 0.6s ease 0.1s both;
}
.hero-title-accent { color: var(--orange); }
.hero-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  animation: v2-fade 0.6s ease 0.2s both;
}
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 460px; margin: 0; }
.hero-cta { display: flex; gap: 12px; }
.btn-primary {
  background: var(--orange); color: #0b0d13;
  border: none; border-radius: 12px; padding: 16px 30px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  padding: 16px 30px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }

/* stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; margin-top: 72px;
  animation: v2-fade 0.6s ease 0.3s both;
}
.stat { background: var(--panel); padding: 24px 26px; }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 30px; color: #fff; }
.stat-accent { color: var(--orange); }
.stat-label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* marquee */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0; overflow: hidden; background: #0a0d16;
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: v2-marquee 26s linear infinite;
  font-family: var(--mono); font-size: 13px; color: var(--dim); white-space: nowrap;
}
.marquee-star { color: var(--orange); }

/* sections */
.section { padding: 110px 24px 0; max-width: 1108px; margin: 0 auto; }
#features { padding-bottom: 110px; }
#sites { padding-top: 0; padding-bottom: 110px; }
.section-last { padding-top: 0; padding-bottom: 120px; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.section-head-tight { margin-bottom: 16px; }
.section-index { font-family: var(--mono); font-size: 13px; color: var(--orange); }
.section-title {
  font-family: var(--display);
  font-weight: 700; font-size: 44px; letter-spacing: -0.03em; color: #fff; margin: 0;
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.bento-col { grid-column: span 2; display: flex; flex-direction: column; }
.bento-half { grid-column: span 3; }
.bento-third { grid-column: span 2; }
.bento-outline-blue { border-color: rgba(56, 189, 248, 0.25); }
.bento-terminal-card {
  grid-column: span 4; grid-row: span 2;
  padding: 28px;
  position: relative; overflow: hidden;
}
.bento-terminal-sheen {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, rgba(255, 138, 30, 0.07), transparent);
  pointer-events: none;
}
.bento-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.bento-terminal-card .bento-card-head { margin-bottom: 18px; }
.bento-title { font-family: var(--display); font-weight: 600; font-size: 19px; color: #fff; margin: 0; }
.bento-title-sm { font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; margin: 0 0 8px; }
.bento-eyebrow { font-family: var(--mono); font-size: 11px; margin-bottom: 12px; }
.bento-card-head .bento-eyebrow { margin-bottom: 0; }
.eyebrow-purple { color: var(--purple); }
.eyebrow-blue { color: var(--blue); }
.eyebrow-green { color: var(--emerald); }
.eyebrow-pink { color: var(--pink); }
.eyebrow-indigo { color: var(--indigo); }
.bento-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.bento-col .bento-text { margin-bottom: 18px; }
.bento-text-wide { font-size: 14px; margin: 0 0 22px; max-width: 420px; }

.badge {
  font-family: var(--mono); font-size: 10.5px;
  border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.badge-live { color: var(--green); background: rgba(57, 255, 136, 0.1); }
.badge-soon { color: var(--muted); background: rgba(255, 255, 255, 0.05); }

.tag-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--mono); font-size: 10.5px;
  border-radius: 6px; padding: 3px 8px;
}
.tag-purple { color: var(--purple); background: rgba(167, 139, 250, 0.1); }

.raffle-status {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--dim);
}
.raffle-status .check { color: var(--green); }
.raffle-status .dot-sep { color: var(--blue); }

.bento-webhook { position: relative; overflow: hidden; }
.webhook-dot {
  position: absolute; top: 20px; right: 22px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--indigo);
  animation: v2-glow 1.6s ease-in-out infinite;
}

/* terminal */
.terminal {
  position: relative;
  background: var(--panel-deep);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.9;
  overflow: hidden;
  min-height: 280px;
  outline: none;
  cursor: text;
}
.terminal:focus { border-color: rgba(255, 138, 30, 0.35); }
.term-line { opacity: 0; animation: v2-fade-sm 0.3s ease forwards; }
.term-prompt { color: var(--orange); margin-top: 10px; margin-bottom: 4px; }
.term-info { color: var(--dim); white-space: pre; }
.term-option {
  cursor: pointer;
  color: var(--text);
  border-radius: 4px;
  padding: 1px 8px;
  margin: 0 -8px;
  transition: background 0.12s ease;
  white-space: pre;
}
.term-option.active { color: #0b0d13; background: var(--orange); }
.term-running { color: var(--dim); margin-top: 6px; }

/* discord panel */
.discord-panel {
  margin-top: 16px;
  background: #2b2d31; border-radius: 12px; overflow: hidden;
  animation: v2-fade 0.5s ease both;
}
.discord-header {
  padding: 12px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  display: flex; align-items: center; gap: 8px;
}
.discord-hash { color: #96989d; font-size: 14px; font-weight: 700; }
.discord-channel { font-size: 13px; font-weight: 600; color: #fff; }
.discord-body { padding: 14px 16px; }

/* sites table */
.sites-table {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.site-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line-soft);
}
.site-row .badge { padding: 4px 10px; }
.site-name { font-family: var(--display); font-weight: 600; font-size: 19px; color: #fff; }
.site-desc { font-size: 14px; color: var(--muted); }
.site-row-soon { background: rgba(13, 17, 28, 0.5); border-bottom: none; }
.site-row-soon .site-name { color: var(--dim); }
.site-row-soon .site-desc { color: var(--dim); }

/* pricing */
.pricing-intro {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  max-width: 560px; margin: 0 0 44px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.price-card { background: var(--panel); border-radius: 18px; padding: 30px; }
.price-card-orange { border: 1px solid rgba(255, 138, 30, 0.25); }
.price-card-blue { border: 1px solid rgba(56, 189, 248, 0.3); }
.price-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.price-name { font-family: var(--display); font-weight: 600; font-size: 21px; color: #fff; margin: 0; }
.price-cmd { font-family: var(--mono); font-size: 11px; }
.cmd-orange { color: var(--orange); }
.cmd-blue { color: var(--blue); }
.price-includes { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.price-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.price-rows { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 13px; }
.price-row {
  display: flex; justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9px; padding: 12px 16px;
  color: var(--text);
}
.val-orange { color: var(--orange); }
.val-blue { color: var(--blue); }

/* beta CTA */
.beta-cta {
  position: relative;
  background: linear-gradient(120deg, rgba(255, 138, 30, 0.12), rgba(13, 17, 28, 0.9) 45%);
  border: 1px solid rgba(255, 138, 30, 0.25);
  border-radius: 18px;
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; overflow: hidden;
}
.beta-status { font-family: var(--mono); font-size: 12px; color: var(--orange); margin-bottom: 10px; }
.beta-title {
  font-family: var(--display);
  font-weight: 700; font-size: 30px; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 8px;
}
.beta-text { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 440px; }
.btn-discord {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--indigo); color: #fff;
  border-radius: 12px; padding: 16px 30px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.btn-discord:hover { background: #6a76f3; color: #fff; }

/* footer */
.footer { border-top: 1px solid var(--line-soft); padding: 28px 24px; }
.footer-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand-text { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--text); }
.footer-copy { font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* responsive */
@media (max-width: 960px) {
  .hero-title { font-size: 60px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-terminal-card { grid-column: span 2; grid-row: auto; }
  .bento-col, .bento-half, .bento-third { grid-column: span 1; }
  .site-row { grid-template-columns: 140px 1fr auto; padding: 20px 22px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav { gap: 16px; }
  .nav-links { display: none; }
  .hero { padding: 80px 20px 60px; }
  .hero-title { font-size: 44px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-col, .bento-half, .bento-third { grid-column: span 1; }
  .section-title { font-size: 32px; }
  .site-row { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .site-row .badge { justify-self: start; }
  .beta-cta { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
