/* LTNM — Transactional Utility Token | Global Styles */
:root {
  --gold: #C9941A;
  --gold-light: #E8B84B;
  --gold-dark: #9A7210;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #334155;
  --muted: #64748B;
  --light: #F8FAFC;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --green: #059669;
  --green-light: #D1FAE5;
  --blue: #2563EB;
  --blue-light: #DBEAFE;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--slate); font-size: 1.065rem; }

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

/* ─── Container ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.2rem; color: var(--navy);
}
.nav-logo .logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-mark svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.925rem; font-weight: 500; color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--gold-dark); font-weight: 600; }
.nav-cta {
  background: var(--navy); color: white !important; padding: 0.55rem 1.25rem;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--slate); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: white; padding: 1.5rem;
    border-bottom: 1px solid var(--border); gap: 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ─── Hero (image-only banner) ─── */
.hero {
  position: relative;
  background: url('/assets/img/hero-green.png') center bottom / cover no-repeat, linear-gradient(135deg, #0a1a0d 0%, #0d2818 40%, #061a10 100%);
  min-height: 60vh; padding-top: 72px; /* offset for fixed nav */
}
@media (min-width: 769px) {
  .hero { min-height: min(60vh, 540px); }
}
@media (max-width: 768px) {
  .hero { min-height: 45vh; }
}

/* ─── Hero Content (below image) ─── */
.hero-sub {
  background: var(--navy); text-align: center;
  padding: 3.5rem 0 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(46,204,113,0.15); color: #2ecc71; font-size: 0.825rem;
  font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.5rem; border: 1px solid rgba(46,204,113,0.25);
}
.hero-sub h1 { margin-bottom: 1.25rem; color: #ffffff; }
.hero-sub h1 span { color: #2ecc71; }
.hero-sub p {
  max-width: 660px; margin: 0 auto 2rem;
  font-size: 1.15rem; color: rgba(255,255,255,0.75); line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-sub .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero-sub .btn-outline:hover { border-color: #2ecc71; color: #2ecc71; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: white; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,148,26,0.3); }
.btn-secondary { background: var(--navy); color: white; }
.btn-secondary:hover { background: var(--slate); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--light); }

/* ─── Stats Row ─── */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin: 3rem 0;
}
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat-value span { color: var(--gold); }
.stat-label { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }

/* ─── Features Grid ─── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; transition: all 0.25s;
}
.feature-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.feature-icon.green { background: var(--green-light); }
.feature-icon.blue { background: var(--blue-light); }
.feature-icon.gold { background: #FEF3C7; }
.feature-icon.purple { background: #EDE9FE; }
.feature-icon.pink { background: #FCE7F3; }
.feature-card h3 { margin-bottom: 0.65rem; }
.feature-card p { font-size: 0.95rem; line-height: 1.65; }

/* ─── Markets ─── */
.markets-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.market-card {
  background: var(--light); border-radius: 14px; padding: 2rem;
  border: 1px solid transparent; transition: 0.25s;
}
.market-card:hover { border-color: var(--border); }
.market-emoji { font-size: 2rem; margin-bottom: 0.75rem; }
.market-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.market-card p { font-size: 0.9rem; }

/* ─── Section Headers ─── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header .eyebrow {
  color: var(--gold-dark); font-weight: 700; font-size: 0.825rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--navy); border-radius: 20px; padding: 4rem 3rem;
  text-align: center; color: white;
}
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: #94A3B8; max-width: 560px; margin: 0 auto 2rem; }

/* ─── Press Logos ─── */
.press-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap; opacity: 0.45; filter: grayscale(100%);
}
.press-logos span { font-size: 1.1rem; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ─── Wallet Section ─── */
.wallet-section { background: var(--light); }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.wallet-mockup {
  background: var(--navy); border-radius: 20px; padding: 2.5rem;
  text-align: center; color: white; min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.wallet-mockup .phone-frame {
  width: 180px; height: 320px; background: white; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy); padding: 1.5rem;
}
.wallet-mockup .phone-frame .app-logo { font-size: 2rem; margin-bottom: 0.5rem; }
.wallet-mockup .phone-frame .app-name { font-weight: 700; font-size: 0.9rem; }
.wallet-mockup .phone-frame .app-balance { font-size: 1.6rem; font-weight: 800; margin: 1rem 0 0.25rem; }
.wallet-mockup .phone-frame .app-label { font-size: 0.7rem; color: var(--muted); }
.store-badges { display: flex; gap: 1rem; margin-top: 1.5rem; }
.store-badge {
  background: var(--navy); color: white; padding: 0.6rem 1.25rem;
  border-radius: 8px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--slate);
}

@media (max-width: 768px) {
  .wallet-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Footer ─── */
.footer { background: var(--navy); color: white; padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: #94A3B8; font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; color: #94A3B8; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: #CBD5E1; font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--slate); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.825rem; color: #64748B;
}

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

/* ─── Inner page hero ─── */
.page-hero {
  padding: 7rem 0 3.5rem; text-align: center;
  background: linear-gradient(180deg, #F0F4FF 0%, var(--white) 100%);
}
.page-hero .eyebrow {
  color: var(--gold-dark); font-weight: 700; font-size: 0.825rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; color: var(--muted); }

/* ─── Content sections for inner pages ─── */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block .visual {
  background: var(--light); border-radius: 16px; padding: 3rem;
  display: flex; align-items: center; justify-content: center; min-height: 280px;
}
.content-block .visual .icon-big { font-size: 4rem; }

@media (max-width: 768px) {
  .content-block { grid-template-columns: 1fr; gap: 2rem; }
  .content-block.reverse { direction: ltr; }
}

/* ─── Comparison table ─── */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.comparison-table th {
  text-align: left; padding: 1rem 1.25rem; background: var(--navy);
  color: white; font-size: 0.875rem; font-weight: 600;
}
.comparison-table th:first-child { border-radius: 10px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 10px 0 0; }
.comparison-table td {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}
.comparison-table tr:nth-child(even) td { background: var(--light); }
.comparison-table .highlight { color: var(--green); font-weight: 600; }

/* ─── Animations ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
