  :root {
    --navy: #0a1a3a;
    --navy-light: #16285a;
    --blue: #2f5fef;
    --blue-light: #eef3ff;
    --gray-bg: #f6f8fb;
    --text-dark: #14213d;
    --text-gray: #6b7280;
    --border: #e5e9f2;
    --red: #ef4444;
    --green: #22c55e;
    --orange: #f59e0b;
    --purple: #a855f7;
    --radius: 14px;
    --waf-dark: #020617;
    --waf-blue: #00d2ff;
    --waf-accent: #2563eb;
  }

  /* ==============================
    WAF HEADER
    ============================== */
  .header--waf {
    background: rgba(2, 6, 23, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 210, 255, 0.1) !important;
  }

  .header--waf.scrolled {
    background: rgba(2, 6, 23, 0.97) !important;
    border-bottom-color: rgba(0, 210, 255, 0.15) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
  }

  .header--waf .nav a {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .header--waf .nav a:hover {
    color: #fff !important;
  }

  .header--waf .nav a::after {
    background: var(--waf-blue) !important;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
  }

  .header--waf .nav a.nav-link--active {
    color: var(--waf-blue) !important;
  }

  .header--waf .nav a.nav-link--active::after {
    width: 100%;
  }

  .header--waf .social-icon {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .header--waf .social-icon:hover {
    background: rgba(0, 210, 255, 0.12) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    color: var(--waf-blue) !important;
  }

  .header--waf .burger {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .header--waf .burger span {
    background: rgba(255, 255, 255, 0.8) !important;
  }

  .header--waf .burger:hover {
    border-color: rgba(0, 210, 255, 0.3) !important;
  }

  .header--waf .burger.active span {
    background: var(--waf-blue) !important;
  }

  /* Phone icon in header */
  .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header-phone:hover {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.3);
    color: var(--waf-blue);
    transform: translateY(-2px);
  }

  /* SVG icon replacements */
  .emoji-svg, .icon-svg {
    display: inline-block;
    flex-shrink: 0;
  }
  .emoji-svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
  }
  .icon-svg {
    width: 100%;
    height: 100%;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.5;
    /* clip, not hidden — hidden turns body into a scroll container and breaks
       position:sticky on the header */
    overflow-x: clip;
  }

  .container{
      max-width:1400px;
      width:100%;
      margin:0 auto;
      padding:0 40px;
  }

  /* ==============================
    ANIMATIONS
    ============================== */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
  }
  @keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%      { transform: translateY(-6px) rotate(0.5deg); }
    66%      { transform: translateY(3px) rotate(-0.3deg); }
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.9; }
  }
  @keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50%      { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  }
  @keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  @keyframes drawLine {
    from { stroke-dashoffset: 300; }
    to   { stroke-dashoffset: 0; }
  }
  @keyframes donutSpin {
    from { transform: rotate(-90deg) scale(1); }
    to   { transform: rotate(270deg) scale(1); }
  }
  @keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes gradientBg {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  @keyframes bounceIn {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
  }
  @keyframes typewriter {
    from { width: 0; }
    to   { width: 100%; }
  }
  @keyframes blink {
    50% { border-color: transparent; }
  }
  @keyframes rotateY {
    0%   { transform: perspective(600px) rotateY(0deg); }
    100% { transform: perspective(600px) rotateY(360deg); }
  }
  @keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to   { opacity: 1; max-height: 300px; }
  }
  @keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50%      { opacity: 0.4; transform: scale(0.7) rotate(180deg); }
  }

  /* revealed by Intersection Observer */
  .animate-fade-up,
  .animate-fade-left,
  .animate-fade-right,
  .animate-fade-scale,
  .animate-stagger > * {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .animate-fade-up    { transform: translateY(50px); }
  .animate-fade-left  { transform: translateX(-60px); }
  .animate-fade-right { transform: translateX(60px); }
  .animate-fade-scale { transform: scale(0.85); }

  .animate-fade-up.visible,
  .animate-fade-left.visible,
  .animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  .animate-fade-scale.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Stagger children */
  .animate-stagger > * {
    transition-delay: calc(0.08s * var(--i, 1));
  }
  .animate-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* ---------- BUTTONS ---------- */
  .btn {
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47,95,239,.25);
  }
  .btn:active {
    transform: translateY(0);
  }
  .btn--primary {
    background: var(--blue);
    color: #fff;
  }
  .btn--primary:hover { background: #2350d4; }
  .btn--secondary {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid var(--border);
  }
  .btn--secondary:hover {
    background: var(--gray-bg);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
  }
  .btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
  }
  .btn--outline:hover {
    background: rgba(255,255,255,.12);
    box-shadow: 0 6px 20px rgba(255,255,255,.1);
  }
  .btn--small { padding: 10px 18px; font-size: 13px; }

  /* ---------- HEADER ---------- */
  .header {
    border-bottom: 1px solid var(--border);
    padding: 0px 0;
    animation: fadeInUp .6s ease;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    white-space: nowrap;
  }
  .logo__icon {
    display: inline-flex;
    width: 26px; height: 26px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
  }
  @media (min-width: 993px) {
    .nav {
      display: flex;
      gap: 28px;
      flex: 1;
      justify-content: center;
    }
  }
  .nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color .3s;
  }
  .nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width .3s ease;
    border-radius: 2px;
  }
  .nav a:hover::after { width: 100%; }
  .nav a:hover { color: var(--text-dark); }
  .nav__active {
    color: var(--blue) !important;
    font-weight: 700;
  }
  .nav__active::after {
    width: 100% !important;
  }

  /* ---------- HERO DARK THEME ---------- */
  .hero {
    padding: 192px 0 64px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0A1628 0%, #0F2447 40%, #1A2D5A 100%);
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,.15) 0%, rgba(59,130,246,.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .page-hero .hero-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .hero-content {
    opacity: 1;
    transform: none;
  }
  .page-hero .hero-content {
    max-width: none;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;
    color: #A78BFA;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.8rem);
    line-height: 1.15;
    font-weight: 800;
    color: rgba(255,255,255,.95);
    margin-bottom: 22px;
    overflow: visible;
    white-space: normal;
    border-right: none;
    animation: none;
    width: auto;
    letter-spacing: -0.02em;
  }
  .hero .hero__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
  }
  .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #5dbbf6, #3395dc) !important;
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4) !important;
  }
  .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5) !important;
  }
  .hero-buttons .btn-secondary {
    background: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.8) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
  }
  .hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.3) !important;
  }
  .hero__badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero__badges .badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.75);
    opacity: 1;
    transform: none;
  }
  .badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(139,92,246,.15);
    color: #A78BFA;
    font-size: 12px;
    flex-shrink: 0;
  }

  /* HERO — small phone fix: the two-column grid never collapsed below 480px */
  @media (max-width: 480px) {
    .hero {
      padding: 120px 0 48px;
    }
    .hero-container {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }


/* ============================================
   WAF PROBLEMS SECTION — Unique Style
   ============================================ */
.waf-problems-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  position: relative;
  overflow: hidden;
}

.waf-problems-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.waf-problems-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.waf-problems-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.waf-problems-header .section-badge {
  margin-bottom: 16px;
}

.waf-problems-header .section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.waf-problems-subtitle {
  font-size: 18px;
  color: #64748B;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats Grid */
.waf-problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

/* Individual Stat Card */
.waf-problem-stat {
  position: relative;
  padding: 28px 24px;
  background: #FFFFFF;
  border: 1px solid #E5E9F2;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  overflow: hidden;
}

.waf-problem-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #00b4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.waf-problem-stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

.waf-problem-stat:hover::before {
  transform: scaleX(1);
}

.waf-problem-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 180, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.waf-problem-stat-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.waf-problem-stat:hover .waf-problem-stat-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(0, 180, 255, 0.12));
  transform: scale(1.08);
}

.waf-problem-stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2563EB, #00b4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waf-problem-stat-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  font-weight: 500;
}

.waf-problem-stat-source {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 8px;
  margin-top: auto;
}

/* Warning Banner */
.waf-problems-warning {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.waf-problems-warning-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  flex-shrink: 0;
}

.waf-problems-warning-icon svg {
  width: 24px;
  height: 24px;
}

.waf-problems-warning-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.waf-problems-warning-content strong {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.waf-problems-warning-content span {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
}

.waf-problems-warning-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #2563EB;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.waf-problems-warning-link:hover {
  background: #1d4ed8;
  transform: translateX(4px);
}

.waf-problems-warning-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.waf-problems-warning-link:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
  .waf-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .waf-problems-section {
    padding: 72px 0;
  }

  .waf-problems-header {
    margin-bottom: 40px;
  }

  .waf-problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .waf-problem-stat {
    padding: 24px 20px;
  }

  .waf-problem-stat-number {
    font-size: 36px;
  }

  .waf-problems-warning {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 24px;
  }

  .waf-problems-warning-link {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .waf-problems-section {
    padding: 56px 0;
  }

  .waf-problems-header .section-title {
    font-size: 28px;
  }

  .waf-problems-subtitle {
    font-size: 16px;
  }

  .waf-problem-stat {
    padding: 20px 16px;
  }

  .waf-problem-stat-number {
    font-size: 32px;
  }

  .waf-problem-stat-text {
    font-size: 13px;
  }

  .waf-problems-warning {
    padding: 16px 20px;
  }

  .waf-problems-warning-icon {
    width: 40px;
    height: 40px;
  }

  .waf-problems-warning-content strong {
    font-size: 14px;
  }

  .waf-problems-warning-content span {
    font-size: 13px;
  }
}

  /* ---------- SECTIONS ---------- */
  .section {
    padding: 64px 0;
  }
  .section--gray {
    background: var(--gray-bg);
  }
  .section__title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-dark);
  }
  .section__title--center {
    text-align: center;
    margin-bottom: 38px;
  }
  .section__lead {
    color: var(--text-gray);
    font-size: 15px;
    max-width: 620px;
    margin-bottom: 36px;
  }
  /* DANGER PREVENTION — REDESIGNED INFOGRAPHIC============================================================  */
  .danger-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
  }

  .danger-section .section-header {
    text-align: center;
    margin-bottom: 60px;
  }

  /* Section badge */
  .section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563EB;
    background: rgba(37,99,235,.08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
  }

  /* Section title */
  .section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 12px;
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #64748B;
    max-width: 560px;
    margin: 0 auto;
  }

  /* ---------- GRID LAYOUT ---------- */
  .danger-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 32px 60px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    align-items: center;
    justify-items: center;
  }

  /* ---------- SVG Connect Lines (animated) ---------- */
  .danger-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  /* Track/subtle line underneath */
  .danger-line {
    fill: none;
    stroke: rgba(37, 99, 235, 0.12);
    stroke-width: 6;
    stroke-linecap: round;
    opacity: 1;
  }

  /* Glowing gradient line (thick, animated gradient) */
  .danger-line-glow {
    fill: none;
    stroke: url(#dangerLineGrad);
    stroke-width: 6;
    stroke-linecap: round;
    filter: url(#dangerLineGlow);
    stroke-dasharray: 1200;
    stroke-dashoffset: 1000;
    animation: dangerLineDraw 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .danger-line-glow:nth-child(5) { animation-delay: 0s; }
  .danger-line-glow:nth-child(6) { animation-delay: 0.15s; }
  .danger-line-glow:nth-child(7) { animation-delay: 0.3s; }
  .danger-line-glow:nth-child(8) { animation-delay: 0.45s; }

  /* Flowing dashes on top */
  .danger-line-flow {
    fill: none;
    stroke: #EFF6FF;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 2 28;
    filter: url(#dangerLineGlow);
    animation: dangerDashFlow 1.4s linear infinite;
  }

  .danger-line-flow:nth-child(9) { animation-delay: 0s; }
  .danger-line-flow:nth-child(10) { animation-delay: 0.15s; }
  .danger-line-flow:nth-child(11) { animation-delay: 0.3s; }
  .danger-line-flow:nth-child(12) { animation-delay: 0.45s; }

  @keyframes dangerLineDraw {
    from { stroke-dashoffset: 1200; }
    to { stroke-dashoffset: 0; }
  }

  @keyframes dangerDashFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -60; }
  }

  /* ---------- Central Shield ---------- */
  .danger-shield-cell {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
  }

  .danger-shield-img {
    width: 500px;
    height: auto;
    animation: floatShield 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(37, 99, 235, 0.15));
    position: relative;
    z-index: 2;
  }

  @keyframes floatShield {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* Shield glow */
  .shield-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: shieldPulse 3s ease-in-out infinite;
    z-index: 1;
  }

  @keyframes shieldPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
  }

  /* ---------- Threat Items (No cards, no backgrounds) ---------- */
  .danger-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 3;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .danger-item.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .danger-item--tl { /* top-left */
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    text-align: right;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .danger-item--tr { /* top-right */
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    align-self: end;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .danger-item--bl { /* bottom-left */
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: start;
    text-align: right;
    align-items: flex-end;
    margin-top: 20px;
  }

  .danger-item--br { /* bottom-right */
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    text-align: left;
    align-items: flex-start;
    margin-top: 20px;
  }

  /* Icon circle */
  .danger-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
  }

  .danger-item--tl .danger-item__icon,
  .danger-item--bl .danger-item__icon {
    margin-left: auto;
  }

  .danger-item:hover .danger-item__icon {
    border-color: rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
  }

  .danger-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: #2563EB;
  }

  /* Title */
  .danger-item__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #0F172A;
    transition: color 0.3s ease;
  }

  .danger-item:hover .danger-item__title {
    color: #2563EB;
  }

  /* Description */
  .danger-item__desc {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
    max-width: 280px;
  }

  .danger-item--tl .danger-item__desc,
  .danger-item--bl .danger-item__desc {
    margin-left: auto;
  }

  /* Stagger delays */
  .danger-item--tl.visible { transition-delay: 0.1s; }
  .danger-item--tr.visible { transition-delay: 0.2s; }
  .danger-item--bl.visible { transition-delay: 0.3s; }
  .danger-item--br.visible { transition-delay: 0.4s; }


  /* ============================================
    HEXAGON ADVANTAGES DIAGRAM - DARK THEME (matching Hero)
    with center expansion animation on hover
    ============================================ */
  .waf-hexagon-advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #071321, #0f2238, #10304d);
    position: relative;
    overflow: hidden;
  }

  /* Two-column layout */
  .hexagon-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 40px;
  }

  .hexagon-layout .diagram-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hexagon-layout .text-side {
    flex: 1;
    max-width: 520px;
    text-align: left;
  }

  .hexagon-layout .text-side .badge {
    display: inline-block;
    margin-bottom: 16px;
  }

  .hexagon-layout .text-side h2 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 24px 0;
    text-align: left;
    letter-spacing: -0.5px;
  }

  .hexagon-layout .text-side h2 span {
    color: #00b4ff;
    display: block;
  }

  .hexagon-layout .text-side .subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
  }

  .waf-hexagon-advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,167,255,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
  }

  .waf-hexagon-advantages::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40,255,216,.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
  }

  .waf-hexagon-advantages .badge {
    display: inline-block;
    border: 1px solid rgba(0, 180, 255, 0.4);
    color: #00b4ff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(0, 180, 255, 0.05);
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 28px;
  }

  .waf-hexagon-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    color: #ffffff;
  }

  .waf-hexagon-advantages h2 span {
    color: #00b4ff;
    text-shadow: 0 0 15px rgba(0, 180, 255, 0.25);
  }

  .waf-hexagon-advantages .subtitle {
    text-align: center;
    color: #7085a3;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
  }

  .diagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .network-lines line {
    stroke: #00b4ff;
    stroke-width: 1.5;
    opacity: 0.25;
    stroke-dasharray: 4 2;
    transition: all 0.5s ease;
  }

  .diagram-wrapper.active-node line {
    opacity: 0.1;
  }

  .diagram-wrapper.active-node line.perimeter {
    opacity: 0.15;
  }

  .diagram-wrapper.hover-top .line-top,
  .diagram-wrapper.hover-tr .line-tr,
  .diagram-wrapper.hover-br .line-br,
  .diagram-wrapper.hover-bottom .line-bottom,
  .diagram-wrapper.hover-bl .line-bl,
  .diagram-wrapper.hover-tl .line-tl {
    opacity: 0.9;
    stroke-width: 2px;
    stroke-dasharray: none;
  }

  .diagram-wrapper.hover-top .p-tl-top, .diagram-wrapper.hover-top .p-top-tr,
  .diagram-wrapper.hover-tr .p-top-tr, .diagram-wrapper.hover-tr .p-tr-br,
  .diagram-wrapper.hover-br .p-tr-br, .diagram-wrapper.hover-br .p-br-bottom,
  .diagram-wrapper.hover-bottom .p-br-bottom, .diagram-wrapper.hover-bottom .p-bottom-bl,
  .diagram-wrapper.hover-bl .p-bottom-bl, .diagram-wrapper.hover-bl .p-bl-tl,
  .diagram-wrapper.hover-tl .p-bl-tl, .diagram-wrapper.hover-tl .p-tl-top {
    opacity: 0.6;
    stroke-width: 1.5px;
    stroke-dasharray: none;
  }

  /* Floating Animations */
  @keyframes floatEven {
    0% { transform: translate(-50%, -52%); }
    50% { transform: translate(-50%, -48%); }
    100% { transform: translate(-50%, -52%); }
  }

  @keyframes floatOdd {
    0% { transform: translate(-49%, -50%); }
    50% { transform: translate(-51%, -50%); }
    100% { transform: translate(-49%, -50%); }
  }

  .hex-node {
    position: absolute;
    width: 170px;
    height: 196px;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: width 0.3s, height 0.3s, transform 0.2s ease;
    cursor: pointer;
  }

  .n-top, .n-br, .n-bl { animation: floatEven 5s ease-in-out infinite; }
  .n-tr, .n-bottom, .n-tl { animation: floatOdd 6s ease-in-out infinite; }

  .hex-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 18, 41, 0.7);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .hex-shape::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: #06152d;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    transition: background 0.3s ease;
  }

  .hex-node::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: rgba(0, 180, 255, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    transition: all 0.3s ease;
  }

  .hex-node:not(.center-node):hover {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(1.1) !important;
    z-index: 10;
  }

  .hex-node:not(.center-node):hover::before {
    background: #00b4ff;
    filter: drop-shadow(0 0 15px #00b4ff);
  }

  .hex-node:not(.center-node):hover .hex-shape::before {
    background: #0a2246;
  }

  .hex-content {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
    z-index: 2;
    text-align: center;
    pointer-events: none;
  }

  .hex-content i {
    color: #00b4ff;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
  }

  .hex-node:hover i {
    color: #ffffff;
    transform: scale(1.15);
  }

  .hex-content div {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #fff;
  }

  /* Description text: hidden on desktop, where the center hub shows it on hover instead */
  .hex-desc {
    display: none;
  }

  /* Center Node */
  .hex-node.center-node {
    width: 240px;
    height: 277px;
    z-index: 2;
    pointer-events: none;
    animation: none !important;
    transform: translate(-50%, -50%) !important;
  }

  .hex-node.center-node::before {
    background: #00b4ff;
    filter: drop-shadow(0 0 25px rgba(0, 180, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .hex-node.n-center .hex-shape {
    background: rgba(6, 18, 41, 0.7);
    border: none;
    box-shadow: none;
  }

  .center-display {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .panel-brand, .panel-desc {
    position: absolute;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    transition: all 0.4s ease;
  }

  .panel-brand {
    opacity: 1;
    transform: scale(1);
  }

  .brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: #fff;
    text-align: center;
  }

  .brand-sub {
    color: #00b4ff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
  }

  .panel-desc {
    opacity: 0;
    transform: scale(0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
  }

  .panel-desc h4 {
    color: #00b4ff;
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-align: center;
    width: 100%;
  }

  .panel-desc p {
    margin: 0;
    font-size: 0.72rem;
    color: #d1dcfa;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
    max-width: 260px;
  }

  /* Active node - center hexagon expands */
  .diagram-wrapper.active-node .center-node {
    width: 320px;
    height: 369px;
  }

  .diagram-wrapper.active-node .center-node::before {
    filter: drop-shadow(0 0 35px rgba(0, 180, 255, 0.6));
  }

  .diagram-wrapper.active-node .panel-brand {
    opacity: 0;
    transform: scale(0.7);
  }

  .diagram-wrapper.active-node .panel-desc {
    opacity: 1;
    transform: scale(1);
  }

  .diagram-wrapper.active-node .panel-desc h4 {
    font-size: 1.05rem;
  }

  .diagram-wrapper.active-node .panel-desc p {
    font-size: 0.78rem;
  }

  /* Node Positions */
  .n-center { top: 50%; left: 50%; }
  .n-top    { top: 14%; left: 50%; }
  .n-tr     { top: 32%; left: 84%; }
  .n-br     { top: 68%; left: 84%; }
  .n-bottom { top: 86%; left: 50%; }
  .n-bl     { top: 68%; left: 16%; }
  .n-tl     { top: 32%; left: 16%; }

  /* HEXAGON ADVANTAGES — the two-column flex layout (text-side + diagram-side)
     keeps the hex-node satellites at a fixed 170x196px / center at 240x277px
     while the diagram-wrapper itself shrinks fluidly with the viewport. Once
     the wrapper drops below ~950px the fixed-size hexagons start overlapping
     and clipping their own text (verified live ~769-900px). Widened this
     breakpoint from 768px to 960px so the safe stacked single-column layout
     kicks in before that overlap happens, instead of exactly at 768px. */
  @media (max-width: 960px) {
    .waf-hexagon-advantages {
      padding: 60px 0;
    }
    .hexagon-layout {
      flex-direction: column;
      gap: 40px;
    }
    .hexagon-layout .text-side {
      max-width: 100%;
      text-align: center;
    }
    .hexagon-layout .text-side h2 {
      font-size: 28px;
      text-align: center;
    }
    .hexagon-layout .text-side h2 span {
      display: inline;
    }
    .hexagon-layout .text-side .subtitle {
      text-align: center;
      font-size: 16px;
    }
    .diagram-wrapper {
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }
    .network-lines,
    .hex-node.center-node {
      display: none;
    }
    .hex-node {
      position: relative;
      top: auto !important;
      left: auto !important;
      transform: none !important;
      width: 280px;
      height: auto;
      min-height: 130px;
      animation: none !important;
      margin-bottom: 4px;
    }
    .hex-node::before {
      display: none;
    }
    .hex-shape {
      position: relative;
      clip-path: none !important;
      border-radius: 12px;
      background: rgba(6, 18, 41, 0.7);
      border: 1px solid rgba(0, 180, 255, 0.4);
      padding: 18px;
    }
    .hex-shape::before {
      display: none;
    }
    .hex-node:not(.center-node):hover {
      transform: scale(1.03) !important;
    }
    .hex-content {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 12px;
      text-align: left;
    }
    .hex-content i {
      margin-bottom: 0;
      margin-top: 2px;
      flex-shrink: 0;
    }
    .hex-text {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .hex-content div {
      font-size: 0.9rem;
    }
    .hex-desc {
      display: block;
      margin-top: 6px;
      font-size: 0.78rem;
      line-height: 1.45;
      font-weight: 400;
      color: #d1dcfa;
    }
  }

  /* HEXAGON ADVANTAGES — small phone fix: the 960px block sets hex-node
     to a fixed 280px, which exceeds the content width on 320-360px phones */
  @media (max-width: 400px) {
    .hex-node {
      width: 100%;
      max-width: 280px;
    }
    .hexagon-layout .text-side h2 {
      font-size: 24px;
    }
  }

  /* ---------- THREATS DARK THEME (matching Hero) ---------- */
  .threats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #071321, #0f2238, #10304d);
    position: relative;
    overflow: hidden;
  }

  .threats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,167,255,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
  }

  .threats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40,255,216,.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
  }

  .threats-section .section-badge {
    color: #1EA7FF;
    background: rgba(30,167,255,.08);
    border: 1px solid rgba(30,167,255,.3);
  }

  .threats-section .section-title {
    color: rgba(255,255,255,.92);
  }

  .threats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* Entrance animation for stagger */
  @keyframes threatCardIn {
    0%   { opacity: 0; transform: translateY(60px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes iconSbounce {
    0%   { transform: scale(1) rotate(0); }
    40%  { transform: scale(1.12) rotate(5deg); }
    70%  { transform: scale(0.96) rotate(-2deg); }
    100% { transform: scale(1.05) rotate(2deg); }
  }

  .threats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .threat-card-lg {
    background: rgba(6, 18, 41, 0.7);
    border: 1px solid rgba(0, 180, 255, 0.2);
    min-width: 400px;
    border-radius: 24px;
    padding: 32px;
    min-height: 180px;
    max-height: 380px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  .threat-card-lg.visible {
    animation: threatCardIn .6s cubic-bezier(.16,1,.3,1) forwards;
  }
  .threat-card-lg:nth-child(1).visible { animation-delay: 0s; }
  .threat-card-lg:nth-child(2).visible { animation-delay: .08s; }
  .threat-card-lg:nth-child(3).visible { animation-delay: .16s; }
  .threat-card-lg:nth-child(4).visible { animation-delay: .24s; }
  .threat-card-lg:nth-child(5).visible { animation-delay: .32s; }
  .threat-card-lg:nth-child(6).visible { animation-delay: .4s; }

  /* Subtle top border accent on hover */
  .threat-card-lg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00b4ff, transparent);
    border-radius: 0 0 3px 3px;
    transition: width .4s ease;
  }
  .threat-card-lg:hover::after {
    width: 100%;
  }

  .threat-card-lg:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 180, 255, 0.15);
    border-color: rgba(0, 180, 255, 0.4);
  }
  .threat-card-lg__icon-bg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .35s ease, box-shadow .35s ease;
  }
  .threat-card-lg:hover .threat-card-lg__icon-bg {
    background: rgba(0, 180, 255, 0.2);
    box-shadow: 0 0 0 8px rgba(0, 180, 255, 0.08);
  }
  .threat-card-lg__icon {
    width: 64px;
    height: 64px;
    color: #00b4ff;
    stroke: #00b4ff;
    transition: transform .35s ease;
  }
  .threat-card-lg:hover .threat-card-lg__icon {
    animation: iconSbounce .45s ease forwards;
  }
  .threat-card-lg__title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .threat-card-lg__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #a0b4cc;
    flex: 1;
  }

  /* THREATS — this grid never had a responsive rule; a 3-col grid with
     min-width:400px per card overflows any viewport under ~1300px */
  @media (max-width: 1024px) {
    .threats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .threat-card-lg {
      min-width: 0;
    }
  }
  @media (max-width: 768px) {
    .threats-section {
      padding: 56px 0;
    }
    .threats-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .threat-card-lg {
      padding: 24px;
    }
    .threat-card-lg__title {
      font-size: 22px;
    }
  }
  @media (max-width: 400px) {
    .threat-card-lg {
      padding: 20px;
    }
    .threat-card-lg__icon-bg {
      width: 44px;
      height: 44px;
    }
    .threat-card-lg__icon {
      width: 52px;
      height: 52px;
    }
    .threat-card-lg__title {
      font-size: 19px;
    }
    .threat-card-lg__desc {
      font-size: 13.5px;
    }
  }

  /* ---------- COMPARISON SECTION — iBatyr WAF vs Traditional ---------- */
  .waf-compare-section {
    width: 100%;
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
  }
  .waf-compare-section * {
    box-sizing: border-box;
  }
  .waf-compare__badge {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563EB;
    background: rgba(37,99,235,.08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  .waf-compare__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 12px;
  }
  .waf-compare__title-highlight {
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .waf-compare__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #64748B;
    margin-bottom: 48px;
  }
  .waf-compare__table {
    border: 1px solid #e5eaf3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    margin-bottom: 36px;
  }
  .waf-compare__row {
    display: grid;
    grid-template-columns: 240px 1fr 1fr;
    border-bottom: 1px solid #e5eaf3;
    transition: background .3s;
  }
  .waf-compare__row:last-child { border-bottom: none; }
  .waf-compare__row:hover { background: rgba(37,99,235,.02); }
  .waf-compare__row--header {
    background: #0F172A;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .waf-compare__row--header:hover { background: #0F172A; }
  .waf-compare__cell {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #e5eaf3;
  }
  .waf-compare__cell:last-child { border-right: none; }
  .waf-compare__row--header .waf-compare__cell { border-right-color: rgba(255,255,255,.08); }
  .waf-compare__cell--what { 
    background: rgba(37,99,235,.03); 
    font-weight: 600; 
    color: #0F172A; 
  }
  .waf-compare__row--header .waf-compare__cell--what {
    background: transparent;
    color: #94a3b8;
  }
  .waf-compare__cell--old { color: #64748B; }
  .waf-compare__cell--new { color: #0F172A; }
  .waf-compare__header-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(153, 151, 151, 0.908);
  }
  .waf-compare__header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(153, 151, 151, 0.908);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .waf-compare__header-icon--green { background: rgba(22,163,74,.12); }
  .waf-compare__header-label {
    font-size: 14px;
    font-weight: 700;
    color: rgb(239, 227, 227);
  }
  .waf-compare__header-label--green { color: #16A34A; }
  .waf-compare__row-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37,99,235,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563EB;
  }
  .waf-compare__row-title {
    font-size: 15px;
    font-weight: 700;
  }
  .waf-compare__cell-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .waf-compare__cell-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .waf-compare__cell-icon--bad {
    background: rgba(0,0,0,.06);
    color: #000;
  }
  .waf-compare__cell-icon--good {
    background: rgba(22,163,74,.1);
    color: #16A34A;
  }
  .waf-compare__cell-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
  }
  .waf-compare__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .waf-compare__bottom-left,
  .waf-compare__bottom-right {
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .waf-compare__bottom-left {
    background: rgba(37,99,235,.05);
    border: 1px solid rgba(37,99,235,.1);
  }
  .waf-compare__bottom-right {
    background: rgba(22,163,74,.05);
    border: 1px solid rgba(22,163,74,.12);
  }
  .waf-compare__bottom-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(37,99,235,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .waf-compare__bottom-icon--green {
    background: rgba(22,163,74,.1);
  }
  .waf-compare__bottom-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin: 0;
  }
  .waf-compare__bottom-text--green { color: #166534; }

  /* Center comparison section title/subtitle */
  .waf-compare__title,
  .waf-compare__subtitle {
    text-align: center;
  }

  /* Slight green background for iBatyr WAF column */
  .waf-compare__cell--new {
    background: rgba(22, 163, 74, 0.04);
  }

  /* COMPARISON TABLE — a fixed 240px label column plus two 1fr columns
     overflows on phones/tablets; scroll it horizontally instead of
     stacking, so rows stay readable side-by-side (swipe to see all). */
  @media (max-width: 768px) {
    .waf-compare__table {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .waf-compare__row {
      grid-template-columns: 190px 210px 210px;
      min-width: 610px;
    }
    .waf-compare__bottom {
      grid-template-columns: 1fr;
    }
    .waf-compare__title {
      font-size: 26px;
    }
  }
  @media (max-width: 400px) {
    .waf-compare-section {
      padding: 56px 0;
    }
    .waf-compare__title {
      font-size: 22px;
    }
    .waf-compare__cell {
      padding: 16px;
    }
    .waf-compare__bottom-left,
    .waf-compare__bottom-right {
      padding: 18px;
    }
  }

  /* Blue accent for Госсектор audience card */
  .waf-card--government {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, rgba(37,99,235,0.03), rgba(37,99,235,0.08));
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
  }
  .waf-card--government:hover {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 20px 40px rgba(37,99,235,0.12);
  }
  .waf-card--government .waf-card__title {
    color: white;
  }

  /* ---------- KEY ADVANTAGES — Premium Orbital Layout (v2) ---------- */
  .key-advantages {
    width: 100%;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
  }
  .ka-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
  }
  .ka-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
  }
  .ka-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 14px;
  }
  .ka-title-highlight {
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .ka-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #64748B;
    max-width: 620px;
    margin: 0 auto;
  }
  .ka-orbital {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ka-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .ka-dot-on-circle {
    fill: #2563EB;
    opacity: 0.3;
    transition: opacity 0.3s ease;
  }
  .ka-dot-on-circle:hover { opacity: 0.8; }
  .ka-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: kaCenterFloat 6s ease-in-out infinite;
  }
  @keyframes kaCenterFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-8px); }
  }
  .ka-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(37,99,235,.15);
    pointer-events: none;
    animation: kaRingSpin 20s linear infinite;
  }
  @keyframes kaRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .ka-ring--sm {
    width: 200px;
    height: 200px;
    border-color: rgba(37,99,235,.1);
    border-style: dashed;
    animation-duration: 30s;
  }
  .ka-ring--md {
    width: 250px;
    height: 250px;
    border-color: rgba(37,99,235,.08);
    border-width: 1px;
    animation-direction: reverse;
    animation-duration: 25s;
  }
  .ka-ring--lg {
    width: 300px;
    height: 300px;
    border-color: rgba(37,99,235,.06);
    animation-duration: 35s;
  }
  .ka-center-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.02));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
    border: 1px solid rgba(37,99,235,.15);
    box-shadow: 0 0 40px rgba(37,99,235,.08), inset 0 0 30px rgba(37,99,235,.04);
  }
  .ka-hexagon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #1e3a5f, #0f1f3a);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
  }
  .ka-hexagon:hover { transform: scale(1.06); }
  .ka-hexagon-inner {
    width: 94px;
    height: 94px;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ka-hex-logo {
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: .02em;
  }
  .ka-card {
    position: absolute;
    width: 260px;
    background: #FFFFFF;
    border: 1px solid #e5eaf3;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    z-index: 5;
    opacity: 0;
    animation: kaCardIn 0.6s cubic-bezier(.16,1,.3,1) forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
  }
  .ka-card:hover {
    box-shadow: 0 20px 40px rgba(37,99,235,.12);
    border-color: rgba(37,99,235,.15);
  }
  @keyframes kaCardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .ka-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37,99,235,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #2563EB;
    transition: background 0.3s, transform 0.3s;
  }
  .ka-card:hover .ka-card__icon {
    background: rgba(37,99,235,.14);
    transform: scale(1.05);
  }
  .ka-card__icon svg {
    width: 22px;
    height: 22px;
  }
  .ka-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #0F172A;
    margin-bottom: 8px;
    transition: color 0.3s;
  }
  .ka-card:hover .ka-card__title { color: #2563EB; }
  .ka-card__desc {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
  }
  .ka-card--tl { top: 18%; left: 2%; animation-delay: 0.1s; }
  .ka-card--tr { top: 18%; right: 2%; animation-delay: 0.2s; }
  .ka-card--ml { left: 0; top: 50%; transform: translateY(-50%); animation-delay: 0.3s; }
  .ka-card--mr { right: 0; top: 50%; transform: translateY(-50%); animation-delay: 0.4s; }
  .ka-card--bl { bottom: 3%; left: 3%; animation-delay: 0.5s; }
  .ka-card--br { bottom: 73%; right: 2%; animation-delay: 0.6s; }

  /* Hover glow effect for all cards */
  .ka-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, transparent, rgba(37,99,235,0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
  }
  .ka-card:hover::before { opacity: 1; }

  /* Hover pop */
  .ka-card--top:hover { transform: translateX(-50%) translateY(-6px) scale(1.03); }
  .ka-card--tl:hover { transform: translateY(-6px) scale(1.03); }
  .ka-card--tr:hover { transform: translateY(-6px) scale(1.03); }
  .ka-card--ml:hover { transform: translateY(-50%) translateY(-6px) scale(1.03); }
  .ka-card--mr:hover { transform: translateY(-50%) translateY(-6px) scale(1.03); }
  .ka-card--bl:hover { transform: translateY(-6px) scale(1.03); }
  .ka-card--br:hover { transform: translateY(-6px) scale(1.03); }

  /* WAF AUDIENCE SECTION */
  .waf-audience-section {
    padding: 80px 0 100px;
    background: #ffffff;
  }
  .waf-audience-section--legacy { display: none; }

  /* Audience cards: reference layout */
  .waf-audience-section--reference {
    padding: 31px;
    background:
      radial-gradient(circle at 2% 4%, rgba(112, 174, 255, .11), transparent 21%),
      radial-gradient(circle at 98% 100%, rgba(112, 174, 255, .08), transparent 24%),
      #fafdff;
  }
  .waf-audience-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .audience-reference-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 320px;
    overflow: hidden;
    padding: 22px 26px 22px;
    border: 1px solid #e6edf8;
    border-radius: 18px;
    background: linear-gradient(120deg, #fff 0%, #fff 65%, #fbfdff 100%);
    box-shadow: 0 8px 18px rgba(46, 99, 177, .06);
  }
  .audience-reference-card::after {
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -80px;
    width: 340px;
    height: 300px;
    content: '';
    opacity: .4;
    background: radial-gradient(circle, rgba(120, 170, 255, .14), transparent 67%);
  }
  .audience-reference-copy { display: flex; flex: 0 1 57%; flex-direction: column; min-width: 0; }
  .audience-reference-icon {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 72px;
    height: 70px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    background: linear-gradient(145deg, #f9fbff 0%, #edf3ff 47%, #dce9fc 100%);
    box-shadow: inset 0 2px 1px rgba(255,255,255,.95), inset 0 -5px 10px rgba(92, 143, 226, .12), 0 8px 14px rgba(36, 104, 221, .12);
  }
  .audience-reference-icon::before { position: absolute; z-index: -1; inset: 6px 8px auto; height: 22px; content: ''; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.9), transparent); }
  .audience-reference-icon::after { position: absolute; z-index: -1; right: 12px; bottom: 10px; left: 12px; height: 8px; content: ''; border-radius: 50%; background: rgba(54, 120, 239, .18); filter: blur(4px); }
  .audience-reference-icon svg { position: relative; z-index: 1; width: 42px; height: 42px; fill: none; stroke: #2e7df0; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(1px 2px 0 rgba(255,255,255,.9)) drop-shadow(0 5px 4px rgba(37, 112, 237, .32)); }
  .audience-reference-copy h3 { margin: 0 0 14px; color: #06184b; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
  .audience-reference-copy ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .audience-reference-copy li { position: relative; padding-left: 22px; color: #07194d; font-size: 14px; font-weight: 500; line-height: 1.5; }
  .audience-reference-copy li::before { position: absolute; top: .6em; left: 0; width: 7px; height: 7px; content: ''; border-radius: 50%; background: #1976ee; }
  .audience-reference-badge { align-self: flex-start; margin-top: auto; padding: 7px 12px; border-radius: 99px; color: #0870ef; background: linear-gradient(110deg, #f1f6ff, #e8f0fc); font-size: 12px; font-weight: 600; }
  .audience-reference-visual { position: absolute; z-index: -1; right: 6px; bottom: 10px; width: min(36%, 240px); }
  .audience-reference-visual::before { position: absolute; z-index: -1; inset: 20% 8% 4%; content: ''; border-radius: 50%; background: radial-gradient(ellipse, rgba(45,126,243,.24), transparent 66%); filter: blur(15px); }
  .audience-reference-visual svg { display: block; width: 100%; height: auto; overflow: visible; transform: perspective(800px) rotateX(3deg) rotateY(-2deg); transform-origin: center bottom; filter: drop-shadow(4px 14px 8px rgba(34, 105, 221, .19)) drop-shadow(-2px -2px 1px rgba(255,255,255,.8)); }
  .audience-reference-card--it .audience-reference-copy { flex-basis: 66%; }
  .audience-reference-card--it .audience-reference-visual { width: min(34%, 220px); }

  /* Purpose-drawn 3D SVGs for the requested audience illustrations. */
  .audience-reference-card--marketplace .audience-reference-visual,
  .audience-reference-card--it .audience-reference-visual {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
  }
  .audience-reference-card--marketplace .audience-reference-visual { background-image: url('../assets/icons/audience-market-visual.svg'); }
  .audience-reference-card--it .audience-reference-visual { background-image: url('../assets/icons/audience-it-visual.svg'); }
  .audience-reference-card--marketplace .audience-reference-visual svg,
  .audience-reference-card--it .audience-reference-visual svg { visibility: hidden; }
  @media (max-width: 1100px) { .waf-audience-section--reference { padding: 22px; }.waf-audience-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.audience-reference-card { min-height: 340px; padding: 24px; }.audience-reference-copy h3 { font-size: 22px; }.audience-reference-copy li { font-size: 14px; }.audience-reference-visual { right: -3px; width: 42%; } }
  @media (max-width: 650px) { .waf-audience-section--reference { padding: 16px; }.waf-audience-reference-grid { grid-template-columns: 1fr; gap: 14px; }.audience-reference-card { min-height: 300px; padding: 20px; }.audience-reference-icon { width: 66px; height: 66px; border-radius: 14px; }.audience-reference-icon svg { width: 38px; height: 38px; }.audience-reference-copy h3 { margin-bottom: 12px; font-size: 20px; }.audience-reference-copy li { font-size: 13px; line-height: 1.45; }.audience-reference-visual { width: 40%; opacity: .86; }.audience-reference-card--it .audience-reference-visual { width: 38%; } }
  .waf-audience-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
  }
  .waf-audience-section .container .section-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .waf-audience-title {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 50px;
  }
  @media (max-width: 400px) {
    .waf-audience-title {
      font-size: 24px;
      margin-bottom: 32px;
    }
  }
  .waf-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .waf-card {
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid #e5eaf3;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
  }
  .waf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.15);
  }
  .waf-card--fintech {
    grid-row: 1 / 3;
  }
  .waf-card--government {
    grid-column: 1 / 3;
    background: #2563EB;
    color: #ffffff;
    border-color: rgba(37, 99, 235, 0.45);
  }
  .waf-card--government .waf-card__title {
    color: #ffffff;
  }
  .waf-card--government .waf-card__list li {
    color: #ffffff;
  }
  .waf-card--government .waf-card__list li::before {
    background: #ffffff;
    opacity: .7;
  }
  .waf-card--government .waf-card__badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
  }
  .waf-card--government:hover {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
  }
  .waf-card__content { flex: 1; }
  .waf-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F172A;
  }
  .waf-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
  }
  .waf-card__list li {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
  }
  .waf-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    opacity: .5;
  }
  .waf-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #2563EB;
    background: rgba(37,99,235,.08);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
  }
  .waf-card__icon--bank,
  .waf-card__icon--basket,
  .waf-card__icon--code {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 90px;
    height: 90px;
    opacity: .85;
    pointer-events: none;
  }
  .waf-card__icon--bank svg,
  .waf-card__icon--basket svg,
  .waf-card__icon--code svg {
    width: 100%;
    height: 100%;
  }
  .waf-card__icons-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
  }
  .waf-card--government .gov-icon svg {
    width: 40px;
    height: 40px;
    stroke: #ffffff !important;
    fill: none;
  }
  .waf-card--government .gov-icon svg path,
  .waf-card--government .gov-icon svg rect,
  .waf-card--government .gov-icon svg circle,
  .waf-card--government .gov-icon svg line {
    stroke: #ffffff !important;
  }

  /* ---------- 3D Icons Row for Госсектор ---------- */
  .waf-gov-icons-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }

  .waf-gov-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
    max-width: 180px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 8px;
  }

  .waf-gov-icon:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
  }

  .waf-gov-icon svg {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  @media (max-width: 768px) {
    .waf-gov-icons-row {
      gap: 12px;
      justify-content: center;
    }
    .waf-gov-icon {
      min-width: 90px;
      max-width: 130px;
      padding: 8px 4px;
    }
    .waf-gov-icon svg {
      width: 60px;
      height: 60px;
    }
  }

  /* ---------- DOWNLOAD MATERIALS ---------- */
  .section--gray { background: #f8fafc; }
  .materials {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .material-card {
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: 16px;
    padding: 32px;
    max-width: 340px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
  }
  .material-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
  }
  .material-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #2563EB;
  }
  .material-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0F172A;
  }
  .material-card p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
  }

  /* ---------- FAQ DARK SECTION ---------- */
  .section--faq {
    background: linear-gradient(135deg, #071321, #0f2238, #10304d);
    position: relative;
  }

  .section--faq .section-badge {
    color: #1EA7FF;
    background: rgba(30,167,255,.08);
    border: 1px solid rgba(30,167,255,.3);
  }

  .section--faq .section-title {
    color: rgba(255,255,255,.92);
  }

  .section--faq .section-subtitle {
    color: rgba(255,255,255,.55);
  }

  /* ---------- FAQ DARK ACCORDION (matching DLP style) ---------- */
  .faq {
    max-width: 720px;
    margin: 0 auto;
  }
  .faq--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .faq-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .faq-item__question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: rgba(255,255,255,.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color .3s;
  }
  .faq-item__question:hover { color: #1EA7FF; }
  .faq-item__question span { 
    font-size: 18px; 
    transition: transform .3s;
    color: #1EA7FF;
    flex-shrink: 0;
    margin-left: 16px;
  }
  .faq-item.open .faq-item__question span { transform: rotate(45deg); }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
  }
  .faq-answer p {
    padding: 0 0 18px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.6);
  }
  .faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
  }

  /* ---------- CTA ---------- */
  .waf-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #071321, #0f2238, #10304d);
    overflow: hidden;
  }
  .waf-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(30,167,255,.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(40,255,216,.04) 0%, transparent 60%);
    pointer-events: none;
  }
  .waf-cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .waf-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .waf-cta-left {
    position: relative;
  }
  .waf-cta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1EA7FF;
    border: 1px solid rgba(30,167,255,.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
  }
  .waf-cta-left h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: rgba(255,255,255,.92);
    margin-bottom: 20px;
  }
  .waf-cta-left p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
    margin-bottom: 28px;
  }
  .waf-cta-text-highlighted {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,.92);
    background: linear-gradient(135deg, rgba(30,167,255,.15), rgba(40,255,216,.1));
    border: 1px solid rgba(30,167,255,.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(30,167,255,.1);
  }
  .waf-cta-text-highlighted strong {
    color: #1EA7FF;
    font-weight: 700;
  }
  .text-gradient-blue {
    background: linear-gradient(135deg, #1EA7FF, #28FFD8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .waf-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }
  .waf-cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
  }
  .waf-cta-feature i { color: #28FFD8; }
  .waf-cta-right { position: relative; z-index: 3; }
  .waf-cta-form-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    transition: border-color .3s, box-shadow .3s;
  }
  .waf-cta-form-card:hover {
    border-color: rgba(30,167,255,.2);
    box-shadow: 0 20px 60px rgba(30,167,255,.08);
  }
  .waf-cta-form-header {
    text-align: center;
    margin-bottom: 28px;
  }
  .waf-cta-form-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(30,167,255,.12), rgba(40,255,216,.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1EA7FF;
  }
  .waf-cta-form-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    margin-bottom: 6px;
  }
  .waf-cta-form-header p {
    font-size: 13px;
    color: rgba(255,255,255,.55);
  }
  .waf-cta-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .waf-cta-form-group {
    position: relative;
  }
  .waf-cta-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .3s, background .3s;
    outline: none;
  }
  .waf-cta-input:focus {
    border-color: rgba(30,167,255,.5);
    background: rgba(255,255,255,.08);
  }
  .waf-cta-input::placeholder { color: transparent; }
  .waf-cta-label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 14px;
    color: rgba(255,255,255,.4);
    pointer-events: none;
    transition: all .3s ease;
    background: transparent;
  }
  .waf-cta-input:focus + .waf-cta-label,
  .waf-cta-input:not(:placeholder-shown) + .waf-cta-label {
    top: -8px;
    left: 12px;
    font-size: 11px;
    color: rgba(30,167,255,.7);
    background: #0f2238;
    padding: 0 6px;
  }
  .waf-cta-input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1EA7FF, transparent);
    transition: width .3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  .waf-cta-input:focus ~ .waf-cta-input-highlight { width: 80%; }
  .waf-cta-error-msg {
    display: none;
    font-size: 11px;
    color: #ef4444;
    margin-top: 4px;
  }
  .waf-cta-input.error { border-color: #ef4444; }
  .waf-cta-input.error ~ .waf-cta-error-msg { display: block; }
  .waf-cta-textarea { resize: vertical; min-height: 70px; }
  .waf-cta-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1EA7FF, #0f8ee9);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .3s, box-shadow .3s;
    font-family: inherit;
  }
  .waf-cta-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,167,255,.35);
  }
  .waf-cta-submit:active { transform: translateY(0); }
  .waf-cta-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,.35);
  }
  .waf-cta-success {
    display: none;
    text-align: center;
    padding: 20px;
  }
  .waf-cta-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(40,255,216,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #28FFD8;
  }
  .waf-cta-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    margin-bottom: 8px;
  }
  .waf-cta-success p {
    font-size: 14px;
    color: rgba(255,255,255,.55);
  }

  /* ---------- FOOTER ---------- */
  .footer {
    background: #071321;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.05);
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
  }
  .footer-logo img { height: 30px; }
  .footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 13px;
    transition: color .3s;
  }
  .footer-nav a:hover { color: rgba(255,255,255,.8); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,.3);
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1200px) {
    .ka-card {
      width: 220px;
      padding: 20px 18px;
    }
    .ka-card--tl { top: 18%; left: 1%; }
    .ka-card--tr { top: 18%; right: 1%; }
    .ka-card--ml { left: 0; }
    .ka-card--mr { right: 0; }
    .ka-card--bl { bottom: 14%; left: 3%; }
    .ka-card--br { bottom: 14%; right: 3%; }
  }

  @media (max-width: 1024px) {
    .ka-orbital {
      min-height: 900px;
      flex-direction: column;
    }
    .ka-card {
      position: relative;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      transform: none !important;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      animation: none;
      opacity: 1;
    }
    .ka-card:hover { transform: translateY(-4px) scale(1.02) !important; }
    .ka-center {
      margin: 30px auto;
      width: 200px;
      height: 200px;
    }
    .ka-center-circle { width: 120px; height: 120px; }
    .ka-hexagon { width: 84px; height: 84px; }
    .ka-hexagon-inner { width: 74px; height: 74px; }
    .ka-hex-logo { font-size: 15px; }
    .ka-ring--sm { width: 150px; height: 150px; }
    .ka-ring--md { width: 190px; height: 190px; }
    .ka-ring--lg { width: 230px; height: 230px; }
    .ka-lines { display: none; }
  }

  @media (max-width: 768px) {
    .key-advantages { padding: 64px 0 80px; }
    .ka-subtitle { font-size: 16px; }
    .ka-card { max-width: 340px; }
    .ka-center { width: 170px; height: 170px; }
    .ka-center-circle { width: 100px; height: 100px; }
    .ka-hexagon { width: 72px; height: 72px; }
    .ka-hexagon-inner { width: 62px; height: 62px; }
    .ka-hex-logo { font-size: 13px; }
    .ka-ring--sm { width: 130px; height: 130px; }
    .ka-ring--md { width: 160px; height: 160px; }
    .ka-ring--lg { width: 200px; height: 200px; }
  }

  @media (max-width: 480px) {
    .key-advantages { padding: 48px 0 64px; }
    .ka-container { padding: 0 20px; }
    .ka-card { max-width: 300px; padding: 18px 16px; }
    .ka-card__title { font-size: 14px; }
    .ka-card__desc { font-size: 12px; }
    .ka-center { width: 150px; height: 150px; }
    .ka-center-circle { width: 88px; height: 88px; }
    .ka-hexagon { width: 62px; height: 62px; }
    .ka-hexagon-inner { width: 54px; height: 54px; }
    .ka-hex-logo { font-size: 11px; }
  }

  /* ========================================================================
    WAF DIAGRAM — Premium Interactive Flow (Dark Theme)
    ======================================================================== */

  /* ── Section container ── */
  .waf-diagram {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 80px 0 90px;
    background: linear-gradient(135deg, #071321, #0f2238, #10304d);
  }

  /* ── Inner wrapper ── */
  .waf-diagram__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* ── Header ── */
  .waf-diagram__header {
    text-align: center;
    margin-bottom: 48px;
  }
  .waf-diagram__header .section-badge {
    color: #1EA7FF;
    background: rgba(30,167,255,0.1);
    border: 1px solid rgba(30,167,255,0.15);
  }
  .waf-diagram__header .section-title {
    color: rgba(255,255,255,0.92);
    font-size: 36px;
    margin-bottom: 8px;
  }
  .waf-diagram__header .section-subtitle {
    color: rgba(255,255,255,0.55);
  }

  /* ── Canvas (diagram area) ── */
  .waf-diagram__canvas {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 430px;
    padding: 20px 0;
  }

  /* ===================== NODE POSITIONS & STYLES ===================== */

  .waf-diagram__node {
    position: relative;
    transition: transform 0.35s cubic-bezier(.16,1,.3,1), filter 0.35s ease;
    cursor: default;
  }

  /* ── Hover effect applied to all nodes ── */
  .waf-diagram__node:hover {
    transform: translateY(-6px) scale(1.03);
    filter: drop-shadow(0 8px 24px rgba(30,167,255,0.15));
  }

  /* ===== 1. USER ===== */
  .waf-node--user {
    flex-shrink: 0;
    margin-right: -10px;
  }
  .waf-node__circle {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 10px;
  }
  .waf-node__svg {
    width: 100%;
    height: 100%;
  }
  .waf-node__glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,140,255,0.12) 0%, transparent 70%);
    animation: wafPulseGlow 3s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes wafPulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
  }

  /* ===== LABELS ===== */
  .waf-node__label {
    text-align: center;
  }
  .waf-node__label-main {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
  }
  .waf-node__label-sub {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.3;
  }

  /* ===== 2. INTERNET (cloud) ===== */
  .waf-node--internet {
    flex-shrink: 0;
    margin: 0 4px;
  }
  .waf-node__cloud {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
  }

  /* ===== 3. HTTPS capsule ===== */
  .waf-node--https {
    flex-shrink: 0;
    margin: 0 8px;
  }
  .waf-node__capsule {
    height: 34px;
    padding: 0 20px;
    background: #2ECC71;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: httpsPulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(46,204,113,0.2);
  }
  .waf-node__capsule span {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
  }
  @keyframes httpsPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(46,204,113,0.2); }
    50% { transform: scale(1.06); box-shadow: 0 0 35px rgba(46,204,113,0.35); }
  }

  /* ===== 4. WAF (glass card) ===== */
  .waf-node--waf {
    flex-shrink: 0;
    margin: 0 4px;
    z-index: 5;
  }
  .waf-node__card {
    position: relative;
    width: 340px;
    height: 150px;
    border-radius: 24px;
    background: rgba(7,19,33,0.7);
    border: 1px solid rgba(0,255,220,0.45);
    box-shadow:
      0 0 30px rgba(0,255,220,0.08),
      inset 0 0 30px rgba(0,255,220,0.02);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  .waf-node__card:hover {
    border-color: rgba(0,255,220,0.7);
    box-shadow:
      0 0 50px rgba(0,255,220,0.15),
      inset 0 0 30px rgba(0,255,220,0.04);
  }
  /* Shine sweep */
  .waf-node__card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      135deg,
      transparent 30%,
      rgba(40,255,216,0.06) 45%,
      rgba(40,255,216,0.1) 50%,
      rgba(40,255,216,0.06) 55%,
      transparent 70%
    );
    animation: wafShine 4s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes wafShine {
    0% { transform: translateX(-30%) rotate(25deg); opacity: 0; }
    25% { opacity: 1; }
    50% { transform: translateX(30%) rotate(25deg); opacity: 0; }
    100% { transform: translateX(30%) rotate(25deg); opacity: 0; }
  }
  /* Glow breathing */
  .waf-node__card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: transparent;
    box-shadow: 0 0 20px rgba(0,255,220,0.08);
    animation: wafGlowBreathe 3s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes wafGlowBreathe {
    0%, 100% { box-shadow: 0 0 20px rgba(0,255,220,0.08); opacity: 0.6; }
    50% { box-shadow: 0 0 40px rgba(0,255,220,0.18); opacity: 1; }
  }
  .waf-node__card-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    height: 100%;
  }
  /* Shield SVG */
  .waf-node__shield {
    flex-shrink: 0;
    width: 56px;
    height: 66px;
    animation: shieldBreathe 4s ease-in-out infinite;
  }
  .waf-node__shield-svg {
    width: 100%;
    height: 100%;
  }
  @keyframes shieldBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
  }
  .waf-node__card-text {
    display: flex;
    flex-direction: column;
  }
  .waf-node__card-title {
    font-size: 22px;
    font-weight: 800;
    color: rgba(255,255,255,0.92);
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .waf-node__card-desc {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.55);
  }

  /* ===== 5. WEB SERVER ===== */
  .waf-node--server {
    flex-shrink: 0;
    margin-left: -6px;
  }
  .waf-node__server-svg {
    width: 64px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
  }

  /* ===== 6. OPERATOR (below WAF) ===== */
  .waf-node--operator {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
  }
  /* Dashed arrow from operator up */
  .waf-node__dashed-arrow {
    display: block;
    width: 2px;
    height: 50px;
    margin: 0 auto -2px;
  }
  /* Flowing dots on dashed arrow */
  .waf-operator-flow {
    display: block;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 50px;
    pointer-events: none;
  }
  .waf-operator-flow circle {
    animation: opFlowUp 2s ease-in-out infinite;
  }
  .waf-operator-flow circle:nth-child(1) { animation-delay: 0s; }
  .waf-operator-flow circle:nth-child(2) { animation-delay: 0.4s; }
  .waf-operator-flow circle:nth-child(3) { animation-delay: 0.8s; }
  .waf-operator-flow circle:nth-child(4) { animation-delay: 1.2s; }
  .waf-operator-flow circle:nth-child(5) { animation-delay: 1.6s; }
  @keyframes opFlowUp {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-40px); }
  }

  /* Operator card */
  .waf-node__operator-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 310px;
    height: 80px;
    padding: 14px 18px;
    background: rgba(7,19,33,0.65);
    border: 1px solid rgba(30,167,255,0.2);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s;
  }
  .waf-node--operator:hover .waf-node__operator-card {
    border-color: rgba(30,167,255,0.5);
    box-shadow: 0 0 30px rgba(30,167,255,0.1);
  }
  .waf-node--operator:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.03);
  }
  .waf-node__operator-svg {
    width: 70px;
    height: auto;
    display: block;
  }
  .waf-node__operator-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 2px;
  }
  .waf-node__operator-desc {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255,255,255,0.5);
  }

  /* Monitor chart animation */
  .waf-operator-chart {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawChart 3s ease-in-out infinite;
  }
  @keyframes drawChart {
    0% { stroke-dashoffset: 120; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 120; }
  }

  /* ===== ARROWS ===== */
  .waf-diagram__arrow {
    flex-shrink: 0;
    width: 50px;
    height: 24px;
  }

  /* ===== DATA FLOW (glowing dots on arrows) ===== */
  .waf-dataflow {
    position: absolute;
    display: flex;
    gap: 12px;
    pointer-events: none;
  }
  .waf-dataflow__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1EA7FF;
    box-shadow: 0 0 8px rgba(30,167,255,0.6);
    animation: flowDot 2s ease-in-out infinite;
  }
  .waf-dataflow__dot:nth-child(2) { animation-delay: 0.3s; }
  .waf-dataflow__dot:nth-child(3) { animation-delay: 0.6s; }
  @keyframes flowDot {
    0%, 100% { opacity: 0; transform: scale(0.3); }
    30% { opacity: 1; transform: scale(1.2); }
    60% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3); }
  }

  /* Position data flows over arrows */
  .waf-dataflow--1 { left: calc(50% - 140px); top: 38%; }
  .waf-dataflow--2 { left: calc(50% - 55px); top: 38%; }
  .waf-dataflow--3 { left: calc(50% + 35px); top: 38%; }
  .waf-dataflow--4 { left: calc(50% + 140px); top: 38%; }

  /* ── Background dots animation ── */
  .waf-diagram__bg-svg circle[fill="rgba(30,167,255,0.08)"] {
    animation: bgDotPulse 4s ease-in-out infinite;
  }
  .waf-diagram__bg-svg circle:nth-child(3) { animation-delay: 0.5s; }
  @keyframes bgDotPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
  }

  /* ===================== RESPONSIVE — WAF DIAGRAM ===================== */

  @media (max-width: 1200px) {
    .waf-diagram__canvas {
      flex-wrap: wrap;
      gap: 20px 8px;
      min-height: 500px;
      padding: 20px 10px;
    }
    .waf-node__card { width: 280px; height: 130px; }
    .waf-node__card-title { font-size: 18px; }
    .waf-node__card-desc { font-size: 12px; }
    .waf-node__shield { width: 44px; height: 52px; }
    .waf-node__cloud { width: 80px; }
    .waf-node__server-svg { width: 54px; }
    .waf-node__circle { width: 64px; height: 64px; }
    .waf-node__capsule { height: 30px; padding: 0 16px; }
    .waf-node__capsule span { font-size: 12px; }
    .waf-diagram__arrow { width: 30px; }
    .waf-node--operator { bottom: -80px; }
    .waf-node__operator-card { width: 260px; height: 72px; padding: 12px 14px; }
    .waf-node__operator-svg { width: 56px; }
    .waf-node__operator-title { font-size: 13px; }
    .waf-node__operator-desc { font-size: 11px; }
    .waf-dataflow--1 { left: calc(50% - 110px); }
    .waf-dataflow--2 { left: calc(50% - 40px); }
    .waf-dataflow--3 { left: calc(50% + 30px); }
    .waf-dataflow--4 { left: calc(50% + 100px); }
  }

  @media (max-width: 768px) {
    .waf-diagram { padding: 60px 0 100px; }
    .waf-diagram__inner { padding: 0 20px; }
    .waf-diagram__canvas {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      min-height: auto;
      padding: 20px 0 90px;
    }
    .waf-diagram__arrow {
      width: 24px;
      height: 14px;
      transform: rotate(90deg);
    }
    .waf-node--user { margin: 0; }
    .waf-node--internet { margin: 0; }
    .waf-node--https { margin: 0; }
    .waf-node--waf { margin: 0; }
    .waf-node--server { margin: 0; }
    .waf-node__card { width: 90%; max-width: 320px; height: 120px; }
    .waf-node__card-title { font-size: 17px; }
    .waf-node--operator { bottom: -70px; }
    .waf-node__operator-card { width: 240px; height: 68px; }
    .waf-node__operator-svg { width: 50px; }
    .waf-dataflow { display: none; }
    .waf-diagram__header .section-title { font-size: 28px; }
  }

  @media (max-width: 480px) {
    .waf-diagram { padding: 40px 0 80px; }
    .waf-diagram__header .section-title { font-size: 22px; }
    .waf-diagram__header .section-subtitle { font-size: 14px; }
    .waf-node__card { max-width: 260px; height: 110px; padding: 14px; }
    .waf-node__card-body { padding: 14px; gap: 12px; }
    .waf-node__card-title { font-size: 15px; }
    .waf-node__shield { width: 36px; height: 44px; }
    .waf-node__circle { width: 56px; height: 56px; }
    .waf-node__cloud { width: 64px; }
    .waf-node__server-svg { width: 44px; }
    .waf-node__capsule { height: 26px; padding: 0 12px; }
    .waf-node__capsule span { font-size: 11px; }
    .waf-node__label-main { font-size: 11px; }
    .waf-node__label-sub { font-size: 10px; }
    .waf-node__operator-card { width: 200px; height: 60px; padding: 10px 12px; gap: 8px; }
    .waf-node__operator-svg { width: 40px; }
    .waf-node__operator-title { font-size: 12px; }
    .waf-node__operator-desc { font-size: 10px; }
    .waf-node--operator { bottom: -60px; }
  }

  /* ========================================================================
    HEX NET — Enterprise Hexagon Network (Cybersecurity Style)
    ======================================================================== */
  /* ==========================================================================
    TABS COMPONENT STYLES
    ========================================================================== */
  .tabs-container {
      width: 100%;
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
      box-sizing: border-box;
  }

  /* Навигационная панель табов */
  .tabs-nav {
      display: flex;
      gap: 10px;
      border-bottom: 2px solid rgba(0, 180, 255, 0.1);
      padding-bottom: 0;
      margin-bottom: 30px;
      overflow-x: auto;
      scrollbar-width: none; /* Для Firefox */
  }

  .tabs-nav::-webkit-scrollbar {
      display: none; /* Для Chrome, Safari, Opera */
  }

  /* Кнопка переключения таба */
  .tab-trigger {
      background: transparent;
      border: none;
      outline: none;
      padding: 14px 24px;
      font-size: 1rem;
      font-weight: 600;
      color: #7085a3;
      cursor: pointer;
      position: relative;
      white-space: nowrap;
      transition: color 0.3s ease;
  }

  /* Эффект при наведении */
  .tab-trigger:hover {
      color: #00b4ff;
  }

  /* Стили для активного таба */
  .tab-trigger.is-active {
      color: #00b4ff;
  }

  /* Нижняя подсвечивающая линия для активного таба */
  .tab-trigger.is-active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #00b4ff;
      box-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
      border-radius: 2px;
  }

  /* Контейнер с содержимым табов */
  .tabs-content {
      position: relative;
      width: 100%;
  }

  /* Панель с контентом */
  .tab-panel {
      display: none;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* Показ активной панели с анимацией */
  .tab-panel.is-active {
      display: block;
      opacity: 1;
      transform: translateY(0);
  }

  /* Декоративная карточка внутри панели (опционально) */
  .tab-card {
      background: #06152d;
      border: 1px solid rgba(0, 180, 255, 0.2);
      border-radius: 12px;
      padding: 30px;
      color: #ffffff;
      box-shadow: 0 10px 30px rgba(3, 8, 22, 0.5);
  }

  /* ==============================
    WAF FOOTER — DARK THEME
    ============================== */
  .footer--waf {
    background: #020617 !important;
    border-top: 1px solid rgba(0, 210, 255, 0.08) !important;
    padding: 56px 0 32px !important;
  }

  .footer--waf .footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
  }

  .footer--waf .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer--waf .footer-logo img {
    height: 34px;
    filter: brightness(0) invert(1);
  }

  .footer--waf .footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
  }

  .footer--waf .footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
  }

  .footer--waf .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer--waf .footer-social-link:hover {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.3);
    color: var(--waf-blue, #00d2ff);
    transform: translateY(-2px);
  }

  .footer--waf .footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer--waf .footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
  }

  .footer--waf .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer--waf .footer-nav a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
    width: fit-content;
  }

  .footer--waf .footer-nav a:hover {
    color: var(--waf-blue, #00d2ff);
    transform: translateX(4px);
  }

  .footer--waf .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer--waf .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
  }

  .footer--waf .footer-contact-item svg {
    flex-shrink: 0;
    color: rgba(0, 210, 255, 0.6);
  }

  .footer--waf .footer-contact-item span {
    color: rgba(255, 255, 255, 0.55);
  }

  /* ========================================================================
    SCENARIOS — "Как работает"
    ======================================================================== */
  .scenarios-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 24px 64px;
    color: #e8f7ff;
    background: #020b18;
  }

  .scenarios-section .bg-container,
  .scenarios-section #linesCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .scenarios-section .bg-container { z-index: -2; overflow: hidden; }
  .scenarios-section #linesCanvas { z-index: -1; }
  .scenarios-section .grid-parallax {
    position: absolute;
    inset: -20%;
    opacity: .2;
    background-image: linear-gradient(rgba(0, 210, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, .16) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: perspective(600px) rotateX(58deg) translateY(-8%);
  }
  .scenarios-section .radial-glow {
    position: absolute;
    inset: 12% 20%;
    background: radial-gradient(ellipse, rgba(0, 153, 255, .16), transparent 65%);
  }
  .scenarios-section .section-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
  }
  .scenarios-section .main-header { position: relative; z-index: 1; text-align: center; margin-bottom: 34px; }
  .scenarios-section .main-header h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); color: #f4fbff; margin-bottom: 80px; }
  .scenarios-section .main-header h1 span { color: #00d2ff; }

  .scenarios-section .threat-top-bar,
  .scenarios-section .bottom-features-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: clamp(12px, 3vw, 38px);
    max-width: 1080px;
    margin: 0 auto;
  }
  .scenarios-section .hex-container { width: 104px; text-align: center; }
  .scenarios-section .hex-threat {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    cursor: pointer;
    clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
    background: rgba(255, 51, 51, .12);
    border: 1px solid rgba(255, 80, 80, .5);
    box-shadow: 0 0 20px rgba(255, 51, 51, .16);
  }
  .scenarios-section .hex-svg-icon { width: 34px; height: 34px; display: block; }
  .scenarios-section .hex-label { font-size: 12px; color: rgba(232, 247, 255, .72); white-space: nowrap; }

  .scenarios-section .main-workspace {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(160px, 230px) minmax(260px, 1fr) minmax(160px, 230px);
    align-items: center;
    gap: clamp(20px, 5vw, 78px);
    max-width: 1080px;
    min-height: 310px;
    margin: 22px auto 28px;
  }
  .scenarios-section .side-panel {
    min-height: 176px;
    padding: 16px;
    border: 1px solid rgba(0, 210, 255, .26);
    border-radius: 16px;
    background: rgba(4, 21, 39, .72);
    box-shadow: 0 0 24px rgba(0, 157, 255, .08);
  }
  .scenarios-section .panel-title { margin-bottom: 8px; text-align: center; font-size: 14px; font-weight: 700; color: #cfefff; }
  .scenarios-section .svg-box { height: 124px; }
  .scenarios-section .panel-3d-svg { display: block; width: 100%; height: 100%; }
  .scenarios-section .center-shield-zone { position: relative; display: grid; place-items: center; min-height: 250px; }
  .scenarios-section #canvasLayer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .scenarios-section .shield-hardware {
    position: relative;
    z-index: 1;
    display: grid;
    place-content: center;
    width: 156px;
    height: 178px;
    text-align: center;
    clip-path: polygon(50% 0, 93% 15%, 93% 60%, 50% 100%, 7% 60%, 7% 15%);
    background: linear-gradient(145deg, #0578ba, #012a63 65%, #00162e);
    border: 1px solid rgba(89, 234, 255, .85);
    box-shadow: 0 0 34px rgba(0, 210, 255, .32), inset 0 0 28px rgba(0, 229, 255, .12);
  }
  .scenarios-section .shield-hardware h2 { margin: 0; font-size: 25px; color: #fff; }
  .scenarios-section .shield-hardware span { color: #3df1ff; font-size: 18px; font-weight: 800; letter-spacing: .16em; }
  .scenarios-section .https-badge {
    position: absolute;
    z-index: 2;
    top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1px solid rgba(40, 255, 204, .45);
    border-radius: 999px;
    background: rgba(3, 72, 69, .8);
    color: #47f8d2;
    font-size: 12px;
    font-weight: 800;
  }
  .scenarios-section .https-lock-svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

  .scenarios-section .bottom-features-bar { gap: 20px; }
  .scenarios-section .feature-card {
    width: min(220px, 30vw);
    min-height: 132px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid rgba(0, 210, 255, .22);
    border-radius: 16px;
    background: rgba(4, 21, 39, .72);
  }
  .scenarios-section .icon-3d-wrapper { width: 54px; height: 54px; margin: 0 auto 10px; }
  .scenarios-section .icon-3d-wrapper svg { display: block; width: 100%; height: 100%; }
  .scenarios-section .feature-card h4 { margin: 0 0 5px; font-size: 14px; color: #eafaff; }
.scenarios-section .feature-card p { margin: 0; font-size: 12px; color: rgba(232, 247, 255, .62); }

@media (max-width: 700px) {
  .scenarios-section { padding: 52px 16px; }
  .scenarios-section .threat-top-bar { flex-wrap: wrap; gap: 16px 8px; }
  .scenarios-section .hex-container { width: 86px; }
  .scenarios-section .main-workspace { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .scenarios-section .side-panel { max-width: 310px; width: 100%; margin: 0 auto; }
  .scenarios-section .center-shield-zone { order: -1; min-height: 220px; }
  .scenarios-section .bottom-features-bar { flex-direction: column; align-items: center; }
  .scenarios-section .feature-card { width: min(100%, 310px); }
}

/* Original visual design restored from VS Code local history (scenarios.html). */
.scenarios-section {
  --scenario-primary: #00d2ff;
  --scenario-glow: rgba(0, 210, 255, .4);
  --scenario-red: #ff3333;
  --scenario-red-glow: rgba(255, 51, 51, .6);
  --scenario-panel: rgba(15, 23, 42, .5);
  --scenario-border: rgba(0, 210, 255, .15);
  min-height: 760px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #020617;
}
.scenarios-section .bg-container { z-index: 0; }
.scenarios-section #linesCanvas { z-index: 2; }
.scenarios-section .grid-parallax {
  inset: auto;
  width: 120%; height: 120%; top: -10%; left: -10%;
  opacity: 1;
  background-image: linear-gradient(rgba(0, 210, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, .02) 1px, transparent 1px);
  background-size: 45px 45px;
  transform: translateZ(0);
  transition: transform .1s ease-out;
}
.scenarios-section .radial-glow { width: 800px; height: 800px; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0, 110, 255, .08), transparent 75%); }
.scenarios-section .main-header { z-index: 10; margin: 0; }
.scenarios-section .main-header h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.scenarios-section .main-header h1 span { color: var(--scenario-primary); text-shadow: 0 0 15px rgba(0, 210, 255, .6); }
.scenarios-section .threat-top-bar { z-index: 10; gap: 50px; margin: 12px 0 0; }
.scenarios-section .hex-container { width: auto; position: relative; display: flex; flex-direction: column; align-items: center; }
.scenarios-section .hex-threat {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 66px; height: 38px; margin: 0; clip-path: none;
  background: linear-gradient(135deg, rgba(255, 51, 51, .03), rgba(255, 51, 51, .1));
  border: 0; border-left: 2px solid rgba(255, 51, 51, .3); border-right: 2px solid rgba(255, 51, 51, .3);
  box-shadow: none; filter: drop-shadow(0 4px 8px rgba(255, 51, 51, .15));
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.scenarios-section .hex-threat::before, .scenarios-section .hex-threat::after {
  content: ""; position: absolute; left: -2px; width: 66px; height: 38px;
  border-left: 2px solid rgba(255, 51, 51, .3); border-right: 2px solid rgba(255, 51, 51, .3);
  background: inherit; z-index: -1; transition: all .3s;
}
.scenarios-section .hex-threat::before { transform: rotate(60deg); }
.scenarios-section .hex-threat::after { transform: rotate(-60deg); }
.scenarios-section .hex-threat:hover { background: linear-gradient(135deg, rgba(255, 51, 51, .2), rgba(255, 51, 51, .4)); border-color: rgba(255, 51, 51, .9); box-shadow: 0 0 20px var(--scenario-red-glow); transform: translateY(-4px) scale(1.05); }
.scenarios-section .hex-threat:hover::before, .scenarios-section .hex-threat:hover::after { border-color: rgba(255, 51, 51, .9); }
.scenarios-section .hex-svg-icon { width: 22px; height: 22px; z-index: 2; filter: drop-shadow(0 2px 4px rgba(255, 51, 51, .6)); }
.scenarios-section .hex-label { margin-top: 25px; font-size: .75rem; color: #64748b; transition: color .3s; }
.scenarios-section .hex-container:hover .hex-label { color: #fca5a5; }

.scenarios-section .main-workspace { z-index: 2; width: 100%; max-width: 1400px; height: 280px; min-height: 0; margin: 0; padding: 0 40px; grid-template-columns: 300px 1fr 300px; gap: 0; }
.scenarios-section .side-panel { height: 190px; min-height: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px solid var(--scenario-border); border-radius: 16px; background: var(--scenario-panel); backdrop-filter: blur(12px); box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.scenarios-section .users-panel { border-left: 3px solid var(--scenario-primary); }
.scenarios-section .server-panel { border-right: 3px solid var(--scenario-primary); }
.scenarios-section .panel-title { margin-bottom: 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; color: #94a3b8; }
.scenarios-section .svg-box { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; }
.scenarios-section .panel-3d-svg { filter: drop-shadow(0 10px 20px rgba(0, 210, 255, .25)); }
.scenarios-section .center-shield-zone { height: 100%; min-height: 0; display: flex; justify-content: center; align-items: center; }
.scenarios-section .https-badge { left: 12%; top: 50%; transform: translateY(-50%); padding: 8px 18px; gap: 8px; border-color: rgba(0, 210, 255, .4); background: linear-gradient(135deg, rgba(15, 23, 42, .9), rgba(0, 210, 255, .15)); color: inherit; box-shadow: 0 0 15px rgba(0, 210, 255, .2), inset 0 0 8px rgba(0, 210, 255, .1); backdrop-filter: blur(5px); }
.scenarios-section .https-badge span { font-size: .75rem; font-weight: 700; color: #fff; letter-spacing: 1px; text-shadow: 0 0 5px var(--scenario-primary); }
.scenarios-section .https-lock-svg { width: 14px; height: 14px; fill: var(--scenario-primary); stroke: none; filter: drop-shadow(0 0 3px var(--scenario-primary)); }
.scenarios-section .shield-hardware { width: 190px; height: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; clip-path: none; border: 2px solid var(--scenario-primary); border-radius: 50%; background: radial-gradient(circle, rgba(2, 6, 23, .95) 30%, rgba(0, 35, 75, .5) 100%); box-shadow: 0 0 50px var(--scenario-glow), inset 0 0 25px var(--scenario-glow); animation: scenario-float-shield 4s infinite ease-in-out; }
.scenarios-section .shield-hardware h2 { font-size: 1.7rem; text-shadow: 0 0 10px var(--scenario-primary); }
.scenarios-section .shield-hardware span { color: var(--scenario-primary); font-size: 1.05rem; letter-spacing: 5px; }
.scenarios-section #canvasLayer { z-index: 5; }
.scenarios-section .bottom-features-bar { z-index: 10; width: 100%; max-width: 800px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 10px; }
.scenarios-section .feature-card { width: auto; min-height: 0; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--scenario-border); background: linear-gradient(135deg, rgba(15, 23, 42, .6), rgba(30, 41, 59, .3)); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .1); transition: transform .3s; }
.scenarios-section .feature-card:hover { transform: translateY(-2px); }
.scenarios-section .icon-3d-wrapper { width: 42px; height: 42px; margin: 0 0 8px; filter: drop-shadow(0 8px 16px rgba(0, 210, 255, .3)); }
.scenarios-section .feature-card h4 { font-size: .85rem; font-weight: 600; color: #fff; margin: 0 0 4px; }
/* Readability floor: .75rem (12px) is under the ~13px minimum for secondary
   copy; bumped slightly so the caption under each feature title stays legible. */
.scenarios-section .feature-card p { font-size: .8125rem; color: #64748b; }
@keyframes scenario-float-shield { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 700px) {
  .scenarios-section { min-height: 0; gap: 30px; }
  .scenarios-section .main-workspace { height: auto; padding: 0; grid-template-columns: 1fr; gap: 20px; }
  .scenarios-section .center-shield-zone { height: 250px; order: 0; }
  .scenarios-section .https-badge { left: 50%; top: 8px; transform: translateX(-50%); }
  .scenarios-section .threat-top-bar { gap: 25px; }
  .scenarios-section .bottom-features-bar {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 8px;
  }
  .scenarios-section .feature-card {
    padding: 12px 6px;
  }
  .scenarios-section .icon-3d-wrapper {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
  }
  .scenarios-section .feature-card h4 {
    font-size: .68rem;
    margin: 0 0 3px;
    line-height: 1.25;
  }
  .scenarios-section .feature-card p {
    font-size: .58rem;
    line-height: 1.25;
  }
}

/* SCENARIOS — feature row stays 3-across down to small phones; shrink further
   so "Виртуальный патчинг" and friends don't overflow their card */
@media (max-width: 400px) {
  .scenarios-section .bottom-features-bar { gap: 6px; }
  .scenarios-section .feature-card { padding: 10px 4px; }
  .scenarios-section .icon-3d-wrapper { width: 28px; height: 28px; margin: 0 auto 6px; }
  .scenarios-section .feature-card h4 { font-size: .62rem; }
  .scenarios-section .feature-card p { font-size: .52rem; }
}

/* SCENARIOS — small phone fix: the heading font-size is a fixed 2.4rem
   (not clamp) and never shrinks, oversized on 320-360px phones */
@media (max-width: 400px) {
  .scenarios-section .main-header h1 {
    font-size: 1.7rem;
  }
}

/* ========================================================================
   WAF CASES AND TECHNICAL REQUIREMENTS
   ======================================================================== */
.waf-cases,
.waf-tech {
  padding: 112px 0;
}

.waf-cases {
  background: #fff;
}

.waf-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.waf-case-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.waf-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .12);
}

.waf-case-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .13), rgba(0, 180, 255, .08));
  color: #2563eb;
  font-size: 1.35rem;
}

.waf-case-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.14rem;
  line-height: 1.38;
}

.waf-case-detail {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7faff;
}

.waf-case-label {
  margin-bottom: 5px;
  color: #2563eb;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.waf-case-detail p {
  margin: 0;
  color: #475569;
  font-size: .89rem;
  line-height: 1.58;
}

.waf-case-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(16, 185, 129, .18);
  border-radius: 12px;
  background: rgba(16, 185, 129, .07);
  color: #047857;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.5;
}

.waf-case-result-icon { flex: 0 0 auto; color: #10b981; font-size: 1.05rem; }

.waf-tech { background: #f7faff; }

.waf-tech-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.waf-tech-table { width: 100%; min-width: 800px; border-collapse: collapse; }
.waf-tech-table thead { background: linear-gradient(135deg, #0a2447, #123b72); }
.waf-tech-table th { padding: 20px 24px; color: #fff; font-size: .9rem; font-weight: 700; text-align: left; }
.waf-tech-table th i { margin-right: 8px; color: #5ee5ff; }
.waf-tech-table td { padding: 18px 24px; border-bottom: 1px solid rgba(37, 99, 235, .1); color: #475569; font-size: .89rem; line-height: 1.45; }
.waf-tech-table tbody tr:last-child td { border-bottom: 0; }
.waf-tech-table tbody tr:hover { background: rgba(37, 99, 235, .035); }
.waf-tech-param { color: #1d4ed8 !important; font-weight: 700; white-space: nowrap; }
.waf-tech-param i { width: 18px; margin-right: 7px; color: #2563eb; }
.waf-tech-note { max-width: 1200px; margin: 24px auto 0; color: #64748b; font-size: .85rem; line-height: 1.5; text-align: center; display: flex; gap: 8px; justify-content: center; }
.waf-tech-descriptor { max-width: 1200px; margin: 24px auto 0; color: #475569; font-size: .95rem; line-height: 1.6; text-align: center; padding: 16px 24px; background: #eef2ff; border-radius: 12px; border: 1px solid rgba(37,99,235,.1); }
.waf-tech-descriptor strong { color: #2563EB; }
.waf-tech-guide { max-width: 1200px; margin: 32px auto 0; }
.waf-tech-guide-title { font-size: 18px; font-weight: 700; color: #0F172A; text-align: center; margin-bottom: 20px; }
.waf-tech-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.waf-tech-guide-item { padding: 20px 20px; background: #fff; border: 1px solid #e6edf8; border-radius: 16px; box-shadow: 0 4px 12px rgba(46,99,177,.05); transition: transform .25s ease, box-shadow .25s ease; }
.waf-tech-guide-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,99,235,.1); }
.waf-tech-guide-rps { display: inline-block; padding: 4px 14px; border-radius: 99px; background: linear-gradient(135deg, #2563EB, #1d4ed8); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.waf-tech-guide-item p { margin: 0; color: #475569; font-size: 14px; line-height: 1.5; }
@media (max-width: 768px) { .waf-tech-guide-grid { grid-template-columns: 1fr; } }

@media (min-width: 993px) {
  .header .nav { gap: 18px; }
  .header .nav a { font-size: 13px; }
}

@media (max-width: 768px) {
  .waf-cases,
  .waf-tech { padding: 72px 0; }
  .waf-cases-grid { grid-template-columns: 1fr; gap: 24px; }
  .waf-case-card { padding: 24px 20px; }
  .waf-tech-table th,
  .waf-tech-table td { padding: 15px 18px; }
}

.footer--waf .footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.15), transparent);
  margin-bottom: 20px;
}

.footer--waf .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer--waf .footer-bottom span {
  color: rgba(255, 255, 255, 0.3);
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer--waf .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer--waf .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer--waf .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer--waf .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile nav override for dark header */
@media (max-width: 992px) {
  .header--waf + .nav {
    background: rgba(2, 6, 23, 0.98) !important;
    border-top: 1px solid rgba(0, 210, 255, 0.1) !important;
  }
  
  .header--waf ~ .nav a {
    color: rgba(255, 255, 255, 0.7) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }
  
  .header--waf ~ .nav a:hover,
  .header--waf ~ .nav a.active {
    color: var(--waf-blue, #00d2ff) !important;
  }
}

/* ========================================================================
   WAF CTA SECTION
   ======================================================================== */
.waf-cta {
  position: relative;
  background: linear-gradient(135deg, #020617 0%, #0a1a3a 50%, #020617 100%);
  padding: 80px 0;
  overflow: hidden;
}

.waf-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 30% 50%, #2563eb 0%, transparent 60%), radial-gradient(circle at 70% 50%, #00d2ff 0%, transparent 60%);
}

.waf-cta-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.waf-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.waf-cta-left {
  color: #fff;
}

.waf-cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: #00d2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.waf-cta-left h2 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin: 0 0 24px;
}

.waf-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.waf-cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.waf-cta-feature i {
  color: #00d2ff;
  font-size: 16px;
}

.waf-cta-text-highlighted {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.05);
  border-left: 3px solid rgba(0, 210, 255, 0.3);
}

.waf-cta-form-card {
  background: #0f1a38;
  border: 1px solid rgba(0, 210, 255, 0.12);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.waf-cta-form-header {
  text-align: center;
  margin-bottom: 16px;
}

.waf-cta-form-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(37, 99, 235, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #00d2ff;
  font-size: 18px;
}

.waf-cta-form-header h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.3rem;
}

.waf-cta-form-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.waf-cta-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.waf-cta-form-group {
  position: relative;
}

.waf-cta-input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}

.waf-cta-input:focus {
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.waf-cta-input.error {
  border-color: rgba(239, 68, 68, 0.5);
}

.waf-cta-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  pointer-events: none;
  transition: all 0.2s ease;
}

.waf-cta-input:focus ~ .waf-cta-label,
.waf-cta-input.has-value ~ .waf-cta-label,
.waf-cta-input:not(:placeholder-shown) ~ .waf-cta-label {
  top: 8px;
  transform: translateY(0);
  font-size: 11px;
  color: rgba(0, 210, 255, 0.6);
}

.waf-cta-form-group--textarea .waf-cta-label {
  top: 14px;
  transform: none;
}

.waf-cta-form-group--textarea .waf-cta-input:focus ~ .waf-cta-label,
.waf-cta-form-group--textarea .waf-cta-input.has-value ~ .waf-cta-label {
  top: 6px;
}

.waf-cta-textarea {
  resize: vertical;
  min-height: 60px;
}

.waf-cta-input-highlight {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00d2ff;
  transition: all 0.3s ease;
  border-radius: 0 0 12px 12px;
  transform: none;
}

.waf-cta-input:focus ~ .waf-cta-input-highlight {
  left: 0;
  width: 100%;
}

.waf-cta-error-msg {
  display: none;
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
}

.waf-cta-input.error ~ .waf-cta-error-msg {
  display: block;
}

/* Checkbox styles */
.waf-cta-form-group--checkbox {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.waf-cta-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.waf-cta-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.waf-cta-checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: all 0.2s ease;
}

.waf-cta-checkbox:checked + .waf-cta-checkbox-custom {
  background: #00d2ff;
  border-color: #00d2ff;
}

.waf-cta-checkbox:checked + .waf-cta-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #020617;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.waf-cta-checkbox.error + .waf-cta-checkbox-custom {
  border-color: #ef4444;
}

.waf-cta-checkbox-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.waf-cta-privacy-link {
  color: #00d2ff;
  text-decoration: underline;
  transition: color 0.2s;
}

.waf-cta-privacy-link:hover {
  color: #fff;
}

.waf-cta-error-msg--checkbox {
  padding-left: 28px;
}

.waf-cta-submit {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #2563eb, #00d2ff);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.waf-cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25);
}

.waf-cta-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.waf-cta-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.waf-cta-form-note i {
  color: rgba(0, 210, 255, 0.4);
}

.waf-cta-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.waf-cta-success.visible {
  display: block;
}

.waf-cta-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(37, 99, 235, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #00d2ff;
  font-size: 24px;
}

.waf-cta-success h3 {
  color: #fff;
  margin: 0 0 8px;
}

.waf-cta-success p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-size: 14px;
}

/* Footer privacy link */
.footer-privacy-link {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-privacy-link:hover {
  color: #00d2ff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .waf-cta-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .waf-cta-left h2 {
    font-size: 1.6rem;
  }
  .waf-cta-form-card {
    padding: 28px 20px;
  }
}
/* CASES */
:root {
  --primary-blue: #007aff;
  --bg-light: #f8fafd;
  --text-dark: #1d1d1f;
  --text-muted: #515154;
  --border-radius: 24px;
  --transition-speed: 0.4s;
}

.waf-cases {
  padding: clamp(48px, 6vw, 64px) 0;
  background-color: #fff;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary-blue);
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.text-gradient-blue {
  background: linear-gradient(90deg, #007aff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Compact header just for the cases section — doesn't touch the shared
   unscoped .section-title/.section-subtitle rules above, so other sections
   on the page keep their own sizing. */
.waf-cases .section-header {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.waf-cases .section-title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 6px;
}

.waf-cases .section-subtitle {
  font-size: 15px;
}

/* Настройки слайдера — compact cards sized to fit a single screen */
.waf-cases-slider {
  padding: 8px 0 48px 0 !important;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.waf-cases-slider .swiper-wrapper {
  overflow: visible;
}

.waf-cases .swiper-slide {
  width: 42% !important;
  height: auto !important;
  display: block !important;
  position: relative !important;
  opacity: 0.4 !important;
  transform: scale(0.93) !important;
  background: transparent !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* Стили для активного (центрального) слайда */
.waf-cases .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Карточка кейса */
.waf-case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.waf-cases .swiper-slide-active .waf-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.waf-case-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.waf-case-icon {
  width: 44px;
  height: 44px;
  background: #e8f2ff;
  color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.waf-case-card h3 {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

/* Тело кейса (Внутренние блоки) */
.waf-case-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.waf-case-detail {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 14px 16px;
}

.waf-case-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: .8px;
  margin-bottom: 6px;
}

.waf-case-detail p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}

/* Блок решения и результатов — stacked, not a 2-column grid, so the result
   chips sit right under the (now much shorter) solution text */
.solution-block .solution-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waf-case-result ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waf-case-result li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 176, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.waf-case-result i {
  color: #00b0ff;
  font-size: 13px;
  flex-shrink: 0;
}

/* Элементы интерфейса управления */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  width: 44px;
  height: 44px;
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.swiper-pagination-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  gap: 8px;
}

.swiper-pagination-custom .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d1d1d6;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
  background: var(--primary-blue);
  width: 24px;
  border-radius: 4px;
}

/* Адаптивность под планшеты и мобилки */
@media (max-width: 1024px) {
  .waf-cases .swiper-slide {
    width: 82% !important;
  }
}

@media (max-width: 768px) {
  .waf-cases .swiper-slide {
    width: 94% !important;
  }
  .waf-case-card {
    padding: 18px;
    gap: 10px;
  }
}

/* CASES — small phone fix: icon + multi-line heading share one row and
   get squeezed on 320-360px phones; stack them instead */
@media (max-width: 400px) {
  .waf-case-card {
    padding: 16px;
  }
  .waf-case-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .waf-case-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .waf-case-card h3 {
    font-size: 16px;
  }
}

/* CASES — large monitors: wider cards would just stretch text lines out
   thin, so keep the card width capped and let more page whitespace show */
@media (min-width: 1600px) {
  .waf-cases .swiper-slide {
    width: 52% !important;
  }
  .waf-case-card {
    padding: 34px;
  }
  .waf-case-card h3 {
    font-size: 1.25rem;
  }
}

/* ========================================================================
   LARGE MONITORS (>=1600px) — modest scale-up so fixed-px headings and
   decorative visuals don't look undersized on 1920/2560/ultrawide/4K.
   Sections already using clamp()/relative units are intentionally skipped.
   ======================================================================== */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
    padding: 0 48px;
  }

  /* Threats */
  .threats-grid,
  .threats-container {
    max-width: 1450px;
  }
  .threat-card-lg__title {
    font-size: 31px;
  }
  .threat-card-lg__desc {
    font-size: 16px;
  }
  .threat-card-lg__icon-bg {
    width: 56px;
    height: 56px;
  }
  .threat-card-lg__icon {
    width: 72px;
    height: 72px;
  }

  /* Comparison table */
  .waf-compare__row {
    grid-template-columns: 270px 1fr 1fr;
  }
  .waf-compare__title {
    font-size: 40px;
  }

  /* Hexagon advantages diagram */
  .diagram-wrapper {
    max-width: 860px;
  }
  .hexagon-layout .text-side h2 {
    font-size: 54px;
  }

  /* Audience */
  .waf-audience-title {
    font-size: 40px;
  }
  .audience-reference-icon {
    width: 80px;
    height: 78px;
  }

  /* Scenarios */
  .scenarios-section .main-header h1 {
    font-size: 2.7rem;
  }
  .scenarios-section .shield-hardware {
    width: 235px;
    height: 235px;
  }

  /* Cases */
  .waf-case-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .waf-case-card h3 {
    font-size: 24px;
  }

  /* Technical requirements */
  .waf-tech-table-wrap,
  .waf-tech-guide,
  .waf-tech-note,
  .waf-tech-descriptor {
    max-width: 1300px;
  }

  /* Materials */
  .material-card {
    max-width: 380px;
  }

  /* FAQ */
  .faq {
    max-width: 800px;
  }

  /* CTA */
  .waf-cta-left h2 {
    font-size: 2.5rem;
  }
}

/* Cookie Banner for WAF pages */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #0F172A;
    border-top: 1px solid rgba(0, 210, 255, 0.1);
    padding: 20px 24px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.cookie-btn-secondary {
    background: #1E293B;
    color: #E2E8F0;
    border: 1px solid rgba(0, 210, 255, 0.15);
}

.cookie-btn-secondary:hover {
    border-color: #2563EB;
    color: #3B82F6;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}
