/* ============================================================
   YOURSALESMACHINE — PRICING PAGE CSS
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.pricing-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  text-align: center;
}
.pricing-hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.pricing-hero h1 { margin-bottom: 20px; margin-top: 12px; }
.hero-sub {
  font-size: 18px; font-weight: 300; line-height: 1.65;
  color: var(--text2); max-width: 500px; margin-bottom: 36px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--green) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}
.toggle-btn {
  font-size: 16px; font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  border: none; cursor: pointer;
  background: transparent;
  color: var(--text2);
  transition: background var(--t-fast), color var(--t-fast);
  display: flex; align-items: center; gap: 8px;
}
.toggle-btn.active {
  background: var(--surface3);
  color: var(--text);
}
.save-badge {
  font-size: 16px; font-weight: 600;
  background: var(--green-bg); border: 1px solid var(--green-border);
  color: var(--green); padding: 2px 8px; border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ── PRICING GRID ─────────────────────────────────────────── */
.pricing-section {
  padding: 64px 0 96px;
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

/* Plan card */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--t-base);
}
.plan-card:hover { border-color: var(--border2); }

.plan-featured {
  border-color: var(--accent-border);
  background: var(--bg3);
  box-shadow: 0 0 0 1px var(--accent-border), 0 24px 60px rgba(124,58,237,0.12);
  transform: translateY(-8px);
}

.plan-popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

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

.plan-icon {
  font-size: 28px; margin-bottom: 12px;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.starter-icon    { background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.2); }
.growth-icon     { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2); }
.enterprise-icon { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); }

.plan-header h2 {
  font-size: 22px; margin-bottom: 8px;
}
.plan-desc {
  font-size: 16px; line-height: 1.65; color: var(--text2);
}

/* Pricing */
.plan-price { margin-bottom: 24px; }

.price-amount {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px; font-weight: 700;
  color: var(--text); letter-spacing: -0.04em; line-height: 1;
  transition: all var(--t-base);
}
.price-period { font-size: 16px; color: var(--text3); }

.price-annual-note {
  font-size: 16px; color: var(--text3);
  min-height: 18px; display: block;
  transition: all var(--t-fast);
}

/* CTA button */
.plan-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-bottom: 24px;
  display: flex;
}

/* Divider */
.plan-divider {
  height: 1px; background: var(--border);
  margin-bottom: 24px;
}

/* Features list */
.plan-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 16px; line-height: 1.5;
}
.pf-included { color: var(--text2); }
.pf-included span { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.pf-excluded { color: var(--text3); }
.pf-excluded span { color: var(--text3); flex-shrink: 0; margin-top: 1px; }

/* Guarantee bar */
.guarantee-bar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--r-lg);
  margin-top: 8px;
}
.guarantee-icon { font-size: 22px; flex-shrink: 0; }
.guarantee-bar p { font-size: 16px; line-height: 1.6; color: var(--text2); }
.guarantee-bar strong { color: var(--green); }

/* ── INCLUDED SECTION ─────────────────────────────────────── */
.included-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.included-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.included-icon {
  font-size: 24px;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.included-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.included-item p  { font-size: 16px; line-height: 1.65; color: var(--text2); }

/* ── FAQ ──────────────────────────────────────────────────── */
.pricing-faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item[open] { border-color: var(--border2); }
.faq-item + .faq-item { margin-top: 4px; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  gap: 12px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text3);
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.faq-item[open] .faq-question::after {
  content: '–';
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-answer p {
  font-size: 16px; line-height: 1.8; color: var(--text2);
  padding-top: 16px;
}

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.cta-band-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 100%, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 100px 0; max-width: 560px; margin: 0 auto;
}
.cta-band-inner h2 { margin-bottom: 16px; }
.cta-band-inner > p { font-size: 16px; line-height: 1.7; color: var(--text2); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-featured { transform: none; }
  .included-grid { grid-template-columns: repeat(2,1fr); }
}

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

/* ── ROI BANNER ───────────────────────────────────────────── */
.roi-banner {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.roi-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(124,58,237,.08) 0%, rgba(52,211,153,.04) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xl);
  padding: 40px 48px;
}
.roi-banner-text .label { margin-bottom: 10px; display: block; }
.roi-banner-text h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 10px;
}
.roi-banner-text p {
  color: var(--text2);
  font-size: 16px;
  margin: 0;
  max-width: 520px;
}
@media (max-width: 768px) {
  .roi-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}
