/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0F1A;
  --surface: #131929;
  --surface-2: #1A2235;
  --teal: #00D4AA;
  --teal-dim: rgba(0, 212, 170, 0.12);
  --violet: #7B6FFF;
  --text: #E8ECF1;
  --text-2: #8A94A8;
  --text-3: #515D74;
  --border: rgba(255,255,255,0.07);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ───────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }

/* ─── Navigation ───────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 20px;
  color: var(--teal); letter-spacing: -0.5px;
}
.nav-tagline { font-size: 13px; color: var(--text-3); }

/* ─── Hero ─────────────────────────────────────── */
.hero {
  padding: 140px 40px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800; line-height: 1.08;
  color: var(--text); letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px; line-height: 1.7;
  color: var(--text-2); max-width: 440px;
}

/* ─── Invoice Card ─────────────────────────────── */
.invoice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  position: relative; overflow: hidden;
}
.invoice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
}
.invoice-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.invoice-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--text-3); text-transform: uppercase; }
.invoice-amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; color: var(--text); }
.invoice-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.invoice-status { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 12px; border-radius: 8px; background: var(--teal-dim); }
.invoice-status.processing { color: var(--teal); }
.pulse-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }
.invoice-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.step.done { color: var(--teal); }
.step.active { color: var(--text); font-weight: 600; }
.step-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.step.pending { opacity: 0.4; }
.invoice-savings { display: flex; justify-content: space-between; align-items: center; background: rgba(0,212,170,0.08); border-radius: 8px; padding: 10px 14px; }
.savings-tag { font-size: 11px; color: var(--teal); font-weight: 500; }
.savings-amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--teal); }

/* ─── Stats ────────────────────────────────────── */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.stat { text-align: center; }
.stat-value { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-label { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; max-width: 160px; line-height: 1.4; }
.stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* ─── Section shared ───────────────────────────── */
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section-headline { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--text); margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text-2); max-width: 520px; line-height: 1.7; margin-bottom: 48px; }

/* ─── How It Works ─────────────────────────────── */
.hiw { padding: 100px 40px; }
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hiw-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; transition: border-color 0.2s; }
.hiw-card:hover { border-color: rgba(0,212,170,0.3); }
.hiw-number { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800; color: var(--teal); margin-bottom: 14px; letter-spacing: 1px; }
.hiw-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.hiw-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ─── Features ─────────────────────────────────── */
.features { padding: 100px 40px; background: var(--surface); border-top: 1px solid var(--border); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-item { padding: 0; }
.feature-icon { width: 40px; height: 40px; background: var(--teal-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 16px; }
.feature-item h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ─── Manifesto ────────────────────────────────── */
.manifesto { padding: 100px 40px; background: linear-gradient(135deg, var(--bg) 0%, #0D1526 100%); }
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 500; line-height: 1.5; color: var(--text); letter-spacing: -0.5px; font-style: italic; }
.manifesto-attr { margin-top: 28px; font-size: 13px; color: var(--text-3); }

/* ─── Closing ─────────────────────────────────── */
.closing { padding: 100px 40px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-headline { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--text); margin-bottom: 24px; }
.closing-sub { font-size: 16px; color: var(--text-2); max-width: 640px; line-height: 1.75; }

/* ─── Footer ───────────────────────────────────── */
.footer { padding: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px; color: var(--teal); }
.footer-desc { font-size: 13px; color: var(--text-3); }
.footer-legal { font-size: 12px; color: var(--text-3); }

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 120px 24px 60px; }
  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-divider { width: 48px; height: 1px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .nav-inner { padding: 16px 24px; }
}
@media (max-width: 480px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw, .features, .manifesto, .closing { padding: 60px 24px; }
  .stats-inner { padding: 32px 24px; }
}