.custom-page-shell {
  max-width: 1240px;
  margin: 126px auto 54px;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

.custom-page-shell::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 2%;
  width: min(520px, 72vw);
  height: min(520px, 72vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 255, 112, 0.19) 0%, rgba(68, 255, 112, 0) 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.custom-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(96, 255, 128, 0.2);
  background:
    radial-gradient(circle at 18% 12%, rgba(74, 255, 102, 0.28), rgba(74, 255, 102, 0) 28%),
    radial-gradient(circle at 86% 100%, rgba(38, 165, 255, 0.18), rgba(38, 165, 255, 0) 32%),
    linear-gradient(150deg, rgba(8, 33, 18, 0.9), rgba(8, 28, 19, 0.92) 50%, rgba(5, 18, 13, 0.96));
  box-shadow:
    0 0 0 1px rgba(130, 255, 164, 0.05) inset,
    0 24px 42px rgba(0, 0, 0, 0.35);
  text-align: center;
  padding: 60px 68px 52px;
}

.custom-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.custom-hero-glow-left {
  width: 330px;
  height: 330px;
  left: -90px;
  top: -150px;
  background: radial-gradient(circle, rgba(70, 255, 116, 0.28), rgba(70, 255, 116, 0) 70%);
}

.custom-hero-glow-right {
  width: 290px;
  height: 290px;
  right: -70px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(55, 180, 255, 0.2), rgba(55, 180, 255, 0) 72%);
}

.custom-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(121, 255, 153, 0.45);
  background: rgba(23, 78, 44, 0.52);
  color: #baf8cc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 15px;
  margin-bottom: 22px;
}

.custom-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.3vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  font-weight: 800;
  color: #f4fff7;
}

.custom-hero h1 span {
  color: #59f97b;
  text-shadow: 0 0 26px rgba(89, 249, 123, 0.28);
}

.custom-hero p {
  max-width: 810px;
  margin: 20px auto 0;
  color: #bad6c1;
  font-size: 16px;
  line-height: 1.58;
}

.custom-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 13px;
  padding: 12px 19px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.custom-action-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.custom-action-btn.primary {
  color: #10351e;
  border: 1px solid rgba(116, 255, 148, 0.44);
  background: linear-gradient(145deg, #92ffad, #2de058);
  box-shadow: 0 10px 20px rgba(25, 198, 77, 0.26);
}

.custom-action-btn.primary:hover {
  color: #0f321d;
  filter: brightness(1.06);
}

.custom-action-btn.secondary {
  color: #d9eaff;
  border: 1px solid rgba(124, 167, 232, 0.45);
  background: linear-gradient(145deg, rgba(31, 53, 83, 0.78), rgba(18, 33, 55, 0.92));
}

.custom-action-btn.secondary:hover {
  color: #eef6ff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.custom-preview {
  max-width: 680px;
  margin: 30px auto 0;
  border-radius: 17px;
  border: 1px solid rgba(103, 170, 245, 0.25);
  background: linear-gradient(165deg, rgba(14, 24, 40, 0.9), rgba(10, 17, 29, 0.96));
  padding: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.custom-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4fff80;
  box-shadow: 0 0 0 6px rgba(79, 255, 128, 0.16);
}

.custom-preview-head strong {
  color: #e7f3ff;
  font-size: 13px;
  font-weight: 700;
}

.custom-preview-head small {
  margin-left: auto;
  color: #93abc6;
  font-size: 12px;
}

.custom-preview-row {
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(103, 155, 221, 0.24);
  background: rgba(75, 118, 176, 0.16);
  color: #d6e9ff;
  font-size: 13px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.custom-preview-row .ok {
  color: #59ff89;
  font-weight: 700;
}

.custom-preview-line {
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid rgba(76, 105, 136, 0.3);
  background: rgba(17, 25, 37, 0.8);
  color: #bbd2ea;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
}

.custom-preview-line b {
  color: #6bff92;
}

.custom-benefits,
.custom-pricing {
  margin-top: 56px;
  padding: 0;
}

.custom-setup,
.custom-bottom-cta {
  margin-top: 56px;
  border-radius: 24px;
  border: 1px solid rgba(90, 146, 209, 0.27);
  background: linear-gradient(155deg, rgba(11, 18, 30, 0.92), rgba(7, 12, 21, 0.96));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  padding: 34px 30px;
}

.custom-section-title {
  color: #eff9ff;
  font-size: clamp(1.95rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.custom-section-title span {
  color: #53fa78;
}

.custom-section-subtitle {
  margin-top: 10px;
  color: #a9c2db;
  font-size: 15px;
}

.custom-benefits .custom-section-title,
.custom-pricing .custom-section-title,
.custom-benefits .custom-section-subtitle,
.custom-pricing .custom-section-subtitle {
  text-align: center;
}

.custom-benefit-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.custom-benefit-card {
  border-radius: 16px;
  border: 1px solid rgba(95, 146, 207, 0.25);
  background: linear-gradient(168deg, rgba(15, 24, 37, 0.93), rgba(10, 15, 25, 0.96));
  padding: 18px 16px;
  min-height: 170px;
}

.custom-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(97, 255, 134, 0.38);
  background: rgba(25, 87, 43, 0.46);
  color: #6cff95;
}

.custom-benefit-card h3 {
  margin: 12px 0 7px;
  color: #e8f7ff;
  font-size: 18px;
  font-weight: 700;
}

.custom-benefit-card p {
  margin: 0;
  color: #9ab3cb;
  font-size: 13px;
  line-height: 1.5;
}

.custom-setup {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.custom-setup-copy p {
  margin: 10px 0 0;
  color: #a9c2db;
}

.custom-setup-copy ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.custom-setup-copy li {
  border-radius: 10px;
  border: 1px solid rgba(90, 136, 192, 0.25);
  background: rgba(14, 22, 34, 0.76);
  color: #c1d4e9;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 10px;
}

.custom-setup-code {
  border-radius: 16px;
  border: 1px solid rgba(99, 152, 221, 0.3);
  background: linear-gradient(160deg, rgba(18, 27, 41, 0.95), rgba(10, 15, 25, 0.97));
  overflow: hidden;
}

.custom-setup-code .code-header {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(102, 151, 214, 0.24);
}

.custom-setup-code .code-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.custom-setup-code .code-header span:nth-child(1) {
  background: #ff6262;
}

.custom-setup-code .code-header span:nth-child(2) {
  background: #f8c34b;
}

.custom-setup-code .code-header span:nth-child(3) {
  background: #5af68a;
}

.custom-setup-code pre {
  margin: 0;
  padding: 16px;
  white-space: pre-wrap;
  color: #bdd2ea;
  font-size: 13px;
  line-height: 1.6;
}

.custom-setup-code code {
  font-family: Consolas, "Courier New", monospace;
}

.custom-plan-grid {
  max-width: 1040px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.custom-plan-card {
  border-radius: 18px;
  border: 1px solid rgba(87, 139, 201, 0.28);
  background: linear-gradient(162deg, rgba(16, 24, 36, 0.95), rgba(10, 15, 25, 0.97));
  padding: 18px 17px 16px;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  position: relative;
}

.custom-plan-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.custom-plan-card.featured {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(95, 255, 130, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.34);
}

.custom-plan-card .plan-badge {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 10px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.custom-plan-card h3 {
  margin: 12px 0 0;
  color: #f2fbff;
  font-size: 22px;
  font-weight: 800;
}

.custom-plan-card .plan-price {
  margin: 8px 0 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.custom-plan-card .plan-price span {
  color: #9bb4cd;
  font-size: 13px;
  font-weight: 600;
  margin-left: 5px;
}

.custom-plan-card ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.custom-plan-card li {
  color: #c0d4e8;
  font-size: 13px;
  line-height: 1.45;
}

.custom-plan-card li i {
  width: 16px;
  text-align: center;
  margin-right: 6px;
}

.custom-plan-btn {
  margin-top: auto;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 12px;
  font-weight: 800;
  border-radius: 11px;
  padding: 12px 12px;
  border: 1px solid transparent;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.custom-plan-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.plan-buffoon .plan-badge {
  color: #ff9cc8;
  border: 1px solid rgba(235, 54, 128, 0.42);
  background: rgba(235, 54, 128, 0.18);
}

.plan-buffoon::before {
  background: linear-gradient(90deg, #ff83be, #eb3680);
}

.plan-buffoon .custom-plan-btn {
  color: #2f0a1b;
  background: linear-gradient(145deg, #ff7fbd, #eb3680);
}

.plan-buffoon li i {
  color: #ff98c5;
}

.plan-king .plan-badge {
  color: #a8ffc0;
  border: 1px solid rgba(84, 255, 123, 0.42);
  background: rgba(84, 255, 123, 0.18);
}

.plan-king::before {
  background: linear-gradient(90deg, #93ffae, #2ddd52);
}

.plan-king .custom-plan-btn {
  color: #10331a;
  background: linear-gradient(145deg, #94ffb0, #2ddd52);
}

.plan-king li i {
  color: #9effba;
}

.plan-soldier .plan-badge {
  color: #a8ccff;
  border: 1px solid rgba(112, 171, 255, 0.42);
  background: rgba(45, 118, 255, 0.2);
}

.plan-soldier::before {
  background: linear-gradient(90deg, #82b7ff, #2b73f6);
}

.plan-soldier .custom-plan-btn {
  color: #051a3b;
  background: linear-gradient(145deg, #7eb2ff, #2b73f6);
}

.plan-soldier li i {
  color: #9fc4ff;
}

.custom-bottom-cta {
  text-align: center;
}

.custom-bottom-cta h2 {
  margin: 0;
  color: #eff9ff;
  font-weight: 800;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.custom-bottom-cta p {
  margin: 12px auto 0;
  max-width: 640px;
  color: #a8bfd7;
}

.custom-bottom-cta .custom-action-btn {
  margin-top: 18px;
}

@media (max-width: 1120px) {
  .custom-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-plan-grid .custom-plan-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 920px) {
  .custom-page-shell {
    margin-top: 106px;
    padding: 0 14px;
  }

  .custom-hero {
    padding: 40px 22px 34px;
  }

  .custom-setup,
  .custom-bottom-cta {
    padding: 28px 16px;
    border-radius: 18px;
  }

  .custom-setup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .custom-page-shell {
    margin-top: 94px;
  }

  .custom-hero {
    border-radius: 20px;
    padding: 34px 14px 28px;
  }

  .custom-hero p {
    font-size: 14px;
  }

  .custom-benefits,
  .custom-pricing {
    margin-top: 42px;
  }

  .custom-benefit-grid,
  .custom-plan-grid {
    grid-template-columns: 1fr;
  }

  .custom-plan-grid .custom-plan-card.featured {
    grid-column: auto;
    transform: none;
  }

  .custom-plan-card {
    min-height: 360px;
  }

  .custom-action-btn {
    width: 100%;
  }
}

