/* Package pages – dark theme, centered card, each page has its own background */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Shared layout for all package pages */
.influencer-page,
.best-seller-page,
.double-best-seller-page,
.million-maker-page {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, Helvetica, sans-serif !important;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Full-bleed background base (image set per page below) */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.4);
}

.page-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Page-specific backgrounds */
.influencer-page .page-backdrop {
  background-image: url('../images/influencer.png');
}

.best-seller-page .page-backdrop {
  background-image: url('../images/best-seller.png');
}

.double-best-seller-page .page-backdrop {
  background-image: url('../images/double-best-seller.jpg');
}

.million-maker-page .page-backdrop {
  background-image: url('../images/million-maker.jpg');
}

/* Header */
.influencer-header {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 32px 8px;
}

.header-inner {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  display: block;
  height: auto;
  max-height: 60px;
  width: auto;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: rgb(38, 169, 224);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: rgb(82, 188, 235);
}

.nav-link.active {
  font-weight: 700;
  color: rgb(82, 188, 235);
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.8), 0 0 20px rgba(38, 169, 224, 0.5), 0 0 30px rgba(38, 169, 224, 0.3);
}

/* Main content – centered card */
.influencer-main {
  position: relative;
  z-index: 2;
  padding: 12px 24px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.plan-card {
  width: 100%;
  max-width: 1170px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  padding: 60px 72px 72px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.plan-title {
  margin: 0 0 12px;
  font-family: Poppins, Helvetica, sans-serif !important;
  font-size: 52px;
  font-weight: 500;
  color: rgb(0, 117, 178);
  text-align: left;
  letter-spacing: 3px;
  line-height: 1.3em;
  text-transform: uppercase;
}

.plan-subtitle {
  margin: 0 0 24px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3em;
}

.plan-intro {
  margin: 0 0 28px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 12px;
  text-align: left;
  line-height: 1.5em;
}

.plan-intro p {
  margin: 0 0 12px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 12px;
  line-height: 1.5em;
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
}

.plan-intro p:last-child {
  margin-bottom: 0;
}

.plan-section {
  margin: 0 0 24px;
}

.plan-section-title {
  margin: 0 0 12px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 18px;
  font-weight: 600;
  color: rgb(0, 117, 178);
  text-align: left;
  letter-spacing: 3px;
  line-height: 1.3em;
  text-transform: uppercase;
}

.plan-details {
  margin: 0 0 10px;
  padding-left: 1.25rem;
  list-style: none;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  text-align: left;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3em;
}

.plan-details li {
  position: relative;
  margin-bottom: 4px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3em;
  text-align: left;
  color: #fff;
}

.plan-details li::before {
  content: '• ';
  position: absolute;
  left: -1.25rem;
}

.plan-desc {
  margin: 0;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 12px;
  text-align: left;
  line-height: 1.5em;
  color: rgba(255, 255, 255, 0.9);
}

.plan-bonus {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  align-items: flex-start;
}

.bonus-icon {
  display: block;
  width: auto;
  max-height: 40px;
  flex-shrink: 0;
  filter: none;
}

.bonus-content {
  flex: 1;
}

.bonus-title {
  display: block;
  margin-bottom: 6px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: rgb(151, 69, 222);
}

.bonus-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.plan-note {
  margin: 0 0 28px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 12px;
  text-align: left;
  letter-spacing: 1px;
  line-height: 1.5rem;
  color: #fff;
}

.plan-actions {
  text-align: left;
}

.btn-buy {
  display: inline-block;
  padding: 14px 40px;
  font-family: "Noto Sans", Helvetica, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  background: rgb(1, 116, 199);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-buy:hover {
  box-shadow: inset 0 2px 2px 0 rgba(255, 255, 255, 0.22), 0 2px 2px 0 rgba(255, 255, 255, 0.12) inset;
}

/* ========== Responsive: Tablet ========== */
@media (max-width: 768px) {
  .influencer-header {
    padding: 14px 24px 8px;
  }

  .header-inner {
    max-width: 100%;
  }

  .influencer-main {
    padding: 12px 20px 40px;
  }

  .plan-card {
    padding: 44px 36px 48px;
    border-radius: 14px;
  }

  .plan-title {
    font-size: clamp(2rem, 8vw, 42px);
    letter-spacing: 2px;
  }

  .plan-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .plan-section-title {
    font-size: 16px;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}

/* ========== Responsive: Mobile ========== */
@media (max-width: 640px) {
  .influencer-page,
  .best-seller-page,
  .double-best-seller-page,
  .million-maker-page {
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .influencer-header {
    padding: 12px 16px 8px;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .logo img {
    max-height: 44px;
  }

  .header-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 6px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-link.active {
    text-shadow: 0 0 8px rgba(38, 169, 224, 0.7), 0 0 16px rgba(38, 169, 224, 0.4);
  }

  .influencer-main {
    padding: 10px 16px 32px;
    align-items: stretch;
  }

  .plan-card {
    padding: 28px 20px 32px;
    border-radius: 12px;
    max-width: 100%;
  }

  .plan-title {
    font-size: clamp(1.5rem, 7vw, 28px);
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.25em;
  }

  .plan-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 18px;
    line-height: 1.35em;
  }

  .plan-intro,
  .plan-intro p {
    font-size: 11px;
    line-height: 1.45em;
  }

  .plan-intro {
    margin-bottom: 20px;
  }

  .plan-intro p {
    margin-bottom: 10px;
  }

  .plan-section {
    margin-bottom: 18px;
  }

  .plan-section-title {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
  }

  .plan-details,
  .plan-details li {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .plan-details {
    padding-left: 1rem;
    margin-bottom: 8px;
  }

  .plan-details li::before {
    left: -1rem;
  }

  .plan-desc {
    font-size: 11px;
    line-height: 1.45em;
  }

  .plan-bonus {
    gap: 10px;
    margin-bottom: 16px;
  }

  .bonus-icon {
    max-height: 32px;
  }

  .bonus-title {
    font-size: 12px;
  }

  .bonus-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .plan-note {
    font-size: 11px;
    margin-bottom: 24px;
    line-height: 1.4em;
  }

  .plan-actions {
    text-align: left;
  }

  .btn-buy {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    min-height: 48px;
    text-align: center;
    border-radius: 8px;
  }
}

/* ========== Responsive: Small phones ========== */
@media (max-width: 480px) {
  .influencer-header {
    padding: 10px 12px 6px;
  }

  .logo img {
    max-height: 38px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .influencer-main {
    padding: 8px 12px 24px;
  }

  .plan-card {
    padding: 22px 16px 28px;
    border-radius: 10px;
  }

  .plan-title {
    font-size: clamp(1.25rem, 6vw, 24px);
  }

  .plan-subtitle {
    font-size: 12px;
  }

  .plan-section-title {
    font-size: 13px;
  }

  .btn-buy {
    padding: 14px 20px;
    min-height: 44px;
  }
}
