/* ==========================================================================
   Era Trade — Landing
   ========================================================================== */

:root {
  --bg: #050b18;
  --bg-soft: #081122;
  --bg-card: rgba(15, 28, 52, 0.55);
  --bg-card-solid: #0c1830;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e7eefb;
  --text-muted: #94a3c0;
  --text-dim: #64748b;
  --accent: #2fbf7f;
  --accent-soft: #3ecc8c;
  --accent-dim: #1f8f61;
  --accent-2: #38bdf8;
  --accent-3: #5ee7a3;
  --brand: #7a6bff;
  --brand-soft: #9589ff;
  --brand-dim: rgba(122, 107, 255, 0.14);
  --candle-up: #2fbf7f;
  --candle-down: #c84754;
  --danger: #e0565f;
  --grad-main: linear-gradient(92deg, #7a6bff 0%, #5b8def 45%, #2fbf7f 100%);
  --grad-text: linear-gradient(92deg, #a5b4fc 0%, #7a6bff 40%, #5ee7a3 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --container: 1180px;
  --container-narrow: 860px;
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

b, strong { font-weight: 600; color: #fff; }

::selection {
  background: rgba(122, 107, 255, 0.35);
  color: #fff;
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 11, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 11, 24, 0.9);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 130px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease;
  white-space: nowrap;
}

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

.main-nav a.active {
  color: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn { padding: 12px 24px; font-size: 15px; }

.btn-primary {
  background: var(--grad-main);
  color: #0b0a18;
  box-shadow: 0 10px 30px -10px rgba(122, 107, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(122, 107, 255, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--brand-soft);
  color: var(--brand-soft);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(27, 42, 70, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 70, 0.22) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
}

.hero-glow-1 {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -80px;
  background: radial-gradient(circle, rgba(122, 107, 255, 0.32), transparent 65%);
}

.hero-glow-2 {
  width: 640px;
  height: 640px;
  left: -220px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(47, 191, 127, 0.18), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--text-muted);
  background: var(--brand-dim);
  border: 1px solid rgba(122, 107, 255, 0.3);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 26px;
  animation: fadeUp .8s ease both;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 0 rgba(122, 107, 255, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(122, 107, 255, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(122, 107, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 107, 255, 0); }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 620px;
  margin-bottom: 24px;
  animation: fadeUp .8s ease .1s both;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.9vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
  animation: fadeUp .8s ease .2s both;
}

.hero-sub strong {
  color: var(--brand-soft);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .3s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin-top: 44px;
  animation: fadeUp .8s ease .4s both;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-width: 0;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: border-color .25s ease, transform .25s ease;
}

.stat:hover {
  border-color: rgba(122, 107, 255, 0.45);
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: fadeUp 1s ease .8s both;
}

.hero-scroll-hint span {
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--brand-soft);
  animation: scrollHint 1.6s ease infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   Trading terminal panel
   ========================================================================== */

.hero-visual {
  position: relative;
  animation: fadeUp .9s ease .25s both;
}

.chart-panel {
  background: linear-gradient(180deg, rgba(12, 24, 48, 0.9), rgba(8, 17, 34, 0.95));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(122, 107, 255, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.cp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.cp-symbols {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sy {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

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

.sy.active {
  color: var(--brand-soft);
  background: var(--brand-dim);
  border-color: rgba(122, 107, 255, 0.32);
}

.cp-timeframes {
  display: flex;
  gap: 4px;
}

.tf {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
}

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

.tf.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cp-chart {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(122, 107, 255, 0.06), transparent 55%),
    #060e1e;
}

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

.trend-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawHeroLine 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: .3s;
}

@keyframes drawHeroLine {
  to { stroke-dashoffset: 0; }
}

.cp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.cp-price {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.cp-price b {
  font-family: var(--font-head);
  color: #fff;
  font-size: 17px;
  margin-left: 6px;
}

.cp-up {
  font-style: normal;
  color: var(--candle-up);
  font-weight: 600;
  margin-left: 10px;
}

.cp-ohlc {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .3px;
}

/* floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 20, 38, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  animation: floatY 4s ease-in-out infinite;
}

.float-badge .fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--brand-soft);
  background: var(--brand-dim);
  border: 1px solid rgba(122, 107, 255, 0.28);
}

.fb-text b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.fb-text small {
  font-size: 12px;
  color: var(--text-dim);
}

.fb-1 { top: -22px; left: -34px; animation-delay: 0s; }
.fb-2 { bottom: 70px; right: -30px; animation-delay: 1.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 34, 0.6);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  animation: ticker 32s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-track span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  margin-right: 44px;
}

.ticker-track b { font-weight: 600; }

.t-up b { color: var(--candle-up); }
.t-down b { color: var(--candle-up); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 92px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(8, 17, 34, 0.4), rgba(5, 11, 24, 0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-soft);
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
  text-align: center;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}

/* ==========================================================================
   Pain points
   ========================================================================== */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 86, 95, 0.35);
  box-shadow: var(--shadow-card);
}

.pain-card-red .pain-icon {
  background: rgba(224, 86, 95, 0.12);
  color: var(--danger);
  border: 1px solid rgba(224, 86, 95, 0.28);
  box-shadow: 0 8px 24px -12px rgba(224, 86, 95, 0.5);
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.pain-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.pain-icon .ic-accent {
  stroke: #fbbf24;
}

.pain-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   Advantages
   ========================================================================== */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity .3s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 107, 255, 0.35);
  box-shadow: var(--shadow-card);
}

.adv-card:hover::before { opacity: 1; }

.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--brand-soft);
  background: linear-gradient(135deg, rgba(122, 107, 255, 0.18), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(122, 107, 255, 0.25);
  margin-bottom: 18px;
}

.adv-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 42px;
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease;
}

.step:hover { transform: translateY(-4px); border-color: rgba(122, 107, 255, 0.35); }

.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-soft);
  background: var(--brand-dim);
  border: 1px solid rgba(122, 107, 255, 0.28);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
}

.how-cta {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Infographics
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 107, 255, 0.35);
  box-shadow: var(--shadow-card);
}

.info-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 14px 0 4px;
  margin-bottom: 22px;
  flex-direction: column;
  gap: 18px;
}

.info-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-body p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.info-body p b { color: var(--brand-soft); font-weight: 600; }

/* donut */
.donut {
  position: relative;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 var(--p2, 80%), rgba(255, 255, 255, 0.07) var(--p2, 80%) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px -20px rgba(47, 191, 127, 0.4);
  animation: donutIn .9s ease both;
}

@keyframes donutIn {
  from { transform: rotate(-90deg) scale(.7); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

.donut::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.donut-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.donut-inner b {
  display: block;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.donut-inner small {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.donut-legend {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lg {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.lg-green { background: var(--accent); }
.lg-gray { background: rgba(255, 255, 255, 0.25); }

/* meters */
.meters-wrap {
  justify-content: center;
  gap: 16px;
}

.meter {
  width: 100%;
  max-width: 300px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.meter-top b {
  font-weight: 700;
  color: #fff;
}

.meter-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 100px;
  animation: fillBar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transform-origin: left center;
}

@keyframes fillBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.m-green { background: var(--grad-main); }
.m-red { background: linear-gradient(90deg, #b94552, var(--danger)); }

/* compare bars */
.compare-wrap {
  gap: 22px;
}

.compare-row {
  width: 100%;
  max-width: 320px;
}

.compare-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-label b { color: #fff; font-weight: 600; font-size: 13px; }

.compare-bar {
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 9px;
  animation: fillBar 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transform-origin: left center;
}

.bar-fill em {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

.b-dim {
  background: linear-gradient(90deg, #24344f, #33476b);
}

.b-dim em {
  color: var(--text-muted);
  font-size: 13px;
}

.b-green { background: var(--grad-main); box-shadow: 0 8px 24px -8px rgba(122, 107, 255, 0.5); }

/* ==========================================================================
   Calculator
   ========================================================================== */

.calc-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.calc-field {
  margin-bottom: 26px;
}

.calc-field > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.calc-field > label b {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--accent);
}

.calc-segs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calc-seg {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.calc-seg:hover { color: var(--text); border-color: var(--line-strong); }

.calc-seg.active {
  color: #0b0a18;
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(122, 107, 255, 0.6);
}

#calcRange {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}

#calcRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(122, 107, 255, 0.5);
  cursor: pointer;
}

#calcRange::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(122, 107, 255, 0.5);
  cursor: pointer;
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 8px;
}

.calc-hint {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.calc-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-points li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.calc-points span {
  color: var(--text-dim);
}

.calc-points b {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.calc-toggle { margin-top: 4px; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.switch input { display: none; }

.switch-ui {
  position: relative;
  width: 46px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: background .25s ease, border-color .25s ease;
  flex-shrink: 0;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform .25s ease, background .25s ease;
}

.switch input:checked + .switch-ui {
  background: rgba(122, 107, 255, 0.3);
  border-color: rgba(122, 107, 255, 0.5);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(20px);
  background: var(--brand-soft);
}

.switch-text { font-size: 14.5px; color: var(--text-muted); }

.calc-result {
  background: linear-gradient(160deg, rgba(122, 107, 255, 0.1), rgba(12, 24, 48, 0.4));
  border: 1px solid rgba(122, 107, 255, 0.28);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.calc-result-main {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line-strong);
}

.calc-result-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.calc-result-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(42px, 6vw, 60px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
  margin: 6px 0;
}

.calc-result-sub {
  font-size: 13.5px;
  color: var(--text-dim);
}

.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px 0;
}

.calc-result-grid div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.calc-result-grid span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.calc-result-grid b {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  margin-top: 3px;
}

.calc-cta { width: 100%; margin-top: auto; }

.calc-note {
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================================
   Markets / allocation
   ========================================================================== */

.markets-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.markets-donut {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.alloc-donut {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent) 0 var(--a1),
    var(--accent-2) var(--a1) var(--a2),
    #5ee7a3 var(--a2) var(--a3),
    #a78bfa var(--a3) var(--a4),
    #fbbf24 var(--a4) 100%
  );
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px -24px rgba(122, 107, 255, 0.5);
}

.alloc-donut::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.alloc-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.alloc-inner b {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.alloc-inner small {
  font-size: 12px;
  color: var(--text-dim);
}

.alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.alloc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lg-fx { background: var(--accent); }
.lg-idx { background: var(--accent-2); }
.lg-cry { background: #5ee7a3; }
.lg-met { background: #a78bfa; }
.lg-eng { background: #fbbf24; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mk-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 107, 255, 0.4);
  box-shadow: var(--shadow-card);
}

.mk-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-soft);
  background: var(--brand-dim);
  border: 1px solid rgba(122, 107, 255, 0.25);
}

.mk-card h3 {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 5px;
}

.mk-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.cmp-table th,
.cmp-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.cmp-table th {
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.cmp-table th.hl {
  color: var(--brand-soft);
  background: rgba(122, 107, 255, 0.1);
}

.cmp-table td { color: var(--text-muted); }
.cmp-table td:first-child { color: var(--text); font-weight: 500; }
.cmp-table td.hl {
  background: rgba(122, 107, 255, 0.07);
  color: var(--brand-soft);
}
.cmp-table td.hl b { color: #fff; font-family: var(--font-head); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.cmp-table tbody tr:hover td.hl { background: rgba(122, 107, 255, 0.12); }

/* ==========================================================================
   Pricing cards (eratrade.net style)
   ========================================================================== */

.pricing-block {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  overflow: visible;
}

.pricing-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tab-group-pill {
  display: flex;
  background: rgba(15, 16, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 62.4375rem;
  padding: 0.25rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 62.4375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  background: var(--brand);
  color: #0b0a12;
}

.pricing-stats-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pricing-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  background: rgba(15, 15, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 62.4375rem;
  padding: 0.75rem 1.5rem;
  transition: border-radius 0.35s ease;
}

.is-instant .pricing-stats {
  border-radius: 1rem;
  max-width: 100%;
}

.stat-item {
  font-size: 0.875rem;
  color: var(--text-dim);
  white-space: nowrap;
  font-weight: 500;
}

.stat-item strong {
  color: var(--text);
  font-weight: 600;
}

.stat-dot {
  color: var(--text-dim);
  opacity: 0.55;
  font-size: 0.5rem;
}

.pricing-cards {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  width: 100%;
  overflow: visible;
  padding: 1rem 0 0.5rem;
}

.is-instant .pricing-cards {
  gap: 1.75rem;
}

.p-card-wrap {
  flex: 1;
  position: relative;
  transition: transform 0.3s ease;
  animation: fadeSlideUp 0.35s ease both;
}

.is-instant .p-card-wrap {
  flex: 0 1 17rem;
  max-width: 17rem;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.p-card-wrap:nth-child(2) { animation-delay: 0.04s; }
.p-card-wrap:nth-child(3) { animation-delay: 0.08s; }
.p-card-wrap:nth-child(4) { animation-delay: 0.12s; }
.p-card-wrap:nth-child(5) { animation-delay: 0.16s; }

.p-card-wrap:hover { transform: translateY(-0.25rem); }

.p-badge {
  position: absolute;
  top: -0.5rem;
  right: 0.75rem;
  background: var(--brand);
  color: #f3f4f8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1875rem 0.75rem;
  border-radius: 62.4375rem;
  white-space: nowrap;
  z-index: 2;
  line-height: 1.45;
}

.p-card {
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(122, 107, 255, 0.06) 0%, rgba(122, 107, 255, 0.02) 100%);
  border: none;
  box-shadow: 0 0.625rem 1.5rem -0.75rem rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(1.125rem);
  transition: box-shadow 0.3s ease;
}

.p-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.0625rem;
  background: linear-gradient(
    to bottom,
    rgba(122, 107, 255, 0.4) 0%,
    rgba(122, 107, 255, 0.15) 40%,
    rgba(122, 107, 255, 0.03) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.p-card.hi {
  background: linear-gradient(180deg, rgba(122, 107, 255, 0.12) 0%, rgba(122, 107, 255, 0.048) 100%);
  box-shadow:
    0 0.625rem 1.5rem -0.75rem rgba(0, 0, 0, 0.4),
    0 0.9375rem 2.1rem rgba(0, 0, 0, 0.4),
    inset 0 0.047rem 0 0.047rem rgba(255, 255, 255, 0.08);
}

.p-card.hi::after {
  background: linear-gradient(
    to bottom,
    rgba(122, 107, 255, 1) 0%,
    rgba(197, 191, 255, 0.5) 20%,
    rgba(122, 107, 255, 0.1) 100%
  );
}

.p-card-wrap:hover .p-card.hi,
.p-card-wrap:hover .p-card {
  box-shadow:
    0 1rem 2.5rem -0.5rem rgba(122, 107, 255, 0.2),
    inset 0 0.047rem 0 0.047rem rgba(255, 255, 255, 0.1);
}

.p-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(90deg,
    rgba(122, 107, 255, 0) 0%,
    rgba(122, 107, 255, 1) 30%,
    rgba(197, 191, 255, 0.76) 50%,
    rgba(122, 107, 255, 0) 100%);
}

.p-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.p-account {
  font-family: 'Unbounded', var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.p-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 1.25rem;
}

.p-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-row-l {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.p-row-v {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.p-line {
  height: 0.0625rem;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.p-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.p-old {
  font-family: 'Unbounded', var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: line-through;
}

.p-price {
  font-family: 'Unbounded', var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.p-btn {
  display: block;
  text-align: center;
  padding: 0.875rem 1.75rem;
  background: var(--brand);
  color: #f8fafc;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: auto;
}

.p-btn:hover { background: #6b5ce6; }

.plans-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 34px;
}

/* ==========================================================================
   Growth
   ========================================================================== */

.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.growth-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.growth-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 107, 255, 0.35);
  box-shadow: var(--shadow-card);
}

.growth-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 17, 34, 0.6), rgba(5, 11, 24, 0.9));
  border-bottom: 1px solid var(--line);
  padding: 22px 4px 0;
}

.growth-visual svg {
  width: 100%;
  height: 150px;
}

.growth-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.g-a { background: var(--brand-dim); color: var(--brand-soft); border: 1px solid rgba(122, 107, 255, 0.3); }
.g-b { background: rgba(94, 231, 163, 0.12); color: var(--accent-3); border: 1px solid rgba(94, 231, 163, 0.3); }

.growth-body {
  padding: 26px;
}

.growth-body h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.growth-body p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.growth-body p b { color: var(--brand-soft); }

.growth-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.growth-metrics div {
  flex: 1;
  min-width: 90px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
}

.growth-metrics dt {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.growth-metrics dd {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.section-stats {
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(122, 107, 255, 0.08), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-big {
  text-align: center;
  padding: 26px 14px;
}

.stat-big-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.5px;
}

.stat-big-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s ease;
}

.faq-item[open] {
  border-color: rgba(122, 107, 255, 0.4);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-soft);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 72ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-section {
  padding: 90px 0;
}

.cta-box {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, rgba(122, 107, 255, 0.1), rgba(47, 191, 127, 0.05));
  border: 1px solid rgba(122, 107, 255, 0.3);
  border-radius: 26px;
  padding: 64px 30px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(122, 107, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto 18px;
  letter-spacing: -0.3px;
}

.cta-box > p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 34px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cta-note {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.8);
  padding: 56px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 360px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--brand-soft); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: var(--text-dim);
}

.footer-disclaimer {
  max-width: 980px;
  line-height: 1.5;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .trend-line { animation: none; stroke-dashoffset: 0; }
  .ticker-track { animation: none; }
  .hero-badge, .hero h1, .hero-sub, .hero-cta, .hero-stats, .hero-visual { animation: none; opacity: 1; transform: none; }
  .float-badge { animation: none; }
  .donut { animation: none; }
  .meter-fill, .bar-fill { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { align-items: center; text-align: center; }
  .hero h1, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .calc-box { grid-template-columns: 1fr; }
  .markets-wrap { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(3, 1fr); }

  .pricing-block { gap: 1.75rem; }
  .pricing-stats { border-radius: 1rem; padding: 0.625rem 1rem; }
  .pricing-cards {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }
  .pricing-cards::-webkit-scrollbar { display: none; }
  .pricing-cards { -ms-overflow-style: none; scrollbar-width: none; }
  .p-card-wrap {
    flex: 0 0 auto;
    min-width: 14rem;
    max-width: 50vw;
    width: 40vw;
    scroll-snap-align: start;
  }
  .is-instant .p-card-wrap { max-width: 50vw; width: 40vw; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 11, 24, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child { border-bottom: none; }

  .burger { display: flex; }

  .header-actions .btn { display: none; }

  .steps { grid-template-columns: 1fr; }
  .growth-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .section { padding: 64px 0; }

  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 48px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero-stats { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 12px 14px; }
  .stat-num { font-size: 20px; }

  .fb-1 { top: -16px; left: 8px; }
  .fb-2 { right: 8px; bottom: 40px; }
  .float-badge { padding: 10px 14px; }
  .float-badge .fb-icon { width: 30px; height: 30px; }
  .fb-text b { font-size: 12.5px; }
  .fb-text small { font-size: 11px; }

  .cp-foot { justify-content: center; text-align: center; }

  .pain-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 6px; }
  .donut { width: 150px; height: 150px; }
  .donut-inner b { font-size: 36px; }
  .cta-box { padding: 48px 22px; }
  .hero-scroll-hint { display: none; }

  .calc-box { padding: 22px; }
  .calc-segs { grid-template-columns: repeat(2, 1fr); }
  .calc-result-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .alloc-donut { width: 160px; height: 160px; }

  .pricing-block { gap: 1.25rem; }
  .pricing-tabs { gap: 0.5rem; }
  .tab-group-pill { padding: 0.1875rem; }
  .tab-group-pill .tab-btn { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
  .pricing-stats {
    border-radius: 1rem;
    padding: 0.5rem 0.875rem;
    gap: 0.125rem 0.5rem;
    justify-content: flex-start;
    text-align: left;
  }
  .stat-item { font-size: 0.8125rem; }
  .stat-dot { display: none; }
  .pricing-cards { gap: 1rem; padding-right: 1.5rem; }
  .p-card-wrap,
  .is-instant .p-card-wrap {
    min-width: 70vw;
    max-width: 75vw;
    width: 70vw;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .header-actions .btn {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 13.5px;
  }
}