:root {
  --bg: #070b12;
  --bg-card: #0f1623;
  --bg-card-hover: #141e30;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #8b98a8;
  --orange: #f7931a;
  --orange-light: #ffb347;
  --orange-glow: rgba(247, 147, 26, 0.35);
  --green: #22c55e;
  --radius: 16px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 18, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--orange-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--orange-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(59, 130, 246, 0.12), transparent 50%),
    linear-gradient(180deg, #0a101a 0%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--orange-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #e8820e);
  color: #111;
  box-shadow: 0 8px 32px var(--orange-glow);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.hero-link {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-link:hover { color: var(--orange-light); }

/* Phone mock */
.phone-mock {
  justify-self: center;
  width: min(100%, 320px);
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(145deg, #1a2438, #0d1320);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--orange-glow);
}

.phone-screen {
  border-radius: 24px;
  background: #0a0f18;
  padding: 20px;
  min-height: 380px;
}

.mock-header {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: var(--orange-light);
}

.mock-balance {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.15), rgba(247, 147, 26, 0.05));
  border: 1px solid rgba(247, 147, 26, 0.25);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.mock-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.mock-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}

.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-stats div {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.mock-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--orange-light);
}

.mock-stats span {
  font-size: 0.72rem;
  color: var(--muted);
}

.mock-rig {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.mock-rig em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}

/* Stats */
.stats {
  padding: 0 0 64px;
  margin-top: -20px;
  position: relative;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: rgba(247, 147, 26, 0.35);
  transform: translateY(-4px);
}

.stat-value {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--orange-light);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 22, 35, 0.6), transparent);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(247, 147, 26, 0.25);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Wallet */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wallet-grid h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.lead { color: var(--muted); margin-bottom: 20px; }

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.wallet-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.wallet-row:last-child { border-bottom: 0; }

.wallet-row span { color: var(--muted); }

.wallet-row strong { color: var(--orange-light); }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 1.2rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 16px;
}

/* CTA */
.cta {
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.12), rgba(247, 147, 26, 0.03));
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: 24px;
  padding: 64px 32px;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  background: #050810;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--orange-light);
}

.footer a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Legal pages */
.legal-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--orange-light);
}

.legal-page p, .legal-page li {
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--orange);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .wallet-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { order: -1; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 11, 18, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .features-grid,
  .stats-grid { grid-template-columns: 1fr; }
}
