/* ============================================================
   2050.to — dark-tech / terminal identity
   ============================================================ */

:root {
  --bg:        #050608;
  --bg-2:      #080b10;
  --panel:     #0b0f15;
  --panel-2:   #0e141c;
  --line:      #172230;
  --line-2:    #22323f;
  --fg:        #cbd8e6;
  --fg-soft:   #93a6b8;
  --dim:       #61758a;
  --accent:    #35e08a;
  --accent-2:  #22d3ee;
  --violet:    #a78bfa;
  --amber:     #f5b544;
  --red:       #ff5f56;
  --yellow:    #ffbd2e;
  --green:     #27c93f;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── ambient layers ───────────────────────────────────── */
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.vignette {
  background: radial-gradient(ellipse 120% 90% at 50% -10%, rgba(53,224,138,.07), transparent 55%),
              radial-gradient(ellipse 80% 60% at 90% 100%, rgba(34,211,238,.05), transparent 60%);
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(53,224,138,.28); color: #eafff4; }

/* ── topbar ───────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(5,6,8,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topbar-inner {
  display: flex; align-items: center; gap: 20px;
  height: 60px;
}

.logo {
  font-weight: 700; letter-spacing: .04em;
  color: #eaf3fb; font-size: 15px;
  display: inline-flex; align-items: center; gap: 2px;
}
.logo .prompt { color: var(--accent); margin-right: 6px; }
.logo .accent { color: var(--accent); }

.caret {
  display: inline-block; width: 8px; height: 15px;
  margin-left: 6px; background: var(--accent);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a {
  color: var(--dim); font-size: 13px; letter-spacing: .06em;
  transition: color .18s ease;
}
.topnav a:hover { color: var(--accent); }
.topnav .idx { color: var(--line-2); margin-right: 6px; }
.topnav a:hover .idx { color: var(--accent-2); }

.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2);
  background: rgba(53,224,138,.05);
  color: var(--fg-soft);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: .05em;
  white-space: nowrap;
}
.status-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(53,224,138,.6);
  animation: pulse 2.1s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53,224,138,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(53,224,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,224,138,0); }
}

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 92px 0 104px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(53,224,138,.16), transparent 68%);
  filter: blur(30px); pointer-events: none;
}

.terminal-window {
  max-width: 660px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 90px -40px rgba(53,224,138,.35), inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.tbtn { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tbtn-r { background: var(--red); } .tbtn-y { background: var(--yellow); } .tbtn-g { background: var(--green); }
.terminal-title { margin-left: 10px; color: var(--dim); font-size: 12px; letter-spacing: .05em; }
.terminal-meta { margin-left: auto; color: var(--line-2); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.terminal-body { padding: 18px 18px 20px; font-size: 13.5px; }
.terminal-body .line { margin: 0 0 7px; }
.terminal-body .line:last-child { margin-bottom: 0; }
.p-sym { color: var(--accent); }
.p-cmd { color: #e6f1fa; }
.dim { color: var(--dim); }
.ok { color: var(--accent); letter-spacing: .12em; }
.cursor { color: var(--accent); animation: blink 1.05s steps(1) infinite; }

.hero-title {
  margin: 46px 0 14px;
  font-size: clamp(46px, 10vw, 104px);
  line-height: .95; letter-spacing: -.03em; font-weight: 700;
  color: #f2f8fd;
  text-shadow: 0 0 44px rgba(53,224,138,.24);
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  margin: 0 0 34px;
  color: var(--fg-soft);
  max-width: 560px; font-size: 16px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.btn .arw { transition: transform .16s ease; }
.btn-primary {
  background: rgba(53,224,138,.12);
  border-color: rgba(53,224,138,.45);
  color: #b6ffd8;
}
.btn-primary:hover { background: rgba(53,224,138,.2); transform: translateY(-2px); }
.btn-primary:hover .arw { transform: translateY(2px); }
.btn-ghost { color: var(--fg-soft); background: rgba(255,255,255,.02); }
.btn-ghost:hover { color: var(--accent-2); border-color: rgba(34,211,238,.45); transform: translateY(-2px); }

.hero-stats {
  list-style: none; margin: 52px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 44px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats .k { color: var(--accent); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats .v { color: var(--dim); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

.scroll-indicator {
  margin-top: 46px; display: flex; align-items: center; gap: 9px;
  color: var(--dim); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.scroll-indicator .arw { animation: bob 1.7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── sections ─────────────────────────────────────────── */
.section { padding: 82px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }

.eyebrow {
  margin: 0 0 12px; color: var(--dim);
  font-size: 12.5px; letter-spacing: .1em;
}
.eyebrow .p-sym { color: var(--accent); }

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em; color: #f2f8fd;
}
.section-sub { margin: 0; color: var(--fg-soft); max-width: 620px; }
.section-sub .inline-link { color: var(--accent); border-bottom: 1px dashed rgba(53,224,138,.5); }
.section-sub .inline-link:hover { color: var(--accent-2); border-color: rgba(34,211,238,.6); }

.grid { display: grid; gap: 16px; }
.ventures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }

/* ── venture cards ────────────────────────────────────── */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); opacity: 0; transition: opacity .2s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(53,224,138,.1), transparent 55%);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -32px rgba(53,224,138,.45);
}
.card:hover::before, .card:hover::after { opacity: 1; }

.card[data-accent="green"]  { --accent: #35e08a; }
.card[data-accent="cyan"]   { --accent: #22d3ee; }
.card[data-accent="violet"] { --accent: #a78bfa; }
.card[data-accent="amber"]  { --accent: #f5b544; }

.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); font-size: 14px;
}
.card-domain { color: var(--dim); font-size: 12.5px; letter-spacing: .05em; }
.card-arrow { margin-left: auto; color: var(--dim); transition: color .2s ease, transform .2s ease; }
.card:hover .card-arrow { color: var(--accent); transform: translate(2px, -2px); }

.card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.01em; color: #f2f8fd; }
.card p { margin: 0 0 18px; color: var(--fg-soft); font-size: 14px; }
.tag {
  margin-top: auto; align-self: flex-start;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 4px 10px; border-radius: 999px;
}

/* ── domain registry ──────────────────────────────────── */
.registry-bar {
  margin: 34px 0 18px; padding: 12px 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  font-size: 12px; color: var(--dim); letter-spacing: .08em;
}
.reg-key { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sw-open { background: var(--accent); }
.sw-use  { background: var(--accent-2); }
.sw-sold { background: var(--line-2); }
.reg-count { margin-left: auto; color: var(--line-2); }

.domains-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.domain-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  font-size: 13.5px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.domain-name { color: var(--fg); letter-spacing: .01em; }
.domain-cta { color: var(--dim); font-size: 11.5px; letter-spacing: .06em; opacity: 0; transition: opacity .18s ease, color .18s ease; white-space: nowrap; }
.domain-item:hover { border-color: rgba(53,224,138,.5); background: rgba(53,224,138,.06); transform: translateY(-2px); }
.domain-item:hover .domain-cta { opacity: 1; color: var(--accent); }

.domain-item.is-used, .domain-item.is-sold { cursor: default; }
.domain-item.is-used:hover { border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.05); transform: none; }
.domain-item.is-sold:hover { border-color: var(--line-2); background: rgba(255,255,255,.015); transform: none; }
.domain-status {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.is-used .domain-status { color: var(--accent-2); border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.08); }
.is-sold .domain-status { color: var(--dim); border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.is-sold .domain-name { color: var(--dim); text-decoration: line-through; }

/* ── community ────────────────────────────────────────── */
.community-panel {
  margin-top: 34px; padding: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(88,101,242,.14), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.community-left { display: flex; align-items: center; gap: 20px; min-width: 260px; }
.community-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 6px; flex: 0 0 auto;
  border: 1px solid rgba(88,101,242,.45);
  background: rgba(88,101,242,.14);
  color: #a5adfd;
}
.community-icon svg { width: 28px; height: 28px; }
.community-panel h3 { margin: 0 0 6px; font-size: 19px; color: #f2f8fd; }
.community-panel p { margin: 0; color: var(--fg-soft); font-size: 14px; max-width: 480px; }

/* ── footer ───────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-line { margin: 0; }
.footer-line a { color: var(--fg-soft); font-size: 13px; border-bottom: 1px dashed var(--line-2); }
.footer-line a:hover { color: var(--accent); border-color: rgba(53,224,138,.5); }
.footer-copy { margin: 0 0 0 auto; color: var(--dim); font-size: 12px; letter-spacing: .04em; }

/* ── reveal animation ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .scroll-indicator .arw, .caret, .cursor, .status-chip .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .domains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topnav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .hero { padding: 68px 0 76px; }
  .section { padding: 62px 0; }
  .ventures-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .status-chip { display: none; }
  .community-panel { padding: 22px; }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 460px) {
  .domains-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
