:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --surface: #111c33;
  --surface-2: #16213f;
  --border: rgba(148, 163, 184, 0.14);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #64748b;
  --blue: #3b82f6;
  --blue-light: #38bdf8;
  --cyan: #22d3ee;
  --green: #34d399;
  --red: #f87171;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #060a14 100%);
  line-height: 1.6;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #7dd3fc;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 17, 32, 0.82);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
}

.logo__text {
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0ea5e9);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.36);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.hero__stats strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero__stats span {
  color: var(--dim);
  font-size: 0.82rem;
}

/* Panel mockup */
.hero__panel {
  min-width: 0;
}

.panel {
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red { background: #ef4444; }
.dot--yellow { background: #eab308; }
.dot--green { background: #22c55e; }

.panel__title {
  margin-left: 8px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.panel__body {
  padding: 18px 16px 20px;
}

.ticker {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 0.92rem;
}

.ticker:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.ticker__pair {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ticker__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ticker__chg {
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.up { color: var(--green); }
.down { color: var(--red); }

.chart {
  height: 100px;
  margin: 8px 0 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.panel__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--dim);
  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.65);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.steps__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA */
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta p {
  margin: 0;
  color: var(--muted);
}

.cta__box {
  padding: 22px;
  border-radius: 14px;
  background: rgba(11, 17, 32, 0.72);
  border: 1px solid var(--border);
}

.cta__email span {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 0.82rem;
}

.cta__email a {
  font-size: 1.05rem;
  font-weight: 600;
}

.cta__note {
  margin-top: 12px !important;
  font-size: 0.84rem !important;
}

/* Footer */
.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--dim);
  font-size: 0.88rem;
}

.footer__inner p {
  margin: 0;
}

.footer__muted {
  color: #475569;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .cards,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cta__inner {
    padding: 22px 18px;
  }
}
