/* ============================================================
   MUSA AI – Global Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg: #05060f;
  --clr-bg2: #0a0c1a;
  --clr-surface: #0f1120;
  --clr-surface2: #161828;
  --clr-border: rgba(255,255,255,0.07);
  --clr-text: #e8eaf6;
  --clr-muted: #8a8fb5;
  --clr-accent: #6c63ff;
  --clr-accent2: #a78bfa;
  --clr-green: #22c55e;
  --clr-red: #ef4444;
  --clr-yellow: #f59e0b;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--clr-accent); }
.gradient-text {
  background: linear-gradient(135deg, #6c63ff, #a78bfa, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.positive { color: var(--clr-green); }
.negative { color: var(--clr-red); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  text-decoration: none; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  color: #fff;
  box-shadow: 0 0 24px rgba(108,99,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(108,99,255,0.55); }
.btn--ghost { background: transparent; color: var(--clr-text); }
.btn--ghost:hover { color: var(--clr-accent); }
.btn--outline {
  background: transparent; color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.btn--outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.play-icon { font-size: 0.7rem; }

/* ── Section ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.3);
  color: var(--clr-accent2); border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; margin-bottom: 12px;
}
.section-header p { color: var(--clr-muted); max-width: 540px; margin: 0 auto; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(5,6,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  text-decoration: none; color: var(--clr-text); display: flex; align-items: center; gap: 6px;
}
.logo-icon { color: var(--clr-accent); font-size: 1.6rem; }
.nav__links {
  display: flex; gap: 8px; list-style: none; margin: 0 auto;
}
.nav__links a {
  text-decoration: none; color: var(--clr-muted); font-size: 0.9rem; padding: 6px 12px;
  border-radius: 6px; transition: var(--transition);
}
.nav__links a:hover { color: var(--clr-text); background: var(--clr-border); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--clr-text); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.orb--1 { width: 600px; height: 600px; background: #6c63ff; top: -200px; left: -200px; }
.orb--2 { width: 400px; height: 400px; background: #38bdf8; bottom: -100px; right: -100px; }
.orb--3 { width: 300px; height: 300px; background: #a78bfa; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.hero__inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 80px 24px 140px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3); border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; color: var(--clr-green);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--clr-green);
  animation: pulse-green 1.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.02em;
}
.hero__sub {
  max-width: 580px; color: var(--clr-muted); font-size: 1.1rem; line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__trust {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap; justify-content: center;
  margin-top: 16px; padding: 24px 40px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); backdrop-filter: blur(10px);
}
.trust-item { text-align: center; }
.trust-num {
  display: block; font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 800; color: var(--clr-text);
}
.trust-label { font-size: 0.78rem; color: var(--clr-muted); }
.trust-divider { width: 1px; height: 40px; background: var(--clr-border); }

/* Ticker */
.ticker-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,12,26,0.85); border-top: 1px solid var(--clr-border);
  overflow: hidden; height: 44px; display: flex; align-items: center;
}
.ticker-inner {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; }
.tick--up { color: var(--clr-green); }
.tick--down { color: var(--clr-red); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--clr-bg2); }
.steps {
  display: flex; align-items: flex-start; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.step {
  flex: 1; min-width: 240px; max-width: 300px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: var(--transition);
}
.step:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 0 32px rgba(108,99,255,0.15);
  transform: translateY(-4px);
}
.step__num {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  color: var(--clr-accent); letter-spacing: 0.1em; margin-bottom: 12px;
}
.step__icon { font-size: 2.4rem; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--clr-muted); font-size: 0.9rem; }
.step__arrow {
  font-size: 2rem; color: var(--clr-accent); opacity: 0.4;
  align-self: center; flex-shrink: 0;
}

/* ============================================================
   PERFORMANCE
   ============================================================ */
.performance { background: var(--clr-bg); }

.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.perf-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition);
}
.perf-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-3px); }
.perf-card--highlight {
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(167,139,250,0.08));
  border-color: rgba(108,99,255,0.4);
}
.perf-card__label { font-size: 0.78rem; color: var(--clr-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.perf-card__val { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--clr-text); margin-bottom: 4px; }
.perf-card__sub { font-size: 0.78rem; color: var(--clr-muted); }
.perf-unit { font-size: 1rem; font-weight: 500; color: var(--clr-muted); margin-left: 4px; }

/* Bar chart */
.chart-container {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px;
}
.chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.chart-header h3 { font-family: var(--font-display); font-size: 1.05rem; }
.chart-badge {
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}
.badge--green { background: rgba(34,197,94,0.15); color: var(--clr-green); border: 1px solid rgba(34,197,94,0.3); }
.bar-chart {
  display: flex; align-items: flex-end; gap: 10px; height: 180px;
}
.bar-chart__bar {
  flex: 1; border-radius: 6px 6px 0 0; position: relative; min-width: 20px;
  background: linear-gradient(to top, #6c63ff, #a78bfa);
  transition: height 1s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}
.bar-chart__bar:hover { background: linear-gradient(to top, #a78bfa, #38bdf8); }
.bar-chart__bar .bar-tooltip {
  display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  background: var(--clr-surface2); border: 1px solid var(--clr-border);
  padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; white-space: nowrap; margin-bottom: 4px;
}
.bar-chart__bar:hover .bar-tooltip { display: block; }
.bar-chart__labels { display: flex; gap: 10px; margin-top: 8px; }
.bar-chart__labels span { flex: 1; text-align: center; font-size: 0.72rem; color: var(--clr-muted); }

/* Asset Table */
.asset-table-wrap { overflow-x: auto; }
.asset-table-wrap h3 { font-family: var(--font-display); margin-bottom: 20px; }
.asset-table {
  width: 100%; border-collapse: collapse;
  background: var(--clr-surface); border-radius: var(--radius-lg); overflow: hidden;
}
.asset-table th {
  text-align: left; padding: 14px 20px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--clr-muted);
  background: var(--clr-surface2); border-bottom: 1px solid var(--clr-border);
}
.asset-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--clr-border);
  font-size: 0.9rem;
}
.asset-table tr:last-child td { border-bottom: none; }
.asset-table tr:hover td { background: rgba(255,255,255,0.02); }
.asset-icon { margin-right: 8px; color: var(--clr-accent); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.status-dot--live { background: var(--clr-green); box-shadow: 0 0 6px var(--clr-green); animation: pulse-green 1.5s infinite; }
.status-dot--idle { background: var(--clr-yellow); }

/* ============================================================
   DASHBOARD MOCKUP
   ============================================================ */
.dashboard { background: var(--clr-bg2); }
.dashboard-mockup {
  border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--clr-surface);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 80px rgba(108,99,255,0.1);
}
.db-topbar {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 20px; background: var(--clr-surface2);
  border-bottom: 1px solid var(--clr-border);
}
.db-logo { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--clr-text); }
.db-logo strong { color: var(--clr-accent); }
.db-nav-items { display: flex; gap: 4px; margin: 0 auto; }
.db-nav-item {
  padding: 5px 14px; border-radius: 6px; font-size: 0.82rem;
  color: var(--clr-muted); cursor: default;
}
.db-nav-item--active { background: rgba(108,99,255,0.2); color: var(--clr-accent); font-weight: 600; }
.db-user { position: relative; margin-left: auto; }
.db-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.db-status-dot {
  position: absolute; bottom: 0; right: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--clr-green); border: 2px solid var(--clr-surface2);
}

.db-body { display: flex; height: 520px; }

/* Sidebar */
.db-sidebar {
  width: 160px; flex-shrink: 0;
  background: var(--clr-bg2); border-right: 1px solid var(--clr-border);
  padding: 16px 10px; display: flex; flex-direction: column; gap: 4px;
}
.db-sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.82rem; color: var(--clr-muted); cursor: default;
  transition: var(--transition);
}
.db-sidebar-item--active {
  background: rgba(108,99,255,0.2); color: var(--clr-accent); font-weight: 600;
}
.db-sidebar-item:hover:not(.db-sidebar-item--active) { background: var(--clr-border); color: var(--clr-text); }

/* Main */
.db-main { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.db-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.db-card {
  background: var(--clr-surface2); border: 1px solid var(--clr-border);
  border-radius: 10px; padding: 16px;
}
.db-card--primary { border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.08); }
.db-card__label { font-size: 0.7rem; color: var(--clr-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.db-card__val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.db-card__change { font-size: 0.72rem; margin-top: 4px; color: var(--clr-muted); }
.db-blink { animation: blink-count 2s infinite; }
@keyframes blink-count {
  0%,100% { opacity: 1; } 50% { opacity: 0.5; }
}

/* Chart area */
.db-chart-area {
  background: var(--clr-surface2); border: 1px solid var(--clr-border);
  border-radius: 10px; padding: 16px; flex: 1;
}
.db-chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.db-chart-title { font-size: 0.82rem; font-weight: 600; }
.db-chart-tabs { display: flex; gap: 4px; }
.db-tab { padding: 3px 10px; border-radius: 5px; font-size: 0.72rem; color: var(--clr-muted); cursor: default; }
.db-tab--active { background: rgba(108,99,255,0.2); color: var(--clr-accent); font-weight: 600; }
.db-chart-canvas { position: relative; }
.portfolio-svg { width: 100%; height: 100px; display: block; }
.pulse-dot { animation: svg-pulse 1.5s ease-in-out infinite; }
@keyframes svg-pulse {
  0%,100% { r: 8; opacity: 0.3; } 50% { r: 12; opacity: 0.1; }
}
.db-chart-labels { display: flex; justify-content: space-between; margin-top: 4px; }
.db-chart-labels span { font-size: 0.68rem; color: var(--clr-muted); }

/* Trades feed */
.db-trades {
  background: var(--clr-surface2); border: 1px solid var(--clr-border);
  border-radius: 10px; overflow: hidden;
}
.db-trades-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--clr-border);
  font-size: 0.82rem; font-weight: 600;
}
.live-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--clr-green); font-weight: 700; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--clr-green);
  animation: pulse-green 1.5s infinite;
}
.trade-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px; font-size: 0.78rem; border-bottom: 1px solid var(--clr-border);
}
.trade-row:last-child { border-bottom: none; }
.trade-row--buy { border-left: 2px solid var(--clr-green); }
.trade-row--sell { border-left: 2px solid var(--clr-red); }
.trade-type {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; width: 36px; text-align: center;
}
.buy { background: rgba(34,197,94,0.15); color: var(--clr-green); }
.sell { background: rgba(239,68,68,0.15); color: var(--clr-red); }
.trade-asset { font-weight: 600; width: 60px; }
.trade-size { color: var(--clr-muted); width: 80px; }
.trade-price { width: 70px; }
.trade-pnl { font-weight: 700; margin-left: auto; }
.trade-time { color: var(--clr-muted); font-size: 0.7rem; }

/* Right panel */
.db-right {
  width: 200px; flex-shrink: 0;
  background: var(--clr-bg2); border-left: 1px solid var(--clr-border);
  padding: 16px; display: flex; flex-direction: column; gap: 20px; overflow: auto;
}
.db-ai-status {
  background: var(--clr-surface); border: 1px solid rgba(108,99,255,0.3);
  border-radius: 10px; padding: 14px;
}
.db-ai-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-muted); margin-bottom: 8px; }
.db-ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(108,99,255,0.15); color: var(--clr-accent);
  font-size: 0.7rem; font-weight: 700; margin-bottom: 14px;
}
.ai-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--clr-accent);
  animation: pulse-purple 1.5s infinite;
}
@keyframes pulse-purple {
  0%,100% { box-shadow: 0 0 0 0 rgba(108,99,255,0.7); }
  50% { box-shadow: 0 0 0 5px rgba(108,99,255,0); }
}
.db-ai-bar-wrap { margin-bottom: 10px; }
.db-ai-bar-label { font-size: 0.68rem; color: var(--clr-muted); margin-bottom: 4px; }
.db-ai-bar { height: 5px; background: var(--clr-border); border-radius: 3px; overflow: hidden; }
.db-ai-fill { height: 100%; background: linear-gradient(90deg, #6c63ff, #a78bfa); border-radius: 3px; }
.db-ai-fill--green { background: linear-gradient(90deg, #22c55e, #86efac); }
.db-ai-fill--yellow { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.db-ai-bar-val { font-size: 0.68rem; color: var(--clr-muted); margin-top: 3px; text-align: right; }

.db-allocation { }
.db-alloc-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--clr-muted); margin-bottom: 12px; }
.alloc-row { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; margin-bottom: 8px; }
.alloc-row > span:first-child { width: 60px; color: var(--clr-muted); }
.alloc-row > span:last-child { width: 30px; text-align: right; font-weight: 600; }
.alloc-bar { flex: 1; height: 5px; background: var(--clr-border); border-radius: 3px; overflow: hidden; }
.alloc-bar > div { height: 100%; background: linear-gradient(90deg, #6c63ff, #a78bfa); border-radius: 3px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--clr-bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(108,99,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 40px rgba(108,99,255,0.08);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--clr-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--clr-bg2); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.testi-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition);
}
.testi-card--featured {
  border-color: rgba(108,99,255,0.5);
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(167,139,250,0.05));
}
.testi-card:hover { transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { color: var(--clr-muted); font-size: 0.95rem; line-height: 1.7; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #38bdf8);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--clr-muted); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--clr-bg); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; align-items: start;
}
.price-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 36px 32px; position: relative;
  transition: var(--transition);
}
.price-card--popular {
  border-color: var(--clr-accent);
  box-shadow: 0 0 60px rgba(108,99,255,0.2);
  transform: scale(1.03);
}
.price-card:hover { transform: translateY(-4px); }
.price-card--popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  color: white; padding: 4px 16px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.price-tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-muted); margin-bottom: 12px; }
.price-amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; color: var(--clr-muted); font-weight: 400; }
.price-deposit { font-size: 0.82rem; color: var(--clr-muted); margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 0.9rem; }
.price-features li.muted { color: var(--clr-muted); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 120px 0; position: relative; overflow: hidden;
  background: var(--clr-bg2);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.orb--cta1 { position: absolute; width: 500px; height: 500px; background: #6c63ff; top: -200px; left: -100px; filter: blur(100px); opacity: 0.2; border-radius: 50%; }
.orb--cta2 { position: absolute; width: 400px; height: 400px; background: #38bdf8; bottom: -150px; right: -100px; filter: blur(100px); opacity: 0.15; border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 16px; }
.cta-inner > p { color: var(--clr-muted); font-size: 1.05rem; margin-bottom: 36px; }
.cta-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto 16px; }
.cta-input {
  flex: 1; min-width: 240px; padding: 14px 20px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: 8px; color: var(--clr-text); font-size: 0.95rem;
  outline: none; transition: var(--transition);
}
.cta-input:focus { border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(108,99,255,0.2); }
.cta-disclaimer { font-size: 0.8rem; color: var(--clr-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--clr-bg); border-top: 1px solid var(--clr-border); padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 48px; }
.footer__brand p { color: var(--clr-muted); font-size: 0.88rem; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-muted); margin-bottom: 4px; }
.footer__col a { text-decoration: none; color: var(--clr-muted); font-size: 0.88rem; transition: var(--transition); }
.footer__col a:hover { color: var(--clr-text); }
.footer__bottom {
  padding: 20px 24px; border-top: 1px solid var(--clr-border);
  display: flex; flex-direction: column; gap: 8px;
}
.footer__bottom p { font-size: 0.8rem; color: var(--clr-muted); }
.footer__disclaimer { font-size: 0.72rem !important; opacity: 0.6; }

/* ============================================================
   SPARKLINE (inline mini chart)
   ============================================================ */
.sparkline { height: 36px; margin-top: 10px; opacity: 0.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .db-right { display: none; }
  .db-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--clr-bg); padding: 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--clr-border); z-index: 999;
  }
  .nav__links.open + .nav__actions { display: flex; }
  .hero__headline { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .db-sidebar { display: none; }
  .db-body { height: auto; flex-direction: column; }
  .db-main { height: auto; }
  .db-cards { grid-template-columns: repeat(2, 1fr); }
  .hero__trust { gap: 16px; padding: 20px 24px; }
  .trust-divider { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .perf-grid { grid-template-columns: 1fr; }
  .db-cards { grid-template-columns: 1fr 1fr; }
  .db-topbar { gap: 12px; }
  .db-nav-items { display: none; }
  .price-card--popular { transform: scale(1); }
  .price-card--popular:hover { transform: translateY(-4px); }
}
