/* =============================================
   IRONLUNN — program.css
   Program detail page + Bronze/Silver/Gold pricing
   ============================================= */

/* === PROGRAM PAGE OVERRIDES === */
/* Sections on this page are visible by default — no scroll-reveal fade-in delay */
section { opacity: 1; transform: none; }

/* === PROGRAM SELECTOR SECTION === */
.prog-select-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.prog-select-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(192,57,43,0.03) 60px,
    rgba(192,57,43,0.03) 61px
  );
  pointer-events: none;
}

.prog-select-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.prog-hero-label {
  display: block;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}
.prog-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.prog-hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.prog-scroll-hint {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: prog-bounce 2s ease-in-out infinite;
}
@keyframes prog-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* === THREE PROGRAM CARDS === */
.prog-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.prog-select-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 2rem 1.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}
/* Red diagonal corner cut */
.prog-select-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--accent) transparent transparent;
}
.prog-select-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(192,57,43,0.15);
  border-color: rgba(192,57,43,0.5);
}
.prog-select-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 40px rgba(192,57,43,0.2);
}

.prog-card-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: block;
}
.prog-card-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.prog-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* === PRICING SECTION === */
.pricing-section {
  padding: 2rem 2rem 5rem;
  background: var(--bg);
}
.pricing-heading {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.pricing-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

/* === BASE PRICING CARD === */
.pricing-card {
  background: #0f0f0f;
  border: 1px solid #1e1e1e;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
}

/* Tier top bar */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

/* === BRONZE === */
.pricing-card--bronze {
  border-color: rgba(205,127,50,0.25);
}
.pricing-card--bronze::before {
  background: linear-gradient(90deg, #8B4513, #CD7F32, #8B4513);
}
.pricing-card--bronze:hover {
  box-shadow: 0 8px 40px rgba(205,127,50,0.15);
  border-color: rgba(205,127,50,0.5);
}
.pricing-card--bronze .tier-name { color: #CD7F32; }
.pricing-card--bronze .tier-badge {
  background: rgba(205,127,50,0.1);
  color: #CD7F32;
  border: 1px solid rgba(205,127,50,0.3);
}
.pricing-card--bronze .pricing-btn {
  background: transparent;
  border: 1px solid #CD7F32;
  color: #CD7F32;
}
.pricing-card--bronze .pricing-btn:hover {
  background: #CD7F32;
  color: #0a0a0a;
}

/* === SILVER === */
.pricing-card--silver {
  border-color: rgba(192,192,192,0.25);
}
.pricing-card--silver::before {
  background: linear-gradient(90deg, #888, #C0C0C0, #888);
}
.pricing-card--silver:hover {
  box-shadow: 0 8px 40px rgba(192,192,192,0.12);
  border-color: rgba(192,192,192,0.5);
}
.pricing-card--silver .tier-name { color: #C0C0C0; }
.pricing-card--silver .tier-badge {
  background: rgba(192,192,192,0.1);
  color: #C0C0C0;
  border: 1px solid rgba(192,192,192,0.3);
}
.pricing-card--silver .pricing-btn {
  background: transparent;
  border: 1px solid #C0C0C0;
  color: #C0C0C0;
}
.pricing-card--silver .pricing-btn:hover {
  background: #C0C0C0;
  color: #0a0a0a;
}

/* === GOLD === */
.pricing-card--gold {
  border-color: rgba(212,175,55,0.4);
}
.pricing-card--gold::before {
  background: linear-gradient(90deg, #9B7D0A, #D4AF37, #F0D060, #D4AF37, #9B7D0A);
}
.pricing-card--gold:hover {
  box-shadow: 0 8px 48px rgba(212,175,55,0.25);
  border-color: rgba(212,175,55,0.7);
}
.pricing-card--gold .tier-name { color: #D4AF37; }
.pricing-card--gold .tier-badge {
  background: rgba(212,175,55,0.1);
  color: #D4AF37;
  border: 1px solid rgba(212,175,55,0.3);
}
.pricing-card--gold .pricing-btn {
  background: linear-gradient(135deg, #9B7D0A, #D4AF37);
  border: none;
  color: #0a0a0a;
  font-weight: 600;
}
.pricing-card--gold .pricing-btn:hover {
  background: linear-gradient(135deg, #D4AF37, #F0D060);
}

/* Gold recommended badge */
.pricing-card--gold .recommended-tag {
  display: block;
}
.recommended-tag {
  display: none;
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: linear-gradient(135deg, #9B7D0A, #D4AF37);
  color: #0a0a0a;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  padding-bottom: 0.6rem;
}

/* === CARD INTERNALS === */
.tier-badge {
  display: inline-block;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  padding: 0.2rem 0.7rem;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.tier-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tier-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.tier-price span {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 2px;
}
.tier-price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  letter-spacing: 0.05em;
}
.tier-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1;
}
.tier-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: '—';
  flex-shrink: 0;
  color: inherit;
  opacity: 0.6;
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

/* === BACK LINK === */
.program-back {
  display: block;
  text-align: center;
  padding: 2rem;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  transition: color 0.2s ease;
}
.program-back:hover { color: var(--accent); }
.program-back::before { content: '← '; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .prog-cards-row {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
