.ddos-hero {
  position: relative;
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 28px;
  padding: 74px clamp(18px, 4vw, 76px) 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(30, 182, 255, 0.22), transparent 30%),
    radial-gradient(circle at 45% 88%, rgba(255, 76, 95, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(2, 9, 20, 0.99), rgba(4, 19, 41, 0.88));
  border-bottom: 1px solid rgba(43, 157, 255, 0.22);
}

.ddos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(57, 139, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 139, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.ddos-hero-copy,
.ddos-hero-art {
  position: relative;
  z-index: 2;
}

.ddos-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.08;
  font-weight: 1000;
}

.ddos-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #d6e7ff;
  font-size: 19px;
  line-height: 1.85;
  font-weight: 700;
}

.ddos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.ddos-hero-art {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ddos-hero-art img {
  width: min(820px, 60vw);
  max-width: none;
  filter: drop-shadow(0 34px 70px rgba(0, 119, 255, 0.28));
}

.main-nav a:first-child::after {
  width: 0;
}

.main-nav a:first-child:hover::after,
.main-nav a.is-current::after {
  width: 30px;
}

.main-nav a.is-current {
  color: #fff;
  text-shadow: 0 0 18px rgba(39, 217, 255, 0.34);
}

.ddos-monitor {
  max-width: 1380px;
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 64px);
}

.ddos-monitor article,
.scenario-grid article,
.ddos-plan-card,
.advantage-grid article,
.process-grid article,
.payment-grid article,
.faq-grid details {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 157, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.78);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.ddos-monitor article {
  min-height: 112px;
  padding: 22px;
  background: rgba(5, 20, 42, 0.92);
}

.ddos-monitor b {
  display: block;
  color: #fff;
  font-size: 32px;
}

.ddos-monitor span {
  color: var(--muted);
}

.ddos-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 64px);
}

.section-copy {
  max-width: 980px;
  margin: -18px auto 28px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
}

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

.scenario-grid article {
  min-height: 365px;
  padding: 26px;
}

.scenario-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 20px 32px rgba(0, 119, 255, 0.24));
}

.scenario-grid h3,
.advantage-grid h3,
.process-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.scenario-grid p,
.advantage-grid p,
.process-grid p,
.seo-copy p,
.payment-grid p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.ddos-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.ddos-plan-card {
  min-height: 380px;
  padding: 26px;
}

.plan-type {
  display: inline-flex;
  padding: 7px 11px;
  color: #bceeff;
  background: rgba(39, 217, 255, 0.12);
  border: 1px solid rgba(39, 217, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ddos-plan-card h3 {
  max-width: 92%;
  margin: 18px auto 8px;
  font-size: 25px;
  line-height: 1.35;
}

.ddos-plan-card .desc {
  min-height: 24px;
  color: var(--muted);
  font-size: 15px;
}

.ddos-plan-card .price {
  margin: 12px 0 16px;
  font-size: 34px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0 20px;
}

.spec-list span {
  padding: 10px 8px;
  border: 1px solid rgba(43, 157, 255, 0.18);
  background: rgba(1, 9, 20, 0.32);
  color: #dbeaff;
  font-size: 14px;
  text-align: center;
}

.ddos-plan-card .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--blue);
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}

.ddos-plan-card .buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.advantage-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.advantage-grid article,
.process-grid article {
  min-height: 235px;
  padding: 26px 22px;
}

.advantage-grid span,
.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 26px;
  font-weight: 1000;
}

.seo-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(43, 157, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.74);
  text-align: center;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.payment-grid article {
  min-height: 190px;
  padding: 22px;
}

.payment-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 24px;
  font-weight: 1000;
}

.payment-grid h3,
.faq-grid summary {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 1000;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid details {
  padding: 22px;
}

.faq-grid summary {
  cursor: pointer;
  list-style-position: inside;
}

.ddos-wide-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 70px clamp(18px, 5vw, 90px);
  border-top: 1px solid rgba(43, 157, 255, 0.28);
  border-bottom: 1px solid rgba(43, 157, 255, 0.28);
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 76, 95, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(10, 42, 84, 0.96), rgba(2, 9, 20, 0.98));
}

.ddos-wide-cta p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 1000;
  text-transform: uppercase;
}

.ddos-wide-cta h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.22;
}

.ddos-monitor article::after,
.scenario-grid article::after,
.ddos-plan-card::after,
.advantage-grid article::after,
.process-grid article::after,
.payment-grid article::after,
.faq-grid details::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.ddos-monitor article:hover,
.scenario-grid article:hover,
.ddos-plan-card:hover,
.advantage-grid article:hover,
.process-grid article:hover,
.payment-grid article:hover,
.faq-grid details:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 217, 255, 0.62);
  background-color: rgba(8, 35, 70, 0.9);
  box-shadow: 0 22px 52px rgba(0, 116, 255, 0.18);
}

.ddos-monitor article:hover::after,
.scenario-grid article:hover::after,
.ddos-plan-card:hover::after,
.advantage-grid article:hover::after,
.process-grid article:hover::after,
.payment-grid article:hover::after,
.faq-grid details:hover::after {
  animation: shineSweep .85s ease forwards;
}

@media (max-width: 1180px) {
  .ddos-hero {
    grid-template-columns: 1fr;
  }

  .ddos-hero-art {
    min-height: 330px;
  }

  .ddos-hero-art img {
    width: min(900px, 108vw);
  }

  .ddos-monitor,
  .scenario-grid,
  .advantage-grid,
  .process-grid,
  .payment-grid,
  .seo-copy,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .ddos-hero {
    min-height: 0;
    padding-top: 52px;
  }

  .ddos-hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .ddos-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .ddos-actions .btn {
    width: 100%;
  }

  .ddos-monitor,
  .scenario-grid,
  .ddos-plan-grid,
  .advantage-grid,
  .process-grid,
  .payment-grid,
  .seo-copy,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .ddos-monitor {
    margin-top: 0;
  }

  .ddos-wide-cta {
    display: block;
    text-align: center;
  }

  .ddos-wide-cta .btn {
    width: 100%;
    margin-top: 22px;
  }
}
