body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: #111214;
  color: #ffffff;
}

/* 🚀 Navigation Bar Styles physically integrated inside Subscriptions.css */
.sub-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background-color: #111214;
  border-bottom: 1px solid #2b2d31;
}

.sub-nav-brand a {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.sub-nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #949ba4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent; /* Hard border framework base line */
  transition:
    color 0.2s,
    border-color 0.2s;
}

.nav-link:hover {
  color: #ffffff;
}

/* 🚀 Clean Active Class Styling with direct border underline rules */
.nav-link.active {
  color: #ffffff;
  border-bottom: 2px solid #007aff; /* Blue accent color */
}

.sub-nav-user .user-email {
  font-size: 14px;
  color: #949ba4;
}

/* Core Layout Container Grid Rules */
.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.pricing-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-header p {
  color: #949ba4;
  font-size: 16px;
  margin-bottom: 32px;
}

/* Toggle Switch Styles */
.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 15px;
  color: #949ba4;
  font-weight: 500;
}

.toggle-label.active {
  color: #ffffff;
}

.save-badge {
  background-color: #007aff;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b2d31;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #007aff;
}
input:checked + .slider:before {
  transform: translateX(24px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* Pricing Cards Layout Grid */
.plans-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}

.plan-card {
  background-color: #1e1f22;
  border: 1px solid #2b2d31;
  border-radius: 16px;
  padding: 32px 24px;
  width: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: #35383e;
}

.plan-card.recommended {
  border: 2px solid #007aff;
  transform: scale(1.03);
}
.plan-card.recommended:hover {
  transform: scale(1.03) translateY(-4px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007aff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 18px;
  color: #949ba4;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.plan-storage {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.currency {
  font-size: 20px;
  vertical-align: super;
}
.duration {
  font-size: 14px;
  color: #949ba4;
  font-weight: 400;
}

.plan-explain {
  font-size: 13px;
  color: #949ba4;
  line-height: 18px;
  min-height: 54px;
  margin-bottom: 20px;
}

.divider {
  height: 1px;
  background-color: #2b2d31;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  margin-bottom: 12px;
  color: #dbdee1;
  position: relative;
  padding-left: 20px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007aff;
  font-weight: bold;
}

.plan-btn {
  background-color: #2b2d31;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.plan-btn:hover {
  background-color: #35383e;
}

.recommended-btn {
  background-color: #007aff;
}
.recommended-btn:hover {
  background-color: #0062cc;
}
/* =========================
   PRICING CTA BUTTON FIX
   (RESTORES OLD BLUE BUTTON LOOK)
   ========================= */

.pricing-button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  margin-top: 30px;
  padding: 15px;

  border-radius: 14px;
  background: #4f8cff;
  color: white;

  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  cursor: pointer;
  transition: 0.2s ease;

  box-shadow: 0 10px 25px rgba(79, 140, 255, 0.18);
}

/* hover restore */
.pricing-button:hover {
  transform: translateY(-2px);
  background: #3f7df0;
  box-shadow: 0 14px 30px rgba(79, 140, 255, 0.25);
}

/* click feel */
.pricing-button:active {
  transform: scale(0.98);
}

/* featured button stays same but slightly stronger glow */
.featured-button {
  background: linear-gradient(135deg, #4f8cff, #3f7df0);
  box-shadow: 0 14px 35px rgba(79, 140, 255, 0.28);
}

/* ensure featured override still behaves like button */
.featured-button:hover {
  transform: translateY(-2px) scale(1.01);
}
