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

:root {
  --green-dark:   #2e5339;
  --green-mid:    #4a7c59;
  --green-light:  #6aaa80;
  --cream:        #f5f0e8;
  --cream-dark:   #ede8df;
  --text-dark:    #1a1a1a;
  --text-body:    #3d3d3d;
  --text-muted:   #6b6b6b;
  --white:        #ffffff;
  --radius-card:  18px;
  --radius-img:   16px;
  --max-w:        1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .18s, background .18s;
  border: none;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 22px;
  font-size: 15px;
}
.btn-primary:hover { opacity: .88; }

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  white-space: nowrap;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 13px 28px;
  font-size: 16px;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* === NAV === */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  justify-content: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: color .15s;
}
.nav-links a:hover { color: var(--green-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.nav-sign-in {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav-sign-in:hover {
  background: var(--cream-dark);
  color: var(--green-dark);
}

/* Signed-in nav state */
.nav-user-menu { position: relative; }

.nav-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background .15s;
}
.nav-user-trigger:hover { background: var(--cream-dark); }

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-user-chevron { color: var(--text-muted); }

.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  width: 240px;
  overflow: hidden;
  z-index: 200;
}
.nav-user-dropdown.open { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
  background: transparent;
  border: none;
  border-bottom: 1px solid #f2efe9;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .12s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.nav-user-dropdown .nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: #f7f4ef; }
.nav-dropdown-item:focus, .nav-dropdown-item:focus-visible { outline: none; box-shadow: none; }
.nav-dropdown-item svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--green-mid); color: var(--green-mid); }
.nav-dropdown-item--sub { padding-left: 38px; font-size: 13px; color: var(--text-muted); border-bottom-color: transparent; }
.nav-dropdown-item--sub:last-of-type { border-bottom: 1px solid #f2efe9; }
.nav-dropdown-item--danger { color: #c0392b; }
.nav-dropdown-item--danger svg { color: #c0392b; stroke: #c0392b; }
.nav-dropdown-item--danger:hover { background: #fff5f5; }

/* === HERO === */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 24px;
}
.badge svg { color: var(--green-mid); flex-shrink: 0; }

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.hero-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.cta-note {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-image-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  max-height: 460px;
}

.hero-badge-card {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  max-width: 260px;
}
.hero-badge-card svg { flex-shrink: 0; }
.hero-badge-card strong {
  display: block;
  font-size: 14px;
  font-family: 'Lora', serif;
  color: var(--text-dark);
}
.hero-badge-card span {
  font-size: 12px;
  color: var(--green-mid);
}

/* === PROBLEM === */
.problem {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-image-wrap img {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  max-height: 440px;
}

.problem-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 20px;
}

.problem-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}
.problem-content p strong { color: var(--text-dark); }

.problem-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.problem-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.problem-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green-mid);
}
.problem-list li em {
  font-style: italic;
  color: var(--text-muted);
}

/* === HOW IT HELPS === */
.how-it-helps {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--green-mid);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.how-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 16px;
}

.how-intro {
  color: var(--green-mid);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--green-mid);
}
.check-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-mid);
}

.how-content > p:last-child {
  color: var(--green-mid);
  font-size: 15px;
  line-height: 1.6;
}

.how-image-wrap img {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  max-height: 460px;
}

/* === BENEFITS === */
.benefits {
  padding: 80px 32px;
  text-align: center;
}

.benefits h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: left;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-mid);
}

.benefit-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  font-family: 'Lora', serif;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.benefit-card p .our { color: var(--green-mid); }

/* === CTA BANNER === */
.cta-banner {
  background: var(--green-dark);
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
}

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

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  margin-bottom: 28px;
}

.cta-subtext {
  margin-top: 18px;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,.55) !important;
}

.cta-banner-image {
  display: flex;
  justify-content: center;
}

.cta-banner-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-img);
  object-fit: cover;
  max-height: 420px;
}

/* === FAQ === */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.faq-header p {
  color: var(--green-mid);
  font-size: 15px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e8e3dc;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background .15s;
}
.faq-question:hover { background: #faf8f4; }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--green-dark);
}
.faq-icon svg { width: 20px; height: 20px; }

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  background: var(--white);
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* === PRICING === */
.pricing {
  padding: 80px 32px;
  background: var(--cream-dark);
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.pricing-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.pricing-subhead {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto;
}

.pricing-grid--4 > .pricing-card {
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  align-content: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 52px 30px 36px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: var(--green-dark);
  position: relative;
}

.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-light);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 14px;
}

.pricing-card--featured .plan-label {
  color: rgba(255,255,255,.6);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-amount {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.plan-amount--varies {
  font-size: 2rem;
}

.pricing-card--featured .plan-amount {
  color: var(--white);
}

.plan-period {
  font-size: 16px;
  color: var(--text-muted);
  padding-bottom: 2px;
}

.pricing-card--featured .plan-period {
  color: rgba(255,255,255,.6);
}

.plan-annual-label {
  font-size: 12px;
  color: var(--green-mid);
  margin-bottom: 4px;
  display: none;
}

.pricing-card--featured .plan-annual-label {
  color: rgba(255,255,255,.6);
}

.plan-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 5px;
  margin-bottom: 12px;
  line-height: 1.55;
}

.pricing-card--featured .plan-tagline {
  color: rgba(255,255,255,.65);
}

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

.plan-features li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7c59' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-card--featured .plan-features li {
  color: rgba(255,255,255,.82);
}

.pricing-card--featured .plan-features li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236aaa80' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tools-billing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 8px;
}

.tools-billing-opt {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: background .18s, color .18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tools-billing-opt--active {
  background: var(--white);
  color: var(--green-dark);
}

.tools-billing-save {
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.tools-billing-opt--active .tools-billing-save {
  background: #d4edda;
  color: var(--green-dark);
}

.pricing-card--highlight {
  border: 2px solid var(--green-dark);
  position: relative;
}

.plan-popular--gold {
  background: #b45309;
  color: var(--white);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 13px 28px;
  font-size: 15px;
}
.btn-outline-green:hover { background: rgba(46,83,57,.06); }

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  padding: 13px 28px;
  font-size: 15px;
}
.btn-white:hover { opacity: .88; }

.btn-block {
  width: 100%;
  justify-content: center;
}

.pricing-consultant-note {
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 28px;
}

.pricing-consultant-note svg {
  flex-shrink: 0;
  color: var(--green-mid);
}

.pricing-consultant-note p {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-consultant-note strong { color: var(--text-dark); }

.pricing-consultant-note a {
  color: var(--green-mid);
  font-weight: 500;
}
.pricing-consultant-note a:hover { text-decoration: underline; }

/* === FOOTER === */
.footer {
  border-top: 1px solid #ddd;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-logo {
  height: 56px;
  width: auto;
}

.btn-outline-footer {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.btn-outline-footer:hover {
  background: var(--green-dark);
  color: var(--white);
}

.footer p {
  font-size: 14px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1060px) {
  .pricing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-grid,
  .pricing-grid--4 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero, .problem, .how-it-helps, .cta-banner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-badge-card { left: 8px; bottom: 8px; }

  .cta-banner { padding: 56px 24px; }
  .cta-banner-content { max-width: 100%; }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links { display: none; }
  .nav { justify-content: space-between; }
}
