/* ==========================================================
   KidSitter — Pricing Standalone Page CSS
   Only styles unique to the /pricing page.
   Toggle-switch, billing-label, save-badge  → checkout.css
   ========================================================== */

/* Page background */
.ks-pricing-page {
  background: linear-gradient(to bottom, hsla(174, 56%, 46%, 0.06), hsla(174, 56%, 46%, 0.02));
  min-height: 100vh;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* Breadcrumbs (local) */
.ks-pricing-page .ks-breadcrumbs {
  font-size: 0.875rem;
  margin-bottom: 0;
  padding: 0.75rem 0;
}
.ks-pricing-page .ks-breadcrumbs a {
  color: var(--ks-primary);
  text-decoration: none;
}
.ks-pricing-page .ks-breadcrumbs-sep {
  margin: 0 0.375rem;
  color: var(--ks-muted-foreground);
}

/* Hero */
.ks-pricing-hero {
  text-align: center;
  padding: 2rem 0 1rem;
}
.ks-pricing-hero-badge {
  display: inline-block;
  background: var(--ks-orange-light);
  color: var(--ks-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: var(--ks-radius-full);
  border: 1px solid hsla(28, 85%, 55%, 0.2);
  margin-bottom: 1rem;
}
.ks-pricing-hero h1 {
  font-family: var(--ks-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ks-foreground);
  margin: 0 0 0.75rem;
}
.ks-pricing-hero p {
  font-size: 1.0625rem;
  color: var(--ks-muted-foreground);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Billing toggle (container only — switch itself in checkout.css) */
.ks-pricing-page .ks-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Pricing card wrapper */
.ks-pricing-card-wrap {
  max-width: 480px;
  margin: 0 auto 3rem;
}
.ks-pricing-page .ks-pricing-card {
  position: relative;
  overflow: hidden;
}
.ks-pricing-best-value {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--ks-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-bottom-left-radius: var(--ks-radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Price display */
.ks-price-display {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ks-price-amount {
  font-family: var(--ks-font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ks-foreground);
  line-height: 1;
}
.ks-price-period {
  font-size: 1rem;
  color: var(--ks-muted-foreground);
  font-weight: 400;
}
.ks-price-billing-note {
  font-size: 0.875rem;
  color: var(--ks-muted-foreground);
  margin-top: 0.375rem;
}

/* Trust guarantees under CTA */
.ks-pricing-guarantees {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.ks-pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ks-foreground);
}
.ks-pricing-guarantee .lucide {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ks-primary);
}
.ks-pricing-secure-note {
  font-size: 0.75rem;
  color: var(--ks-muted-foreground);
  text-align: center;
  margin-top: 0.75rem;
}

/* Features grid */
.ks-features-section {
  margin-bottom: 3rem;
}
.ks-features-section h2 {
  font-family: var(--ks-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ks-foreground);
  text-align: center;
  margin-bottom: 1.5rem;
}
.ks-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--ks-radius-lg);
  background: var(--ks-card);
  border: 1px solid var(--ks-border);
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.ks-feature-card:hover {
  border-color: hsla(174, 56%, 46%, 0.3);
}
.ks-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsla(174, 56%, 46%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ks-feature-icon .lucide {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ks-primary);
}
.ks-feature-title {
  font-weight: 600;
  color: var(--ks-foreground);
  margin-bottom: 0.25rem;
}
.ks-feature-desc {
  font-size: 0.875rem;
  color: var(--ks-muted-foreground);
  line-height: 1.5;
}

/* Trust badges */
.ks-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ks-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ks-muted-foreground);
}
.ks-trust-badge-emoji {
  font-size: 1.125rem;
}

/* Social proof */
.ks-social-proof {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ks-social-proof-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}
.ks-social-proof-stars .lucide {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ks-gold);
  fill: var(--ks-gold);
}
.ks-social-proof p {
  font-size: 0.875rem;
  color: var(--ks-muted-foreground);
}

/* FAQ teaser */
.ks-pricing-faq-teaser {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--ks-muted-foreground);
}
.ks-pricing-faq-teaser a,
.ks-pricing-faq-teaser button {
  color: var(--ks-primary);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.ks-pricing-faq-teaser a:hover,
.ks-pricing-faq-teaser button:hover {
  text-decoration: underline;
}

/* Bottom CTA */
.ks-pricing-bottom-cta {
  background: var(--ks-secondary);
  border-radius: var(--ks-radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}
.ks-pricing-bottom-cta p {
  color: var(--ks-muted-foreground);
  margin-bottom: 1rem;
}
.ks-pricing-bottom-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  .ks-pricing-hero h1 { font-size: 2.5rem; }
  .ks-pricing-guarantees { flex-direction: row; gap: 1.5rem; }
  .ks-pricing-bottom-cta-buttons { flex-direction: row; }
  .ks-price-amount { font-size: 3.5rem; }
}

/* Tablet portrait: fix feature card heights so rows align */
@media (min-width: 768px) and (max-width: 991px) {
  .ks-feature-card {
    min-height: 5.5rem;
  }
  .ks-feature-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .ks-pricing-hero { padding: 1rem 0 0.5rem; }
  .ks-pricing-hero h1 { font-size: 1.75rem; }
  .ks-pricing-card-wrap { margin-bottom: 2rem; }
  .ks-trust-badges { gap: 1rem; }
}
