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

:root {
  --bg:      #efe6d4;
  --bg2:     #e8ddc8;
  --surface: #faf3e0;
  --border:  #d4c4a8;
  --border2: #c0ae8c;
  --green:   #2d6624;
  --green2:  #3d8c35;
  --green3:  #1a4a14;
  --ink:     #1a1208;
  --ink2:    #3c2c18;
  --ink3:    #6b5840;
  --ink4:    #9a856a;
  --line:    rgba(0,0,0,0.10);
  --shadow:  0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --ease:    cubic-bezier(0.4,0,0.2,1);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ── BG WATERMARK ── */
.bg-watermark {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none; user-select: none; z-index: 0; opacity: 0.04;
}
.bg-watermark svg { width: clamp(300px, 60vw, 700px); height: auto; }

/* z-stack */
.topbar, .hero, .billing-toggle, .cards-wrap, .faq-section, .footer-note {
  position: relative; z-index: 1;
}

/* ── TOPBAR ── */
.topbar {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky; top: 0; z-index: 30;
}
.logo-svg { height: 36px; width: auto; display: block; }
.back-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink3); font-weight: 500;
  text-decoration: none; transition: color 0.15s var(--ease);
}
.back-btn:hover { color: var(--ink); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 64px 20px 48px;
  max-width: 580px; width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green2);
  background: rgba(45,102,36,0.08); border: 1px solid rgba(45,102,36,0.18);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 20px;
}
.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  font-style: italic; font-weight: 400;
  color: var(--ink); line-height: 1.2; margin-bottom: 14px;
}
.hero-title em { color: var(--green); font-weight: 600; }
.hero-sub {
  font-size: 15px; color: var(--ink3); font-weight: 300;
  line-height: 1.7; max-width: 400px; margin: 0 auto 28px;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── BILLING TOGGLE ── */
.billing-toggle {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 44px;
  font-size: 13px; color: var(--ink3);
}
.toggle-track {
  width: 44px; height: 24px; border-radius: 12px;
  background: var(--border); border: 1.5px solid var(--border2);
  position: relative; cursor: pointer; transition: background 0.2s;
}
.toggle-track.on { background: var(--green); border-color: var(--green); }
.toggle-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: white; position: absolute;
  top: 2px; left: 2px;
  transition: transform 0.22s var(--ease);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.toggle-track.on .toggle-thumb { transform: translateX(20px); }
.discount-tag {
  background: rgba(45,102,36,0.1); border: 1px solid rgba(45,102,36,0.2);
  color: var(--green); font-size: 11px; font-weight: 600;
  border-radius: 20px; padding: 2px 9px;
}

/* ── CARDS GRID ── */
.cards-wrap {
  width: 100%; max-width: 980px;
  padding: 0 20px 80px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: start;
}
@media (max-width: 768px) {
  .cards-wrap { grid-template-columns: 1fr; max-width: 420px; }
}

.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  box-shadow: var(--shadow);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: cardIn 0.45s ease both;
}
.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.12s; }
.plan-card:nth-child(3) { animation-delay: 0.19s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.plan-card:hover { border-color: var(--border2); box-shadow: var(--shadow-lg); }

.plan-card.featured {
  border-color: rgba(45,102,36,0.35);
  box-shadow: 0 8px 32px rgba(45,102,36,0.14), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px);
}
.plan-card.featured:hover { box-shadow: 0 14px 44px rgba(45,102,36,0.2); }

.plan-card.max-card {
  background: var(--green3);
  border-color: rgba(255,255,255,0.08);
}
.max-sep { background: rgba(255,255,255,0.12) !important; }

/* Badge popular */
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: white; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  box-shadow: 0 3px 10px rgba(45,102,36,0.3);
  white-space: nowrap;
}

.plan-name {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink4); margin-bottom: 6px;
}
.plan-card.max-card .plan-name { color: rgba(200,230,194,0.6); }
.plan-desc {
  font-size: 13px; color: var(--ink3); font-weight: 300;
  line-height: 1.55; min-height: 36px;
}
.plan-card.max-card .plan-desc { color: rgba(200,230,194,0.65); }

/* Pricing */
.price-block { display: flex; align-items: baseline; gap: 3px; }
.price-currency { font-size: 15px; color: var(--ink3); font-weight: 500; align-self: flex-start; margin-top: 6px; }
.price-num {
  font-family: 'Lora', Georgia, serif;
  font-size: 48px; color: var(--ink); line-height: 1;
}
.price-period { font-size: 13px; color: var(--ink4); }
.price-free {
  font-family: 'Lora', Georgia, serif;
  font-size: 36px; color: var(--ink3); font-style: italic;
}
.max-currency { color: rgba(255,255,255,0.55); }
.max-num      { color: white; }
.max-period   { color: rgba(255,255,255,0.4); }

.feat-separator { height: 1px; background: var(--border); }

/* Features */
.features-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature-item {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ink2); font-weight: 400; line-height: 1.5;
}
.feature-item.muted { color: var(--ink4); }
.feat-check { color: var(--green); font-size: 13px; flex-shrink: 0; font-weight: 600; }
.feat-x     { color: var(--ink4); font-size: 13px; flex-shrink: 0; }
.feat-hi    { color: var(--green); font-weight: 600; }

/* Max features */
.max-item   { color: rgba(255,255,255,0.82); }
.max-check  { color: #9dcc96; }
.max-hi     { color: #9dcc96; }

/* CTA */
.plan-cta {
  width: 100%; padding: 12px;
  border-radius: 12px; font-size: 14px; font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
  cursor: pointer; transition: all 0.15s var(--ease);
  border: 1px solid var(--border2);
  background: var(--bg2); color: var(--ink2);
}
.plan-cta:hover { background: var(--bg); border-color: var(--border2); }
.plan-cta.primary {
  background: var(--green); border-color: var(--green); color: white;
  box-shadow: 0 4px 14px rgba(45,102,36,0.28);
}
.plan-cta.primary:hover { background: var(--green2); box-shadow: 0 6px 20px rgba(45,102,36,0.36); }
.max-cta {
  background: white; border-color: white; color: var(--green);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.max-cta:hover { background: rgba(255,255,255,0.9); }
.plan-cta-sub { text-align: center; font-size: 11px; color: var(--ink4); margin-top: 6px; }
.max-sub { color: rgba(255,255,255,0.3); }

/* ── FAQ ── */
.faq-section {
  width: 100%; max-width: 600px;
  padding: 0 20px 80px;
}
.faq-title {
  font-family: 'Lora', Georgia, serif; font-size: 24px; font-style: italic; font-weight: 400;
  color: var(--ink); text-align: center; margin-bottom: 24px;
}
.faq-item {
  border-bottom: 1px solid var(--border); padding: 16px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--ink);
  user-select: none;
}
.faq-chevron {
  font-size: 18px; color: var(--ink4);
  transition: transform 0.22s var(--ease); flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(90deg); }
.faq-a {
  font-size: 13.5px; color: var(--ink3); font-weight: 300;
  line-height: 1.7; padding-top: 10px; display: none;
}
.faq-item.open .faq-a { display: block; animation: fadeDown 0.18s ease; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ── */
.footer-note {
  padding: 0 20px 48px;
  text-align: center; font-size: 12px; color: var(--ink4);
}
.footer-note a { color: var(--green); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }
