/* =========================================================
   FEEDSPOT.IO — MAIN STYLESHEET
   ========================================================= */

:root {
  --bg: #0b0f19;
  --bg2: #111827;
  --surface: #151d2e;
  --surface2: #1c2740;
  --border: rgba(255,255,255,.08);
  --border2: rgba(255,255,255,.14);
  --text: #e8f0fe;
  --muted: #7a8fa8;
  --green: #00e5a0;
  --green2: #00c47d;
  --red: #ff5e5e;
  --blue: #3b82f6;
  --gold: #f5a623;
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1180px;
  --shadow: 0 24px 64px rgba(0,0,0,.5);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; }
.container { width: min(var(--max), 92%); margin: 0 auto; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(11,15,25,.8);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800;
  white-space: nowrap;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #00a870);
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 900; color: #0b0f19;
  flex-shrink: 0;
}
.logo-mark.small { width: 30px; height: 30px; border-radius: 9px; font-size: .9rem; }
.brand-name { font-size: 1.2rem; color: #fff; letter-spacing: -.03em; }
.brand-dot { color: var(--green); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: #b8c8de; font-weight: 600; font-size: .97rem; transition: color .15s; }
.nav a:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; padding: 0 10px;
}
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; display: block; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 13px; font-weight: 700;
  font-size: .97rem; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), #00b87a);
  color: #081209;
  box-shadow: 0 10px 28px rgba(0,229,160,.25);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(0,229,160,.35); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 16px; border-radius: 11px; font-size: .92rem; }
.w100 { width: 100%; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 42px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 45s linear infinite;
  width: max-content;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 24px; font-size: .88rem; font-weight: 600;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.t-sym { color: var(--muted); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.t-price { color: #fff; }
.t-ch { font-size: .82rem; }
.t-ch.neg { color: var(--red); }
.t-ch.pos { color: var(--green); }
.t-ch.neu { color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(ellipse 900px 400px at 0% 50%, rgba(0,229,160,.07) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 100% 30%, rgba(59,130,246,.07) 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(0,229,160,.1);
  border: 1px solid rgba(0,229,160,.2);
  color: var(--green);
  padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 700;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--green);
}
.lead {
  font-size: 1.1rem;
  color: #8ba3bf;
  max-width: 56ch;
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.trust-bar {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}
.trust-stat strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.trust-stat span { display: block; color: var(--muted); font-size: .88rem; }
.trust-sep { width: 1px; height: 36px; background: var(--border2); }

/* ---- EXCHANGE WIDGET ---- */
.widget-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.widget-tabs {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--border);
}
.wtab {
  padding: 14px 8px;
  background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: .9rem;
  color: var(--muted);
  transition: color .15s, background .15s;
  border-right: 1px solid var(--border);
}
.wtab:last-child { border-right: none; }
.wtab.active {
  color: var(--green);
  background: rgba(0,229,160,.07);
}
.wtab:hover:not(.active) { color: #fff; background: rgba(255,255,255,.04); }

.wpane { display: none; padding: 22px; }
.wpane.active { display: block; }

.field { display: grid; gap: 7px; margin-bottom: 4px; }
.field > span { font-size: .87rem; font-weight: 600; color: var(--muted); }
.field > span em { font-style: italic; font-weight: 400; color: #5a6e86; }

.input-row {
  display: flex; align-items: stretch;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color .15s;
}
.input-row:focus-within { border-color: rgba(0,229,160,.4); }
.input-row input {
  flex: 1; background: none; border: none; outline: none;
  padding: 13px 14px;
  color: #fff; font-size: 1.05rem; font-weight: 600;
  min-width: 0;
}
.input-row input[readonly] { color: var(--green); }
.input-row input::placeholder { color: #3a4d61; }
.cur-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
  background: var(--surface2);
  border-left: 1px solid var(--border);
  font-weight: 700; font-size: .9rem; color: #c8d8ea;
  white-space: nowrap; flex-shrink: 0;
}
.cur-badge.crypto { font-size: .95rem; }

.swap-btn {
  display: block; margin: 8px auto;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--muted); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem;
  transition: background .15s, color .15s;
}
.swap-btn:hover { background: rgba(0,229,160,.12); color: var(--green); }

.rate-row {
  font-size: .84rem; color: var(--muted);
  text-align: center; padding: 8px 0 14px;
}
.rate-row strong { color: #fff; }

.widget-note {
  text-align: center; font-size: .8rem; color: #3a4d61;
  padding: 10px 22px 14px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 80px 0; }
.section-dark { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-cta { background: linear-gradient(180deg, var(--bg2), var(--bg)); }

.section-tag {
  display: inline-block;
  font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--green);
  margin-bottom: 10px;
}
.section-head { margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1.08;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.02rem; max-width: 64ch; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #8ea8c0; }

/* =========================================================
   MARKETS TABLE
   ========================================================= */
.mkt-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mkt-head {
  display: grid; grid-template-columns: 40px 2fr 1fr 1fr 1fr 100px;
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: .8rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .07em;
}
.mkt-row {
  display: grid; grid-template-columns: 40px 2fr 1fr 1fr 1fr 100px;
  padding: 16px 20px; align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.mkt-row:last-child { border-bottom: none; }
.mkt-row:hover { background: rgba(255,255,255,.03); }
.rk { color: var(--muted); font-size: .9rem; font-weight: 600; }
.asset-cell { display: flex; align-items: center; gap: 12px; }
.asset-cell strong { display: block; color: #fff; font-weight: 700; font-size: .97rem; }
.asset-cell small { color: var(--muted); font-size: .82rem; text-transform: uppercase; }

.coin-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: .95rem; flex-shrink: 0;
}
.btc-dot  { background: rgba(247,147,26,.15); color: #f7931a; }
.eth-dot  { background: rgba(98,126,234,.15); color: #627eea; }
.sol-dot  { background: rgba(153,69,255,.15); color: #9945ff; }
.xrp-dot  { background: rgba(0,102,187,.15); color: #0066bb; }
.bnb-dot  { background: rgba(243,186,47,.15); color: #f3ba2f; }
.usdt-dot { background: rgba(38,161,123,.15); color: #26a17b; }
.usdc-dot { background: rgba(39,117,202,.15); color: #2775ca; }
.ada-dot  { background: rgba(0,115,209,.15); color: #0073d1; }
.doge-dot { background: rgba(194,153,64,.15); color: #c29940; }
.avax-dot { background: rgba(232,65,66,.15); color: #e84142; }

.px { font-weight: 700; color: #fff; }
.ch { font-weight: 700; font-size: .9rem; }
.ch.neg { color: var(--red); }
.ch.pos { color: var(--green); }
.ch.neu { color: var(--muted); }
.mc { color: var(--muted); font-weight: 600; }

.trade-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 9px;
  background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.2);
  color: var(--green); font-weight: 700; font-size: .88rem;
  transition: background .15s;
}
.trade-btn:hover { background: rgba(0,229,160,.2); }

.table-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; font-size: .88rem; color: var(--muted);
}
.table-footer a { color: var(--green); font-weight: 600; }
.table-footer a:hover { text-decoration: underline; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  margin-top: 40px;
}
.step-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
}
.step-num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 800;
  color: var(--green); opacity: .35; line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.step-card p { color: #7a8fa8; font-size: .97rem; margin-bottom: 18px; }
.step-list { list-style: none; display: grid; gap: 8px; }
.step-list li {
  padding-left: 22px; position: relative;
  color: #a0b4cc; font-size: .9rem; font-weight: 600;
}
.step-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 900;
}

/* =========================================================
   FEATURES
   ========================================================= */
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
}
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover {
  border-color: rgba(0,229,160,.3);
  transform: translateY(-3px);
}
.feat-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.feat-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.feat-card p { color: var(--muted); font-size: .95rem; }

/* =========================================================
   PAYMENT METHODS
   ========================================================= */
.methods-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.method-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border2);
  font-weight: 600; font-size: .95rem; color: #c8d8ea;
  transition: border-color .15s, background .15s;
}
.method-pill:hover { border-color: rgba(0,229,160,.3); background: rgba(0,229,160,.06); }
.method-pill span { font-size: 1.1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.accordion { display: grid; gap: 10px; }
.acc {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
}
.acc summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-weight: 700; font-size: 1rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; color: var(--green); font-size: 1.3rem; font-weight: 300; }
.acc[open] summary::after { content: '−'; }
.acc-body {
  padding: 0 22px 20px;
  color: var(--muted); font-size: .97rem; line-height: 1.7;
}

/* =========================================================
   SIGNUP / CTA
   ========================================================= */
.cta-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 28px; padding: 40px;
  box-shadow: var(--shadow);
}
.cta-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; margin-bottom: 14px;
}
.cta-copy > p { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.cta-checks { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.cta-checks li { color: #a0b4cc; font-weight: 600; font-size: .97rem; }

.cta-coins { display: flex; align-items: center; gap: 8px; }
.cc {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: .9rem;
  border: 2px solid var(--bg2);
}
.cc-more {
  font-size: .85rem; font-weight: 700; color: var(--muted);
  margin-left: 4px;
}

.signup-form {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; gap: 14px;
}
.signup-form h3 {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}
.signup-form label { display: grid; gap: 7px; }
.signup-form label span { font-size: .87rem; font-weight: 600; color: var(--muted); }
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"] {
  width: 100%; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 12px; color: #fff; font-size: .97rem; outline: none;
  transition: border-color .15s;
}
.signup-form input:focus { border-color: rgba(0,229,160,.45); }
.signup-form input::placeholder { color: #3a4d61; }

.check-row { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; flex-direction: row !important; display: flex !important; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.check-row span { font-weight: 500; color: var(--muted); font-size: .9rem; }
.check-row a { color: var(--green); text-decoration: underline; }

.form-note { text-align: center; font-size: .82rem; color: #3a4d61; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 40px;
}
.footer-inner { display: flex; gap: 48px; justify-content: space-between; align-items: flex-start; }
.footer-left { max-width: 320px; }
.footer-brand { margin-bottom: 14px; }
.footer-left > p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; line-height: 1.6; }
.footer-legal { color: #364c64; font-size: .78rem; line-height: 1.5; }

.footer-links { display: flex; gap: 40px; }
.fl-col { display: grid; gap: 10px; align-content: start; }
.fl-col strong { color: #fff; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.fl-col a { color: var(--muted); font-size: .93rem; transition: color .15s; }
.fl-col a:hover { color: #fff; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.legal-page > p { color: var(--muted); font-size: .95rem; margin-bottom: 40px; }
.legal-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 36px;
}
.legal-card h2 { font-family: var(--font-head); font-size: 1.25rem; color: #fff; margin: 28px 0 10px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); font-size: .97rem; line-height: 1.75; }
.legal-card ul { padding-left: 20px; margin: 8px 0; }
.legal-card li { margin-bottom: 6px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid, .cta-wrap { grid-template-columns: 1fr; }
  .steps-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .mkt-head, .mkt-row { grid-template-columns: 36px 2fr 1fr 1fr; }
  .mkt-head span:nth-child(5),
  .mkt-row .mc { display: none; }
  .footer-inner { flex-wrap: wrap; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
}
@media (max-width: 680px) {
  .nav { 
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: 68px; right: 4%; width: min(320px, 92vw);
    background: var(--bg2); border: 1px solid var(--border2);
    border-radius: var(--radius); padding: 14px;
    box-shadow: var(--shadow);
    z-index: 200;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 8px; border-radius: 8px; }
  .nav a:hover { background: var(--surface); }
  .nav-toggle { display: flex; }
  .steps-grid, .feat-grid { grid-template-columns: 1fr; }
  .mkt-head, .mkt-row { grid-template-columns: 32px 2fr 1fr 80px; }
  .mkt-head span:nth-child(4),
  .mkt-row .ch { display: none; }
  .trust-bar { flex-wrap: wrap; gap: 16px; }
  .trust-sep { display: none; }
  .cta-wrap { padding: 24px; }
  .section { padding: 56px 0; }
}
