:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EDE6;
  --fg: #1C1C1E;
  --fg-muted: #6B6B6B;
  --accent: #E07A2F;
  --accent-light: #F5E6D3;
  --accent-dark: #B85E1F;
  --surface: #FFFFFF;
  --border: #E5E0D8;
  --success: #2D7A4F;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

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

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* SECTION SHARED */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-headline .accent {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* CALCULATOR WIDGET */
.calculator-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.widget-header {
  background: var(--fg);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}
.widget-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.widget-body { padding: 20px; }
.widget-field { margin-bottom: 18px; }
.widget-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.widget-input-group {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.widget-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  outline: none;
  width: 100%;
}
.widget-unit {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 500;
  border-left: 1px solid var(--border);
}
.widget-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--fg);
  cursor: default;
}
.standard-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.tab {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 8px;
  color: var(--fg-muted);
  cursor: default;
  transition: all 0.2s;
}
.tab.active {
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.widget-result {
  background: linear-gradient(135deg, var(--accent-light), #FFF3E8);
  border: 1px solid rgba(224, 122, 47, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  margin: 20px 0;
}
.result-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.result-detail {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.widget-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.widget-footer {
  background: var(--fg);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* HERO BG SHAPE */
.hero-bg-shape {
  position: absolute;
  bottom: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

/* HOW IT WORKS */
.how-it-works { padding: 100px 0; background: var(--surface); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; }
.step-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.step-connector {
  width: 64px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
  margin-left: 16px;
  margin-right: 16px;
}

/* PRICING */
.pricing-preview { padding: 100px 0; background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.pricing-card--pro {
  border-color: var(--accent);
  border-width: 2px;
}
.card-popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.card-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.card-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-features li {
  font-size: 0.9375rem;
  color: var(--fg);
  padding-left: 24px;
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23E07A2F' opacity='0.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23E07A2F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
}
.pricing-note {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  text-align: center;
}

/* FEATURES */
.features { padding: 100px 0; background: var(--surface); }
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-item p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* QUOTE */
.quote-section { padding: 80px 0; background: var(--bg); }
.quote-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent-light);
  line-height: 0.6;
  margin-bottom: 24px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg);
}
.quote-context {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing { padding: 120px 0; background: var(--fg); }
.closing .section-label { color: var(--accent); }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}
.closing-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* FOOTER */
footer {
  background: #131313;
  padding: 48px 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.footer-meta {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* HERO CTA */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(224, 122, 47, 0.3);
  width: fit-content;
}
.hero-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.hero-cta-sub {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  padding-left: 4px;
}
.widget-footer {
  background: var(--fg);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: block;
  text-decoration: none;
  transition: background 0.15s;
}
.widget-footer:hover {
  background: var(--accent-dark);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .hero-headline { font-size: 2.25rem; }
  .hero-stats { gap: 16px; }
  .steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-layout { grid-template-columns: 1fr; }
  .stat-number { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 80px; }
  .how-it-works, .pricing-preview, .features, .quote-section { padding: 64px 0; }
  .closing { padding: 80px 0; }
  .widget-result { padding: 12px 16px; }
  .result-value { font-size: 1.625rem; }
  .pricing-card { padding: 28px 24px; }
  .card-price { font-size: 2rem; }
}
