/* === BASE === */
:root {
  --bg: #050507;
  --bg-2: #0c0c10;
  --bg-card: #0f0f14;
  --fg: #e8e6e3;
  --fg-2: #8a8880;
  --fg-3: #4a4845;
  --accent: #f5c842;
  --accent-dim: rgba(245, 200, 66, 0.12);
  --teal: #00d4aa;
  --teal-dim: rgba(0, 212, 170, 0.12);
  --border: rgba(255,255,255,0.06);
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(5,5,7,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--fg); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem;
  color: var(--fg-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,200,66,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,66,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-2);
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-meta-label { font-size: 0.75rem; color: var(--fg-2); letter-spacing: 0.04em; }
.hero-meta-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* === STATS === */
.stats-section {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-card--accent .stat-number { color: var(--teal); }
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.2rem;
}
.stat-note { font-size: 0.75rem; color: var(--fg-2); }

/* === FEATURES === */
.features-section { padding: 7rem 2rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* === SMART MONEY === */
.smart-section {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.smart-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.smart-content .section-tag { display: block; margin-bottom: 1rem; }
.smart-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.smart-body {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.smart-stat-row { margin-top: 2rem; }
.smart-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--bg);
}
.smart-stat-value {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.smart-stat-desc { font-size: 0.8rem; color: var(--fg-2); }
.smart-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.flow-diagram {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.flow-node {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  flex: 1;
  min-width: 120px;
}
.flow-node--source { border-color: var(--accent); }
.flow-node--transfer { background: var(--accent-dim); border-color: rgba(245,200,66,0.3); }
.flow-node--dest { border-color: var(--teal); }
.flow-node-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.2rem;
}
.flow-node-sub {
  font-size: 0.7rem;
  color: var(--fg-2);
}
.flow-arrow { flex-shrink: 0; }
.smart-visual-caption {
  font-size: 0.75rem;
  color: var(--fg-2);
  text-align: center;
}

/* === ECOSYSTEM === */
.ecosystem-section { padding: 7rem 2rem; }
.ecosystem-inner { max-width: 1200px; margin: 0 auto; }
.ecosystem-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.ecosystem-sub {
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 520px;
  margin-bottom: 3rem;
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.eco-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--bg);
  transition: background 0.2s;
}
.eco-card:hover { background: var(--bg-2); }
.eco-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-name {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.eco-desc { font-size: 0.75rem; color: var(--fg-2); }

/* === CLOSING === */
.closing-section {
  padding: 8rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245,200,66,0.25);
  background: var(--accent-dim);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 3rem;
  border-radius: 100px;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-headline em { font-style: normal; color: var(--accent); }
.closing-body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-2);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--fg-2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--fg-3);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-headline { font-size: 2.5rem; }
  .hero-meta { flex-wrap: wrap; gap: 1.5rem; }
  .hero-meta-divider { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  .smart-inner { grid-template-columns: 1fr; gap: 3rem; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .closing-headline { font-size: 2rem; }
}