/* ═══════════════════════════════════════════════════════════════════════════
   Infinity Binary — Pricing Page Stylesheet
   Hero · Countdown Timer · Math Card · Pricing Grid · Responsive
   Discount: 70% off — client pays 30% | e.g. $4,000 → $1,200
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.pricing-hero {
  background: var(--ink-section);
  padding: 140px 0 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.pricing-hero .container {
  position: relative;
  z-index: 1;
}

/* ── Hero Content Centering ───────────────────────────────────────────────── */

.pricing-hero .hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-hero .hero-sub {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Countdown Timer ──────────────────────────────────────────────────────── */

.pricing-countdown-wrap {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.pricing-countdown-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

/* Outer glow wrapper around the whole timer */
#sale-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(168,230,61,0.06);
  border: 1.5px solid rgba(168,230,61,0.25);
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 0 32px rgba(168,230,61,0.12), 0 0 64px rgba(168,230,61,0.06);
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 20px 10px;
  min-width: 76px;
  position: relative;
}

/* Subtle top shimmer line on each block */
.cd-unit::before {
  content: '';
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,230,61,0.4), transparent);
  border-radius: 1px;
}

.cd-unit strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.cd-unit em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 5px;
}

.cd-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(168,230,61,0.4);
  margin-bottom: 8px;
  line-height: 1;
}

/* ── Math Snapshot Card ───────────────────────────────────────────────────── */

.pricing-math-card {
  margin-top: 28px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.pricing-math-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: 4px;
}

.pricing-math-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-math-card p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-light);
}

/* ── Pricing Section ──────────────────────────────────────────────────────── */

.pricing-section {
  background: var(--off-white);
  padding: clamp(60px, 8vw, 100px) 0;
}

/* ── Pricing Grid ─────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ── Pricing Card ─────────────────────────────────────────────────────────── */

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card .pricing-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.pricing-card .pricing-summary {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-top: 0.85rem;
  line-height: 1.65;
}

/* ── Price Box ────────────────────────────────────────────────────────────── */

.pricing-card .pricing-price-box {
  margin-top: 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
  background: var(--off-white);
}

.pricing-card .pricing-old-price {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pricing-card .pricing-new-price {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1.1;
}

/* "+ hosting" suffix in a smaller weight */
.pricing-card .pricing-hosting-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  vertical-align: middle;
}

.pricing-card .pricing-save {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-dark);
  background: #EDF9D5;
  border-radius: 4px;
  padding: 3px 8px;
}

/* ── Tags Row ─────────────────────────────────────────────────────────────── */

.pricing-card .pricing-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.pricing-card .pricing-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--ink-section);
  color: rgba(255,255,255,0.72);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ── Hosting Disclaimer Line ──────────────────────────────────────────────── */

.pricing-hosting-line {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.pricing-hosting-line i {
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--sky);
}

/* ── Card Footer ──────────────────────────────────────────────────────────── */

.pricing-card .pricing-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1.5px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-card .pricing-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-card .pricing-link:hover {
  color: var(--lime-dark);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-math-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .cd-unit {
    min-width: 60px;
    padding: 10px 14px 8px;
  }

  .cd-unit strong {
    font-size: 1.8rem;
  }

  #sale-countdown {
    gap: 6px;
    padding: 12px 16px;
  }

  .pricing-countdown-wrap {
    gap: 10px;
  }
}