/* ============================================================
   CoinGPT — Marketing Site Stylesheet  (v2, mobile-first)
   Design system matched to app.coingpt.bot (dark, Inter,
   purple > pink > orange brand gradient)
   ============================================================ */

:root {
  --bg: #120b1c;
  --bg-deep: #0d0814;
  --bg-soft: #1a1127;
  --card: #1b1226;
  --card-2: #221730;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f2f8;
  --muted: #a89fbb;
  --faint: #7c7291;
  --purple: #8b5cf6;
  --purple-deep: #5a1f8a;
  --pink: #e43263;
  --orange: #f09e3f;
  --green: #34d399;
  --red: #f87171;
  --grad: linear-gradient(92deg, #8b5cf6 0%, #e43263 52%, #f09e3f 100%);
  --grad-cta: linear-gradient(135deg, #8b5cf6 0%, #e43263 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 40px rgba(228, 50, 99, 0.25);
  --maxw: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(228, 50, 99, 0.4); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }

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

.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
@media (min-width: 640px) { .lead { font-size: 1.15rem; } }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(228, 50, 99, 0.1);
  border: 1px solid rgba(228, 50, 99, 0.28);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 13px 26px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 4px 24px rgba(228, 50, 99, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(228, 50, 99, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.25); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Brand icons ---------- */
.icon-chip {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(228, 50, 99, 0.16));
  border: 1px solid rgba(228, 50, 99, 0.3);
  flex-shrink: 0;
}
.icon-chip svg { width: 26px; height: 26px; }
.ic { fill: none; stroke: url(#cg-grad); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-solid { fill: url(#cg-grad); stroke: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 11, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 640px) { .nav-inner { height: 68px; padding: 0 24px; } }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav-logo img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav-links > li { position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* dropdown */
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown .caret { font-size: 0.6rem; transition: transform 0.2s; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 250px;
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--text);
  font-weight: 500;
}
.dropdown a span { display: block; font-size: 0.78rem; color: var(--faint); font-weight: 400; }
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  position: absolute; left: 11px; transition: all 0.25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
.nav.open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  /* NOTE: .nav has backdrop-filter which turns it into a containing block
     for fixed descendants, so the menu must be absolutely positioned and
     given an explicit viewport-based height. */
  .nav-menu {
    position: absolute; top: 64px; left: 0; right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: var(--bg-deep);
    padding: 24px 20px 64px;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border);
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; font-size: 1.05rem; }
  .nav-links a { display: block; padding: 13px 8px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 16px; }
  .nav-cta { margin-top: 20px; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; padding: 15px 26px; }
}
@media (min-width: 921px) {
  .nav-menu { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: flex-end; }
}

/* ---------- Hero / sections ---------- */
main { padding-top: 64px; }
@media (min-width: 640px) { main { padding-top: 68px; } }
.section { padding: 72px 0; position: relative; }
.section-tight { padding: 52px 0; }
@media (min-width: 760px) {
  .section { padding: 100px 0; }
  .section-tight { padding: 64px 0; }
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
@media (min-width: 760px) { .section-head { margin-bottom: 60px; } }
.section-head .lead { margin: 16px auto 0; }

.hero {
  position: relative;
  padding: 76px 0 64px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 760px) { .hero { padding: 110px 0 80px; } }
.hero .lead { margin: 24px auto 36px; font-size: 1.13rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
}
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--faint); padding: 0 12px; }

/* glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.orb-purple { background: #5a1f8a; width: 480px; height: 480px; top: -160px; left: -120px; }
.orb-pink { background: rgba(228, 50, 99, 0.7); width: 420px; height: 420px; top: 40px; right: -140px; animation-delay: -6s; }
.orb-orange { background: rgba(240, 158, 63, 0.5); width: 360px; height: 360px; bottom: -180px; left: 40%; animation-delay: -11s; }
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 28px) scale(1.12); }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid { gap: 24px; } }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
@media (min-width: 640px) { .card { padding: 32px 30px; } }
.card:hover { border-color: rgba(228, 50, 99, 0.4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.card h3 { margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--pink); }
.card .card-link:hover { gap: 10px; }

/* ---------- Steps (roomier) ---------- */
.step { padding: 38px 30px 40px; }
@media (min-width: 640px) { .step { padding: 44px 36px 46px; } }
.step-num {
  font-size: 2.6rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1;
}
.step h3 { margin: 20px 0 12px; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.stat-value { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logo-pill {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px;
  max-width: 88vw;
  background: #08050d;
  border: 1px solid var(--border-strong);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  position: relative;
  text-align: left;
}
.phone::after {
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 85% 100%, rgba(228, 50, 99, 0.14), transparent 60%),
    radial-gradient(100% 50% at 10% 0%, rgba(90, 31, 138, 0.25), transparent 55%),
    #120b1c;
  min-height: 540px;
  padding: 40px 16px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.phone-float { animation: phone-float 7s ease-in-out infinite; }
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.app-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.app-head img { width: 22px; height: 22px; }
.app-head span { font-weight: 700; font-size: 0.85rem; letter-spacing: -0.01em; }
.app-head .app-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.8); }
.app-title { text-align: center; font-weight: 700; font-size: 1.05rem; margin: 10px 0 4px; }
.app-sub { text-align: center; color: var(--muted); font-size: 0.72rem; line-height: 1.5; padding: 0 8px; }
.app-flow { text-align: center; font-size: 0.58rem; letter-spacing: 0.22em; color: var(--faint); margin-top: 8px; text-transform: uppercase; }
.app-logo-mark { display: flex; justify-content: center; margin-top: 14px; }
.app-logo-mark img { width: 40px; height: 40px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 16px 0 0; }
.app-chip {
  font-size: 0.66rem; color: var(--muted);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 6px 11px;
}
.app-input {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 11px 12px 9px;
}
.app-input .app-q { font-size: 0.72rem; color: var(--faint); }
.app-modes { display: flex; gap: 4px; margin-top: 9px; align-items: center; flex-wrap: nowrap; }
.app-mode {
  font-size: 0.55rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.5;
}
.app-mode.on { color: #fff; background: var(--grad-cta); border-color: transparent; }
.app-send {
  margin-left: auto; width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.64rem; font-weight: 700;
  flex-shrink: 0;
}
.app-input { padding: 10px 10px 8px; }
.app-row .sym { white-space: nowrap; }

/* cycling hero phone */
.phone-slides { position: relative; flex: 1; display: flex; }
.phone-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(10px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.phone-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.phone-dots { display: flex; gap: 6px; justify-content: center; padding-top: 12px; }
.phone-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background 0.3s, width 0.3s; }
.phone-dots span.on { background: var(--pink); width: 16px; border-radius: 999px; }
.app-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
}
.app-card .kv { display: flex; justify-content: space-between; gap: 10px; padding: 2.5px 0; font-size: 0.68rem; }
.app-card .kv span:first-child { color: var(--faint); }
.app-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
}
.app-row:last-child { border-bottom: 0; }
.app-row .sym { font-weight: 700; }
.app-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 12px;
  overflow: hidden;
}
.app-seg { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.app-seg span {
  font-size: 0.62rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--border);
}
.app-seg .on { color: #fff; background: var(--grad-cta); border-color: transparent; }
.app-note { font-size: 0.55rem; color: var(--faint); text-align: center; margin-top: 10px; }

/* mock desktop window (kept for secondary use) */
.mock-window {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  text-align: left;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mock-dot:first-child { background: rgba(228, 50, 99, 0.7); }
.mock-title { margin-left: 8px; font-size: 0.8rem; color: var(--faint); font-weight: 600; }
.mock-body { padding: 24px; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; }
.tag-long { background: rgba(52, 211, 153, 0.15); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.tag-short { background: rgba(248, 113, 113, 0.15); color: var(--red); border: 1px solid rgba(248, 113, 113, 0.35); }
.tag-new { background: rgba(240, 158, 63, 0.15); color: var(--orange); border: 1px solid rgba(240, 158, 63, 0.4); }

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

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } }
/* on mobile, media (phone mockups) always stacks BELOW its text column */
@media (max-width: 899px) { .split > .reveal-scale { order: 5; } }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.split ul { margin-top: 22px; display: grid; gap: 14px; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.check {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
}

/* ---------- Security rows ---------- */
.sec-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sec-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sec-row:last-child { border-bottom: 0; }
.sec-row .icon-chip { width: 42px; height: 42px; border-radius: 12px; }
.sec-row .icon-chip svg { width: 21px; height: 21px; }
.sec-row h4 { font-size: 0.95rem; font-weight: 600; }
.sec-row p { font-size: 0.82rem; color: var(--faint); margin-top: 1px; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 48px;
}
.billing-toggle button {
  border: 0; background: transparent; color: var(--muted);
  font-weight: 600; font-size: 0.9rem;
  padding: 10px 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.billing-toggle button.active { background: var(--grad-cta); color: #fff; }
.save-badge {
  font-size: 0.63rem; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(52, 211, 153, 0.2); color: var(--green);
  padding: 3px 8px; border-radius: 999px;
}
.billing-toggle button.active .save-badge { background: rgba(255,255,255,0.22); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex; flex-direction: column;
  position: relative;
  text-align: left;
}
.plan.popular {
  border-color: rgba(228, 50, 99, 0.6);
  box-shadow: 0 0 44px rgba(228, 50, 99, 0.18);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; }
.plan-name .icon-chip { width: 34px; height: 34px; border-radius: 10px; }
.plan-name .icon-chip svg { width: 17px; height: 17px; }
.plan-tag { font-size: 0.8rem; color: var(--faint); margin-top: 6px; }
.plan-price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .period { color: var(--faint); font-size: 0.9rem; }
.plan-billing { font-size: 0.8rem; color: var(--faint); min-height: 20px; }
.plan-billing .save { color: var(--green); font-weight: 700; }
.plan-features { margin: 22px 0; display: grid; gap: 12px; flex: 1; }
.plan-features li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--muted); align-items: flex-start; }
.plan-features li strong { color: var(--text); font-weight: 600; }
.plan-note {
  font-size: 0.8rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 18px;
}
.plan .btn { width: 100%; }
.plan-fine { text-align: center; font-size: 0.74rem; color: var(--faint); margin-top: 10px; }
.plan-crypto {
  margin-top: 10px; width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  white-space: normal;
  line-height: 1.4;
}
.plan-crypto:hover { color: var(--text); border-color: var(--border-strong); }

/* compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.9rem; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.compare th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.compare th.pro-col, .compare td.pro-col { background: rgba(228, 50, 99, 0.07); color: var(--text); }
.compare th.pro-col { color: var(--pink); }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare .cat td {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); background: rgba(255, 255, 255, 0.025); padding: 10px 18px;
}
.compare td { color: var(--muted); }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare-hint { display: none; text-align: center; font-size: 0.75rem; color: var(--faint); margin-top: 10px; }
@media (max-width: 800px) { .compare-hint { display: block; } }

/* ---------- Testimonials ---------- */
.t-grid { columns: 3; column-gap: 20px; }
@media (max-width: 980px) { .t-grid { columns: 2; } }
@media (max-width: 640px) { .t-grid { columns: 1; } }
.t-card {
  break-inside: avoid;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 20px;
}
.t-card p { font-size: 0.92rem; color: var(--muted); }
.t-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.t-ava {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff;
}
.t-name { font-weight: 600; font-size: 0.9rem; }
.t-role { font-size: 0.78rem; color: var(--faint); }
.t-stars { color: var(--orange); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: 0; color: var(--text);
  font-size: 1rem; font-weight: 600; text-align: left;
  padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-size: 1.3rem; color: var(--pink); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }
.faq-a-inner a { color: var(--pink); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 120% at 50% 120%, rgba(228, 50, 99, 0.25), transparent),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band .lead { margin: 16px auto 32px; }

/* ---------- Footer ---------- */
footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
@media (min-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand p { color: var(--faint); font-size: 0.88rem; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.footer-social a svg { width: 17px; height: 17px; fill: currentColor; }
.footer-social a:hover { border-color: var(--pink); color: var(--text); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--faint); font-size: 0.82rem;
}
.footer-disclaimer { margin-top: 22px; color: var(--faint); font-size: 0.76rem; line-height: 1.6; max-width: 900px; }

/* ---------- Blog / prose ---------- */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .post-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(228, 50, 99, 0.4); transform: translateY(-3px); }
.post-thumb {
  height: 150px;
  background: linear-gradient(135deg, rgba(90, 31, 138, 0.55), rgba(228, 50, 99, 0.4), rgba(240, 158, 63, 0.35));
  display: flex; align-items: center; justify-content: center;
}
.post-thumb img { width: 56px; height: 56px; opacity: 0.9; }
.post-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.76rem; color: var(--faint); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.post-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.post-body p { color: var(--muted); font-size: 0.88rem; flex: 1; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--pink); }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--pink);
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
}
.prose .callout {
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 18px 22px; margin: 24px 0;
  font-size: 0.94rem; color: var(--muted);
}
.post-hero-meta { display: flex; gap: 16px; color: var(--faint); font-size: 0.85rem; margin-bottom: 36px; flex-wrap: wrap; }

.breadcrumbs { font-size: 0.82rem; color: var(--faint); margin-bottom: 28px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 72px 0 48px; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 760px) { .page-hero { padding: 90px 0 56px; } }
.page-hero .lead { margin: 20px auto 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(228, 50, 99, 0.18);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* reveal on scroll, with stagger */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94) translateY(20px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-scale.visible { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .plans > .reveal:nth-child(2) { transition-delay: 0.09s; }
.grid > .reveal:nth-child(3), .plans > .reveal:nth-child(3) { transition-delay: 0.18s; }
.grid > .reveal:nth-child(4), .plans > .reveal:nth-child(4) { transition-delay: 0.27s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.12s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .orb, .phone-float, .ticker { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ticker marquee */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-deep); padding: 12px 0; }
.ticker { display: flex; gap: 36px; width: max-content; animation: ticker 44s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 600; white-space: nowrap; color: var(--muted); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* real coin / stock icons */
.t-ico {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.t-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.t-ico.stock { background: #f2f2f5; padding: 4px; }

/* coin / stock badges (subtle, broker-style familiarity) */
.coin-badge {
  width: 23px; height: 23px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cb-btc { background: #a06a22; }
.cb-eth { background: #5c6fae; }
.cb-sol { background: linear-gradient(135deg, #35a08a, #7a4fd0); }
.cb-xrp { background: #47586a; }
.cb-doge { background: #a08c3e; }
.cb-hype { background: #3d8a76; }
.cb-bnb { background: #a3862e; }
.cb-tsla { background: #9c4038; }
.cb-nvda { background: #4f8a40; }
.cb-aapl { background: #6f7480; }
.cb-msft { background: #4a7ba6; }
.cb-spx { background: #6a5fa0; }
.cb-gold { background: #96803a; }
.cb-fx { background: #4a6f96; }

/* asset chips (beyond-crypto section) */
.asset-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.asset-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 8px 16px 8px 9px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  transition: border-color 0.2s, transform 0.15s;
}
.asset-chip:hover { border-color: rgba(228, 50, 99, 0.35); transform: translateY(-2px); }

/* exchange logo pills */
.exch-pill { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 8px 14px; }
.exch-pill svg { height: 19px; width: 19px; display: block; }
.exch-pill .exch-mark { fill: #9a92ad; }
.exch-pill:hover .exch-mark { fill: #d6d1e0; }
.exch-name { font-weight: 800; letter-spacing: 0.1em; font-size: 0.95rem; color: #9a92ad; text-transform: uppercase; white-space: nowrap; }
.exch-pill:hover .exch-name { color: #d6d1e0; }
.exch-name.tc { text-transform: none; }
.exch-name.lc { text-transform: lowercase; letter-spacing: 0.01em; font-weight: 700; }
.exch-name.lsn { letter-spacing: 0.01em; }
.exch-name.bybit em { font-style: normal; position: relative; top: -3px; }

/* sticky compare table on small screens */
@media (max-width: 820px) {
  .compare-wrap { max-height: 74vh; overflow: auto; position: relative; }
  .compare { border-collapse: separate; border-spacing: 0; }
  .compare thead th { position: sticky; top: 0; background: #221730; z-index: 3; }
  .compare thead th:first-child { position: sticky; left: 0; z-index: 5; }
  .compare td:first-child { position: sticky; left: 0; background: #1b1226; z-index: 2; min-width: 132px; }
  .compare .cat td { background: #201629; left: 0; }
  .compare th.pro-col { background: #2c1830; }
  .compare td.pro-col { background: rgba(228, 50, 99, 0.12); }
}

/* careers */
.role-card { display: flex; flex-direction: column; }
.role-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.role-meta span {
  font-size: 0.72rem; font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
}
.role-card h4 { font-size: 0.85rem; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.role-card ul { display: grid; gap: 9px; }
.role-card ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; }

/* PWA / install strip */
.pwa-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pwa-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.pwa-badge svg { width: 18px; height: 18px; }
