/* ============================================================
   GetReplyTube AI — Premium Page Styles
   premium.css — loaded on top of style.css
   ============================================================ */

/* ── Page base ─────────────────────────────────────────────── */
.premium-page {
  background: #07070f;
  color: #e2e8f0;
  overflow-x: hidden;
}

/* ── Particle layer ─────────────────────────────────────────── */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Keep everything above the particle layer */
.premium-page > *:not(.bg-particles) {
  position: relative;
  z-index: 1;
}

/* ── Urgency banner ─────────────────────────────────────────── */
.urgency-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.urgency-banner.urgency-critical {
  background: linear-gradient(90deg, #7f1d1d, #991b1b, #7f1d1d);
  color: #fca5a5;
  animation: urgency-pulse 1.8s ease-in-out infinite;
}
.urgency-banner.urgency-high {
  background: linear-gradient(90deg, #78350f, #92400e, #78350f);
  color: #fcd34d;
}
@keyframes urgency-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.85; }
}
.urgency-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Section scaffolding ───────────────────────────────────── */
.p-section {
  padding: 72px 0;
}
.p-dark {
  background: rgba(0,0,0,0.35);
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-center { text-align: center; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 10px;
}
.section-h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 10px;
  line-height: 1.15;
}
.section-sub {
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.p-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.p-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.p-badge-live {
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 4px;
  animation: blink 1.2s step-end infinite;
}
.p-badge-tier {
  background: rgba(245,158,11,0.15);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
}
.p-badge-discount {
  background: rgba(34,197,94,0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
}

.p-hero-title {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f8fafc;
  margin: 0 0 20px;
}
.gold-shine {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b, #fbbf24);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldshine 3s linear infinite;
}
@keyframes goldshine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.gold { color: #f59e0b; }

.p-hero-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.p-hero-sub strong { color: #e2e8f0; }

/* ── Countdown ─────────────────────────────────────────────── */
.countdown-wrapper {
  margin-bottom: 36px;
}
.countdown-label {
  font-size: 0.78rem;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 64px;
}
.cd-block span {
  font-family: 'Bebas Neue', monospace;
  font-size: 2.2rem;
  color: #f59e0b;
  line-height: 1;
}
.cd-block small {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 3px;
}
.cd-sep {
  font-size: 1.8rem;
  color: #f59e0b;
  line-height: 1;
  padding: 0 2px;
  margin-bottom: 14px;
}

/* ── Slots bar ─────────────────────────────────────────────── */
.slots-bar-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.slots-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 8px;
}
.slots-taken { color: #64748b; }
.slots-left  { font-weight: 700; }
.slots-left.urgency-critical { color: #f87171; }
.slots-left.urgency-high     { color: #fbbf24; }
.slots-left.urgency-medium   { color: #fb923c; }
.slots-left.urgency-low      { color: #4ade80; }

.slots-bar {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.slots-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 99px;
  width: 0%;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.slots-bar-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #475569;
  margin-top: 6px;
}

/* ── Prediction cards ─────────────────────────────────────── */
.pred-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  position: relative;
}
.pred-card {
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  animation: card-rise 0.5s ease both;
  transition: transform 0.2s, border-color 0.2s;
}
.pred-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.5);
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pred-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pred-league {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  flex: 1;
}
.pred-market {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.pred-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: blink 1.2s step-end infinite;
}
.pred-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.pred-team {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  flex: 1;
}
.pred-team:last-child { text-align: right; }
.pred-vs {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 600;
}
.pred-pick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pred-pick {
  font-size: 0.72rem;
  color: #94a3b8;
}
.pred-pick strong { color: #f8fafc; }
.pred-odds {
  font-size: 0.72rem;
  color: #94a3b8;
}
.pred-odds strong { color: #4ade80; }

.pred-conf-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pred-conf-label {
  font-size: 0.62rem;
  color: #475569;
  white-space: nowrap;
}
.pred-conf-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.pred-conf-fill {
  height: 100%;
  border-radius: 99px;
  width: 0%;
  transition: width 0.9s cubic-bezier(.4,0,.2,1);
}
.pred-conf-fill.conf-high { background: linear-gradient(90deg, #22c55e, #4ade80); }
.pred-conf-fill.conf-med  { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.pred-conf-fill.conf-low  { background: linear-gradient(90deg, #ef4444, #f87171); }

.pred-conf-pct {
  font-size: 0.68rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
}
.pred-trend {
  font-size: 0.7rem;
  font-weight: 700;
}
.pred-trend.trend-up   { color: #4ade80; }
.pred-trend.trend-flat { color: #94a3b8; }

/* Blur overlay on last 2 cards */
.pred-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,7,15,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f59e0b;
  border-radius: 14px;
}
/* Only blur the 3rd and 4th cards */
.pred-card:nth-child(-n+2) .pred-blur-overlay {
  display: none;
}

/* ── Tier progression ─────────────────────────────────────── */
.tier-progression {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s;
}
.tier-row.tier-active {
  border-color: rgba(245,158,11,0.5);
  background: rgba(245,158,11,0.06);
  box-shadow: 0 0 20px rgba(245,158,11,0.08);
}
.tier-row.tier-full {
  opacity: 0.45;
}
.tier-row.tier-upcoming {
  opacity: 0.65;
}
.tier-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid;
}
.tier-mini-bar {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 4px;
}
.tier-mini-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s ease;
}
.tier-slots-col small { font-size: 0.65rem; color: #475569; }
.tier-price-col { text-align: right; white-space: nowrap; }
.tier-price-full    { font-size: 0.75rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.1em; }
.tier-price-current { font-size: 1rem; font-weight: 800; color: #f59e0b; }
.tier-price-future  { font-size: 0.9rem; font-weight: 700; color: #475569; }
.tier-current-label { display: block; font-size: 0.6rem; font-weight: 700; color: #4ade80; letter-spacing: 0.1em; margin-top: 2px; }

/* ── Features grid ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 22px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.35);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* ── Checkout ──────────────────────────────────────────────── */
.checkout-box {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(15,23,42,0.9);
  border: 2px solid rgba(245,158,11,0.35);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 0 60px rgba(245,158,11,0.07);
}
.checkout-header {
  text-align: center;
  margin-bottom: 30px;
}
.checkout-tier-badge {
  display: inline-block;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.4);
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.checkout-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 12px;
}
.checkout-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.checkout-original {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: line-through;
}
.checkout-price {
  font-size: 2rem;
  font-weight: 900;
  color: #f59e0b;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
}
.checkout-save {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.checkout-slots {
  font-size: 0.78rem;
  color: #f87171;
  margin: 0;
}

/* Form */
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}
.form-group label small {
  font-weight: 400;
  color: #475569;
}
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #f8fafc;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus {
  border-color: rgba(245,158,11,0.5);
}
.form-group input::placeholder { color: #334155; }

.alert-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07070f;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(245,158,11,0.3);
}
.btn-checkout:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(245,158,11,0.4);
}
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-checkout-cta {
  display: inline-block;
  padding: 18px 36px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07070f;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(245,158,11,0.3);
}
.btn-checkout-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.checkout-note {
  font-size: 0.72rem;
  color: #475569;
  text-align: center;
  line-height: 1.7;
  margin: 4px 0 0;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: rgba(245,158,11,0.25); }
.test-quote {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.test-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07070f;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test-author > div:nth-child(2) { flex: 1; }
.test-author strong { display: block; font-size: 0.8rem; color: #e2e8f0; }
.test-author small  { font-size: 0.68rem; color: #475569; }
.test-stars { font-size: 0.75rem; }

/* ── Final CTA section ─────────────────────────────────────── */
.p-final-cta {
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.06) 0%, transparent 70%);
  border-top: 1px solid rgba(245,158,11,0.12);
  text-align: center;
  padding: 80px 0;
}
.p-final-cta h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 14px;
}
.p-final-cta p {
  color: #64748b;
  margin: 0 0 32px;
  font-size: 1rem;
}
.p-final-cta p strong { color: #f59e0b; }
.final-cta-note {
  margin-top: 14px !important;
  font-size: 0.76rem;
  color: #475569;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(245,158,11,0.5);
  color: #f59e0b;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: rgba(245,158,11,0.1);
}

/* ── Footer extras ─────────────────────────────────────────── */
.footer-disclaimer {
  font-size: 0.68rem;
  color: #334155;
  margin-top: 4px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .p-hero { padding: 60px 0 40px; }
  .checkout-box { padding: 28px 20px; }
  .tier-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .tier-price-col {
    grid-column: 1 / -1;
    text-align: left;
  }
  .pred-cards { grid-template-columns: 1fr 1fr; }
  .cd-block { padding: 8px 12px; min-width: 52px; }
  .cd-block span { font-size: 1.8rem; }
}
@media (max-width: 400px) {
  .pred-cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
