.ai-firewall-page {
  --af-bg: #f4f8ff;
  --af-surface: #ffffff;
  --af-surface-soft: #f8fbff;
  --af-primary: #255cf4;
  --af-accent: #0ea89a;
  --af-text: #18243f;
  --af-muted: #5a6b8c;
  --af-border: #dbe6fb;
  --af-shadow: 0 18px 40px rgba(35, 76, 166, 0.08);
  background:
    radial-gradient(900px 420px at 90% -12%, rgba(37, 92, 244, 0.14), transparent 60%),
    radial-gradient(720px 380px at -8% 6%, rgba(14, 168, 154, 0.1), transparent 58%),
    linear-gradient(180deg, #f7faff 0%, #eff5ff 100%);
  color: var(--af-text);
  padding-bottom: 72px;
}

.ai-firewall-page .container {
  position: relative;
  z-index: 1;
}

.ai-firewall-hero {
  padding: 70px 0 42px;
}

.ai-firewall-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bcd5ff;
  color: #1140b8;
  font-size: 13px;
  border-radius: 100px;
  padding: 8px 14px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.ai-firewall-hero h1 {
  color: #16254a;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.16;
  margin-bottom: 14px;
}

.ai-firewall-hero p {
  color: var(--af-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 780px;
}

.ai-firewall-hero-panel {
  max-width: 780px;
  border: 1px solid #cae1ff;
  border-radius: 18px;
  padding: 18px 20px;
  background:
    radial-gradient(460px 180px at 100% 0, rgba(37, 92, 244, 0.18), transparent 68%),
    linear-gradient(145deg, #ffffff, #f2f7ff);
  box-shadow: var(--af-shadow);
  margin-bottom: 26px;
}

.ai-firewall-hero-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bad1ff;
  color: #244697;
  background: #edf3ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
}

.ai-firewall-hero-panel h2 {
  color: #11234c;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.ai-firewall-hero-panel .ai-firewall-checklist {
  gap: 8px;
}

.ai-firewall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.ai-firewall-stat {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid var(--af-border);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(25, 66, 150, 0.08);
}

.ai-firewall-stat:hover {
  transform: translateY(-3px);
  border-color: #95bfff;
  box-shadow: 0 16px 28px rgba(25, 66, 150, 0.14);
}

.ai-firewall-stat strong {
  display: block;
  color: #122a59;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.ai-firewall-stat span {
  color: var(--af-muted);
  font-size: 13px;
}

.ai-firewall-section {
  margin-top: 34px;
}

.ai-firewall-card {
  height: 100%;
  background: linear-gradient(180deg, var(--af-surface), var(--af-surface-soft));
  border: 1px solid var(--af-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--af-shadow);
}

.ai-firewall-card h2,
.ai-firewall-card h3 {
  color: #142b5c;
  font-size: 24px;
  margin-bottom: 12px;
}

.ai-firewall-card p,
.ai-firewall-card li {
  color: var(--af-muted);
  line-height: 1.7;
}

.ai-firewall-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ai-firewall-section-head h2 {
  margin-bottom: 0;
}

.ai-firewall-section-head p {
  margin: 0;
  max-width: 620px;
}

.ai-firewall-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ai-firewall-checklist li {
  position: relative;
  padding-left: 26px;
}

.ai-firewall-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3f7cff, #13b3a4);
}

.ai-firewall-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ai-firewall-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.ai-firewall-step-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  border: 1px solid #b7cdff;
  color: #1f459f;
  font-weight: 700;
}

.ai-firewall-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-firewall-tech-item {
  border: 1px solid var(--af-border);
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 69, 159, 0.07);
}

.ai-firewall-tech-item h3 {
  font-size: 18px;
}

.ai-firewall-tech-item p {
  margin-bottom: 0;
}

.ai-firewall-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-firewall-layer-item {
  border: 1px solid var(--af-border);
  border-radius: 14px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 69, 159, 0.08);
}

.ai-firewall-layer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid #a8e5dd;
  background: #e9faf7;
  color: #11786e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.ai-firewall-layer-item h3 {
  font-size: 20px;
}

.ai-firewall-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-firewall-package {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--af-border);
  border-radius: 14px;
  padding: 20px;
  background: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 26px rgba(31, 69, 159, 0.08);
}

.ai-firewall-package:hover {
  transform: translateY(-4px);
  border-color: #8cb5ff;
  box-shadow: 0 18px 30px rgba(31, 69, 159, 0.14);
}

.ai-firewall-package.highlighted {
  border-color: #7faaff;
  background:
    radial-gradient(280px 160px at 90% -20%, rgba(37, 92, 244, 0.2), transparent 70%),
    #ffffff;
  box-shadow: 0 20px 36px rgba(31, 69, 159, 0.17);
}

.ai-firewall-package-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid #c5d7fb;
  background: #eff5ff;
  color: #2a4fa3;
  font-size: 12px;
  font-weight: 700;
}

.ai-firewall-package h3 {
  font-size: 21px;
  margin-bottom: 0;
}

.ai-firewall-package-price {
  font-size: 20px;
  font-weight: 700;
  color: #102759 !important;
  margin-bottom: 0;
}

.ai-firewall-package .ai-firewall-checklist {
  gap: 8px;
}

.ai-firewall-package .ai-firewall-btn {
  margin-top: auto;
}

.ai-firewall-layer-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-firewall-layer-package {
  border: 1px solid var(--af-border);
  border-radius: 14px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 55, 130, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-firewall-layer-package.layer4 {
  border-top: 4px solid #2d7ef7;
}

.ai-firewall-layer-package.layer7 {
  border-top: 4px solid #10a393;
}

.ai-firewall-layer-package.hybrid {
  border-top: 4px solid #6b56ff;
  background:
    radial-gradient(240px 120px at 95% 5%, rgba(107, 86, 255, 0.12), transparent 72%),
    #ffffff;
}

.ai-firewall-layer-package h3 {
  font-size: 21px;
  margin-bottom: 2px;
}

.ai-firewall-layer-package .ai-firewall-package-price {
  font-size: 18px;
}

.ai-firewall-layer-package .ai-firewall-btn {
  margin-top: auto;
}

.ai-firewall-faq {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.ai-firewall-faq-item {
  border: 1px solid var(--af-border);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.ai-firewall-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #122a5c;
  text-align: left;
  font-weight: 600;
  padding: 16px 18px;
  cursor: pointer;
}

.ai-firewall-faq-answer {
  border-top: 1px solid var(--af-border);
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.ai-firewall-faq-item.active .ai-firewall-faq-answer {
  max-height: 220px;
  padding: 14px 18px 18px;
}

.ai-firewall-cta {
  margin-top: 30px;
  border-radius: 18px;
  border: 1px solid var(--af-border);
  background: linear-gradient(120deg, rgba(37, 92, 244, 0.12), rgba(14, 168, 154, 0.14));
  padding: 26px;
}

.ai-firewall-cta h2 {
  margin-bottom: 10px;
}

.ai-firewall-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-firewall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 20px;
  border: 1px solid transparent;
}

.ai-firewall-btn.primary {
  background: linear-gradient(130deg, var(--af-primary), #6d8dff);
  color: #fff;
}

.ai-firewall-btn.secondary {
  border-color: #bdd3ff;
  color: #234997;
  background: #f2f7ff;
}

.ai-firewall-btn:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
  .ai-firewall-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-firewall-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-firewall-layer-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ai-firewall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-firewall-section-head {
    flex-direction: column;
    gap: 8px;
  }

  .ai-firewall-layer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ai-firewall-page {
    padding-bottom: 50px;
  }

  .ai-firewall-hero {
    padding-top: 46px;
  }

  .ai-firewall-hero p {
    font-size: 16px;
  }

  .ai-firewall-tech-grid,
  .ai-firewall-layer-packages,
  .ai-firewall-packages,
  .ai-firewall-grid {
    grid-template-columns: 1fr;
  }

  .ai-firewall-card {
    padding: 20px;
  }
}
