:root {
  --brand: #c86c08;
  --brand-dark: #a85a06;
  --text: #0f0f0f;
  --text-muted: #5a5a5a;
  --bg: #fafaf8;
  --card: #ffffff;
  --border: #e8e8e6;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --text: #f5f5f3;
  --text-muted: #b0b0ac;
  --bg: #0f0f0d;
  --card: #1a1a17;
  --border: #2a2a27;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] header {
  background: rgba(15, 15, 13, 0.95);
  backdrop-filter: blur(12px);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f0f0d 0%, #1a1410 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(200, 108, 8, 0.05);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

button,
.btn {
  border: none;
  padding: 12px 22px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 8px rgba(200, 108, 8, 0.2);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(200, 108, 8, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(200, 108, 8, 0.03);
}

/* ── Hero ── */
.hero {
  padding: 80px 24px 100px;
  background: linear-gradient(135deg, #ffffff 0%, #faf7f4 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Pain points section ── */
.pain-points {
  padding: 60px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.pain-points-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pain-header {
  text-align: center;
  margin-bottom: 48px;
}

.pain-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.pain-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.pain-item {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.pain-item-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.pain-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.pain-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ── How it works (simplified) ── */
.how-it-works {
  padding: 60px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.how-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.steps-simple {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.step-simple {
  flex: 1;
  min-width: 0;
  max-width: 220px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 16px;
}

.step-simple h3 {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  color: var(--text);
}

.step-simple p {
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-simple {
    flex-direction: column;
    gap: 24px;
  }
}

/* ── Features showcase ── */
.features-showcase {
  padding: 60px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.features-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-box {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.feature-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Testimonials ── */
.testimonials {
  padding: 60px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.testimonials-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.testimonial-stars {
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing (keep the calculator) ── */
.pricing {
  padding: 60px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.pricing-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Pricing plans ── */
.pricing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .pricing-plans {
    grid-template-columns: 1fr;
  }
}

.pricing-plan {
  padding: 32px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pricing-plan:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(200, 108, 8, 0.08);
}

.pricing-plan.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(200, 108, 8, 0.12);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .pricing-plan.featured {
    transform: scale(1);
  }
}

.plan-header {
  margin-bottom: 16px;
}

.plan-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.plan-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ── Pricing example ── */
.pricing-example {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.pricing-example h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.example-row:last-of-type {
  border-bottom: none;
}

.example-row span:first-child {
  color: var(--text-muted);
}

.example-value {
  font-weight: 700;
  color: var(--text);
}

.example-row.highlight {
  background: rgba(200, 108, 8, 0.05);
  margin: 0 -32px;
  padding: 12px 32px;
  border: none;
}

.example-row.highlight span:last-child {
  color: var(--brand);
}

.example-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── CTA Section ── */
.cta-section {
  padding: 60px 24px;
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-dark) 100%
  );
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 16px;
  margin: 0 0 28px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-btn {
  background: white;
  color: var(--brand);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ── Contact form ── */
.contact-section {
  padding: 60px 24px;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 680px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.contact-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.7;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 108, 8, 0.1);
  color: var(--brand);
  font-weight: 700;
  font-size: 10px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.contact-form > p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(200, 108, 8, 0.2);
  margin-top: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(200, 108, 8, 0.3);
  transform: translateY(-1px);
}

.form-message {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.form-message.error {
  background: rgba(200, 50, 50, 0.1);
  color: #c8323c;
  border: 1px solid rgba(200, 50, 50, 0.2);
}

.form-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

/* ── Success overlay ── */
.form-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-overlay.show {
  display: flex;
}

.overlay-content {
  background: var(--card);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.overlay-content .emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.overlay-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}

.overlay-content p {
  color: var(--text-muted);
  margin: 0 0 8px;
  font-size: 14px;
}

.overlay-content .highlight {
  color: var(--brand);
  font-weight: 700;
}

.overlay-close {
  margin-top: 20px;
  background: var(--brand);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(200, 108, 8, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.overlay-close:hover {
  background: var(--brand-dark);
}

/* ── Footer ── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .hero h1 {
    font-size: 32px;
  }

  .nav-links {
    display: none;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .steps-simple {
    flex-direction: column;
    gap: 20px;
  }
}
