/* =============================================
   P Squared Systems — Promotions Page
   assets/css/promotions.css
   ============================================= */

/* ── Hero Banner ──────────────────────────────── */
.promo-hero {
  position: relative;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* Height is driven by the image's natural aspect ratio */
}

.banner-track {
  position: relative;      /* changed from absolute — lets track height drive the hero */
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.banner-slide img {
  width: 100%;
  height: auto;            /* natural height — no cropping */
  max-height: 90vh;        /* never taller than the viewport on desktop */
  object-fit: contain;     /* show the whole image, no cropping */
  object-position: center;
  display: block;
}

/* Dark overlay so text stays readable */
.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.65) 100%
  );
}

/* Banner nav dots */
.banner-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.banner-dot.active { background: var(--blue-accent, #a7c8ef); transform: scale(1.2); }

/* Banner arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-size: 1.1rem;
}
.banner-arrow:hover { background: rgba(5,29,64,0.8); border-color: var(--blue-accent,#a7c8ef); }
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }

/* Seasonal badge over banner */
.season-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 10;
  background: var(--blue-accent, #a7c8ef);
  color: var(--navy, #051d40);
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
}

/* ── Promo Headline (over banner) ─────────────── */
.banner-headline {
  position: absolute;
  bottom: 56px;
  left: 0; right: 0;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}
.banner-headline h1 {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.banner-headline h1 em { color: var(--blue-accent, #a7c8ef); font-style: normal; }
.banner-headline p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ── Countdown Timer ──────────────────────────── */
.promo-countdown {
  background: var(--navy, #051d40);
  padding: 22px 0;
  text-align: center;
}
.countdown-label {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent, #a7c8ef);
  margin-bottom: 12px;
}
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.countdown-num {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(167,200,239,0.2);
  border-radius: 10px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-lbl {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-accent, #a7c8ef);
  align-self: center;
  margin-bottom: 20px;
  opacity: 0.6;
}

/* ── Promo Description ─────────────────────────── */
.promo-desc { padding: 60px 0 20px; background: var(--white, #fff); }
.promo-desc .desc-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.promo-desc .eyebrow {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-light, #0d3166);
  display: block; margin-bottom: 12px;
}
.promo-desc h2 {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy, #051d40);
  margin-bottom: 16px;
}
.promo-desc p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.02rem;
  color: var(--text-muted, #475569);
  line-height: 1.75;
  margin-bottom: 14px;
}
.promo-desc strong { color: var(--navy, #051d40); }

/* ── Deal Cards Grid ──────────────────────────── */
.promo-deals { padding: 60px 0 80px; background: var(--gray-light, #f8fafc); }
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.deal-card {
  background: var(--white, #fff);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.deal-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(5,29,64,0.13); border-color: transparent; }

.deal-card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: #dc2626;
  color: #fff;
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
  z-index: 2;
}
.deal-card-badge.new    { background: var(--navy, #051d40); }
.deal-card-badge.bundle { background: #7c3aed; }

.deal-card-icon {
  background: linear-gradient(140deg, var(--navy,#051d40) 0%, var(--navy-light,#0d3166) 100%);
  padding: 36px 24px 28px;
  display: flex; align-items: center; justify-content: center;
}
.deal-card-icon svg { color: var(--blue-accent, #a7c8ef); }

.deal-card-body { padding: 24px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.deal-service-tag {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy-light, #0d3166);
  margin-bottom: 8px;
  display: block;
}
.deal-card h3 {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy, #051d40);
  margin-bottom: 10px;
}
.deal-card p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.87rem; color: var(--text-muted, #475569);
  line-height: 1.6; margin-bottom: 16px; flex: 1;
}
.deal-pricing {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 18px;
}
.deal-price-new {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 1.5rem; font-weight: 900;
  color: var(--navy, #051d40);
}
.deal-price-old {
  font-size: 0.95rem; color: var(--gray, #64748b);
  text-decoration: line-through;
}
.deal-save {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #dc2626; background: #fef2f2;
  padding: 3px 9px; border-radius: 100px;
}

.deal-includes { margin-bottom: 20px; }
.deal-includes span {
  display: block; font-size: 0.8rem;
  color: var(--text-muted, #475569);
  padding: 3px 0;
}
.deal-includes span::before {
  content: '✓ ';
  color: var(--navy, #051d40); font-weight: 700;
}

/* ── Why Buy Now ──────────────────────────────── */
.promo-why {
  padding: 72px 0;
  background: var(--navy, #051d40);
  position: relative; overflow: hidden;
}
.promo-why::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,200,239,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,200,239,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.why-grid-promo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.why-item {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(167,200,239,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  transition: all 0.3s;
}
.why-item:hover { background: rgba(167,200,239,0.09); border-color: rgba(167,200,239,0.3); transform: translateY(-3px); }
.why-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(167,200,239,0.1); border: 1px solid rgba(167,200,239,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--blue-accent, #a7c8ef);
}
.why-item h3 { font-family: var(--font-head,'Exo 2',sans-serif); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-item p  { font-size: 0.84rem; color: rgba(255,255,255,0.58); line-height: 1.6; }

/* ── Seasonal swap section header ─────────────── */
.promo-season-hint {
  text-align: center;
  padding: 32px 24px 0;
  font-size: 0.82rem;
  color: var(--gray, #64748b);
}
.promo-season-hint code {
  background: var(--gray-light, #f8fafc);
  border: 1px solid var(--border,#e2e8f0);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 0.8rem;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-promo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .banner-slide img { height: auto; max-height: 100vh; }
  .promo-hero { min-height: unset; }
  .banner-headline h1 { font-size: 1.8rem; }
  .banner-headline { bottom: 48px; }
  .countdown-num { width: 58px; height: 58px; font-size: 1.8rem; }
  .deals-grid { grid-template-columns: 1fr; }
  .why-grid-promo { grid-template-columns: 1fr 1fr; }
  .banner-arrow { display: none; }
}
@media (max-width: 480px) {
  .why-grid-promo { grid-template-columns: 1fr; }
  .countdown-sep { display: none; }
}
