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

:root {
  --bg: #0f1c2e;
  --bg-card: #162538;
  --bg-card-hover: #1a2e44;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --text: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.55);
  --text-faint: rgba(240, 236, 228, 0.3);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(245, 158, 11, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.15; }
.section-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--text); }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; margin: 0.75rem auto 0; }

/* --- NAV --- */
.navbar {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- HERO --- */
.hero { padding: 5rem 0 4rem; }
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-headline em { color: var(--accent); font-style: italic; }
.hero-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* Proposal Demo Widget */
.proposal-demo {
  background: #0d1a2b;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.08);
}
.demo-header {
  background: #111f30;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot.red { background: #ff5f57; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #28ca41; }
.demo-filename {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-family: 'DM Mono', monospace;
}
.demo-body { padding: 1.25rem; }
.demo-section { margin-bottom: 1.25rem; }
.demo-section:last-of-type { margin-bottom: 0; }
.demo-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.demo-line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 4px;
}
.demo-line.w65 { width: 65%; }
.demo-line.w70 { width: 70%; }
.demo-line.w75 { width: 75%; }
.demo-line.w78 { width: 78%; }
.demo-line.w80 { width: 80%; }
.demo-line.w85 { width: 85%; }
.demo-line.w88 { width: 88%; }
.demo-line.w90 { width: 90%; }
.demo-line.w92 { width: 92%; }
.demo-cta-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.demo-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
}

/* --- STATS --- */
.stats { background: #0d1a2b; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-unit { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-top: 0.2rem; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

/* --- PROCESS --- */
.process { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.process-steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0;
}
.step { flex: 1; }
.step-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 0.75rem; opacity: 0.5; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--border-accent), var(--accent), var(--border-accent));
  margin: 0 1rem;
  margin-bottom: 2.5rem;
}

/* --- FEATURES --- */
.features { padding: 5rem 0; background: #0d1a2b; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--border-accent); }
.feature-icon { margin-bottom: 1rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.feature p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* --- PRICING --- */
.pricing { padding: 5rem 0; }
.pricing-grid {
  max-width: 1060px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: #162538;
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(245,158,11,0.1);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.5rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--text); margin-bottom: 0.75rem; }
.plan-price .per-month { font-size: 1rem; font-weight: 400; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.plan-description { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.55; }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* --- TESTIMONIAL --- */
.testimonial { padding: 5rem 0; }
.testimonial-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.testimonial-content blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.attribution-role { font-weight: 600; font-size: 0.9rem; }
.attribution-context { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.testimonial-arrow svg { flex-shrink: 0; }
.tstat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.tstat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* --- CLOSING --- */
.closing { padding: 5rem 0; }
.closing-inner { max-width: 700px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.closing-headline { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1.25rem; }
.closing-body { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2.5rem; }
.closing-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.proof-item { text-align: center; }
.proof-value { font-weight: 600; font-size: 1rem; margin-bottom: 0.2rem; }
.proof-label { font-size: 0.75rem; color: var(--text-muted); }
.proof-separator { width: 1px; height: 36px; background: var(--border); }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.footer-legal { font-size: 0.75rem; color: var(--text-faint); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .stats-inner { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
  .stat-divider { display: none; }
  .stat { min-width: 120px; }
  .process-steps { flex-direction: column; gap: 1rem; }
  .step-connector { width: 2px; height: 30px; margin: 0 auto; background: linear-gradient(180deg, var(--border-accent), var(--accent), var(--border-accent)); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonial-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .closing-proof { flex-direction: column; gap: 1rem; }
  .proof-separator { display: none; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2rem; }
  .stats { padding: 2rem 0; }
}