/* ── PRICING PAGE — New Design ─────────────────────────────────────── */

:root {
  --sp-blue:       #831618;
  --sp-blue-dark:  #5C0F11;
  --sp-blue-mid:   #A01C1F;
  --sp-teal:       #831618;
  --sp-teal-light: #F7D6D6;
  --sp-accent:     #D4A017;
  --sp-bg:         #FDF5F5;
  --sp-card:       #FFFFFF;
  --sp-text:       #1A1F36;
  --sp-muted:      #5A6A85;
  --sp-border:     #E6D1D1;
  --sp-radius:     18px;
  --sp-shadow:     0 4px 32px rgba(131,22,24,.10);
  --sp-shadow-lg:  0 12px 48px rgba(131,22,24,.18);
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.pricing-hero {
  background: linear-gradient(135deg, var(--sp-blue-dark) 0%, var(--sp-blue) 55%, var(--sp-blue-mid) 100%);
  padding: 80px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(160,28,31,.25) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-hero .hero-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFD5D5;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 99px; padding: 6px 18px;
  margin-bottom: 22px;
}
.pricing-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800; line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pricing-hero h1 span { color: #FFB8B8; }
.pricing-hero p {
  font-size: 18px; color: rgba(255,255,255,.72);
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.65;
}
.pricing-hero .hero-cta {
  display: inline-block;
  background: #fff; color: var(--sp-blue);
  font-weight: 700; font-size: 16px;
  padding: 14px 36px; border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.pricing-hero .hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  color: var(--sp-blue);
}

/* ── WAVE ─────────────────────────────────────────────────────────── */
.pricing-wave { display: block; margin-top: -2px; line-height: 0; }
.pricing-wave svg { display: block; width: 100%; }

/* ── SECTION HEADERS ──────────────────────────────────────────────── */
.pricing-section { padding: 72px 0; }

.sp-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sp-teal);
  margin-bottom: 10px;
}
.sp-section-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 800;
  color: var(--sp-blue-dark); margin-bottom: 14px; line-height: 1.2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.sp-section-sub {
  font-size: 16px; color: var(--sp-muted); max-width: 560px; line-height: 1.65;
}

/* ── PRICING TABS ──────────────────────────────────────────────────── */
.plans-tabs__wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.plans__tabs {
  border: 1.5px solid var(--sp-blue);
  border-radius: 99px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
}
.tab__plan {
  cursor: pointer;
  border-radius: 99px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-blue);
  transition: all 200ms ease-out;
  user-select: none;
}
.tab__plan:hover {
  background: rgba(131,22,24,.08);
}
.tab__plan.active {
  background: var(--sp-blue);
  color: #fff;
}

/* ── FREE TRIAL BANNER ─────────────────────────────────────────────── */
.trial-banner {
  background: linear-gradient(90deg, var(--sp-blue), var(--sp-blue-mid));
  padding: 20px 32px;
  border-radius: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.trial-banner p {
  color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 0;
}
.trial-banner p span { opacity: .8; font-weight: 400; }
.trial-btn {
  background: #fff; color: var(--sp-blue);
  font-weight: 700; font-size: 14px; padding: 10px 28px;
  border-radius: 99px; text-decoration: none; white-space: nowrap;
  transition: transform .2s;
}
.trial-btn:hover { transform: scale(1.03); color: var(--sp-blue); }

/* ── PLAN CARDS GRID ───────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.plan-card {
  background: var(--sp-card);
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 36px 28px 32px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sp-shadow-lg);
  border-color: var(--sp-blue-mid);
}

/* Featured / popular card */
.plan-card.featured {
  background: linear-gradient(145deg, var(--sp-blue) 0%, var(--sp-blue-dark) 100%);
  border-color: var(--sp-blue);
  color: #fff;
}
.plan-card.featured .plan-name,
.plan-card.featured .plan-price,
.plan-card.featured .plan-desc { color: #fff; }
.plan-card.featured .plan-period,
.plan-card.featured .feature-item { color: rgba(255,255,255,.75); }
.plan-card.featured .feature-item::before { color: #FFD5D5; }
.plan-card.featured .sp-divider { background: rgba(255,255,255,.15); }

.plan-badge {
  position: absolute; top: -14px; left: 28px;
  background: var(--sp-accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 99px;
  display: none;
}
.plan-card.featured .plan-badge { display: block; }

.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; color: var(--sp-muted);
  margin-bottom: 8px;
}
.plan-price {
  font-size: 42px; font-weight: 800; color: var(--sp-blue-dark);
  line-height: 1; margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.plan-price sup { font-size: 20px; vertical-align: super; font-weight: 700; }
.plan-price .period { font-size: 16px; font-weight: 500; }
.plan-period { font-size: 13px; color: var(--sp-muted); margin-bottom: 20px; }
.plan-desc { font-size: 14px; color: var(--sp-muted); margin-bottom: 20px; line-height: 1.55; }

.sp-divider { height: 1px; background: var(--sp-border); margin: 20px 0; }

.feature-list { list-style: none; flex: 1; padding: 0; margin: 0; }
.feature-item {
  font-size: 14px; color: var(--sp-text);
  padding: 6px 0 6px 24px;
  position: relative; line-height: 1.45;
}
.feature-item::before {
  content: '\2713';
  position: absolute; left: 0;
  color: #2E8B57; font-weight: 700;
}
.feature-item.no::before { content: '\2014'; color: var(--sp-border); }
.feature-item.no { color: var(--sp-muted); }

.plan-btn {
  display: block; text-align: center; margin-top: 28px;
  padding: 13px 24px; border-radius: 99px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.plan-btn-outline {
  border: 2px solid var(--sp-blue);
  color: var(--sp-blue); background: transparent;
}
.plan-btn-outline:hover { background: var(--sp-blue); color: #fff; }
.plan-btn-solid {
  background: var(--sp-blue); color: #fff;
  box-shadow: 0 4px 16px rgba(131,22,24,.4);
}
.plan-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(131,22,24,.5); color: #fff; }
.plan-btn-white {
  background: #fff; color: var(--sp-blue-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.plan-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); color: var(--sp-blue-dark); }

/* crossed-out price */
.plan-card .crossed-price { font-size: 14px; color: var(--sp-muted); }
.plan-card.featured .crossed-price { color: rgba(255,255,255,.5); }

/* ── ENTERPRISE ───────────────────────────────────────────────────── */
.enterprise-block {
  background: linear-gradient(135deg, var(--sp-blue-dark) 0%, #3A0A0B 100%);
  border-radius: var(--sp-radius);
  padding: 52px 48px;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
  margin: 52px 0 0;
  position: relative; overflow: hidden;
}
.enterprise-block::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(131,22,24,.25) 0%, transparent 70%);
}
.enterprise-text { flex: 1; min-width: 240px; position: relative; }
.enterprise-text h3 {
  font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.enterprise-text p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.65; max-width: 440px; }
.enterprise-features { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.enterprise-tag {
  font-size: 12px; font-weight: 600; padding: 5px 14px;
  border-radius: 99px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
}
.enterprise-cta { position: relative; }
.enterprise-cta a {
  display: block; background: var(--sp-teal); color: #fff;
  font-weight: 700; font-size: 16px; padding: 16px 40px;
  border-radius: 99px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(131,22,24,.5);
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.enterprise-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(131,22,24,.6); color: #fff; }

/* ── ADD-ONS SECTION ──────────────────────────────────────────────── */
.addons-bg {
  background: var(--sp-blue-dark);
  padding: 80px 0;
}
.addons-bg .sp-section-title { color: #fff; }
.addons-bg .sp-section-sub { color: rgba(255,255,255,.65); }
.addons-bg .sp-section-label { color: #FFB8B8; }

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 48px;
}
.addon-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--sp-radius);
  padding: 30px 26px;
  transition: background .2s, transform .25s;
}
.addon-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.addon-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,184,184,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.addon-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.addon-desc { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; line-height: 1.55; }
.addon-price { font-size: 26px; font-weight: 800; color: #FFB8B8; }
.addon-price span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); }
.addon-alt { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; }
.addon-feature {
  font-size: 13px; color: rgba(255,255,255,.7);
  padding: 5px 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: 16px;
}
.addon-feature b { color: #fff; }

/* ── COMPARE TABLE ─────────────────────────────────────────────────── */
.compare-wrap {
  overflow-x: auto; margin-top: 52px;
  border-radius: 16px; box-shadow: var(--sp-shadow);
}
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 14px; background: #fff;
}
.compare-table thead th {
  background: var(--sp-blue-dark); color: #fff;
  padding: 16px 18px; font-weight: 700; text-align: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
}
.compare-table thead th:first-child { text-align: left; border-radius: 16px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 16px 0 0; }
.compare-table tbody tr:nth-child(even) td { background: var(--sp-bg); }
.compare-table tbody td {
  padding: 13px 18px; color: var(--sp-text);
  border-bottom: 1px solid var(--sp-border); text-align: center;
}
.compare-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--sp-blue-dark); }
.compare-table .check { color: #2E8B57; font-weight: 700; }
.compare-table .dash { color: var(--sp-border); }

/* ── FUP NOTE ──────────────────────────────────────────────────────── */
.fup-note {
  background: #fff; border: 1px solid var(--sp-border); border-radius: 12px;
  padding: 20px 28px; margin-top: 40px;
  display: flex; gap: 14px; align-items: flex-start;
}
.fup-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.fup-note p { font-size: 13px; color: var(--sp-muted); line-height: 1.6; margin-bottom: 0; }
.fup-note p strong { color: var(--sp-text); }

/* ── MOBILE COMPARE (accordion) ────────────────────────────────────── */
.mobile-compare .accordion-item {
  border: 1px solid var(--sp-border);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.mobile-compare .accordion-button {
  background-color: var(--sp-bg);
  border: none;
  font-weight: 600;
  padding: 1rem;
}
.mobile-compare .accordion-button:not(.collapsed) {
  background-color: var(--sp-blue);
  color: white;
}
.mobile-compare .accordion-button:focus {
  box-shadow: none;
  border: none;
}
.mobile-compare .accordion-body { padding: 1rem; }
.mobile-compare .feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.mobile-compare .feature-row:last-child { border-bottom: none; }
.mobile-compare .feature-name { flex: 1; font-weight: 500; }
.mobile-compare .feature-value { flex-shrink: 0; margin-left: 1rem; }
.mobile-compare .pricing-section {
  background-color: var(--sp-bg);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

/* ── PRICING PAGE BODY BG ──────────────────────────────────────────── */
#pricings { background: var(--sp-bg); }
#pricings .main-plans-section { background: var(--sp-bg); }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .enterprise-block { padding: 36px 24px; }
  .plans-grid { grid-template-columns: 1fr; }
  .trial-banner { flex-direction: column; text-align: center; }
}
