/* ========================================
   PRICING PAGE — SPECIFIC STYLES
   Shared base styles live in /css/styles.css
   ======================================== */

/* Pricing hero */
.pricing-hero {
  padding: calc(var(--nav-height) + var(--nav-top) + 80px) 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-hero__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.pricing-hero__sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 6px;
  position: relative;
  z-index: 1;
}
.billing-toggle__option {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  background: none;
  position: relative;
}
.billing-toggle__option.active {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}
.billing-toggle__badge {
  position: absolute;
  top: -8px;
  right: -6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  letter-spacing: 0.03em;
}

/* ========================================
   PRICING CARDS
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 0 120px;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* Featured card (Pro) */
.pricing-card--featured {
  background: linear-gradient(180deg, rgba(129,140,248,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(129,140,248,0.25);
  box-shadow: 0 0 60px rgba(129,140,248,0.06);
}
.pricing-card--featured:hover {
  border-color: rgba(129,140,248,0.4);
  box-shadow: 0 8px 60px rgba(129,140,248,0.1);
}

/* Popular badge */
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pricing-card__badge--popular {
  background: linear-gradient(135deg, #818CF8, #6366F1);
  color: #fff;
}

/* Tier header */
.pricing-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pricing-card__icon--free { background: rgba(255,107,53,0.1); color: var(--accent); }
.pricing-card__icon--pro  { background: rgba(129,140,248,0.1); color: #818CF8; }
.pricing-card__icon--biz  { background: rgba(245,197,98,0.1);  color: var(--accent-amber); }
.pricing-card__icon svg   { width: 22px; height: 22px; }

.pricing-card__name {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
}

/* Price */
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-card__currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pricing-card__amount {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pricing-card__amount--free { font-size: 48px; }
.pricing-card__period {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-card__period-note {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* CTA Button */
.pricing-card__cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
  margin-bottom: 32px;
}
.pricing-card__cta--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
}
.pricing-card__cta--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}
.pricing-card__cta--primary {
  background: #818CF8;
  color: #fff;
  border: 1px solid transparent;
}
.pricing-card__cta--primary:hover {
  background: #6366F1;
  box-shadow: 0 4px 24px rgba(129,140,248,0.3);
}
.pricing-card__cta--accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
}
.pricing-card__cta--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(255,107,53,0.3);
}

/* Features list */
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.pricing-card__features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check     { color: #34D399; }
.feature-check--pro { color: #818CF8; }
.feature-check--biz { color: var(--accent-amber); }
.feature-na        { color: var(--text-faint); }
.feature-na svg    { color: var(--text-faint); }


/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison { padding: 0 0 120px; }
.comparison__header {
  text-align: center;
  margin-bottom: 48px;
}
.comparison__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}
.comparison__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.comparison__table th,
.comparison__table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison__table thead th {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: var(--bg-primary);
}
.comparison__table thead th:first-child {
  color: var(--text-muted);
  font-weight: 500;
}
.comparison__table tbody td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}
.comparison__table tbody td { color: var(--text-muted); }
.comparison__table .table-check     { color: #34D399; font-weight: 600; }
.comparison__table .table-check--pro { color: #818CF8; font-weight: 600; }
.comparison__table .table-check--biz { color: var(--accent-amber); font-weight: 600; }
.comparison__table .table-na        { color: var(--text-faint); }
.comparison__table .table-category td {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 28px;
  border-bottom-color: rgba(255,255,255,0.08);
}


/* ========================================
   FAQ SECTION
   ======================================== */
.faq { padding: 0 0 120px; }
.faq__header {
  text-align: center;
  margin-bottom: 48px;
}
.faq__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.faq__item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s;
  cursor: default;
}
.faq__item:hover { border-color: rgba(255,255,255,0.12); }
.faq__question {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq__answer {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ========================================
   BOTTOM CTA
   ======================================== */
.bottom-cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bottom-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.bottom-cta__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.bottom-cta__sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.bottom-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}
.bottom-cta__btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 32px rgba(255,107,53,0.35);
}
.bottom-cta__btn svg { width: 18px; height: 18px; }


/* ========================================
   PRICING RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .pricing-hero__headline { font-size: 44px; }
  .pricing-grid { gap: 20px; }
  .pricing-card { padding: 32px 24px; }
  .faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pricing-hero { padding-top: calc(var(--nav-height) + var(--nav-top) + 48px); }
  .pricing-hero__headline { font-size: 36px; }
  .pricing-hero__sub { font-size: 17px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 24px; }
  .pricing-card--featured { order: unset; }
  .comparison { padding-bottom: 80px; }
  .comparison__headline { font-size: 28px; }
  .faq { padding-bottom: 80px; }
  .faq__headline { font-size: 28px; }
  .faq__grid { grid-template-columns: 1fr; gap: 16px; }
  .bottom-cta { padding: 64px 0; }
  .bottom-cta__headline { font-size: 32px; }
}
