.plans-hero {
  position: relative;
  padding: 160px 8% 80px;
  text-align: center;
  background: transparent;
  overflow: hidden;
}

.plans-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  margin: 16px 0;
  line-height: 1.1;
}

.plans-hero .hero-heading-mobile {
  display: none;
}

.plans-hero h1 span {
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plans-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.plans-hero .hero-mobile-sub {
  display: none;
}

.plans-section {
  padding: 80px 6%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.plans-section .section-desc {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

.pkg-toggle {
  position: relative;
  display: flex;
  width: fit-content;
  background: rgba(255,255,255,0.04);
  border-radius: 40px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.07);
  margin: 0 auto 18px;
}

.pkg-toggle .slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 30px;
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  z-index: 0;
}

.pkg-toggle button {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: color 0.3s;
  font-family: inherit;
  white-space: nowrap;
}

.pkg-toggle button.active {
  color: #000;
}

.pkg-discount {
  display: table;
  background: rgba(255,159,10,0.1);
  border: 1px solid rgba(255,159,10,0.2);
  color: #ff9f0a;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 auto 40px;
}

.pkg-discount.is-hidden {
  display: none;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pkg-card {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pkg-card:hover {
  border-color: rgba(255,159,10,0.3);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(-4px);
}

.pkg-card.featured {
  border-color: #ff9f0a;
  background: rgba(255, 159, 10, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: 42px;
  box-shadow: 0 0 25px rgba(255, 159, 10, 0.15), 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: premiumGlow 3s infinite alternate;
}

.pkg-card.featured::before {
  content: "Popular";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  color: #000;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(255, 159, 10, 0.6);
}

.pkg-card.featured.best-seller {
  border-color: #ff9f0a;
  background: rgba(255, 159, 10, 0.05);
  box-shadow: 0 0 25px rgba(255, 159, 10, 0.15), 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: premiumGlow 3s infinite alternate;
}

.pkg-card.featured.best-seller::before {
  content: "Best Seller";
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  box-shadow: 0 0 12px rgba(255, 159, 10, 0.6);
}

.pkg-card.featured.enterprise-solution::before {
  content: "Complete Business Solution";
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  box-shadow: 0 0 12px rgba(255, 159, 10, 0.6);
}

@keyframes premiumGlow {
  0% {
    box-shadow: 0 0 15px rgba(255, 159, 10, 0.15), 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 159, 10, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 159, 10, 0.35), 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 159, 10, 0.85);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 159, 10, 0.15), 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 159, 10, 0.4);
  }
}

.pkg-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff9f0a;
  margin-bottom: 10px;
}

.pkg-price {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.pkg-price span {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

.pkg-period {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.pkg-services {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  text-align: left;
}

.pkg-services li {
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-wrap: pretty;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.pkg-services li::before {
  content: "\2713";
  color: #ff9f0a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.pkg-cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}

.pkg-cta:hover {
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  color: #000;
  border-color: transparent;
}

/* Addon Services */
.pkg-addon-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 90px 0 35px;
  color: #fff;
  letter-spacing: -0.5px;
}

.pkg-addon-title span {
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pkg-addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.pkg-addon-card {
  font-family: 'Poppins', sans-serif;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 100px;
}

.pkg-addon-card:hover {
  border-color: rgba(255, 159, 10, 0.4);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 159, 10, 0.08), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pkg-addon-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.pkg-addon-price {
  font-size: 13px;
  color: #ff9f0a;
  font-weight: 600;
  background: rgba(255, 159, 10, 0.07);
  border: 1px solid rgba(255, 159, 10, 0.15);
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  letter-spacing: 0.2px;
}

.pkg-addon-exclude {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  line-height: 1.4;
  font-weight: normal;
}

.pkg-addon-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 10px;
  text-align: left;
  width: 100%;
  flex: 1 1 100%;
}

.pkg-addon-features li {
  padding: 6px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pkg-addon-features li:last-child {
  border-bottom: none;
}

.pkg-addon-features li::before {
  content: "\2713";
  color: #ff9f0a;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pkg-addon-features li.feature-header {
  font-weight: 700;
  color: #ff9f0a;
  font-size: 11px;
  text-transform: uppercase;
  margin-top: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 159, 10, 0.15);
  letter-spacing: 0.5px;
}

.pkg-addon-features li.feature-header::before {
  display: none;
}

.pkg-addon-features li.feature-sub-header {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11.5px;
  margin-top: 10px;
  padding-bottom: 2px;
  letter-spacing: 0.3px;
}

.pkg-addon-features li.feature-sub-header::before {
  display: none;
}

.pkg-addon-btn-wrap {
  margin-top: auto;
  padding-top: 20px;
  width: 100%;
}

.pkg-addon-cta {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pkg-addon-cta:hover {
  background: linear-gradient(135deg, #ff9f0a, #ff6a00);
  color: #000;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 159, 10, 0.2);
}

@media (max-width: 1024px) {
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .plans-hero {
    padding: 120px 5% 36px !important;
  }
  .plans-hero h1 {
    font-size: clamp(1.5rem, 4.5vw, 2rem) !important;
    max-width: 90%;
    margin: 12px auto !important;
  }
  .plans-hero p {
    font-size: 14px;
    line-height: 1.5;
  }
  .plans-hero .hero-mobile-sub {
    display: none;
  }
  .plans-section {
    padding: 28px 4% !important;
  }
  .plans-section .section-desc {
    font-size: 13.5px;
    margin-bottom: 24px;
  }
  .pkg-toggle {
    margin-bottom: 14px;
    border-radius: 30px;
    gap: 4px;
    padding: 5px;
  }
  .pkg-toggle button {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 25px;
  }
  .pkg-toggle button.active {
    box-shadow: 0 3px 12px rgba(255, 159, 10, 0.25);
  }
  .pkg-discount {
    font-size: 12px;
    padding: 7px 16px;
    margin-bottom: 24px;
  }
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .pkg-card {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .pkg-card.featured {
    padding-top: 36px;
  }
  .pkg-card.featured::before {
    font-size: 10px;
    padding: 3px 12px;
    top: 10px;
  }
  .pkg-name {
    font-size: 12px;
    letter-spacing: 1.3px;
    margin-bottom: 6px;
  }
  .pkg-price {
    font-size: 26px;
  }
  .pkg-price span {
    font-size: 13px;
  }
  .pkg-period {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .pkg-services {
    margin-bottom: 18px;
  }
  .pkg-services li {
    font-size: 12px;
    padding: 6px 0;
    gap: 7px;
    line-height: 1.4;
  }
  .pkg-services li::before {
    font-size: 11.5px;
    flex-shrink: 0;
  }
  .pkg-cta {
    padding: 10px 20px;
    font-size: 13px;
  }
  .pkg-addon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pkg-addon-features {
    margin: 12px 0 6px;
  }
  .pkg-addon-features li {
    font-size: 11.5px;
    padding: 4px 0;
  }
}

@media (max-width: 600px) {
  .plans-hero {
    padding: 110px 5% 24px !important;
  }
  .plans-hero h1:not(.hero-heading-mobile) {
    display: none;
  }
  .plans-hero .hero-heading-mobile {
    display: block;
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    margin: 10px auto 8px !important;
    max-width: 95%;
    word-break: break-word;
  }
  .plans-hero p {
    display: none;
  }
  .plans-hero .hero-mobile-sub {
    display: block;
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    max-width: 88%;
    margin: 0 auto;
  }
  .plans-section {
    padding: 20px 4% !important;
  }

  /* Toggle: 2x2 grid for small screens */
  .pkg-toggle {
    flex-wrap: wrap;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    border-radius: 14px;
    padding: 6px;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .pkg-toggle .slider {
    display: none;
  }
  .pkg-toggle button {
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    flex: 1 1 calc(50% - 3px);
    min-width: calc(50% - 3px);
    text-align: center;
    border-radius: 10px;
    transition: all 0.25s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px;
  }
  .pkg-toggle button.active {
    background: linear-gradient(135deg, #ff9f0a, #ff6a00);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 159, 10, 0.3);
  }
  .pkg-discount {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 20px;
  }
  .pkg-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
  }
  .pkg-card {
    padding: 24px 20px;
    border-radius: 16px;
    transition: none;
  }
  .pkg-card:hover {
    transform: none;
  }
  .pkg-card.featured {
    padding-top: 34px;
    border-color: rgba(255,159,10,0.35);
    border-width: 1.5px;
  }
  .pkg-card.featured::before {
    font-size: 10px;
    padding: 3px 14px;
    top: 10px;
    letter-spacing: 0.9px;
  }
  .pkg-name {
    font-size: 12px;
    letter-spacing: 1.6px;
    margin-bottom: 6px;
  }
  .pkg-price {
    font-size: 28px;
    margin-bottom: 2px;
  }
  .pkg-price span {
    font-size: 14px;
  }
  .pkg-period {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .pkg-services {
    margin-bottom: 18px;
  }
  .pkg-services li {
    font-size: 13px;
    padding: 7px 0;
    gap: 8px;
    line-height: 1.4;
    border-bottom-color: rgba(255,255,255,0.05);
  }
  .pkg-services li::before {
    font-size: 12px;
  }
  .pkg-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255,159,10,0.18), rgba(255,106,0,0.12));
    border-color: rgba(255,159,10,0.3);
    color: #ff9f0a;
    letter-spacing: 0.3px;
  }
  .pkg-cta:hover {
    background: linear-gradient(135deg, #ff9f0a, #ff6a00);
    color: #000;
    border-color: transparent;
    transform: none;
  }
  .pkg-addon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .plans-hero {
    padding: 100px 4% 18px !important;
  }
  .plans-hero .hero-heading-mobile {
    font-size: 1.2rem !important;
    max-width: 98%;
  }
  .plans-hero .hero-mobile-sub {
    font-size: 12px;
    max-width: 95%;
  }
  .plans-section {
    padding: 16px 3.5% !important;
  }
  .pkg-toggle {
    max-width: 260px;
    padding: 5px;
    gap: 5px;
  }
  .pkg-toggle button {
    font-size: 11px;
    padding: 8px 0;
    min-height: 34px;
  }
  .pkg-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .pkg-card.featured {
    padding-top: 28px;
  }
  .pkg-card.featured::before {
    font-size: 9px;
    padding: 2px 12px;
    top: 8px;
  }
  .pkg-price {
    font-size: 24px;
  }
  .pkg-price span {
    font-size: 12px;
  }
  .pkg-period {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .pkg-services {
    margin-bottom: 16px;
  }
  .pkg-services li {
    font-size: 12px;
    padding: 6px 0;
    gap: 6px;
  }
  .pkg-name {
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .pkg-cta {
    padding: 11px 16px;
    font-size: 12.5px;
  }
  .pkg-addon-features {
    margin: 10px 0 4px;
  }
  .pkg-addon-features li {
    font-size: 11px;
    padding: 3px 0;
  }
}

/* Note Highlight Box */
.pkg-note-box {
  background: rgba(255, 159, 10, 0.05);
  border: 1px solid rgba(255, 159, 10, 0.15);
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 650px;
  margin: 48px auto 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-sizing: border-box;
}

.pkg-note-box i {
  color: #ff9f0a;
  font-size: 20px;
  flex-shrink: 0;
}

.pkg-note-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.pkg-note-box p strong {
  color: #ff9f0a;
}

.pkg-quote-option {
  text-align: center;
  margin: 15px auto 30px;
  font-family: 'Poppins', sans-serif;
}

.pkg-quote-option p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.pkg-quote-option a {
  color: #ff9f0a;
  text-decoration: none;
  font-weight: 700;
  margin-left: 5px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px dashed rgba(255, 159, 10, 0.4);
  padding-bottom: 2px;
}

.pkg-quote-option a:hover {
  color: #ff6a00;
  border-bottom-color: #ff6a00;
}

@media (max-width: 600px) {
  .pkg-quote-option {
    margin: 12px auto 20px;
  }
  .pkg-quote-option p {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .pkg-note-box {
    padding: 12px 14px;
    margin: 28px auto 12px;
    border-radius: 10px;
    gap: 8px;
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
  }
  .pkg-note-box i {
    font-size: 16px;
    margin-top: 2px;
  }
  .pkg-note-box p {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  .pkg-note-box {
    padding: 10px 12px;
    margin: 24px auto 10px;
    border-radius: 8px;
    gap: 6px;
  }
  .pkg-note-box i {
    font-size: 14px;
  }
  .pkg-note-box p {
    font-size: 11px;
  }
}

/* Promotional Banner Spacing Adjustments */
#promoBanner:not(.hidden) ~ .page-wrapper .plans-hero {
  padding-top: 196px !important;
}

@media (max-width: 768px) {
  #promoBanner:not(.hidden) ~ .page-wrapper .plans-hero {
    padding-top: 156px !important;
  }
}

@media (max-width: 600px) {
  #promoBanner:not(.hidden) ~ .page-wrapper .plans-hero {
    padding-top: 146px !important;
  }
}

@media (max-width: 380px) {
  #promoBanner:not(.hidden) ~ .page-wrapper .plans-hero {
    padding-top: 136px !important;
  }
}
