/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.8);
  border-bottom: 1px solid rgba(255,107,0,0.1);
  transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(10,10,10,0.95); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-wordmark { font-weight: 700; font-size: 20px; color: #fff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; color: #888; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #FF6B00; transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.btn-ghost-sm {
  padding: 8px 20px; border: 1px solid rgba(255,107,0,0.4); border-radius: 100px;
  font-size: 14px; font-weight: 600; color: #FF6B00;
  transition: all 0.3s ease;
}
.btn-ghost-sm:hover { background: #FF6B00; color: #000; border-color: #FF6B00; }

/* ===== HERO ===== */
.hero {
  padding: 160px 32px 80px; text-align: center;
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(255,107,0,0.1); border: 1px solid rgba(255,107,0,0.2);
  font-size: 13px; color: #FF6B00; font-weight: 500; margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #FF6B00;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { margin-bottom: 24px; }
.hero-title .line {
  display: block; font-size: clamp(48px, 8vw, 96px); font-weight: 700;
  line-height: 1.05; letter-spacing: -2px;
}
.hero-title .line { color: #fff; }
.hero-title .line.orange { color: #FF6B00; }
.hero-title .line.faded { color: #333; }
.hero-sub { font-size: 18px; color: #888; max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; background: #FF6B00; color: #000; border-radius: 100px;
  font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-primary:hover { background: #ff8533; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,0,0.3); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  padding: 14px 32px; border: 1px solid #333; border-radius: 100px;
  font-weight: 600; font-size: 16px; color: #888; transition: all 0.3s ease;
}
.btn-ghost:hover { border-color: #666; color: #fff; }

/* ===== STATS STRIP ===== */
.stats-strip { padding: 0 32px 80px; }
.stats-inner {
  max-width: 800px; margin: 0 auto; display: flex; justify-content: center; align-items: center;
  gap: 40px; padding: 32px 48px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.stat { text-align: center; }
.stat-num { font-size: 40px; font-weight: 700; color: #fff; }
.stat-suffix { font-size: 28px; font-weight: 700; color: #FF6B00; }
.stat-label { display: block; font-size: 13px; color: #666; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.08); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: #FF6B00; font-weight: 600; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: #fff; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: #666; max-width: 500px; margin: 0 auto; }

/* ===== FEATURES ===== */
.features { padding: 100px 32px; max-width: 1200px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  padding: 40px 32px; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #FF6B00, transparent);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,107,0,0.2); background: rgba(255,107,0,0.03); }
.feature-card:hover::before { opacity: 1; }
.feature-num { font-size: 48px; font-weight: 700; color: rgba(255,107,0,0.15); display: block; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: #888; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 100px 32px; max-width: 1000px; margin: 0 auto; }
.steps { display: flex; flex-direction: column; gap: 64px; }
.step { display: grid; grid-template-columns: auto 1fr 1fr; gap: 32px; align-items: start; }
.step-number {
  font-size: 64px; font-weight: 700; color: rgba(255,107,0,0.15);
  line-height: 1; min-width: 80px;
}
.step-content h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.step-content p { font-size: 15px; color: #888; line-height: 1.7; }

/* ===== TERMINAL CARDS ===== */
.step-terminal {
  background: #111; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  overflow: hidden; font-family: 'Courier New', monospace;
}
.terminal-header {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 12px; color: #555; }
.terminal-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.terminal-body code { font-size: 13px; color: #aaa; display: block; white-space: pre; }
.t-gray { color: #555; } .t-green { color: #28c840; } .t-red { color: #ff5f57; }
.t-orange { color: #FF6B00; } .t-white { color: #fff; }

/* ===== CHAINS ===== */
.chains-section { padding: 100px 32px; max-width: 1200px; margin: 0 auto; }
.chains-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 700px; margin: 0 auto; }
.chain-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; transition: all 0.4s ease;
}
.chain-card:hover { border-color: rgba(255,107,0,0.3); transform: translateY(-4px); }
.chain-card h4 { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 8px; }
.chain-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: rgba(40,200,64,0.1); color: #28c840; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.chain-tag.default { background: rgba(255,107,0,0.1); color: #FF6B00; }

/* ===== CTA ===== */
.cta-section { padding: 100px 32px; }
.cta-inner {
  max-width: 700px; margin: 0 auto; text-align: center; padding: 80px 48px;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,107,0,0.02));
  border: 1px solid rgba(255,107,0,0.15); border-radius: 24px;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,107,0,0.06) 0%, transparent 60%);
  animation: cta-glow 6s ease-in-out infinite;
}
@keyframes cta-glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.cta-inner h2 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 16px; position: relative; }
.cta-inner p { font-size: 18px; color: #888; margin-bottom: 32px; position: relative; }
.btn-lg { padding: 18px 40px; font-size: 18px; position: relative; }

/* ===== FAQ ===== */
.faq-section { padding: 100px 32px; max-width: 700px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(255,107,0,0.2); }
.faq-q {
  width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; color: #fff; font-size: 16px; font-weight: 600;
  font-family: 'Space Grotesk', sans-serif; cursor: pointer; transition: color 0.3s;
}
.faq-q:hover { color: #FF6B00; }
.faq-chevron { font-size: 24px; color: #FF6B00; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }
.faq-a p { font-size: 15px; color: #888; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { padding: 48px 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-logo-img { height: 48px; width: auto; mix-blend-mode: lighten; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: #666; transition: color 0.3s; }
.footer-links a:hover { color: #FF6B00; }
.footer-copy { font-size: 13px; color: #444; }

/* ===== SCROLL ANIMATIONS ===== */
.animate-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .step { grid-template-columns: 1fr; }
  .step-number { font-size: 40px; }
  .chains-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Logo image in nav */
.nav-logo-img { height: 64px; width: auto; display: block; mix-blend-mode: lighten; border-radius: 6px; }
.nav-logo-fallback { display: flex; align-items: center; gap: 10px; }
.nav-logo-fallback .nav-wordmark { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }

/* Screener nav link */
.nav-link-screener {
  color: #FF6B00 !important;
  font-weight: 600;
  border: 1px solid rgba(255,107,0,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-link-screener:hover {
  background: rgba(255,107,0,0.12);
  border-color: rgba(255,107,0,0.7);
}

/* Telegram support button */
.tg-btn {
  border-color: rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.7) !important;
}
.tg-btn:hover {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
}

/* Chain logos */
.chain-logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chain-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,107,0,0.2));
  transition: filter 0.3s;
}
.chain-card:hover .chain-logo img {
  filter: drop-shadow(0 0 14px rgba(255,107,0,0.5));
}

/* ── Fee badge in hero ── */
.hero-fee-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 18px;
  padding: 10px 22px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  text-align: center;
}
.fee-group {
  white-space: nowrap;
}
.fee-zero {
  color: #FF6B00;
  font-weight: 700;
  font-size: 1rem;
}
.fee-taker {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.fee-divider {
  color: rgba(255,107,0,0.4);
}

/* ── Fee table inside feature card ── */
.feature-card-fees .fee-table {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 0;
  border-top: 1px solid rgba(255,107,0,0.15);
  padding-top: 14px;
}
.fee-row {
  display: contents;
}
.fee-type {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 0;
}
.fee-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-align: right;
  padding: 4px 0;
}
.fee-val.orange {
  color: #FF6B00;
}
