/* =====================================================
   Fi-Fy CLONE — PRICING PAGE
   ===================================================== */

/* ── Pricing Hero ── */
.pricing-hero {
  background: var(--navy-900);
  padding: var(--space-20) 0 var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(93,95,239,0.30) 0%,
    transparent 60%);
}
.pricing-hero-inner { position: relative; z-index: 1; }
.pricing-hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(93,95,239,0.18);
  border: 1px solid rgba(93,95,239,0.3);
  color: #c0c1fc;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.pricing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}
.pricing-hero-title .highlight { color: #7c7ef5; }
.pricing-hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.62);
  max-width: 580px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

/* ── Pricing Cards ── */
.pricing-cards-section {
  padding: var(--space-20) 0;
}
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 780px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}
.pricing-card.featured {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(93,95,239,0.10), var(--shadow-xl);
}
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-600);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: var(--space-3);
}
.pricing-card-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: var(--weight-extrabold);
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.04em;
}
.pricing-card-price .currency {
  font-size: var(--text-2xl);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.pricing-card-desc {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}
.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--slate-700);
}
.pricing-feature-check {
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Compare Table ── */
.pricing-compare-section {
  padding: var(--space-20) 0;
  background: var(--slate-50);
}

/* ── How it works ── */
.pricing-how-section {
  padding: var(--space-20) 0;
}
.tip-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-16);
  position: relative;
}
.tip-flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-600) 0%, var(--purple-500) 100%);
}
.tip-step {
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
  z-index: 1;
}
.tip-step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto var(--space-4);
  box-shadow: 0 0 0 6px rgba(93,95,239,0.10);
}
.tip-step-title {
  font-weight: var(--weight-semibold);
  color: var(--slate-900);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}
.tip-step-desc {
  font-size: var(--text-sm);
  color: var(--slate-500);
  line-height: var(--leading-relaxed);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .tip-flow { grid-template-columns: 1fr 1fr; }
  .tip-flow::before { display: none; }
}
@media (max-width: 480px) {
  .tip-flow { grid-template-columns: 1fr; }
}
