/* ═══════════════════════════════════════════
   OpenClaw Trading — Robinhood-Inspired Design
   Colour: Grass Green #6DBF47 on Near-Black
   ═══════════════════════════════════════════ */

:root {
  --black:        #0a0a0a;
  --black-2:      #111111;
  --black-3:      #161616;
  --black-4:      #1c1c1c;
  --black-5:      #242424;
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --green:        #6DBF47;
  --green-hover:  #5aab36;
  --green-dim:    rgba(109,191,71,0.12);
  --green-glow:   rgba(109,191,71,0.25);
  --white:        #ffffff;
  --text-1:       #ffffff;
  --text-2:       rgba(255,255,255,0.72);
  --text-3:       rgba(255,255,255,0.45);
  --text-4:       rgba(255,255,255,0.28);
  --red:          #f03e3e;
  --red-dim:      rgba(240,62,62,0.12);
  --gold:         #f5c842;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --shadow:       0 4px 24px rgba(0,0,0,0.5);
  --shadow-green: 0 0 24px rgba(109,191,71,0.18);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:        1200px;
  --transition:   0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg  { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-pill); }
.btn-md  { padding: 11px 22px; font-size: 0.9rem; border-radius: var(--radius-pill); }
.btn-sm  { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-pill); }

.btn-primary {
  background: var(--green);
  color: #0a0a0a;
}
.btn-primary:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: var(--shadow-green); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  padding: 0;
}
.btn-ghost:hover { color: var(--green-hover); }

/* ── RISK BANNER ── */
.risk-banner {
  background: var(--green);
  color: #0a0a0a;
  text-align: center;
  padding: 9px 24px;
  font-size: 0.78rem;
  font-weight: 500;
}
.risk-banner strong { font-weight: 700; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: #0a0a0a;
  letter-spacing: 0.5px;
}
.nav-logo-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.3px;
}
.nav-logo-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ── TICKER ── */
.ticker-bar {
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker-scroll 45s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 0.78rem;
  border-right: 1px solid var(--border);
}
.ticker-symbol { color: var(--text-3); font-weight: 500; }
.ticker-price  { color: var(--white); font-weight: 600; }
.ticker-change { font-weight: 600; }
.ticker-change.up   { color: var(--green); }
.ticker-change.down { color: var(--red); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(109,191,71,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(109,191,71,0.04) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-bar {
  width: 32px;
  height: 2px;
  background: var(--green);
}
.hero-eyebrow-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--green); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}
.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* Hero Visual — Chart Card */
.hero-visual { position: relative; }
.hero-chart-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.chart-coin { font-weight: 700; font-size: 1rem; }
.chart-price { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.chart-change-up { color: var(--green); font-size: 0.85rem; font-weight: 600; }
.chart-change-down { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.chart-period-label { font-size: 0.72rem; color: var(--text-3); }
.mini-chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}
.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(109,191,71,0.2);
  transition: background 0.2s;
  min-height: 4px;
}
.mini-bar.up   { background: rgba(109,191,71,0.5); }
.mini-bar.down { background: rgba(240,62,62,0.4); }
.mini-bar:last-child { background: var(--green); }
.chart-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chart-tag {
  background: var(--black-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.73rem;
  color: var(--text-3);
  font-weight: 500;
}
.hero-float-card {
  position: absolute;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-float-card.top-right {
  top: -24px;
  right: -20px;
}
.hero-float-card.bottom-left {
  bottom: -20px;
  left: -20px;
}
.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.float-icon.green { background: var(--green-dim); }
.float-icon.red   { background: var(--red-dim); }
.float-label { font-size: 0.7rem; color: var(--text-3); }
.float-value { font-weight: 700; color: var(--white); }
.float-value.green { color: var(--green); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 12px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.stat-label { font-size: 0.72rem; color: var(--text-3); }

/* ── SECTIONS ── */
.section    { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.section-dark { background: var(--black-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -1px; }
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin-top: 16px;
  border-radius: 2px;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.3px; line-height: 1.4; }
h3 a { color: inherit; transition: color 0.15s; }
h3 a:hover { color: var(--green); }
p { color: var(--text-2); font-size: 0.92rem; line-height: 1.7; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── CARDS ── */
.card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--black-4) 0%, var(--black-5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .card-image::after { opacity: 1; }
.card-image-gradient-1 { background: linear-gradient(135deg, #1a2a1a 0%, #1a3020 100%); }
.card-image-gradient-2 { background: linear-gradient(135deg, #1a1a2a 0%, #1a2030 100%); }
.card-image-gradient-3 { background: linear-gradient(135deg, #2a1a1a 0%, #301a20 100%); }
.card-body { padding: 20px; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.card-date { font-size: 0.72rem; color: var(--text-3); }
.card-author { display: flex; align-items: center; gap: 8px; }
.card-author-avatar {
  width: 24px;
  height: 24px;
  background: var(--green-dim);
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}
.card-author-name { font-size: 0.78rem; color: var(--text-3); }
.card-read-more { font-size: 0.75rem; color: var(--green); font-weight: 600; }

.card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}
.card-featured .card-image { height: 100%; min-height: 260px; border-bottom: none; border-right: 1px solid var(--border); font-size: 4rem; }

.mb-4 { margin-bottom: 2rem; }

/* ── TAGS ── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tag-green  { background: var(--green-dim); color: var(--green); border: 1px solid rgba(109,191,71,0.25); }
.tag-blue   { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.tag-gold   { background: rgba(245,200,66,0.12); color: var(--gold); border: 1px solid rgba(245,200,66,0.2); }
.tag-red    { background: var(--red-dim); color: #f87171; border: 1px solid rgba(240,62,62,0.2); }

/* ── SPLIT SECTION (Robinhood-style) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p  { margin-bottom: 2rem; color: var(--text-2); font-size: 1rem; line-height: 1.8; }
.split-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 2.5rem; }
.split-list-item { display: flex; gap: 14px; align-items: flex-start; }
.split-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid rgba(109,191,71,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.split-list-item p { margin: 0; font-size: 0.9rem; }
.split-visual {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ── AFFILIATE / EXCHANGE CARDS ── */
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.exchange-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.exchange-card:hover {
  border-color: rgba(109,191,71,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), var(--shadow-green);
}
.exchange-card.featured {
  border-color: rgba(109,191,71,0.4);
  background: linear-gradient(160deg, rgba(109,191,71,0.05) 0%, var(--black-3) 60%);
}
.exchange-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.exchange-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.exchange-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--black-5);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--green);
}
.exchange-stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 1px; }
.exchange-score { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; text-align: right; }
.exchange-name { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.exchange-desc { font-size: 0.84rem; color: var(--text-2); margin-bottom: 16px; line-height: 1.6; }
.exchange-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.exchange-feat {
  background: var(--black-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--text-2);
}
.exchange-bonus {
  background: var(--green-dim);
  border: 1px solid rgba(109,191,71,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--green);
  margin-bottom: 18px;
  font-weight: 500;
}
.exchange-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-bottom: 10px;
}
.exchange-cta.primary { background: var(--green); color: #0a0a0a; }
.exchange-cta.primary:hover { background: var(--green-hover); transform: translateY(-1px); }
.exchange-cta.secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.exchange-cta.secondary:hover { border-color: rgba(255,255,255,0.5); }
.exchange-fine { font-size: 0.68rem; color: var(--text-4); text-align: center; }

/* ── ICON FEATURES (Robinhood trust section) ── */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
  padding: 60px 0;
}
.icon-item {}
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  color: var(--green);
  background: var(--green-dim);
  transition: var(--transition);
}
.icon-item:hover .icon-circle { border-color: var(--green); box-shadow: var(--shadow-green); }
.icon-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.icon-item p  { font-size: 0.8rem; color: var(--text-3); line-height: 1.6; }

/* ── NEWSLETTER CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--black-3) 0%, rgba(109,191,71,0.04) 100%);
  border: 1px solid rgba(109,191,71,0.15);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p  { color: var(--text-2); margin-bottom: 2rem; font-size: 1rem; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  background: var(--black-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.cta-form input:focus { border-color: var(--green); }
.cta-form input::placeholder { color: var(--text-4); }
.cta-note { font-size: 0.75rem; color: var(--text-3); margin-top: 12px; }

/* ── FOREX MINI CARDS ── */
.mini-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-feature {
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color var(--transition);
}
.mini-feature:hover { border-color: rgba(109,191,71,0.25); }
.mini-feature-icon { font-size: 1.5rem; margin-bottom: 10px; }
.mini-feature h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.mini-feature p  { font-size: 0.78rem; color: var(--text-3); margin: 0; }

/* ── FOOTER ── */
.footer { background: var(--black-2); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-3); margin: 16px 0 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-3);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--green); color: var(--green); }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-2); transition: color var(--transition); }
.footer-links a:hover { color: var(--green); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-4);
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--black-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; color: var(--text-4); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-2); }

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #0a0a0a;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--green-hover); }

/* ── UTILITIES ── */
.text-green { color: var(--green); }
.text-gold  { color: var(--gold); }
.text-red   { color: var(--red); }
.text-center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .exchange-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }
  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 20px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile .nav-link { padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-mobile .btn { margin-top: 8px; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 50px; padding-bottom: 50px; }
  .hero h1 { font-size: 2.4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .exchange-grid { grid-template-columns: 1fr; }
  .card-featured { grid-template-columns: 1fr; }
  .card-featured .card-image { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   LEARN SECTION (Robinhood Learn card)
   ══════════════════════════════════════════════ */
.learn-section {
  background: var(--green);
  overflow: hidden;
}
.learn-bg {
  padding: 80px 0;
}
.learn-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.learn-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 12px;
}
.learn-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: #0a0a0a;
  margin-bottom: 1rem;
}
.learn-desc {
  font-size: 1rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2rem;
}
.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a0a0a;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.learn-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.learn-card-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.learn-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}
.learn-card-list {
  display: flex;
  flex-direction: column;
}
.learn-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid #f4f4f4;
  text-decoration: none;
  transition: background 0.15s ease;
}
.learn-card-item:last-child { border-bottom: none; }
.learn-card-item:hover { background: #f8f8f8; }
.learn-card-icon {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.learn-card-text { flex: 1; }
.learn-card-name { font-size: 0.88rem; font-weight: 700; color: #111; margin-bottom: 2px; }
.learn-card-sub  { font-size: 0.74rem; color: #888; }
.learn-card-arrow {
  font-size: 1.3rem;
  color: #bbb;
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   ANIMATED RAIN CTA SECTION
   ══════════════════════════════════════════════ */
.rain-cta-section {
  position: relative;
  background: #0a0a0a;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}
.rain-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.rain-cta-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 2rem;
}
.btn-rain-cta {
  display: inline-block;
  background: var(--green);
  color: #0a0a0a;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-rain-cta:hover {
  background: #5aab36;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(109,191,71,0.4);
}

/* ══════════════════════════════════════════════
   GIANT WORDMARK (Robinhood footer style)
   ══════════════════════════════════════════════ */
.wordmark-section {
  background: var(--green);
  overflow: hidden;
  padding: 0 0 -8px;
  line-height: 0.82;
  user-select: none;
}
.wordmark-text {
  display: block;
  font-size: clamp(14vw, 18vw, 22vw);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  line-height: 0.85;
  white-space: nowrap;
  padding: 0 4vw;
}

/* ══════════════════════════════════════════════
   RESPONSIVE additions
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .learn-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .learn-title { font-size: 2.2rem; }
  .rain-cta-title { font-size: 2.2rem; letter-spacing: -1.5px; }
  .wordmark-text { font-size: 18vw; }
}
