/* =========================================================
   Xuxun — dark lime theme
   body font-size is fixed at 16px as required
   ========================================================= */

:root {
  --bg: #0E1110;
  --bg-2: #131810;
  --bg-3: #1A2116;
  --nav-bg: #10140E;
  --panel: #141A12;
  --text: #EDF2E9;
  --muted: #A9B79D;
  --lime: #84CC16;
  --lime-bright: #A3E635;
  --olive: #3F6212;
  --olive-deep: #223208;
  --border: #2A3524;
  --border-soft: #223020;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #0E1110;
  color: #EDF2E9;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.accent { color: #84CC16; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-lime { background-color: #84CC16; color: #10140E; }
.btn-lime:hover { background-color: #A3E635; transform: translateY(-2px); }
.btn-ghost { background-color: transparent; color: #EDF2E9; border-color: #2A3524; }
.btn-ghost:hover { border-color: #84CC16; color: #84CC16; }

/* =========================================================
   NAVIGATION — shopping-cart navigation (.cart-nav)
   ========================================================= */
.cart-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #10140E;
  border-bottom: 1px solid #223020;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 3px;
  color: #EDF2E9;
}
.wordmark:hover { color: #84CC16; }

/* CSS-drawn shopping cart */
.cart-icon { position: relative; width: 34px; height: 30px; display: inline-block; flex-shrink: 0; }
.cart-handle {
  position: absolute; top: 2px; left: 24px;
  width: 3px; height: 13px;
  background: #84CC16; border-radius: 2px;
  transform: rotate(28deg);
}
.cart-basket {
  position: absolute; bottom: 7px; left: 3px;
  width: 26px; height: 16px;
  background: #84CC16;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}
.cart-basket-hole {
  position: absolute; bottom: 8px; left: 4px;
  width: 24px; height: 14px;
  background: #10140E;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}
.cart-wheel {
  position: absolute; bottom: 1px;
  width: 7px; height: 7px;
  border: 2px solid #84CC16; border-radius: 50%;
}
.cart-wheel.wheel-one { left: 7px; }
.cart-wheel.wheel-two { left: 21px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #A9B79D;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #84CC16; }
.nav-cta {
  flex-shrink: 0;
  background-color: #84CC16;
  color: #10140E;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
}
.nav-cta:hover { background-color: #A3E635; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  padding: 8px;
}
.nav-toggle .bar {
  display: block;
  width: 24px; height: 3px;
  background-color: #84CC16;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.cart-nav.open .nav-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.cart-nav.open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.cart-nav.open .nav-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO — exchange arrow hero (.exchange-hero)
   ========================================================= */
.exchange-hero {
  position: relative;
  background-color: #0E1110;
  border-bottom: 1px solid #1B2415;
  overflow: hidden;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 24px 110px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #84CC16;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: #EDF2E9;
}
.hero-sub {
  font-size: 18px;
  color: #A9B79D;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; }
.hero-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #A9B79D;
}
.hero-notes li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: #84CC16; border-radius: 50%;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

/* CSS-drawn exchange symbol */
.exchange-symbol { position: relative; width: 300px; height: 300px; }
.exchange-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(132, 204, 22, 0.24) 0%, rgba(132, 204, 22, 0) 62%);
}
.ring { position: absolute; border-radius: 50%; }
.ring-a {
  width: 212px; height: 212px; top: 34px; left: 34px;
  border: 5px solid transparent;
  border-top-color: #84CC16;
  border-right-color: #84CC16;
  animation: spin-a 11s linear infinite;
}
.ring-a::after {
  content: ""; position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 13px solid #84CC16;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.ring-b {
  width: 212px; height: 212px; top: 54px; left: 54px;
  border: 5px solid transparent;
  border-bottom-color: #3F6212;
  border-left-color: #3F6212;
  animation: spin-b 13s linear infinite;
}
.ring-b::after {
  content: ""; position: absolute;
  left: -10px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 13px solid #3F6212;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
}
.hub-dot {
  position: absolute; width: 12px; height: 12px;
  background: #84CC16; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.65);
}

@keyframes spin-a { from { transform: rotate(-35deg); } to { transform: rotate(325deg); } }
@keyframes spin-b { from { transform: rotate(145deg); } to { transform: rotate(505deg); } }

/* =========================================================
   STATEMENT — full-width statement row
   ========================================================= */
.statement-section {
  background-color: #131810;
  padding: 96px 0;
  border-bottom: 1px solid #1B2415;
}
.statement-lead {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: #EDF2E9;
  max-width: 900px;
  margin-bottom: 24px;
}
.statement-lead::first-letter { color: #84CC16; }
.statement-body {
  font-size: 19px;
  color: #A9B79D;
  max-width: 820px;
}

/* =========================================================
   STATS — big-numeral columns
   ========================================================= */
.stats-section {
  background-color: #0E1110;
  padding: 80px 0;
  border-bottom: 1px solid #1B2415;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  background-color: #141A12;
  border: 1px solid #223020;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: #84CC16;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { font-size: 40px; font-weight: 800; color: #84CC16; }
.stat-label {
  display: block;
  font-size: 15px;
  color: #A9B79D;
  letter-spacing: 0.5px;
}

/* =========================================================
   CATEGORIES — horizontal scroll row
   ========================================================= */
.categories-section {
  background-color: #131810;
  padding: 90px 0;
  border-bottom: 1px solid #1B2415;
}
.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: #EDF2E9;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.section-head p { color: #A9B79D; font-size: 16px; }

.cat-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 24px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar { height: 8px; }
.cat-scroll::-webkit-scrollbar-track { background: #141A12; border-radius: 4px; }
.cat-scroll::-webkit-scrollbar-thumb { background: #3F6212; border-radius: 4px; }
.cat-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background-color: #141A12;
  border: 1px solid #223020;
  border-radius: 14px;
  padding: 30px 26px;
  min-height: 190px;
}
.cat-card:hover { border-color: #84CC16; }
.cat-tag { font-size: 13px; font-weight: 800; color: #84CC16; letter-spacing: 2px; }
.cat-card h3 { font-size: 21px; font-weight: 700; color: #EDF2E9; margin: 14px 0 10px; }
.cat-card p { font-size: 15px; color: #A9B79D; }

/* =========================================================
   FLOW — numbered order-flow list
   ========================================================= */
.flow-section {
  background-color: #0E1110;
  padding: 90px 0;
  border-bottom: 1px solid #1B2415;
}
.flow-list { list-style: none; max-width: 880px; }
.flow-step {
  display: flex;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid #1B2415;
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0;
  font-size: 40px;
  font-weight: 800;
  color: #3F6212;
  line-height: 1;
  width: 64px;
}
.flow-text h3 { font-size: 22px; font-weight: 700; color: #EDF2E9; margin-bottom: 6px; }
.flow-text p { font-size: 16px; color: #A9B79D; max-width: 640px; }

/* =========================================================
   COMPARE — comparison table
   ========================================================= */
.compare-section {
  background-color: #131810;
  padding: 90px 0;
  border-bottom: 1px solid #1B2415;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #0E1110;
  border: 1px solid #223020;
  border-radius: 14px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  border-bottom: 1px solid #1B2415;
}
.compare-row:last-child { border-bottom: none; }
.compare-head { background-color: #223208; }
.compare-head .compare-cell {
  font-weight: 800;
  color: #EDF2E9;
  font-size: 15px;
  padding: 20px 22px;
}
.compare-cell {
  padding: 18px 22px;
  font-size: 15px;
  color: #A9B79D;
  border-right: 1px solid #1B2415;
}
.compare-cell:last-child { border-right: none; }
.compare-feature { color: #EDF2E9; font-weight: 700; background-color: #141A12; }
.compare-head .compare-feature { background-color: transparent; color: #A3E635; }

/* =========================================================
   CTA SPLIT BAND
   ========================================================= */
.cta-split {
  background-color: #0E1110;
  padding: 76px 0;
  border-bottom: 1px solid #1B2415;
}
.cta-split-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(90deg, #131810, #1C2410);
  border: 1px solid #2A3524;
  border-radius: 16px;
  padding: 48px 48px;
  flex-wrap: wrap;
}
.cta-copy h2 { font-size: 30px; font-weight: 800; color: #EDF2E9; margin-bottom: 10px; }
.cta-copy p { font-size: 16px; color: #A9B79D; max-width: 520px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
  background-color: #131810;
  padding: 90px 0 96px;
  border-bottom: 1px solid #1B2415;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: 32px; font-weight: 800; color: #EDF2E9; margin-bottom: 16px; }
.contact-info > p { color: #A9B79D; font-size: 16px; margin-bottom: 28px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #3F6212;
}
.contact-list a { font-size: 17px; font-weight: 600; color: #EDF2E9; }
.contact-list a:hover { color: #84CC16; }

.contact-form {
  background-color: #0E1110;
  border: 1px solid #223020;
  border-radius: 16px;
  padding: 34px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #EDF2E9;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #141A12;
  border: 1px solid #2A3524;
  border-radius: 8px;
  padding: 13px 14px;
  color: #EDF2E9;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #84CC16;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6b7a62; }
.contact-form .btn { width: 100%; }
.form-note { margin-top: 16px; font-size: 14px; color: #84CC16; min-height: 20px; }

/* =========================================================
   FOOTER — compact multi-column, thin lime top rule
   ========================================================= */
.site-footer {
  background-color: #0C0F0D;
  border-top: 3px solid #84CC16;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { font-size: 20px; font-weight: 800; letter-spacing: 3px; color: #84CC16; margin-bottom: 12px; }
.footer-about p { color: #A9B79D; font-size: 15px; max-width: 300px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: #EDF2E9;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #A9B79D;
  font-size: 15px;
  margin-bottom: 11px;
}
.footer-col a:hover { color: #84CC16; }
.footer-bottom {
  border-top: 1px solid #1B2415;
  padding-top: 24px;
}
.footer-bottom p { color: #6b7a62; font-size: 14px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 24px 84px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-visual { order: -1; }
  .exchange-symbol { width: 220px; height: 220px; transform: scale(0.8); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .compare-row .compare-cell:nth-child(4) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #10140E;
    border-bottom: 1px solid #223020;
    padding: 8px 24px 20px;
  }
  .cart-nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #1B2415; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .statement-lead { font-size: 30px; }
  .hero-copy h1 { font-size: 34px; }
  .cta-split-inner { padding: 34px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-a, .ring-b { animation: none; }
  .fade-up { transition: none; }
}
