.author-verified-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: default;
  vertical-align: middle;
  margin-left: 4px;
}
.author-verified-badge .fas {
  color: #e03131;
  font-size: 0.85em;
}
.author-verified-tooltip {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 100;
}
.author-verified-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #1e293b;
}
.author-verified-badge:hover .author-verified-tooltip {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 768px) {
  .author-verified-tooltip {
    display: none;
  }
}

.student-hero {
  position: relative;
  background-color: #fff;
  background-image: url(../../../images/backgournds/shapes-01.webp);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 150px 0 0;
  text-align: center;
}

.student-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 40%) 0%, rgb(255 255 255 / 12%) 40%, rgb(255 255 255 / 82%) 70%, rgb(255 255 255) 100%);
  pointer-events: none;
}

.student-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 157, 225, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.student-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  color: var(--darkBlue);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
}

.hero-line-2 {
  display: block;
  color: var(--primary);
  font-style: italic;
  font-weight: 800;
}

.student-hero .hero-desc {
  font-size: 1rem;
  color: var(--lightBlue);
  max-width: 800px;
  margin: 26px auto 44px;
  line-height: 1.8;
  font-weight: 500;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 80px;
}

.hero-btn-ghost {
  color: var(--darkBlue) !important;
  border-color: var(--border) !important;
  background-color: #fff !important;
  box-shadow: -4px 4px 0 var(--primary-shadow) !important;
}

.hero-btn-ghost:hover {
  color: #fff !important;
  background-color: var(--darkBlue) !important;
  border-color: var(--darkBlue) !important;
  box-shadow: 0 0 0 var(--primary-shadow) !important;
}

@media (max-width: 991.98px) {
  .student-hero { padding-top: 130px; }
}

@media (max-width: 767.98px) {
  .student-hero { padding-top: 110px; }
  .student-hero h1 { letter-spacing: -0.5px; }
  .hero-cta-wrap {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
  }
  .hero-strip-price {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    text-align: center;
    width: 100%;
  }
  .hero-strip-tags {
    justify-content: center;
    padding-top: 12px;
  }
}

.pack-section {
  background-color: var(--light);
  padding-bottom: 30px;
}

.pack-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: -4px 4px 0 var(--primary-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pack-card:hover {
  box-shadow: 0 0 0 var(--primary-shadow);
}

.pack-card.popular {
  border: 2px solid var(--primary);
  box-shadow: -4px 4px 0 rgba(0, 153, 255, 0.22);
  position: relative;
}

.pack-card.popular:hover {
  box-shadow: 0 0 0 var(--primary-shadow);
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pack-header {
  padding: 32px 32px 22px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.pack-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--darkBlue);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pack-card.popular .pack-name {
  color: var(--primary);
}

.pack-tagline {
  font-size: 0.9rem;
  color: var(--lightBlue);
  font-weight: 500;
}

.pack-products {
  padding: 26px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/*.pack-product {
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
}*/

.pack-product:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pack-product-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--darkBlue);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pack-product-title::before,
.pack-product-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  opacity: 0.35;
}

.pack-product-title i {
  color: var(--primary);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.pack-product-badge {
  display: inline-block;
  background: rgba(0, 157, 225, 0.1);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

.pack-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pack-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--darkBlue);
  line-height: 1.4;
}

.pack-features li img {
  width: 20px;
  min-width: 20px;
  height: 16px;
  object-fit: contain;
  opacity: 0.85;
}

.pack-features li i {
  min-width: 20px;
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  opacity: 0.85;
}

.pack-price-strip {
  padding: 26px 32px;
  background: var(--light);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pack-card.popular .pack-price-strip {
  background: #009DE1;
  border-top: none;
}

.pack-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--darkBlue);
  line-height: 1;
}

.pack-card.popular .pack-price {
  color: #fff;
}

.pack-price sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
}

.pack-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #889;
}

.pack-card.popular .pack-price span {
  color: rgba(255, 255, 255, 0.75);
}

.pack-price-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #889;
  margin-top: 4px;
}

.pack-card.popular .pack-price-sub {
  color: rgba(255, 255, 255, 0.7);
}

.pack-cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .pack-price-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .pack-cta-col {
    align-items: stretch;
  }
  .pack-header,
  .pack-products {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pack-price-strip {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.student-benefits {
  background: #fff;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1fr;
  gap: 18px;
}

.bento-cell {
  border-radius: 20px;
  padding: 42px 38px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.bento-ddos {
  background: var(--darkBlue);
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 260px;
}

.bento-ddos::after {
  content: '\f3ed';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -18px;
  bottom: -28px;
  font-size: 210px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.bento-ddos .bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 22px;
}

.bento-ddos .bento-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  font-family: var(--primary-font);
}

.bento-ddos .bento-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

.bento-support {
  background: var(--light);
  border: 1px solid var(--border);
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.bento-support .bento-big-number {
  font-size: 5.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -3px;
  font-family: var(--primary-font);
}

.bento-support .bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--darkBlue);
  margin-bottom: 8px;
  font-family: var(--primary-font);
}

.bento-support .bento-desc {
  font-size: 0.88rem;
  color: var(--lightBlue);
  line-height: 1.65;
  margin: 0;
}

.bento-price {
  background: #009DE1;
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-price::after {
  content: '\f19d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 190px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.bento-price .bento-price-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.bento-price .bento-price-big {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-family: var(--primary-font);
  margin-bottom: 6px;
}

.bento-price .bento-price-big sup {
  font-size: 1.7rem;
  font-weight: 700;
  vertical-align: super;
}

.bento-price .bento-price-big span {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.bento-price .bento-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  margin: 14px 0 0;
  max-width: 420px;
}

.bento-infra {
  background: #fff;
  border: 1px solid var(--border);
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.bento-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(to right, #002395 33.33%, #fff 33.33% 66.66%, #ED2939 66.66%);
}

.bento-infra .bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--darkBlue);
  margin-bottom: 8px;
  font-family: var(--primary-font);
}

.bento-infra .bento-desc {
  font-size: 0.88rem;
  color: var(--lightBlue);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991.98px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-ddos {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .bento-support {
    grid-column: 1;
    grid-row: 2;
  }
  .bento-infra {
    grid-column: 2;
    grid-row: 2;
  }
  .bento-price {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 575.98px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-ddos,
  .bento-support,
  .bento-price,
  .bento-infra {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-cell {
    padding: 32px 24px;
  }
  .bento-support .bento-big-number {
    font-size: 3.8rem;
  }
  .bento-price .bento-price-big {
    font-size: 3.2rem;
  }
}

.student-status-banner {
  background-color: #fff5f5;
  border-top: 2px solid #ffd0d0;
  border-bottom: 2px solid #ffd0d0;
  padding: 22px 0;
}

.student-status-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.student-status-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #c0392b;
}

.student-status-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: #7a2020;
  line-height: 1.55;
}

.student-status-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
  display: block;
}

.student-status-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background-color: #c0392b;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.student-status-cta:hover {
  background-color: #a93226;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .student-status-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .student-status-cta {
    width: 100%;
    justify-content: center;
  }
}

.student-disclaimer {
  padding: 36px 0;
  background: var(--light);
  border-top: 1px solid var(--border);
}

.student-disclaimer p {
  font-size: 0.82rem;
  color: #8a9ab5;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

.student-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.student-modal-overlay.is-active {
  display: flex;
}

.student-modal {
  background: #fff;
  border-radius: 18px;
  padding: 44px 40px 36px;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.student-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--lightBlue);
  transition: background 0.15s ease, color 0.15s ease;
}
.student-modal-close:hover {
  background: var(--darkBlue);
  color: #fff;
  border-color: var(--darkBlue);
}

.student-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--darkBlue);
  margin: 0 0 12px;
  line-height: 1.25;
}

.student-modal-intro {
  font-size: 0.92rem;
  color: var(--lightBlue);
  line-height: 1.65;
  margin: 0 0 20px;
}

.student-modal-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.student-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--darkBlue);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  line-height: 1.5;
}

.student-modal-list li i {
  color: var(--primary);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.student-modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid var(--primary);
  background: var(--light);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  font-size: 0.84rem;
  color: var(--lightBlue);
  line-height: 1.6;
  margin-bottom: 28px;
}

.student-modal-notice i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.student-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.student-modal-cancel {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lightBlue);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.student-modal-cancel:hover {
  background: var(--light);
  color: var(--darkBlue);
}

#studentVerifModalConfirm.is-locked {
  background: #c5cdd8 !important;
  border-color: #c5cdd8 !important;
  box-shadow: none !important;
  color: #fff !important;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 575.98px) {
  .student-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .student-modal {
    padding: 28px 20px 24px;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    animation: modalInMobile 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .student-modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #d1dbe8;
    border-radius: 2px;
    margin: 0 auto 22px;
  }

  .student-modal-close {
    top: 14px;
    right: 14px;
  }

  .student-modal-title {
    font-size: 1.2rem;
    padding-right: 36px;
    margin-bottom: 10px;
  }

  .student-modal-intro {
    font-size: 0.86rem;
    margin-bottom: 16px;
  }

  .student-modal-list {
    gap: 8px;
    margin-bottom: 16px;
  }

  .student-modal-list li {
    font-size: 0.84rem;
    padding: 9px 12px;
    gap: 10px;
  }

  .student-modal-notice {
    font-size: 0.8rem;
    padding: 11px 13px;
    margin-bottom: 22px;
  }

  .student-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .student-modal-cancel {
    text-align: center;
  }
}

@keyframes modalInMobile {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
