/* ============================================
   PolyGun — Editorial Dark Fintech Design
   Completely different from previous version
   ============================================ */

:root {
  --bg:        #0b0d12;
  --bg2:       #131720;
  --bg3:       #1a1f2e;

  --gold:      #2AABEE;
  --gold-light:#55c4f5;
  --gold-dim:  rgba(42,171,238,0.12);
  --gold-glow: rgba(42,171,238,0.35);

  --teal:      #7dd8f8;
  --teal-dim:  rgba(125,216,248,0.10);

  --red:       #ff4545;
  --red-dim:   rgba(255,69,69,0.12);

  --text:      #eef3f8;
  --muted:     #556070;
  --muted2:    #8a9db5;

  --border:    #1e2535;
  --border2:   #283045;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Courier New', monospace;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --r:      10px;
  --r-lg:   16px;
}

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

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

/* Dot grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(42,171,238,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Soft glow spots */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%,  rgba(42,171,238,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 80%,  rgba(42,171,238,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 50%,  rgba(42,171,238,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

* { position: relative; z-index: 1; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--muted2); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .75; }

.display {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: .95;
}

.mono {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 14px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section      { padding: 100px 0; }
.section-sm   { padding: 64px 0; }

/* ============================================
   Ticker bar
   ============================================ */
.ticker {
  background: var(--gold);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  display: inline-block;
  padding: 0 36px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
}

.ticker-track span::after {
  content: '//';
  margin-left: 36px;
  opacity: .4;
}

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

/* ============================================
   Header
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7,8,11,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--muted2);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all .2s;
}

.nav-link:hover { color: var(--text); background: var(--bg2); opacity: 1; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--r);
  transition: all .25s var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lime {
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 0 28px rgba(42,171,238,0.30);
}

.btn-lime:hover {
  background: linear-gradient(135deg, #55c4f5, var(--gold-light));
  box-shadow: 0 0 48px rgba(42,171,238,0.50);
  transform: translateY(-1px);
  opacity: 1;
}

.btn-lime svg { color: #fff; }

.btn-ghost {
  padding: 12px 24px;
  border: 1px solid var(--border2);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}

.btn-lg { padding: 17px 36px; font-size: 1rem; border-radius: 12px; }

/* ============================================
   Hero — split layout
   ============================================ */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.hero-left {}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(42,171,238,0.30);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 24px;
}

.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.8); }
}

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted2);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--muted);
}

.meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Hero right — terminal card */
.hero-terminal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px; height: 10px; border-radius: 50%;
}

.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  margin: 0 auto;
}

.terminal-body { padding: 20px; }

.t-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}

.t-row:last-child { border-bottom: none; }

.t-key { color: var(--muted); font-family: var(--font-mono); font-size: .75rem; }
.t-val { font-weight: 700; color: var(--text); }
.t-val.green { color: var(--gold); }
.t-val.teal  { color: var(--teal); }
.t-val.red   { color: var(--red); }

.terminal-cta {
  margin: 16px 20px 20px;
  display: block;
  text-align: center;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 13px;
  border-radius: 8px;
  transition: all .25s;
}

.terminal-cta:hover {
  background: #55c4f5;
  opacity: 1;
  transform: none;
}

/* ============================================
   Stats strip
   ============================================ */
.stats-strip {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}

.stat-block {
  padding: 20px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-block:last-child { border-right: none; }

.stat-n {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-l {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--muted);
}

/* ============================================
   Bento grid — features
   ============================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.bento-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color .3s, transform .3s var(--ease);
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

/* Featured big card */
.bento-main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-color: var(--border2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.bento-main:hover { border-color: rgba(42,171,238,.20); }

.bento-number {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--gold);
  opacity: .15;
  position: absolute;
  bottom: 16px;
  right: 20px;
  pointer-events: none;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-gold   { background: var(--gold-dim); border: 1px solid rgba(42,171,238,.20); }
.icon-teal   { background: var(--teal-dim); border: 1px solid rgba(0,229,196,.2); }
.icon-red    { background: var(--red-dim);  border: 1px solid rgba(255,69,69,.2); }

.bento-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.bento-card p  { font-size: .9rem; margin: 0; color: var(--muted); line-height: 1.65; }

/* Tall accent card */
.bento-tall { grid-row: span 2; }

/* ============================================
   Comparison
   ============================================ */
.compare-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
}

table.compare th {
  padding: 16px 28px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

table.compare th:first-child { color: var(--muted); text-align: left; }
table.compare th.th-bad  { color: var(--muted); background: rgba(255,255,255,.02); }
table.compare th.th-good { color: var(--gold);  background: var(--gold-dim); }

table.compare td {
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  vertical-align: middle;
}

table.compare tr:last-child td { border-bottom: none; }

table.compare td:first-child {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

table.compare td.bad  { color: var(--muted2); }
table.compare td.good { color: var(--text); font-weight: 600; }
.chk { color: var(--gold); margin-right: 6px; }
.crs { color: var(--muted); margin-right: 6px; }

/* ============================================
   How it works — horizontal steps
   ============================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step-item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background .3s;
}

.step-item:last-child { border-right: none; }
.step-item:hover { background: var(--bg3); }

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.step-item h3 { font-size: 1rem; margin-bottom: 10px; }
.step-item p  { font-size: .88rem; margin: 0; color: var(--muted); line-height: 1.6; }

/* ============================================
   SEO text blocks
   ============================================ */
.text-block {
  max-width: 720px;
}

.text-block h2 { margin-bottom: 20px; }
.text-block h3 {
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin: 28px 0 10px;
}
.text-block p  { font-size: .97rem; }
.text-block ul { padding-left: 1.2rem; color: var(--muted2); margin-bottom: 1rem; }
.text-block ul li { margin-bottom: 8px; font-size: .97rem; line-height: 1.65; }

.info-panel {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 24px 28px;
  margin: 24px 0;
}

.info-panel p { margin: 0; font-size: .95rem; }

/* ============================================
   Two-column SEO sections
   ============================================ */
.col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.col2-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
}

.col2-img img { display: block; width: 100%; }

/* ============================================
   Video
   ============================================ */
.video-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 40px 80px rgba(0,0,0,.7);
}

.video-frame video { display: block; width: 100%; }

/* ============================================
   Testimonials
   ============================================ */
.testi-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.testi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease);
}

.testi-card:hover {
  border-color: rgba(42,171,238,.20);
  transform: translateY(-3px);
}

.testi-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.testi-top img {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border2);
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  display: block;
}

.testi-handle {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 500;
}

.testi-card blockquote {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted2);
}

/* Stars */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.star { color: var(--gold); font-size: .8rem; }

/* ============================================
   FAQ — 2 column
   ============================================ */
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

details {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s;
}

details[open] { border-color: rgba(200,255,0,.25); }

summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 48px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform .3s;
}

details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted2);
}

/* ============================================
   CTA section
   ============================================ */
.cta-section {
  background: var(--gold);
  border-radius: var(--r-lg);
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: 'TRADE';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-size: 11rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
  white-space: nowrap;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem,3vw,2.6rem);
  margin-bottom: 10px;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-size: 1rem;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  background: #0b0d12;
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  transition: all .25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-dark:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); opacity: 1; transform: translateY(-2px); }
.btn-dark svg { color: #fff; }

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { color: var(--muted2); font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: .8rem;
}

.disclaimer {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 800px;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.stagger.in > * { opacity: 1; transform: none; }

/* ============================================
   Mobile nav
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
  display: block;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-terminal { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-main { grid-column: span 2; }
  .bento-tall { grid-row: span 1; }
  .col2 { grid-template-columns: 1fr; gap: 40px; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .step-item { border-right: none; border-bottom: 1px solid var(--border); }
  .step-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .step-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7,8,11,.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-link { text-align: center; padding: 12px; }

  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-block:nth-last-child(-n+2) { border-bottom: none; }

  .bento { grid-template-columns: 1fr; }
  .bento-main { grid-column: span 1; grid-template-columns: 1fr; }

  .testi-row { grid-template-columns: 1fr; }
  .faq-cols  { grid-template-columns: 1fr; }

  .cta-section { flex-direction: column; padding: 48px 32px; text-align: center; }
  .cta-section::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-row { grid-template-columns: 1fr; }
  .step-item { border-right: none; }

  .compare-wrap { overflow-x: auto; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  h1 { font-size: 2rem; }
}
