/* =========================================
   PLAN RENEWAL / EXPIRED PAGE
   (root variables come from backup/public/css/style.css linked in index.html)
   ========================================= */

/* ── Section Layout ── */
.renew-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 30px;
  background: var(--dark-olive);
  overflow: hidden;
}

.renew-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}

/* ── Background Animated Orbs ── */
.renew-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.renew-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.renew-orb-1 {
  width: 450px;
  height: 450px;
  background: var(--primary);
  top: -120px;
  right: -100px;
  animation-delay: 0s;
}

.renew-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  bottom: -80px;
  left: -60px;
  animation-delay: -4s;
}

.renew-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--blue-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.08);
  }
  100% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

/* ── Status Badge ── */
.renew-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 40px;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff6b7a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b7a;
  box-shadow: 0 0 8px rgba(255, 107, 122, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ── Icon ── */
.renew-icon-wrap {
  margin-bottom: 32px;
}

.renew-icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--overlay-primary-20), var(--overlay-accent-20));
  border: 2px solid var(--border-white-12);
  position: relative;
  animation: ringPulse 3s ease-in-out infinite;
}

.renew-icon-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(255, 107, 122, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b7a;
  font-size: 2rem;
}

@keyframes ringPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.15);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(220, 53, 69, 0);
  }
}

/* ── Title ── */
.renew-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.renew-title em {
  font-style: italic;
  color: #ff6b7a;
}

/* ── Description ── */
.renew-desc {
  font-size: 1.2rem;
  color: var(--overlay-white-70);
  max-width: 760px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ── Info Cards ── */
.renew-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.renew-info-card {
  background: var(--overlay-white-06);
  border: 1px solid var(--border-white-08);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.renew-info-card:hover {
  background: var(--overlay-white-10);
  border-color: var(--border-white-15);
  transform: translateY(-4px);
}

.renew-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--overlay-primary-20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin: 0 auto 14px;
}

.renew-info-card:first-child .renew-info-icon {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b7a;
}

.renew-info-card:nth-child(2) .renew-info-icon {
  background: rgba(40, 167, 69, 0.15);
  color: #5dd27a;
}

.renew-info-card:nth-child(3) .renew-info-icon {
  background: rgba(33, 113, 216, 0.15);
  color: #5ba8f7;
}

.renew-info-content strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.renew-info-content span {
  font-size: 0.95rem;
  color: var(--overlay-white-50);
  line-height: 1.5;
}

/* ── CTA Buttons ── */
.renew-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-renew-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 16px 40px;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(32, 48, 112, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-renew-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-renew-primary:hover::before {
  transform: translateX(100%);
}

.btn-renew-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(32, 48, 112, 0.5);
}

.btn-renew-secondary {
  background: var(--overlay-white-08);
  color: var(--white);
  border: 1px solid var(--border-white-15);
  padding: 16px 36px;
  font-size: 1.15rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.btn-renew-secondary:hover {
  background: var(--overlay-white-15);
  border-color: var(--border-white-30);
  transform: translateY(-3px);
}

/* ── Support Note ── */
.renew-support-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--overlay-white-04);
  border: 1px solid var(--border-white-07);
  margin-bottom: 20px;
}

.renew-support-note i {
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.renew-support-note p {
  font-size: 1rem;
  color: var(--overlay-white-50);
  text-align: left;
  line-height: 1.5;
}

/* ── Divider ── */
.renew-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-white-30), transparent);
  margin: 0 auto 16px;
}

/* ── Provider Footer ── */
.renew-provider {
  padding-bottom: 0;
}

.renew-provider p {
  font-size: 0.8rem;
  color: var(--overlay-white-40);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.renew-provider-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--overlay-white-06);
  border: 1px solid var(--border-white-08);
  transition: var(--transition);
}

.renew-provider-link:hover {
  background: var(--overlay-white-12);
  border-color: var(--border-white-15);
  transform: translateY(-2px);
}

.renew-provider-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.renew-provider-link i {
  font-size: 0.7rem;
  color: var(--overlay-white-50);
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablets */
@media (max-width: 768px) {
  .renew-section {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .renew-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .renew-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 18px 20px;
  }

  .renew-info-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .renew-cta-group {
    flex-direction: column;
  }

  .btn-renew-primary,
  .btn-renew-secondary {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .renew-orb-1 {
    width: 280px;
    height: 280px;
  }

  .renew-orb-2 {
    width: 220px;
    height: 220px;
  }

  .renew-orb-3 {
    width: 160px;
    height: 160px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .renew-title {
    font-size: 1.8rem;
  }

  .renew-desc {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .renew-icon-ring {
    width: 90px;
    height: 90px;
  }

  .renew-icon-inner {
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
  }

  .renew-support-note {
    flex-direction: column;
    text-align: center;
  }

  .renew-support-note p {
    text-align: center;
  }

  .renew-status-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 28px;
  }
}