/* === Pricing page styles === */
:root {
  --teal-900: #0d3d35;
  --teal-800: #115846;
  --teal-700: #167557;
  --teal-600: #1a9369;
  --teal-500: #22b07a;
  --teal-400: #3ec98f;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --bg: #ffffff;
  --bg-warm: #f4faf7;
  --fg: #0d3d35;
  --fg-muted: #3d6b5e;
  --border: #b8d9ce;
  --border-light: #e4f2eb;
  --accent: #1a9369;
  --accent-dim: rgba(26, 147, 105, 0.1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(13, 61, 53, 0.08);
  --radius: 16px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

/* ── NAV ── */
.pricing-nav {
  background: var(--teal-900);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricing-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.pricing-nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.pricing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pricing-nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.pricing-nav-links a:hover { color: white; }
.pricing-nav-links .btn-nav {
  background: var(--teal-600);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}
.pricing-nav-links .btn-nav:hover { background: var(--teal-500); }

/* ── HERO ── */
.pricing-hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(62,201,143,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.pricing-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pricing-hero .section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.pricing-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 20px;
}
.pricing-hero h1 span { color: var(--amber-400); }
.pricing-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
}
.pricing-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pricing-trust-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: white;
  line-height: 1;
}
.pricing-trust-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.pricing-trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ── PRICING GRID ── */
.pricing-section {
  padding: 80px 48px;
  background: var(--bg-warm);
}
.pricing-section-inner { max-width: 1160px; margin: 0 auto; }
.pricing-section-header { text-align: center; margin-bottom: 56px; }
.pricing-section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--fg);
  margin-bottom: 12px;
}
.pricing-section-header p { font-size: 1rem; color: var(--fg-muted); max-width: 520px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pricing-card.featured { border-color: var(--teal-600); box-shadow: 0 8px 40px rgba(26,147,105,0.15); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber-400);
  color: var(--teal-900);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--fg); margin-bottom: 8px; }
.pricing-card-tagline { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 24px; line-height: 1.5; min-height: 2.5em; }
.pricing-card-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--fg);
  line-height: 1;
}
.pricing-card-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 6px; display: inline-block; }
.pricing-card-period { font-size: 0.82rem; color: var(--fg-muted); font-weight: 500; }
.pricing-card-note { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 28px; min-height: 1.2em; }
.pricing-divider { height: 1px; background: var(--border-light); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--fg-muted); line-height: 1.5; }
.pricing-features li .check {
  width: 18px; height: 18px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-cta {
  display: block; width: 100%;
  padding: 15px;
  background: var(--teal-700);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none; border-radius: 10px;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
  letter-spacing: 0.01em;
}
.pricing-cta:hover { background: var(--teal-800); transform: translateY(-1px); }
.pricing-card.featured .pricing-cta { background: var(--teal-600); }
.pricing-cta.launch {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-400) 100%);
  color: var(--teal-900);
}
.pricing-cta.launch:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ── HOW IT WORKS ── */
.pricing-how { padding: 80px 48px; background: var(--bg); }
.pricing-how-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.pricing-how h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--fg); margin-bottom: 12px; }
.pricing-how-sub { color: var(--fg-muted); font-size: 1rem; margin-bottom: 56px; }
.pricing-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.pricing-how-steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.66% + 30px); right: calc(16.66% + 30px);
  height: 2px; background: var(--border); z-index: 0;
}
.pricing-how-step { display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; z-index: 1; }
.pricing-how-step-num {
  width: 72px; height: 72px;
  background: var(--teal-700); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: white; flex-shrink: 0;
}
.pricing-how-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: 6px; }
.pricing-how-step p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; max-width: 220px; }

/* ── FAQ ── */
.pricing-faq { padding: 80px 48px; background: var(--bg-warm); border-top: 1px solid var(--border-light); }
.pricing-faq-inner { max-width: 760px; margin: 0 auto; }
.pricing-faq-inner h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--fg); margin-bottom: 40px; text-align: center; }
.faq-list { border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-body); font-size: 0.97rem; font-weight: 600; color: var(--fg);
  text-align: left; transition: color 0.15s ease;
}
.faq-question:hover { color: var(--accent); }
.faq-toggle {
  width: 28px; height: 28px;
  background: var(--accent-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent); flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent); color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.93rem; color: var(--fg-muted); line-height: 1.7; }

/* ── FOOTER ── */
.pricing-footer { padding: 28px 48px; background: var(--teal-900); border-top: 1px solid rgba(255,255,255,0.08); }
.pricing-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pricing-footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: white; }
.pricing-footer-links { display: flex; align-items: center; gap: 20px; }
.pricing-footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.15s ease; }
.pricing-footer-links a:hover { color: rgba(255,255,255,0.9); }

/* Success banner */
.success-banner { background: #dcfce7; border: 1px solid #86efac; color: #15803d; text-align: center; padding: 16px 24px; font-weight: 600; font-size: 0.95rem; display: none; }
.success-banner.show { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .pricing-how-steps { grid-template-columns: 1fr; gap: 40px; }
  .pricing-how-steps::before { display: none; }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-hero, .pricing-section, .pricing-how, .pricing-faq { padding: 60px 24px; }
  .pricing-nav { padding: 14px 24px; }
  .pricing-trust-divider { display: none; }
  .pricing-trust-bar { gap: 20px; }
  .pricing-footer { padding: 20px 24px; }
  .pricing-footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}
@media (max-width: 480px) {
  .pricing-hero, .pricing-section, .pricing-how, .pricing-faq { padding: 48px 16px; }
  .pricing-nav-links .nav-link { display: none; }
}
