:root {
  --green: #1a9e6f;
  --green-dark: #0d4a35;
  --green-light: #2ec4b6;
  --turquoise: #2ec4b6;
  --rust: #e07a5f;
  --purple: #6b4c9a;
  --gold: #f4a261;
  --cream: #f0fdf8;
  --ink: #071510;
  --ink-soft: #0f2920;
  --text: rgba(240, 253, 248, 0.88);
  --text-muted: rgba(240, 253, 248, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 21, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--green));
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(46, 196, 182, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(46, 196, 182, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover { color: var(--cream); }

.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; border-radius: 14px; }

.btn-white {
  background: var(--cream);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(46, 196, 182, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(224, 122, 95, 0.1), transparent),
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--turquoise);
  border: 1px solid rgba(46, 196, 182, 0.3);
  background: rgba(46, 196, 182, 0.08);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--turquoise), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-lead strong { color: var(--turquoise); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cream);
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1a3d30, #0a1f17);
  border: 2px solid rgba(46, 196, 182, 0.25);
  box-shadow: var(--shadow), 0 0 80px rgba(46, 196, 182, 0.15);
  position: relative;
  z-index: 2;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d4a35 0%, #071510 100%);
  padding: 1.5rem 1.25rem;
  min-height: 420px;
}

.wallet-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.wallet-balance {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.wallet-change {
  font-size: 0.85rem;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.wallet-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wallet-actions .nfc-btn {
  background: linear-gradient(135deg, var(--turquoise), var(--green));
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.wallet-coins {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-coins div {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.9rem;
}

.wallet-coins i {
  font-style: normal;
  font-weight: 700;
  color: var(--turquoise);
}

.nfc-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(46, 196, 182, 0.15);
  animation: pulse 3s ease-in-out infinite;
}

.nfc-ring::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(46, 196, 182, 0.08);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--ink-soft);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(46, 196, 182, 0.25);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-icon.green { background: rgba(26, 158, 111, 0.15); }
.card-icon.turquoise { background: rgba(46, 196, 182, 0.15); }
.card-icon.purple { background: rgba(107, 76, 154, 0.15); }
.card-icon.rust { background: rgba(224, 122, 95, 0.15); }
.card-icon.gold { background: rgba(244, 162, 97, 0.15); }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* NFC section */
.nfc-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.nfc-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.nfc-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.nfc-visual {
  display: flex;
  justify-content: center;
}

.nfc-card {
  width: 320px;
  height: 200px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--purple) 50%, var(--rust) 100%);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
}

.nfc-card-chip {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #c9944a);
  margin-bottom: 2rem;
}

.nfc-card-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nfc-waves {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  gap: 4px;
}

.nfc-waves span {
  display: block;
  width: 3px;
  height: 24px;
  background: var(--turquoise);
  border-radius: 3px;
  opacity: 0.7;
}

.nfc-waves span:nth-child(2) { height: 32px; }
.nfc-waves span:nth-child(3) { height: 40px; }

/* Chains */
.chains-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.chains-row span {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Buy */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.buy-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
}

.buy-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

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

.center-cta { text-align: center; }

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.download-btn {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.download-btn strong { font-size: 1rem; }
.download-btn span { font-size: 0.82rem; color: var(--text-muted); }

.download-btn.active {
  border-color: var(--turquoise);
  background: rgba(46, 196, 182, 0.08);
}

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

.download-btn.soon {
  opacity: 0.5;
  cursor: default;
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.support-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, transform 0.2s;
}

.support-card:hover {
  border-color: rgba(46, 196, 182, 0.3);
  transform: translateY(-2px);
}

.support-card strong { font-size: 1rem; }
.support-card span { font-size: 0.88rem; color: var(--text-muted); }

/* FAQ */
.faq-container { max-width: 720px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--turquoise);
}

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

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA banner */
.cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--green-dark), var(--purple));
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img { margin-bottom: 0.5rem; }

.footer-brand span {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

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

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .nfc-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .nfc-text { order: 2; }
  .nfc-visual { order: 1; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink-soft);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.open { display: flex; }

  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
