.atp-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 5vw, 96px) clamp(56px, 8vw, 120px);
  background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }

/* Our Process: all 4 cards in a single row with a colored top accent line */
.atp-process-grid { grid-template-columns: repeat(4, 1fr); }
.atp-process-grid .svc-card { border-top: 3px solid var(--sc, var(--blue)); padding-top: 24px; padding-left: clamp(20px, 2.4vw, 30px); }
.atp-process-grid .svc-card:first-child { padding-left: 0; }
.atp-process-grid .svc-card:not(:first-child) { border-left: 1px solid var(--border); }
.atp-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.atp-title { margin: 18px 0 20px; max-width: 16ch; }
.atp-lead { margin-bottom: 30px; }
.atp-cta { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- hero visual: AI detection network ---------- */
.atp-net { display: flex; align-items: center; justify-content: center; }
.atp-net svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }

.atp-line { fill: none; stroke: var(--border); stroke-width: 1.4; }
.atp-node circle:first-child { fill: #fff; stroke: var(--border); stroke-width: 1.4; }
.atp-node use, .atp-node .ic { color: var(--tc, var(--blue)); }

.atp-hub { fill: var(--navy-800); }
.atp-hub-ic { color: #fff; }
.atp-hub-glow {
  fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-opacity: .4;
  transform-box: fill-box; transform-origin: center; animation: atp-breathe 3s var(--ease) infinite;
}

.atp-shield { fill: var(--navy-800); }
.atp-shield-ic { color: #fff; }
.atp-shield-pulse {
  fill: none; stroke: var(--teal); stroke-width: 1.6;
  transform-box: fill-box; transform-origin: center; animation: atp-blip 3.4s var(--ease) infinite;
}

.atp-flow { fill: var(--cyan); offset-rotate: 0deg; animation: atp-flow 2.4s linear infinite; }
.atp-flow--threat { fill: #F04438; animation: atp-flow-threat 3.4s linear infinite; }
.atp-flow--out { fill: var(--teal); animation: atp-flow-out 1.6s linear infinite; }

@keyframes atp-breathe {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.16); opacity: .12; }
}
@keyframes atp-blip {
  0%, 60%, 100% { transform: scale(1); opacity: 0; }
  8% { transform: scale(1); opacity: 1; }
  30% { transform: scale(1.6); opacity: 0; }
}
@keyframes atp-flow {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes atp-flow-threat {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  55% { opacity: 1; }
  62% { opacity: 0; }
  100% { offset-distance: 62%; opacity: 0; }
}
@keyframes atp-flow-out {
  0% { offset-distance: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ============================================================
   WHAT IS ATP — left-aligned, full width
   ============================================================ */
.atp-intro .intro__grid { align-items: center; }

/* ============================================================
   KEY BENEFITS — vertically centre the left column
   ============================================================ */
.atp-why .why__grid { align-items: center; }

/* ============================================================
   FINAL CTA — floating note cluster (same pattern as the other pages)
   ============================================================ */
.atp-cluster { position: relative; height: 380px; }
.atp-note {
  position: absolute; width: 220px; border-radius: 16px; padding: 18px 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #E8EEF8; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(18px) rotate(var(--rot, 0deg));
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.reveal.in .atp-note { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); animation: atp-float 6s var(--ease) infinite; }
.atp-note:hover { animation-play-state: paused; transform: translateY(-8px) rotate(var(--rot, 0deg)) scale(1.035); box-shadow: 0 36px 74px -28px rgba(0,0,0,.6); border-color: rgba(125,224,236,.4); }
.atp-note__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(125,224,236,.14); color: #7DE0EC; }
.atp-note__ic svg { width: 19px; height: 19px; }
.atp-note b { display: block; font-family: var(--display); font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.atp-note span { font-size: 0.82rem; color: #9FB0CC; line-height: 1.5; }
.atp-note--a { top: 6%; left: 4%; --rot: -4deg; animation-delay: .2s !important; }
.atp-note--b { top: 40%; left: 28%; --rot: 3deg; transition-delay: 140ms; animation-delay: 1.3s !important; }
.atp-note--c { top: 66%; left: 4%; --rot: -2deg; transition-delay: 280ms; animation-delay: 2.4s !important; }

@keyframes atp-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-11px) rotate(var(--rot, 0deg)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .atp-grid { grid-template-columns: 1fr; }
  .atp-net svg { max-width: 360px; }
}
@media (max-width: 720px) {
  .atp-cluster { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .atp-note, .reveal.in .atp-note { position: static; width: auto; transform: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  /* Our Process cards: single swipeable line, top accent line only (no full box border) */
  .atp-process-grid.svc-grid { flex-wrap: nowrap; }
  .atp-process-grid .svc-card {
    border: 0 !important; border-top: 3px solid var(--sc, var(--blue)) !important;
    border-radius: 0 !important; box-shadow: none !important; background: var(--tint);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atp-note { transition: none !important; opacity: 1 !important; transform: none !important; }
  .atp-note, .reveal.in .atp-note { animation: none !important; }
  .atp-flow, .atp-flow--threat, .atp-flow--out, .atp-hub-glow, .atp-shield-pulse { animation: none !important; opacity: 0 !important; }
}

@media (max-width: 640px) {
  /* Coverage areas: one card per row */
  .process__flow.problem { grid-template-columns: 1fr; gap: 12px; }

  /* Our process: one card per row */
  .atp-process-grid.svc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .atp-process-grid .svc-card {
    width: auto; max-width: none; border: 1px solid var(--border) !important; border-radius: 16px !important;
    padding: 18px !important; background: #fff !important; box-shadow: var(--shadow-sm) !important;
  }
}

/* hero spacing: 40px desktop, 10px phones */
.atp-hero { padding-block: 40px; }
@media (max-width: 640px) {
  .atp-hero { padding-block: 10px; }
}
