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

    :root {
      --green: #27a44f;
      --green-dim: #1e7d3c;
      --green-glow: oklch(60% 0.18 145);
      --bg: oklch(11% 0.008 260);
      --bg2: oklch(14% 0.01 260);
      --bg3: oklch(17% 0.01 260);
      --surface: oklch(16% 0.012 260);
      --border: oklch(22% 0.01 260);
      --text: oklch(92% 0.005 260);
      --muted: oklch(55% 0.01 260);
      --radius: 12px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 clamp(24px, 5vw, 80px);
      height: 64px;
      background: oklch(11% 0.008 260 / 0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo img { height: 36px; width: auto; display: block; }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.2s;
    }

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

    /* Hamburger button — hidden on desktop, shown via media query below. */
    .nav-toggle {
      display: none;
      width: 40px;
      height: 40px;
      padding: 0;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .nav-toggle:hover { border-color: oklch(60% 0.18 145 / 0.4); }

    .nav-toggle-bar {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.2s ease;
    }

    /* Animate bars into an X when the menu is open */
    nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
    nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px clamp(24px, 6vw, 120px) 80px;
      position: relative;
      overflow: hidden;
    }

    #hero-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.5;
      pointer-events: none;
    }

    .hero-eyebrow {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeUp 0.8s 0.2s forwards;
    }

    .hero-headline {
      font-size: clamp(2.8rem, 7vw, 5.5rem);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.03em;
      max-width: 820px;
      opacity: 0;
      animation: fadeUp 0.8s 0.35s forwards;
    }

    .hero-headline span {
      color: var(--green);
    }

    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.2rem);
      color: var(--muted);
      max-width: 580px;
      margin: 24px auto 0;
      font-weight: 400;
      line-height: 1.7;
      opacity: 0;
      animation: fadeUp 0.8s 0.5s forwards;
    }

    .hero-cta {
      display: flex;
      gap: 16px;
      margin-top: 40px;
      flex-wrap: wrap;
      justify-content: center;
      opacity: 0;
      animation: fadeUp 0.8s 0.65s forwards;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      background: var(--green);
      color: #fff;
      border: none;
      border-radius: var(--radius);
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 0 0 0 oklch(60% 0.18 145 / 0);
    }

    .btn-primary:hover {
      background: var(--green-dim);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px oklch(60% 0.18 145 / 0.3);
    }

    .hero-stats {
      display: flex;
      gap: clamp(32px, 6vw, 80px);
      margin-top: 72px;
      flex-wrap: wrap;
      justify-content: center;
      opacity: 0;
      animation: fadeUp 0.8s 0.8s forwards;
    }

    .stat { text-align: center; }
    .stat-num {
      font-size: 2rem;
      font-weight: 700;
      color: var(--green);
      letter-spacing: -0.02em;
    }
    .stat-label {
      font-size: 0.8rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* ── SECTION SHARED ── */
    section {
      padding: clamp(72px, 10vw, 120px) clamp(24px, 6vw, 120px);
      max-width: 1120px;
      margin: 0 auto;
    }

    .section-tag {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--green);
      background: oklch(60% 0.18 145 / 0.1);
      border: 1px solid oklch(60% 0.18 145 / 0.25);
      padding: 5px 14px;
      border-radius: 100px;
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.1;
    }

    .section-sub {
      color: var(--muted);
      font-size: 1.05rem;
      margin-top: 12px;
      max-width: 520px;
    }

    .section-header { margin-bottom: 56px; }

    .divider {
      height: 1px;
      background: var(--border);
      max-width: 1120px;
      margin: 0 auto;
    }

    /* ── FEATURES ── */
    #features { padding-top: 0; }

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

    @media (max-width: 768px) {
      .features-grid { grid-template-columns: 1fr; }
    }

    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px 28px;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--green), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .feature-card:hover {
      border-color: oklch(60% 0.18 145 / 0.4);
      transform: translateY(-4px);
      box-shadow: 0 16px 48px oklch(0% 0 0 / 0.4);
    }

    .feature-card:hover::before { opacity: 1; }

    .feature-icon {
      width: 44px;
      height: 44px;
      background: oklch(60% 0.18 145 / 0.12);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .feature-icon svg {
      width: 22px;
      height: 22px;
      fill: var(--green);
    }

    .feature-name {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }

    .feature-desc {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ── COMPARE ── */
    #compare {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg2);
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    #compare > * {
      max-width: 1120px;
      margin-left: auto;
      margin-right: auto;
      padding-left: clamp(24px, 6vw, 120px);
      padding-right: clamp(24px, 6vw, 120px);
    }

    .compare-table-wrap {
      overflow-x: auto;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 clamp(24px, 6vw, 120px) 0;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.925rem;
      min-width: 540px;
    }

    thead th {
      padding: 16px 20px 16px;
      text-align: center;
      font-weight: 600;
      font-size: 0.875rem;
      color: var(--muted);
      letter-spacing: 0.04em;
      border-bottom: 1px solid var(--border);
    }

    thead th:first-child { text-align: left; }

    thead th.highlight {
      color: var(--green);
      background: oklch(60% 0.18 145 / 0.06);
      border-radius: 8px 8px 0 0;
    }

    .coin-logos {
      display: flex;
      gap: 4px;
      align-items: center;
      justify-content: center;
    }

    .coin-logos img {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      object-fit: cover;
    }

    tbody tr {
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }

    tbody tr:last-child { border-bottom: none; }
    tbody tr:hover { background: oklch(100% 0 0 / 0.025); }

    tbody td, tbody th {
      padding: 14px 20px;
      text-align: center;
      vertical-align: middle;
    }

    tbody th {
      text-align: left;
      font-weight: 500;
      color: var(--muted);
      font-size: 0.875rem;
    }

    td.highlight {
      background: oklch(60% 0.18 145 / 0.05);
      color: var(--text);
      font-weight: 500;
    }

    .check {
      display: inline-flex;
      width: 22px;
      height: 22px;
      background: oklch(60% 0.18 145 / 0.15);
      border-radius: 50%;
      align-items: center;
      justify-content: center;
    }

    .check svg { width: 12px; height: 12px; fill: var(--green); }

    .cross {
      display: inline-flex;
      width: 22px;
      height: 22px;
      background: oklch(40% 0.12 25 / 0.15);
      border-radius: 50%;
      align-items: center;
      justify-content: center;
    }

    .cross svg { width: 12px; height: 12px; fill: oklch(65% 0.15 25); }

    .eth-tag {
      display: inline-block;
      font-size: 0.75rem;
      background: oklch(50% 0.1 270 / 0.15);
      color: oklch(72% 0.1 270);
      border-radius: 4px;
      padding: 2px 8px;
      font-family: 'DM Mono', monospace;
    }

    .fee-tag {
      font-family: 'DM Mono', monospace;
      font-size: 0.875rem;
    }

    .fee-low { color: var(--green); }
    .fee-high { color: oklch(65% 0.15 25); }

    /* ── EXCHANGES ── */
    #exchanges { border-top: 1px solid var(--border); }

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

    @media (max-width: 900px) {
      .exchanges-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 560px) {
      .exchanges-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 400px) {
      .exchanges-grid { grid-template-columns: 1fr; }
    }

    .exchange-card {
      display: flex;
      align-items: center;
      justify-content: center;
      background: oklch(96% 0.004 260);
      border: 1px solid oklch(88% 0.006 260);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s, transform 0.2s;
      min-height: 88px;
    }

    .exchange-card:hover {
      border-color: oklch(60% 0.18 145 / 0.6);
      background: #fff;
      transform: translateY(-3px);
    }

    .exchange-card img {
      width: auto;
      height: 34px;
      max-width: 130px;
      object-fit: contain;
      filter: none;
      transition: filter 0.2s;
    }

    .exchange-card:hover img {
      filter: none;
    }

    /* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px clamp(24px, 6vw, 120px);
  background: var(--bg2);
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 800px;
}

.footer-disclaimer strong {
  color: var(--text);
}

.footer-disclaimer a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-disclaimer a:hover {
  color: var(--green-dim);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 22px;
  height: 22px;
  opacity: 0.5;
}

.footer-copyright small {
  color: var(--muted);
  font-size: 0.825rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: oklch(60% 0.18 145 / 0.1);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  background: oklch(60% 0.18 145 / 0.2);
  transform: translateY(-2px);
}

.footer-socials img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-socials a:hover img {
  opacity: 1;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

    /* ── SCROLL ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.18s; }
    .reveal-delay-3 { transition-delay: 0.26s; }
    .reveal-delay-4 { transition-delay: 0.34s; }
    .reveal-delay-5 { transition-delay: 0.42s; }
    .reveal-delay-6 { transition-delay: 0.50s; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: none; }
    }

    /* ── MOBILE NAV ── */
    @media (max-width: 600px) {
      .hero-headline { letter-spacing: -0.02em; }

      /* Show the hamburger button */
      .nav-toggle { display: inline-flex; }

      /* Collapse nav-links into a dropdown panel under the nav */
      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        background: oklch(11% 0.008 260 / 0.95);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);

        /* Hidden by default — animate down when nav is open */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s;
      }

      .nav-links li { width: 100%; }

      .nav-links a {
        display: block;
        padding: 14px clamp(24px, 5vw, 80px);
        font-size: 0.95rem;
      }

      nav.open .nav-links {
        max-height: 280px;
        opacity: 1;
        visibility: visible;
      }
    }