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

:root {
  --bg: #faf8f5;
  --fg: #0d1b2a;
  --accent: #e8a838;
  --accent-dark: #c4891a;
  --navy: #0d1b2a;
  --cream: #faf8f5;
  --cream-dark: #f0ece3;
  --text: #1a2a3a;
  --text-muted: #5a6a7a;
  --border: rgba(13,27,42,0.1);
}

body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; }
.section-headline { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.section-label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }

/* ========================
   LAYOUT UTILITIES
   ======================== */
.section-label { display: inline-block; }

/* ========================
   NAV
   ======================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,168,56,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,168,56,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #1a3a5c;
  bottom: -100px;
  left: -100px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Dashboard Mock */
.dashboard-mock {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(13,27,42,0.25), 0 0 0 1px rgba(255,255,255,0.05);
  font-size: 0.75rem;
}
.mock-header {
  background: rgba(255,255,255,0.06);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-dots { display: flex; gap: 0.375rem; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); display: block; }
.mock-dots span:first-child { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:last-child { background: #28c840; }
.mock-title { font-family: 'Syne', sans-serif; font-weight: 600; color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.mock-body { padding: 0.75rem 1rem; }
.mock-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 0.5fr;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  gap: 0.5rem;
}
.mock-row:last-child { border-bottom: none; }
.mock-row-header { font-family: 'Syne', sans-serif; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.25rem; }
.stage-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.stage-inspect { background: rgba(124,58,237,0.25); color: #a78bfa; }
.stage-finance { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.stage-title { background: rgba(59,130,246,0.2); color: #93c5fd; }
.stage-close { background: rgba(232,168,56,0.2); color: #e8a838; }
.deadline-today { color: #ef4444; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-warn { background: #ef4444; }
.status-ok { background: #22c55e; }
.mock-footer {
  background: rgba(255,255,255,0.04);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mock-stat { display: flex; flex-direction: column; gap: 0.125rem; }
.mock-stat-num { font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 800; color: white; }
.mock-stat-label { font-size: 0.625rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }

/* ========================
   STATS
   ======================== */
.stats {
  background: var(--navy);
  padding: 3rem 2rem;
  overflow: hidden;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}
.stat-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.375rem;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ========================
   PROCESS
   ======================== */
.process { padding: 6rem 2rem; background: var(--bg); }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process .section-headline { margin-bottom: 4rem; }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; padding: 2rem; background: white; border-radius: 16px; border: 1px solid var(--border); }
.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 4.5rem;
  flex-shrink: 0;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================
   FEATURES
   ======================== */
.features { padding: 6rem 2rem; background: var(--cream-dark); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features .section-headline { margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,27,42,0.08);
}
.feature-icon { margin-bottom: 1.25rem; }
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.feature-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ========================
   PRICING
   ======================== */
.pricing { padding: 6rem 2rem; background: var(--bg); }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing .section-headline { margin-bottom: 0.75rem; }
.pricing-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.price-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(232,168,56,0.15);
}
.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-tier {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-per {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.price-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.price-features li {
  font-size: 0.9375rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4' stroke='%23e8a838' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.price-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.pricing-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ========================
   MANIFESTO
   ======================== */
.manifesto {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.manifesto-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

/* ========================
   CLOSING
   ======================== */
.closing { padding: 5rem 2rem; background: var(--bg); }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--navy);
  padding: 3rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: white;
  margin-bottom: 0.75rem;
}
.footer-copy { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.footer-legal { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 2rem; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.5rem; }
  .process-steps { flex-direction: column; gap: 1rem; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 1.5rem; }
  .stat-item { flex: none; width: calc(50% - 1.5rem); padding: 0; }
  .stat-divider { display: none; }
  .nav-tagline { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .stat-item { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
}