@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

.page-loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #090d13;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: #15d18a;
  animation: loaderSpin 0.9s linear infinite;
  position: absolute;
}
.loader-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-inner > .loader-ring,
.loader-inner > .loader-logo {
  position: relative;
}
.loader-inner {
  position: relative;
}
.loader-ring {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.loader-text {
  margin-top: 68px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.loader-dots::after {
  content: '';
  animation: loaderDots 1.5s steps(4, end) infinite;
}
@keyframes loaderSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}
@keyframes loaderDots {
  0%  { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}
.page-transition-out {
  animation: pageOut 0.35s ease forwards;
}
@keyframes pageOut {
  to { opacity: 0; transform: translateY(-10px); }
}

:root {
  --bg: #090d13;
  --bg-rgb: 9,13,19;
  --card: #0f1520;
  --card-rgb: 15,21,32;
  --border: #1c2333;
  --secondary: #141c2b;
  --primary: #15d18a;
  --primary-rgb: 21,209,138;
  --primary-fg: #090d13;
  --fg: #e8ecf4;
  --muted: #8b9cc0;
  --destructive: #e74c3c;
  --success: #15d18a;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select { font-family: inherit; }
::selection { background: rgba(var(--primary-rgb), 0.3); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media(min-width:640px) { .container { padding: 0 24px; } }
@media(min-width:1024px) { .container { padding: 0 32px; } }

.glass-panel {
  background: rgba(var(--card-rgb), 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.text-glow { text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5); }
.box-glow { box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.15); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: all 0.3s; border-bottom: 1px solid transparent; padding: 14px 0;
  background: rgba(var(--bg-rgb), 0.4); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar.scrolled {
  background: rgba(var(--bg-rgb), 0.85); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06); padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.12); border: 1px solid rgba(var(--primary-rgb), 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.navbar-logo:hover .navbar-logo-icon { background: rgba(var(--primary-rgb), 0.2); border-color: rgba(var(--primary-rgb), 0.4); }
.navbar-logo-icon svg { width: 22px; height: 22px; color: var(--primary); }
.navbar-logo span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px; color: white; letter-spacing: -0.3px; }
.navbar-logo .accent { color: var(--primary); }
.nav-links { display: none; align-items: center; gap: 8px; }
@media(min-width:1024px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55);
  transition: all 0.25s; display: flex; align-items: center; gap: 6px;
  background: none; padding: 8px 14px; border-radius: 8px; position: relative;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--primary); background: rgba(var(--primary-rgb),0.08); }
.nav-link svg { width: 15px; height: 15px; opacity: 0.7; }
.nav-link:hover svg, .nav-link.active svg { opacity: 1; }
.nav-cta {
  padding: 9px 20px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #12b87a); color: var(--primary-fg);
  font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 7px;
  transition: all 0.3s; box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.25);
  border: 1px solid rgba(255,255,255,0.1);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.4); }
.mobile-toggle { display: block; padding: 8px; color: rgba(255,255,255,0.6); background: none; border-radius: 8px; transition: all 0.2s; }
.mobile-toggle:hover { color: white; background: rgba(255,255,255,0.05); }
.mobile-toggle svg { width: 22px; height: 22px; }
@media(min-width:1024px) { .mobile-toggle { display: none; } }
.mobile-menu {
  position: absolute; top: calc(100% + 4px); left: 12px; right: 12px;
  background: rgba(13,17,23,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); padding: 12px; flex-direction: column; gap: 4px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mobile-menu .mobile-link,
.mobile-menu .mobile-divider {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open .mobile-link,
.mobile-menu.open .mobile-divider {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-link:nth-child(1),
.mobile-menu.open .mobile-divider:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-link:nth-child(2),
.mobile-menu.open .mobile-divider:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(3),
.mobile-menu.open .mobile-divider:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-link:nth-child(4),
.mobile-menu.open .mobile-divider:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-link:nth-child(5),
.mobile-menu.open .mobile-divider:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-link:nth-child(6),
.mobile-menu.open .mobile-divider:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-link:nth-child(7),
.mobile-menu.open .mobile-divider:nth-child(7) { transition-delay: 0.3s; }
@media(min-width:1024px) { .mobile-menu { display: none !important; } }
.mobile-link {
  padding: 12px 16px; border-radius: 10px; font-weight: 500; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 10px; background: none; text-align: left; width: 100%;
  transition: all 0.2s;
}
.mobile-link:hover { background: rgba(255,255,255,0.05); color: white; }
.mobile-link svg { width: 18px; height: 18px; opacity: 0.5; flex-shrink: 0; }
.mobile-link:hover svg { opacity: 0.8; }
.mobile-link.cta-mobile {
  background: linear-gradient(135deg, var(--primary), #12b87a); color: var(--primary-fg); font-weight: 700;
  justify-content: center; margin-top: 8px; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.3);
}
.mobile-link.cta-mobile svg { opacity: 1; }
.mobile-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 8px; }

/* ===== MARQUEE ===== */
.marquee-strip {
  overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(var(--card-rgb), 0.3); backdrop-filter: blur(4px); padding: 6px 0;
}
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; }
.marquee-set.left { animation: marquee-left linear infinite; }
.marquee-set.right { animation: marquee-right linear infinite; }
.ticker-item {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; white-space: nowrap;
}
.ticker-type {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.05);
  color: rgba(var(--muted),0.6); text-transform: uppercase; color: #5a6a8a;
}
.ticker-symbol { font-weight: 500; color: rgba(255,255,255,0.8); font-size: 14px; }
.ticker-price { font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.7); font-size: 14px; }
.ticker-change { font-family: 'JetBrains Mono', monospace; font-size: 12px; display: flex; align-items: center; gap: 2px; }
.ticker-change.up { color: var(--success); }
.ticker-change.down { color: var(--destructive); }
.ticker-change svg { width: 12px; height: 12px; }

@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ===== FLOATING TICKERS ===== */
.floating-tickers {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
@media(max-width:767px) { .floating-tickers { display: none; } }
.float-item {
  position: absolute; font-family: 'JetBrains Mono', monospace; white-space: nowrap;
  animation: float-up linear infinite;
}
.float-item .sym { color: rgba(255,255,255,0.6); }
.float-item .price { color: rgba(255,255,255,0.4); margin-left: 6px; }
.float-item .chg-up { color: rgba(21,209,138,0.4); margin-left: 6px; }
.float-item .chg-dn { color: rgba(231,76,60,0.4); margin-left: 6px; }
@keyframes float-up {
  0% { transform: translateY(20vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(30px); opacity: 0; }
}

/* ===== HERO ===== */
.hero { padding: 72px 0 48px; position: relative; }
@media(min-width:768px) { .hero { padding: 140px 0 96px; } }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden; z-index: -1; pointer-events: none; }
.hero-blob1 { position: absolute; top: -20%; left: -10%; width: 50%; height: 50%; border-radius: 50%; background: rgba(var(--primary-rgb),0.2); filter: blur(120px); }
.hero-blob2 { position: absolute; top: 20%; right: -10%; width: 40%; height: 40%; border-radius: 50%; background: rgba(59,130,246,0.1); filter: blur(120px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media(min-width:1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px; background: rgba(var(--primary-rgb),0.1);
  border: 1px solid rgba(var(--primary-rgb),0.2); color: var(--primary);
  font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.live-dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.live-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--primary); opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.live-dot::after { content: ''; position: relative; display: inline-flex; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.hero h1 {
  font-size: 36px; font-weight: 800; line-height: 1.1; margin-bottom: 16px;
  background: linear-gradient(to right, white, rgba(255,255,255,0.6));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media(min-width:640px) { .hero h1 { font-size: 48px; } }
@media(min-width:768px) { .hero h1 { font-size: 72px; } }
.hero h1 .white { -webkit-text-fill-color: white; }
.hero-desc { font-size: 16px; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
@media(min-width:640px) { .hero-desc { font-size: 18px; } }
@media(min-width:768px) { .hero-desc { font-size: 20px; margin-bottom: 32px; } }
.hero-buttons { display: flex; flex-direction: column; gap: 16px; }
@media(min-width:640px) { .hero-buttons { flex-direction: row; } }
.btn-primary {
  padding: 16px 32px; border-radius: 12px; background: var(--primary); color: var(--primary-fg);
  font-weight: 700; font-size: 18px; transition: all 0.3s; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover { background: #12b87a; }
.btn-secondary {
  padding: 16px 32px; border-radius: 12px; background: var(--secondary); color: white;
  font-weight: 600; font-size: 18px; border: 1px solid var(--border);
  transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }
.btn-white {
  padding: 16px 32px; border-radius: 12px; background: white; color: var(--bg);
  font-weight: 700; font-size: 18px; transition: all 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.btn-white:hover { background: #e5e5e5; }
.trust-badges { margin-top: 40px; display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.trust-badges svg { width: 20px; height: 20px; color: var(--primary); }
.trust-badge { display: flex; align-items: center; gap: 8px; }

/* ===== HERO DASHBOARD ===== */
.hero-dashboard {
  display: grid; gap: 12px; width: 100%;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "pie"
    "yields"
    "perf"
    "strip";
}
@media(min-width:768px) {
  .hero-dashboard {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "pie yields"
      "perf perf"
      "strip strip";
  }
}
@media(min-width:1024px) {
  .hero-dashboard {
    grid-template-columns: 3fr 2fr;
    grid-template-areas:
      "main pie"
      "yields yields"
      "perf strip";
  }
  .hero-dashboard .chart-panel { height: 300px; }
}

.hero-pie-panel { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-pie-panel canvas { max-width: 140px; max-height: 140px; }
.dash-label {
  font-size: 11px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600; margin-bottom: 2px; width: 100%;
}
.pie-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.pie-legend-item {
  display: flex; align-items: center; gap: 4px; font-size: 10px; color: rgba(255,255,255,0.7);
  font-family: 'JetBrains Mono', monospace;
}
.pie-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.hero-yields-panel { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.yield-bars { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; }
.yield-bar-row {
  display: flex; align-items: center; gap: 8px;
}
.yield-bar-label {
  font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 600;
  width: 48px; flex-shrink: 0; font-family: 'JetBrains Mono', monospace;
}
.yield-bar-track {
  flex: 1; height: 18px; background: rgba(255,255,255,0.04); border-radius: 4px;
  overflow: hidden; position: relative;
}
.yield-bar-fill {
  height: 100%; border-radius: 4px; transition: width 1.5s ease-out;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 6px;
  font-size: 10px; font-weight: 700; color: white; font-family: 'JetBrains Mono', monospace;
  min-width: 36px; white-space: nowrap;
}

.hero-perf-panel { padding: 16px; }
.hero-perf-panel canvas { width: 100%; height: 100px; }

.hero-stats-strip {
  padding: 12px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.hero-mini-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 60px; }
.hero-mini-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.hero-mini-value {
  font-size: 16px; font-weight: 700; color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== CHART PANEL ===== */
.chart-panel { position: relative; height: 300px; width: 100%; border-radius: 16px; padding: 16px; overflow: hidden; }
@media(min-width:640px) { .chart-panel { height: 350px; padding: 24px; } }
@media(min-width:1024px) { .chart-panel { height: 350px; } }
.chart-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
@media(min-width:640px) { .chart-header { margin-bottom: 24px; } }
.chart-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
@media(min-width:640px) { .chart-label { font-size: 14px; } }
.chart-value { font-family: 'Outfit',sans-serif; font-size: 24px; font-weight: 700; color: white; }
@media(min-width:640px) { .chart-value { font-size: 30px; } }
.chart-ytd { color: var(--primary); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.chart-canvas { width: 100%; height: calc(100% - 80px); }

/* ===== STATS ===== */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(var(--card-rgb), 0.3); backdrop-filter: blur(12px); padding: 24px 0;
}
@media(min-width:640px) { .stats-bar { padding: 32px 0; } }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media(min-width:640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.stat-item { text-align: center; }
.stat-value {
  font-family: 'Outfit',sans-serif; font-size: 24px; font-weight: 700; color: white;
  margin-bottom: 4px; text-shadow: 0 0 20px rgba(var(--primary-rgb),0.5);
}
@media(min-width:640px) { .stat-value { font-size: 30px; margin-bottom: 8px; } }
@media(min-width:768px) { .stat-value { font-size: 36px; } }
.stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
@media(min-width:640px) { .stat-label { font-size: 13px; } }

/* ===== MARKETS + HOW IT WORKS ===== */
.section-markets { padding: 64px 0; }
@media(min-width:640px) { .section-markets { padding: 96px 0; } }
.markets-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media(min-width:1024px) { .markets-grid { grid-template-columns: 4fr 8fr; } }
.markets-title {
  font-size: 20px; font-weight: 700; color: white; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.markets-title svg { width: 20px; height: 20px; color: var(--primary); }
.market-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-radius: 12px; background: rgba(var(--card-rgb),0.5);
  border: 1px solid rgba(255,255,255,0.05); cursor: pointer;
  transition: background 0.2s; margin-bottom: 16px;
}
.market-card:hover { background: var(--secondary); }
.market-symbol { font-weight: 700; color: white; }
.market-vol { font-size: 14px; color: var(--muted); margin-top: 2px; }
.market-price { font-family: 'JetBrains Mono', monospace; color: white; text-align: right; }
.market-change { font-size: 14px; font-weight: 500; color: var(--success); }
.market-locked {
  width: 100%; margin-top: 16px; padding: 12px; border-radius: 12px;
  border: 1px dashed var(--border); color: var(--muted); background: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s; font-size: 14px;
}
.market-locked:hover { color: white; border-color: rgba(255,255,255,0.2); }
.market-locked svg { width: 16px; height: 16px; }
.how-title { font-family: 'Outfit',sans-serif; font-size: 24px; font-weight: 700; color: white; margin-bottom: 32px; }
@media(min-width:640px) { .how-title { font-size: 30px; margin-bottom: 48px; } }
@media(min-width:768px) { .how-title { font-size: 36px; } }
@media(min-width:1024px) { .how-section { padding-left: 48px; } }
.step { position: relative; padding-left: 48px; margin-bottom: 48px; }
.step-num {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(var(--primary-rgb),0.2); color: var(--primary);
  font-family: 'Outfit',sans-serif; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(var(--primary-rgb),0.3);
  box-shadow: 0 0 30px rgba(var(--primary-rgb),0.15);
}
.step h4 { font-size: 22px; font-weight: 700; color: white; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.step-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 96px 0; background: rgba(var(--card-rgb),0.2);
  border-top: 1px solid var(--border); position: relative; overflow: hidden;
}
.testimonials-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 400px; background: rgba(var(--primary-rgb),0.05);
  filter: blur(150px); border-radius: 50%; pointer-events: none;
}
.testimonials-header { text-align: center; max-width: 768px; margin: 0 auto 64px; position: relative; z-index: 1; }
.testimonials-header h2 { font-size: 24px; font-weight: 700; color: white; margin-bottom: 16px; }
@media(min-width:640px) { .testimonials-header h2 { font-size: 30px; margin-bottom: 24px; } }
@media(min-width:768px) { .testimonials-header h2 { font-size: 48px; } }
.testimonials-header p { font-size: 16px; color: var(--muted); }
@media(min-width:640px) { .testimonials-header p { font-size: 18px; } }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; z-index: 1; }
@media(min-width:768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card { padding: 32px; border-radius: 16px; position: relative; }
.testimonial-badge {
  position: absolute; top: 0; right: 32px; transform: translateY(-50%);
  padding: 4px 16px; background: var(--primary); color: var(--primary-fg);
  font-size: 14px; font-weight: 700; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.testimonial-text { color: var(--muted); font-size: 17px; margin-bottom: 32px; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border);
}
.testimonial-name { font-weight: 700; color: white; }
.testimonial-role { font-size: 14px; color: var(--primary); }
.testimonials-cta { margin-top: 64px; text-align: center; position: relative; z-index: 1; }

/* ===== INVEST PAGE ===== */
.invest-header { text-align: center; margin-bottom: 48px; scroll-margin-top: 100px; }
.invest-header h1 { font-size: 30px; font-weight: 700; color: white; margin-bottom: 12px; }
@media(min-width:640px) { .invest-header h1 { font-size: 36px; margin-bottom: 16px; } }
@media(min-width:768px) { .invest-header h1 { font-size: 48px; } }
.invest-header p { font-size: 16px; color: var(--muted); max-width: 640px; margin: 0 auto 12px; }
@media(min-width:640px) { .invest-header p { font-size: 18px; margin-bottom: 16px; } }
.rate-indicator { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: 14px; font-weight: 500; justify-content: center; }
.rate-indicator svg { width: 16px; height: 16px; }
.invest-content { padding: 40px 0 64px; }
@media(min-width:640px) { .invest-content { padding: 64px 0 96px; } }
.calculator-panel { padding: 16px; border-radius: 16px; margin-bottom: 32px; }
@media(min-width:640px) { .calculator-panel { padding: 24px; border-radius: 24px; margin-bottom: 48px; } }
@media(min-width:768px) { .calculator-panel { padding: 32px; } }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media(min-width:1024px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.input-label { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 8px; display: block; }
.amount-input-wrap { position: relative; margin-bottom: 24px; }
.amount-input-wrap .dollar { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.amount-input-wrap .dollar svg { width: 24px; height: 24px; }
.amount-input {
  width: 100%; background: var(--bg); border: 2px solid var(--border); border-radius: 12px;
  padding: 16px 16px 16px 48px; font-family: 'JetBrains Mono', monospace;
  font-size: 24px; color: white; outline: none; transition: all 0.2s;
}
.amount-input:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.presets { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.preset-btn {
  padding: 8px 16px; border-radius: 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 14px; transition: all 0.2s; border: 1px solid transparent;
  background: var(--secondary); color: var(--muted);
}
.preset-btn:hover { background: rgba(var(--card-rgb),0.8); color: white; }
.preset-btn.active { background: rgba(var(--primary-rgb),0.2); border-color: var(--primary); color: var(--primary); }
.security-note {
  padding: 16px; background: rgba(var(--primary-rgb),0.1); border: 1px solid rgba(var(--primary-rgb),0.2);
  border-radius: 12px; display: flex; align-items: flex-start; gap: 12px;
}
.security-note svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.security-note p { font-size: 14px; color: rgba(var(--primary-rgb),0.9); }
.earnings-panel {
  background: var(--bg); border-radius: 12px; padding: 16px; border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
@media(min-width:640px) { .earnings-panel { border-radius: 16px; padding: 24px; } }
.earnings-dot { position: absolute; top: 12px; right: 12px; }
.earnings-title {
  font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em; text-align: center; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.earnings-title svg { width: 16px; height: 16px; color: var(--primary); }
.earning-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 8px;
}
.earning-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.earning-label { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.earning-label svg { width: 14px; height: 14px; display: none; }
@media(min-width:640px) { .earning-label svg { display: block; } }
.earning-value { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 20px; color: white; }
@media(min-width:640px) { .earning-value { font-size: 24px; } }
.earning-value.accent { color: var(--primary); }
.earning-value.glow { color: var(--success); text-shadow: 0 0 20px rgba(var(--primary-rgb),0.5); }
.earning-value.glow-lg { color: var(--success); text-shadow: 0 0 20px rgba(var(--primary-rgb),0.5); font-size: 24px; }
@media(min-width:640px) { .earning-value.glow { font-size: 28px; } .earning-value.glow-lg { font-size: 30px; } }

/* ===== LOCKED PREVIEW SECTION ===== */
.section-locked-preview { padding: 96px 0; }
.section-locked-preview .locked-section { margin-bottom: 0; }

/* ===== LOCKED STRATEGY ===== */
.locked-section { position: relative; margin-bottom: 96px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.locked-content { padding: 24px; user-select: none; pointer-events: none; }
@media(min-width:640px) { .locked-content { padding: 32px; } }
.locked-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px; }
.locked-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
@media(min-width:640px) { .locked-metrics { grid-template-columns: repeat(4, 1fr); } }
.locked-metric-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 16px; }
.locked-table { width: 100%; text-align: left; border-collapse: collapse; margin-bottom: 16px; }
.locked-table th { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.locked-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; color: var(--muted); white-space: nowrap; }
.locked-table .target { color: var(--success); }
.locked-table .stop { color: var(--destructive); }
.status-badge { padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.status-badge.active { background: rgba(21,209,138,0.15); color: var(--success); }
.status-badge.pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.locked-bottom-bar { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 8px; }
.locked-overlay {
  position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(var(--bg-rgb),0.5) 0%, rgba(var(--bg-rgb),0.85) 60%, rgba(var(--bg-rgb),0.95) 100%);
}
.locked-icon {
  width: 64px; height: 64px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(12px);
}
.locked-icon svg { width: 32px; height: 32px; color: white; }
.locked-overlay h3 { font-size: 24px; font-weight: 700; color: white; margin-bottom: 8px; }
@media(min-width:640px) { .locked-overlay h3 { font-size: 30px; } }
.locked-overlay p { color: var(--muted); max-width: 448px; margin-bottom: 32px; }

/* ===== FORM ===== */
.form-section { max-width: 768px; margin: 0 auto; padding-top: 48px; scroll-margin-top: 128px; }
.form-panel { padding: 20px; border-radius: 16px; position: relative; overflow: hidden; }
@media(min-width:640px) { .form-panel { padding: 32px; border-radius: 24px; } }
@media(min-width:768px) { .form-panel { padding: 48px; } }
.form-glow {
  position: absolute; top: 0; right: 0; width: 256px; height: 256px;
  background: rgba(var(--primary-rgb),0.1); filter: blur(80px); border-radius: 50%; pointer-events: none;
}
.form-title { font-size: 24px; font-weight: 700; color: white; margin-bottom: 8px; }
@media(min-width:640px) { .form-title { font-size: 30px; } }
.form-desc { color: var(--muted); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media(min-width:768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--muted); }
.form-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; color: white; font-size: 16px; outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.form-input::placeholder { color: var(--muted); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b9cc0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.form-input option { background: var(--bg); color: white; }
.form-error { color: var(--destructive); font-size: 13px; }
.terms-row { display: flex; align-items: flex-start; gap: 12px; padding-top: 16px; }
.terms-row input[type="checkbox"] { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--primary); flex-shrink: 0; }
.terms-row label { font-size: 14px; color: var(--muted); line-height: 1.6; }
.btn-submit {
  width: 100%; margin-top: 32px; padding: 20px; border-radius: 12px;
  background: var(--primary); color: var(--primary-fg); font-weight: 700;
  font-size: 20px; transition: all 0.3s; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.btn-submit:hover { background: #12b87a; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.spinner {
  width: 24px; height: 24px; border: 2px solid rgba(var(--bg-rgb),0.3);
  border-top-color: var(--primary-fg); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SUCCESS ===== */
.success-panel { padding: 48px; border-radius: 24px; text-align: center; }
.success-icon { width: 96px; height: 96px; color: var(--primary); margin: 0 auto 24px; }
.success-icon svg { width: 96px; height: 96px; }
.success-panel h2 { font-size: 36px; font-weight: 700; color: white; margin-bottom: 16px; }
.success-panel p { font-size: 20px; color: var(--muted); margin-bottom: 32px; }
.success-panel p strong { color: white; }
.success-panel .note { color: var(--muted); border-top: 1px solid var(--border); padding-top: 32px; font-size: 16px; }

/* ===== MULTI-STEP SURVEY ===== */
.survey-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.survey-dots { display: flex; gap: 8px; }
.survey-dot { height: 8px; border-radius: 999px; transition: all 0.3s; }
.survey-dot.active { width: 48px; background: var(--primary); }
.survey-dot:not(.active) { width: 16px; background: rgba(255,255,255,0.1); }
.survey-step-label { color: var(--primary); font-family: 'Outfit',sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.survey-step { animation: surveyFadeIn 0.3s ease; }
@keyframes surveyFadeIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.survey-group-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; }
.survey-error { color: var(--destructive); font-size: 13px; font-weight: 500; display: none; margin-top: 6px; }
.survey-error::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--destructive); display: inline-block; margin-right: 6px; vertical-align: middle; }
.survey-error-box { background: rgba(239,68,68,0.1); color: var(--destructive); padding: 16px; border-radius: 16px; font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; }
.survey-err-summary { background: rgba(239,68,68,0.08); border-radius: 16px; padding: 16px; margin-top: 12px; }
.survey-actions { display: flex; justify-content: flex-end; padding-top: 8px; }
.survey-back-btn { background: none; border: none; color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; display: flex; align-items: center; gap: 4px; margin-bottom: 24px; padding: 0; font-family: 'Inter',sans-serif; transition: color 0.2s; }
.survey-back-btn:hover { color: white; }
.survey-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.survey-options.gender-grid { grid-template-columns: 1fr 1fr; }
.survey-options.coin-grid { grid-template-columns: 1fr 1fr; }
@media(max-width:500px) { .survey-options { grid-template-columns: 1fr; } .survey-options.gender-grid { grid-template-columns: 1fr; } .survey-options.coin-grid { grid-template-columns: 1fr; } }
.survey-option { display: flex; align-items: center; gap: 12px; border: 2px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.02); min-width: 0; overflow: hidden; }
.survey-option:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
.survey-option.selected { border-color: var(--primary); background: rgba(var(--primary-rgb),0.08); box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.15); }
.survey-option input[type=radio], .survey-option input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.2); border-radius: 50%; flex-shrink: 0; position: relative; transition: all 0.2s; }
.survey-option input[type=checkbox] { border-radius: 6px; }
.survey-option.selected input[type=radio], .survey-option.selected input[type=checkbox] { border-color: var(--primary); }
.survey-option.selected input[type=radio]::after, .survey-option.selected input[type=checkbox]::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary); }
.survey-option.selected input[type=checkbox]::after { border-radius: 2px; }
.survey-option span { font-weight: 600; font-size: 0.875rem; color: rgba(255,255,255,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.survey-option.selected span { color: white; }
.survey-option img { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.phone-country-btn { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; height: 52px; padding: 0 16px; font-size: 1.05rem; cursor: pointer; font-family: inherit; flex-shrink: 0; transition: border-color 0.2s; }
.phone-country-btn:hover { border-color: rgba(255,255,255,0.2); }
.phone-chevron { transition: transform 0.2s; color: var(--muted); }
.phone-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phone-pills button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0; border-radius: 12px; font-size: 0.875rem; font-weight: 500; font-family: inherit; cursor: pointer; transition: all 0.15s; background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.08); color: white; }
.phone-pills button:hover { background: rgba(255,255,255,0.06); }
.phone-pills button.active { background: rgba(var(--primary-rgb),0.1); border-color: var(--primary); }
.phone-pills button .dial { color: var(--muted); }
.survey-other-field { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s, opacity 0.3s, margin 0.3s; margin-top: 0; }
.survey-other-field.visible { max-height: 200px; opacity: 1; margin-top: 16px; }
.survey-years-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media(max-width:500px) { .survey-years-grid { grid-template-columns: repeat(3, 1fr); } }
.survey-year-btn { height: 48px; border-radius: 12px; font-weight: 700; font-size: 0.85rem; border: 2px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: 'Inter',sans-serif; }
.survey-year-btn.active { border-color: var(--primary); background: rgba(var(--primary-rgb),0.1); color: white; box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.15); }
.survey-year-value { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--primary-rgb),0.1); color: white; font-weight: 700; font-size: 1.1rem; padding: 10px 20px; border-radius: 12px; }
.survey-result-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--primary-rgb),0.15); color: var(--primary); border-radius: 100px; padding: 6px 16px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.survey-result-card { border-radius: 24px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 24px; }
.survey-reward-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border-radius: 12px; padding: 10px 16px; margin-bottom: 8px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.survey-reward-icon { width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.survey-prize-notice { background: rgba(var(--primary-rgb),0.05); border-radius: 16px; padding: 20px; margin-bottom: 32px; display: flex; gap: 12px; align-items: flex-start; }
.survey-prize-notice h5 { font-size: 0.9rem; font-weight: 700; color: white; margin-bottom: 4px; }
.survey-prize-notice p { font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
.survey-prize-notice strong { color: white; }

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 48px; }
@media(min-width:640px) { .footer { padding: 48px 0; margin-top: 80px; } }
@media(min-width:768px) { .footer { padding: 64px 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media(min-width:768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; } }
.footer-brand p { color: var(--muted); max-width: 384px; margin-top: 16px; font-size: 14px; line-height: 1.7; }
.footer-socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-social {
  width: 40px; height: 40px; border-radius: 50%; background: var(--secondary);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: all 0.2s;
}
.footer-social:hover { color: var(--primary); background: rgba(var(--primary-rgb),0.1); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-link {
  display: flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 14px; padding: 6px 0; transition: color 0.2s;
}
.footer-link:hover { color: white; }
.footer-link svg { width: 16px; height: 16px; color: rgba(var(--primary-rgb),0.6); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media(min-width:768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 12px; color: var(--muted); }
@media(min-width:640px) { .footer-bottom p { font-size: 13px; } }
.footer-bottom .disclaimer { max-width: 640px; text-align: center; }
@media(min-width:768px) { .footer-bottom .disclaimer { text-align: right; } }

/* ===== CTA ANIMATIONS ===== */
@keyframes cta-icon-nudge {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.cta-animated .cta-icon, .cta-animated-white .cta-icon, .cta-animated-outline .cta-icon,
.btn-submit .cta-icon {
  display: inline-flex; animation: cta-icon-nudge 1.5s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 0 8px rgba(var(--primary-rgb),0.3), 0 0 20px rgba(var(--primary-rgb),0.1); }
  50% { box-shadow: 0 0 20px rgba(var(--primary-rgb),0.6), 0 0 40px rgba(var(--primary-rgb),0.2); }
}
@keyframes cta-pulse-white {
  0%,100% { box-shadow: 0 0 8px rgba(255,255,255,0.2), 0 0 20px rgba(255,255,255,0.05); }
  50% { box-shadow: 0 0 20px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.1); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes subtle-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.cta-animated {
  animation: cta-pulse 2.5s ease-in-out infinite, subtle-bounce 3s ease-in-out infinite;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.cta-animated::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s ease-in-out infinite; pointer-events: none;
}
.cta-animated:hover { transform: scale(1.03) translateY(-1px); animation: none; }
.cta-animated:hover::after { animation: none; opacity: 0; }
.cta-animated-white {
  animation: cta-pulse-white 2.5s ease-in-out infinite, subtle-bounce 3s ease-in-out infinite;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.cta-animated-white::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s ease-in-out infinite; pointer-events: none;
}
.cta-animated-white:hover { transform: scale(1.03) translateY(-1px); animation: none; }
.cta-animated-white:hover::after { animation: none; opacity: 0; }
.cta-animated-outline {
  position: relative; overflow: hidden; transition: all 0.3s; animation: subtle-bounce 4s ease-in-out infinite;
}
.cta-animated-outline::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 4s ease-in-out infinite; pointer-events: none;
}
.cta-animated-outline:hover { transform: scale(1.03) translateY(-1px); animation: none; }

/* ===== MODAL ===== */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 50;
  align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-bg {
  position: absolute; inset: 0; background: rgba(var(--bg-rgb),0.8);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-content {
  position: relative; width: 100%; max-width: 512px; border-radius: 16px;
  overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  max-height: 90vh; overflow-y: auto;
}
.modal-inner { padding: 24px; }
@media(min-width:640px) { .modal-inner { padding: 32px; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; padding: 8px; border-radius: 50%;
  color: var(--muted); background: none; transition: all 0.2s;
}
.modal-close:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.modal-close svg { width: 20px; height: 20px; }
.modal-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.modal-desc { color: var(--muted); margin-bottom: 32px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width:640px) { .modal-form-grid { grid-template-columns: 1fr 1fr; } }
.modal-group { display: flex; flex-direction: column; gap: 8px; }
.modal-group label { font-size: 14px; font-weight: 500; color: var(--muted); }
.modal-input {
  width: 100%; background: rgba(var(--card-rgb),0.5); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 16px; color: var(--fg); font-size: 16px; outline: none;
  transition: all 0.2s;
}
.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.modal-input::placeholder { color: var(--muted); }
select.modal-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b9cc0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.modal-input option { background: var(--bg); color: white; }
.modal-terms { display: flex; align-items: flex-start; gap: 12px; padding-top: 8px; }
.modal-terms input[type="checkbox"] { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--primary); flex-shrink: 0; }
.modal-terms label { font-size: 12px; color: var(--muted); }
.modal-submit {
  width: 100%; margin-top: 24px; padding: 16px; border-radius: 12px;
  background: var(--primary); color: var(--primary-fg); font-weight: 700;
  font-size: 18px; transition: all 0.3s; display: flex; align-items: center;
  justify-content: center;
}
.modal-submit:hover { background: #12b87a; }
.modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-success { padding: 48px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.modal-success svg { width: 80px; height: 80px; color: var(--primary); }
.modal-success h3 { font-size: 24px; font-weight: 700; }
.modal-success p { color: var(--muted); }

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

/* ===== TRUST RATINGS BAR ===== */
.trust-ratings {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 24px; margin-top: 24px; padding: 16px 20px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.trust-rating-item {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
}
.trust-rating-logo {
  display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px;
}
.trust-rating-logo.trustpilot { color: #00b67a; }
.trust-rating-logo.google { color: #fff; }
.trust-rating-logo.app-store { color: #fff; }
.trust-rating-stars {
  display: inline-flex; gap: 1px;
}
.trust-rating-stars svg { width: 14px; height: 14px; }
.trust-rating-stars.green svg { fill: #00b67a; color: #00b67a; }
.trust-rating-stars.gold svg { fill: #fbbf24; color: #fbbf24; }
.trust-rating-score { font-weight: 700; color: white; font-size: 13px; }
.trust-rating-count { font-size: 11px; color: rgba(255,255,255,0.3); }
.trust-rating-divider {
  width: 1px; height: 24px; background: rgba(255,255,255,0.08);
}
@media(max-width:640px) {
  .trust-ratings { gap: 16px; padding: 14px 16px; }
  .trust-rating-divider { display: none; }
  .trust-ratings { justify-content: center; }
}

/* ===== SOCIAL PROOF TOAST ===== */
.social-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  background: rgba(13,17,23,0.95); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--primary-rgb),0.15);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  max-width: 360px; transform: translateX(-120%); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
  pointer-events: none; overflow: hidden;
}
.social-toast::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%, transparent 100%);
  animation: toastShimmer 3s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
@keyframes toastShimmer {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}
.social-toast.show { transform: translateX(0); opacity: 1; pointer-events: auto; }
.social-toast-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(var(--primary-rgb),0.3);
  filter: blur(1px);
}
.social-toast-body { flex: 1; min-width: 0; }
.social-toast-name { font-size: 13px; font-weight: 600; color: white; margin-bottom: 2px; }
.social-toast-action { font-size: 12px; color: var(--muted); line-height: 1.4; }
.social-toast-action .toast-amount {
  color: var(--primary); font-weight: 700; font-family: 'JetBrains Mono', monospace;
}
.social-toast-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.social-toast-time { font-size: 10px; color: rgba(255,255,255,0.25); }
.social-toast-chain {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10px;
  font-weight: 600; padding: 1px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
}
.social-toast-chain svg { border-radius: 50%; flex-shrink: 0; }
.social-toast:hover { border-color: rgba(21,209,138,0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(21,209,138,0.15); }

.live-feed-section { padding: 48px 0 40px; position: relative; }
@media(min-width:768px) { .live-feed-section { padding: 80px 0 40px; } }
.live-feed-header { text-align: center; margin-bottom: 40px; }
.live-feed-indicator {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}
.live-feed-subtitle { color: var(--muted); font-size: 15px; margin-top: 6px; }
.live-feed-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) { .live-feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .live-feed-grid { grid-template-columns: 1fr; } }

.feed-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.3s, opacity 0.5s, transform 0.5s;
  cursor: pointer; position: relative; overflow: hidden;
}
.feed-card::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%, transparent 100%);
  animation: feedShimmer 4s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
.feed-card:nth-child(2)::after { animation-delay: 0.5s; }
.feed-card:nth-child(3)::after { animation-delay: 1.0s; }
.feed-card:nth-child(4)::after { animation-delay: 1.5s; }
.feed-card:nth-child(5)::after { animation-delay: 2.0s; }
.feed-card:nth-child(6)::after { animation-delay: 2.5s; }
.feed-card:nth-child(7)::after { animation-delay: 3.0s; }
.feed-card:nth-child(8)::after { animation-delay: 3.5s; }
@keyframes feedShimmer {
  0% { left: -100%; }
  40% { left: 120%; }
  100% { left: 120%; }
}
.feed-card:hover { border-color: rgba(21,209,138,0.25); }
.feed-card-new { animation: feedSlideIn 0.5s ease-out; }
@keyframes feedSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.feed-card-top {
  display: flex; align-items: center; gap: 10px;
}
.feed-card-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.08); flex-shrink: 0;
  filter: blur(1px);
}
.feed-card-name { font-size: 13px; font-weight: 600; color: white; }
.feed-card-time { font-size: 10px; color: var(--muted); }
.feed-card-action { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.feed-card-action .toast-amount { color: var(--primary); font-weight: 600; }
.feed-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; flex-wrap: wrap;
}
.feed-card-chain {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10px;
  font-weight: 600; padding: 2px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
}
.feed-card-chain svg { border-radius: 50%; flex-shrink: 0; }
.feed-card-tx {
  font-size: 9px; color: rgba(255,255,255,0.25);
  font-family: 'JetBrains Mono', monospace;
}
.feed-card-verified {
  display: inline-flex; align-items: center; gap: 3px; font-size: 9px;
  color: var(--primary); font-weight: 600; background: rgba(var(--primary-rgb),0.1);
  padding: 2px 6px; border-radius: 4px;
}
.feed-card-verified svg { width: 10px; height: 10px; }
.social-toast-badge {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10px;
  color: var(--primary); font-weight: 600; background: rgba(var(--primary-rgb),0.1);
  padding: 2px 7px; border-radius: 6px; margin-top: 4px;
}
.social-toast-badge svg { width: 10px; height: 10px; }
.social-toast-close {
  position: absolute; top: 6px; right: 8px; background: none; border: none;
  color: rgba(255,255,255,0.25); cursor: pointer; padding: 2px; line-height: 1;
}
.social-toast-close:hover { color: rgba(255,255,255,0.5); }
.mini-pill-feed {
  padding: 24px 0;
  overflow: hidden;
  max-width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
}
.mini-pill-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  max-width: 100%;
  box-sizing: border-box;
}
.mini-pill-track::-webkit-scrollbar { display: none; }
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, opacity 0.4s, transform 0.4s;
  position: relative;
  overflow: hidden;
}
.mini-pill:hover {
  border-color: rgba(21,209,138,0.3);
  background: rgba(255,255,255,0.06);
}
.mini-pill::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  animation: pillShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pillShimmer {
  0% { left: -100%; }
  30% { left: 120%; }
  100% { left: 120%; }
}
.mini-pill-avatar {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.1);
  filter: blur(1px);
}
.mini-pill-name {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7);
}
.mini-pill-action {
  font-size: 11px; color: rgba(255,255,255,0.4);
}
.mini-pill-amount {
  font-size: 11px; font-weight: 700; color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}
.mini-pill-chain {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
}
.mini-pill-chain svg { width: 14px; height: 14px; border-radius: 50%; }
.mini-pill-new {
  animation: pillFadeIn 0.4s ease-out;
}
@keyframes pillFadeIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@media(max-width:500px) {
  .social-toast { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}
