/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B2A;
  --navy-light: #152238;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.06);
  --cream: #F7F5F0;
  --cream-dim: rgba(247, 245, 240, 0.06);
  --text: #E8E4DC;
  --text-muted: rgba(232, 228, 220, 0.5);
  --green: #22C55E;
  --red: #EF4444;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(245,158,11,0.08);
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ===== HERO ===== */
.hero { padding: 6rem 2rem 5rem; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.headline-accent { color: var(--amber); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(245,158,11,0.1);
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-unit {
  font-size: 0.75rem;
  color: var(--amber);
  opacity: 0.7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 2px 0 3px;
}
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 300; }
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,158,11,0.15);
  flex-shrink: 0;
}

/* ===== INVOICE STACK ===== */
.hero-visual { position: relative; }
.invoice-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}
.invoice-card {
  background: var(--navy-light);
  border: 1px solid rgba(245,158,11,0.12);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
}
.invoice-card:hover { transform: translateX(4px); }
.invoice-card-3 { opacity: 0.5; transform: translateY(-8px) translateX(-12px); }
.invoice-card-2 { opacity: 0.75; transform: translateY(-4px) translateX(-6px); }
.invoice-card-1 { border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.04); }
.invoice-dots {
  display: flex; gap: 5px; margin-bottom: 0.9rem;
}
.invoice-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(245,158,11,0.2);
}
.invoice-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.inv-line {
  height: 7px; border-radius: 4px;
  background: rgba(245,158,11,0.1);
}
.inv-short { width: 35%; }
.inv-med { width: 55%; }
.inv-long { width: 72%; }
.invoice-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inv-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}
.inv-status {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}
.inv-overdue { background: rgba(239,68,68,0.15); color: #EF4444; }
.inv-warning { background: rgba(245,158,11,0.15); color: #F59E0B; }
.inv-paid { background: rgba(34,197,94,0.15); color: #22C55E; }

.settli-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.12);
  border-radius: 100px;
  width: fit-content;
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 500;
}
.si-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ===== PROBLEM ===== */
.problem { padding: 6rem 2rem; background: var(--navy-light); }
.problem-inner { max-width: 760px; margin: 0 auto; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.8rem;
}
.problem-headline em { color: var(--amber); font-style: normal; }
.problem-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.problem-quote {
  margin-top: 2.5rem;
  padding: 1.8rem 2rem;
  background: var(--cream-dim);
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
}
.pq-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  line-height: 0;
  vertical-align: -1.5rem;
  margin-right: 4px;
}
.problem-quote blockquote {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.problem-quote cite {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== HOW ===== */
.how { padding: 6rem 2rem; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.how-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-weight: 300;
}
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(245,158,11,0.08);
  align-items: start;
}
.how-step:first-child { border-top: 1px solid rgba(245,158,11,0.08); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.step-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ===== FEATURES ===== */
.features { padding: 6rem 2rem; background: var(--navy-light); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: rgba(21, 34, 56, 0.5);
  border: 1px solid rgba(245,158,11,0.08);
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.04);
}
.feature-card-main {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(21,34,56,0.5) 60%);
}
.fc-icon { margin-bottom: 1.2rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ===== NUMBERS ===== */
.numbers { padding: 6rem 2rem; }
.numbers-inner { max-width: 1200px; margin: 0 auto; }
.numbers-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 3rem;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.num-card {
  background: rgba(245,158,11,0.04);
  border: 1px solid rgba(245,158,11,0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s ease;
}
.num-card:hover { background: rgba(245,158,11,0.07); }
.num-big {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}
.num-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.closing-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.closing-accent { color: var(--amber); }
.closing-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
}
.closing-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.closing-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
}
.cs-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.cs-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%); }
.cs-3 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(245,158,11,0.03) 0%, transparent 70%); }

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(245,158,11,0.08);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { margin-bottom: 0.8rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-sep { color: rgba(245,158,11,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-main { grid-column: span 1; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .how-step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .step-num { font-size: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .hero-stat-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-stat-divider { display: none; }
}