/*===========================================
  Chef Anand Hub – Pricing Page Styles
  File: pricing-style.css
===========================================*/

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.chef-pricing-body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #ffffff;
  color: #111111;
  -webkit-font-smoothing: antialiased;
}

#chef-pricing-content {
  width: 100%;
  overflow-x: hidden;
}

/* ---- Shared Utilities ---- */
.cp-section-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 0.6rem;
}
.cp-section-title--light { color: #ffffff; }

.cp-section-sub {
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cp-section-sub--light { color: #cccccc; }

/* ---- Buttons ---- */
.cp-btn {
  display: inline-block;
  padding: 0.72rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  letter-spacing: 0.01em;
}
.cp-btn:hover { transform: translateY(-1px); }
.cp-btn:active { transform: translateY(0); }

.cp-btn--primary {
  background: #111111;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.cp-btn--primary:hover { background: #333; border-color: #333; }

.cp-btn--ghost {
  background: transparent;
  color: #111;
  border: 2px solid #ffffff;
}
.cp-btn--ghost:hover { background: #f4f4f4; }

.cp-btn--outline {
  background: transparent;
  color: #111;
  border: 1.5px solid #bbb;
}
.cp-btn--outline:hover { border-color: #111; }

.cp-btn--white {
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
}
.cp-btn--white:hover { background: #f0f0f0; }

.cp-btn--full { width: 100%; text-align: center; }

/* ===========================================
   HERO
=========================================== */
.cp-hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}
.cp-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #888;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cp-hero__title {
  font-family: 'Georgia', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #111;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.cp-hero__sub {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 0.5rem;
}
.cp-hero__tagline {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
  font-style: italic;
}
.cp-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cp-hero__note {
  font-size: 0.8rem;
  color: #999;
}

/* ===========================================
   PLANS GRID
=========================================== */
.cp-plans {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cp-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ---- Card base ---- */
.cp-card {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  background: #fff;
}

.cp-card__tier {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
}
.cp-card__name {
  font-family: 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #111;
  margin-top: 0.1rem;
}
.cp-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.5rem 0;
}
.cp-card__amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
}
.cp-card__amount--custom {
  font-size: 2rem;
}
.cp-card__period {
  font-size: 0.85rem;
  color: #888;
}
.cp-card__desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.cp-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  flex: 1;
}
.cp-card__features li {
  font-size: 0.88rem;
  color: #333;
  padding: 0.42rem 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.45;
}
.cp-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #111;
  font-size: 0.78rem;
  top: 0.44rem;
}
.cp-card__footnote {
  font-size: 0.78rem;
  color: #aaa;
  text-align: center;
  margin-top: 0.5rem;
}
.cp-card__talk {
  font-size: 0.85rem;
  color: #ffffff;
  text-align: center;
  margin-top: 0.6rem;
  display: block;
  text-decoration: underline;
  opacity: 0.75;
}
.cp-card__talk:hover { opacity: 1; }

/* ---- Featured (Pro) card ---- */
.cp-card--featured {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  padding-top: 3.5rem;
}
.cp-card--featured .cp-card__tier { color: #888; }
.cp-card--featured .cp-card__name { color: #ffffff; }
.cp-card--featured .cp-card__amount { color: #ffffff; }
.cp-card--featured .cp-card__period { color: #aaa; }
.cp-card--featured .cp-card__desc { color: #ccc; }
.cp-card--featured .cp-card__features li { color: #ddd; border-bottom-color: #2a2a2a; }
.cp-card--featured .cp-card__features li::before { color: #ffffff; }

.cp-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #111111;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
  border:1px solid #111;
}

/* ===========================================
   COMPARISON TABLE
=========================================== */
.cp-comparison {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.cp-comparison__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}
.cp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.92rem;
}
.cp-table thead tr {
  background: #111111;
}
.cp-table thead th {
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.25rem;
  letter-spacing: 0.02em;
}
.cp-table thead th:not(:first-child) {
  text-align: center;
}
.cp-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.12s;
}
.cp-table tbody tr:last-child { border-bottom: none; }
.cp-table tbody tr:hover { background: #fafafa; }
.cp-table tbody td {
  padding: 0.85rem 1.25rem;
  color: #333;
}
.cp-table tbody td:not(:first-child) {
  text-align: center;
  color: #555;
}
.cp-check { color: #111; font-size: 1rem; font-weight: 700; }
.cp-dash  { color: #bbb; font-size: 1rem; }

.cp-comparison__note {
  font-size: 0.78rem;
  color: #aaa;
  text-align: center;
  margin-top: 1.2rem;
  font-style: italic;
}

/* ===========================================
   PERSONA SECTION
=========================================== */
.cp-personas {
  background: #111111;
  padding: 5rem 1.5rem;
}
.cp-personas__inner {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}
.cp-personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}
.cp-persona {
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
}
.cp-persona__icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.cp-persona__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  font-family: 'Georgia', serif;
}
.cp-persona__role {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 1rem;
  font-style: italic;
}
.cp-persona__points {
  list-style: none;
  padding: 0;
}
.cp-persona__points li {
  font-size: 0.85rem;
  color: #bbb;
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  line-height: 1.5;
}
.cp-persona__points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #666;
  font-size: 0.8rem;
}
.cp-personas__cta-note {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-style: italic;
}

/* ===========================================
   FAQ
=========================================== */
.cp-faq {
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.cp-faq .cp-section-title { margin-bottom: 2.5rem; }

.cp-faq__list {
  display: flex;
  flex-direction: column;
}
.cp-faq__item {
  border-bottom: 1px solid #e8e8e8;
}
.cp-faq__item:first-child { border-top: 1px solid #e8e8e8; }

.cp-faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 500;
  color: #111;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: color 0.15s;
}
.cp-faq__question:hover { color: #444; }

.cp-faq__icon {
  font-size: 1.3rem;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.cp-faq__item--open .cp-faq__icon {
  transform: rotate(45deg);
}

.cp-faq__answer {
  padding: 0 0 1.2rem;
}
.cp-faq__answer p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

.cp-faq__contact {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #888;
}
.cp-faq__contact a {
  color: #111;
  text-decoration: underline;
}
.cp-faq__contact a:hover { color: #444; }

/* ===========================================
   FINAL CTA
=========================================== */
.cp-final-cta {
  text-align: center;
  padding: 5rem 1.5rem 6rem;
  border-top: 1px solid #ebebeb;
}
.cp-final-cta__title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #111;
  max-width: 640px;
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}
.cp-final-cta__sub {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}
.cp-final-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   RESPONSIVE
=========================================== */

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .cp-plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cp-card--teams {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .cp-personas__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: ≤600px */
@media (max-width: 600px) {
  .cp-hero { padding: 3.5rem 1.25rem 2.5rem; }

  .cp-hero__actions { flex-direction: column; align-items: center; }
  .cp-hero__actions .cp-btn { width: 100%; max-width: 320px; text-align: center; }

  .cp-plans__grid {
    grid-template-columns: 1fr;
  }
  .cp-card--teams {
    grid-column: auto;
    max-width: 100%;
  }

  .cp-personas__grid {
    grid-template-columns: 1fr;
  }

  .cp-final-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .cp-final-cta__actions .cp-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .cp-faq__question { font-size: 0.92rem; }

  .cp-table { font-size: 0.84rem; }
  .cp-table tbody td,
  .cp-table thead th { padding: 0.7rem 0.85rem; }
}
