/*
Theme Name:   UltraGuard Site
Theme URI:    https://ultraguard.net
Description:  Official theme for UltraGuard — WordPress security plugin.
Version:      3.0.0
Author:       UltraGuard
Text Domain:  atp-theme
*/

/* ═══════════════════════════════════════════════════════
   ULTRAGUARD v3  ·  Clean Light Theme
   Font:    Inter — single family, 400/500/600/700/800
   Design:  Stripe/Linear influenced. No ornament.
            White base · Warm grey sections · Navy ink
            Blue primary · Emerald success · Tight grid
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Tokens ───────────────────────────────────────────── */
:root {
  --ink:        #0d1421;
  --ink-2:      #1a2540;
  --body:       #3c4a5c;
  --muted:      #5d6b7e;
  --faint:      #8896a8;
  --disabled:   #aab4c0;

  --white:      #ffffff;
  --canvas:     #f7f8fa;
  --surface:    #f0f2f5;
  --surface-2:  #e8ebf0;

  --blue:       #1d5cf5;
  --blue-dk:    #1448d4;
  --blue-lt:    #3a6ff7;
  --blue-bg:    #edf2ff;
  --blue-bd:    rgba(29,92,245,.16);

  --green:      #0b9e64;
  --green-bg:   rgba(11,158,100,.08);
  --green-bd:   rgba(11,158,100,.2);

  --amber:      #c47c09;
  --amber-bg:   rgba(196,124,9,.08);

  --red:        #d42b2b;
  --red-bg:     rgba(212,43,43,.08);

  --border:     #dde2ea;
  --border-2:   #c8cfd8;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:       ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --w:          1160px;
  --px:         clamp(16px, 4vw, 32px);
  --sec:        88px;

  --r-xs: 4px;   --r-sm: 8px;   --r-md: 12px;
  --r-lg: 16px;  --r-xl: 22px;  --r-2xl: 32px;

  --s0:  0 1px 3px rgba(0,0,0,.05);
  --s1:  0 2px 10px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --s2:  0 6px 24px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.04);
  --s3:  0 16px 48px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.05);
  --s4:  0 32px 80px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.06);
  --sb:  0 6px 24px rgba(29,92,245,.28);
}

/* WordPress admin bar fix */
.admin-bar #atp-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #atp-header { top: 46px; }
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none; }   /* kill old dark grid */
img { max-width: 100%; height: auto; display: block; }

/* ── Type scale ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.024em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: .875rem; font-weight: 600; }
h6 { font-size: .8rem;   font-weight: 600; }

/* em inside headings = blue accent, no italic */
h1 em, h2 em, h3 em { font-style: normal; color: var(--blue); font-weight: inherit; }

p { color: var(--muted); line-height: 1.78; }
a { color: var(--blue); text-decoration: none; transition: color .14s; }
a:hover { color: var(--blue-dk); }
strong { color: var(--ink); font-weight: 600; }

code {
  font-family: var(--mono);
  font-size: .82em;
  background: var(--blue-bg);
  border: 1px solid var(--blue-bd);
  border-radius: var(--r-xs);
  padding: 1px 6px;
  color: var(--blue-dk);
}
pre {
  font-family: var(--mono);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  overflow-x: auto;
  font-size: .87rem;
}
blockquote {
  border-left: 3px solid var(--blue);
  padding: 14px 22px;
  background: var(--blue-bg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--muted);
  margin: 24px 0;
}
hr { border: none; height: 1px; background: var(--border); margin: 48px 0; }
ul,ol { padding-left: 1.4em; color: var(--muted); }
li { margin-bottom: .4em; }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
  position: relative;
  z-index: 1;
}
.section    { padding: var(--sec) 0; position: relative; }
.section-sm { padding: 60px 0; position: relative; }
.section-lg { padding: 120px 0; position: relative; }
.bg-white   { background: var(--white); }
.bg-canvas  { background: var(--canvas); }
.bg-surface { background: var(--surface); }
.text-center { text-align: center; }

/* ── Spacing helpers ──────────────────────────────────── */
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}
.mb-3{margin-bottom:24px}.mb-4{margin-bottom:36px}.mb-6{margin-bottom:56px}
.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}.mt-6{margin-top:56px}
.pt-0{padding-top:0}

/* WordPress classes */
.alignleft   { float:left;  margin:0 24px 16px 0; }
.alignright  { float:right; margin:0 0 16px 24px; }
.aligncenter { display:block; margin:0 auto 16px; }
.wp-caption  { color:var(--faint); font-size:.78rem; text-align:center; margin-top:6px; }

/* ── Label tag ────────────────────────────────────────── */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  padding: 5px 12px;
  border: 1px solid var(--blue-bd);
  border-radius: 100px;
  background: var(--blue-bg);
  margin-bottom: 18px;
}
.label-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Gold / divider line ──────────────────────────────── */
.gold-line {
  width: 40px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  margin: 12px 0 20px;
  opacity: .5;
}
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .14s, box-shadow .14s, background .14s, border-color .14s, color .14s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover   { transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }

.btn-primary, .btn-gold {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: var(--sb);
}
.btn-primary:hover, .btn-gold:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  color: #fff;
  box-shadow: 0 8px 32px rgba(29,92,245,.34);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-2);
  box-shadow: var(--s0);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--s1); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-bd);
}
.btn-outline:hover { background: var(--blue-bg); border-color: var(--blue); }

.btn-lg { padding: 14px 32px; font-size: .95rem; border-radius: var(--r-lg); }
.btn-sm { padding: 7px 14px;  font-size: .8rem; }

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--s1);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: var(--s2);
  transform: translateY(-2px);
}

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 100px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.badge-green { background:var(--green-bg); color:var(--green); border:1px solid var(--green-bd); }
.badge-blue  { background:var(--blue-bg);  color:var(--blue);  border:1px solid var(--blue-bd); }
.badge-amber { background:var(--amber-bg); color:var(--amber); border:1px solid rgba(196,124,9,.22); }
.badge-red   { background:var(--red-bg);   color:var(--red);   border:1px solid rgba(212,43,43,.22); }

/* ══ HEADER ══════════════════════════════════════════════ */
#atp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
#atp-header.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.07);
}
.atp-nav {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
/* Logo */
.atp-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0; margin-right: 36px;
}
.atp-logo-mark {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem; color: #fff;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.atp-logo-text {
  font-size: .95rem; font-weight: 700;
  color: var(--ink); line-height: 1.2;
  letter-spacing: -.015em;
}
.atp-logo-text span {
  display: block; font-size: .6rem; font-weight: 500;
  color: var(--faint); letter-spacing: .04em;
  text-transform: uppercase;
}
.atp-logo:hover .atp-logo-text { color: var(--ink); }

/* Nav links */
.atp-nav-menu {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.atp-nav-menu a {
  display: block; padding: 8px 13px;
  font-size: .86rem; font-weight: 500;
  color: var(--muted); border-radius: var(--r-sm);
  transition: color .14s, background .14s;
  text-decoration: none;
}
.atp-nav-menu a:hover,
.atp-nav-menu .current-menu-item a { color: var(--ink); background: var(--surface); }
.atp-nav-menu .current-menu-item a { color: var(--blue); background: var(--blue-bg); }

.atp-nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 16px; }

/* Hamburger */
.atp-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none;
  background: none; margin-left: auto;
}
.atp-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px; transition: all .2s;
}
.atp-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.atp-hamburger.open span:nth-child(2) { opacity: 0; }
.atp-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .atp-nav-menu, .atp-nav-cta { display: none; }
  .atp-hamburger { display: flex; }
  .atp-nav-menu.open {
    display: flex; flex-direction: column; position: fixed;
    top: 64px; left: 0; right: 0; z-index: 999;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    backdrop-filter: blur(16px); gap: 2px;
    box-shadow: var(--s2);
  }
  .atp-nav-cta.open {
    display: flex; position: fixed; z-index: 999;
    left: 0; right: 0;
    top: calc(64px + var(--mobile-menu-h, 200px));
    background: rgba(255,255,255,.98);
    padding: 0 20px 20px; flex-direction: column; gap: 8px;
  }
  .admin-bar .atp-nav-menu.open { top: calc(64px + 46px); }
  @media screen and (min-width: 783px) {
    .admin-bar .atp-nav-menu.open { top: calc(64px + 32px); }
  }
}

/* ══ HERO ════════════════════════════════════════════════ */
.ug-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
/* single clean tint — no dot grids, no glows */
.ug-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, var(--blue-bg) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.ug-hero-grid-overlay { display: none; }
.ug-orb               { display: none; }
.ug-hero-inner {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto;
  padding: 120px var(--px) 72px;
  text-align: center;
}
/* Admin bar compensation for hero padding */
.admin-bar .ug-hero-inner { padding-top: 152px; }

.ug-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; color: var(--blue);
  background: var(--blue-bg); border: 1px solid var(--blue-bd);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 28px;
}
.ug-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--green-bg);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.ug-hero-inner h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 22px;
  color: var(--ink);
}
.ug-hero-lead {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--muted); max-width: 620px;
  margin: 0 auto 40px; line-height: 1.8;
}
.ug-hero-actions {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; flex-wrap: wrap; margin-bottom: 36px;
}
.ug-trust-strip {
  display: flex; align-items: center; gap: 6px 20px;
  justify-content: center; flex-wrap: wrap;
  font-size: .72rem; font-weight: 500;
  color: var(--faint); letter-spacing: .01em;
}

/* Stats bar */
.ug-stats-bar {
  position: relative; z-index: 2;
  margin-top: 72px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.ug-stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--w); margin: 0 auto;
  padding: 0 var(--px);
}
.ug-stat {
  padding: 26px 18px; text-align: center;
  border-right: 1px solid var(--border);
}
.ug-stat:last-child { border-right: none; }
.ug-stat-val {
  font-size: 2rem; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: 6px;
  letter-spacing: -.03em;
}
.ug-stat-lbl {
  font-size: .72rem; font-weight: 600;
  color: var(--faint); text-transform: uppercase; letter-spacing: .06em;
}

@media (max-width: 640px) {
  .ug-stats-inner { grid-template-columns: 1fr 1fr; }
  .ug-stat { border-bottom: 1px solid var(--border); }
  .ug-stat:nth-child(2) { border-right: none; }
  .ug-stat:nth-child(3),
  .ug-stat:nth-child(4) { border-bottom: none; }
  .ug-stat:nth-child(4) { border-right: none; }
}

/* ══ SPLIT LAYOUT ════════════════════════════════════════ */
.ug-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.ug-split-reverse { direction: rtl; }
.ug-split-reverse > * { direction: ltr; }
.ug-split-copy > h2 { margin-bottom: 14px; }
.ug-split-copy > p  { margin-bottom: 0; }

@media (max-width: 860px) {
  .ug-split { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .ug-split-reverse { direction: ltr; }
}

/* ══ THREAT MOCK ═════════════════════════════════════════ */
.ug-threat-section { background: var(--canvas); }
.ug-threat-mock {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--s3);
}
.ug-mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.ug-mock-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ug-mock-dot.r { background: #f87171; }
.ug-mock-dot.a { background: #fbbf24; }
.ug-mock-dot.g { background: #34d399; }
.ug-mock-title {
  margin-left: 6px; font-size: .72rem; font-weight: 600;
  color: var(--muted); flex: 1;
}
.ug-mock-status { font-size: .68rem; font-weight: 600; color: var(--green); }
.ug-mock-feed   { display: flex; flex-direction: column; }
.ug-feed-row {
  display: grid; grid-template-columns: 76px 1fr 1fr;
  align-items: center; gap: 10px; padding: 8px 14px;
  border-bottom: 1px solid var(--surface);
  font-size: .72rem; transition: background .12s;
}
.ug-feed-row:last-child { border-bottom: none; }
.ug-feed-block:hover { background: rgba(212,43,43,.03); }
.ug-feed-clean:hover { background: rgba(11,158,100,.03); }
.ug-feed-warn:hover  { background: rgba(196,124,9,.03); }
.ug-feed-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 6px; border-radius: var(--r-xs);
  font-size: .6rem; font-weight: 700; letter-spacing: .04em;
}
.ug-feed-pill.red   { background:var(--red-bg);   color:var(--red);   }
.ug-feed-pill.green { background:var(--green-bg); color:var(--green); }
.ug-feed-pill.amber { background:var(--amber-bg); color:var(--amber); }
.ug-feed-ip   { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: .69rem; }
.ug-feed-type { color: var(--faint); text-align: right; }
.ug-mock-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: .67rem; color: var(--faint);
}
.ug-live-badge { display:flex; align-items:center; gap:5px; color:var(--green); font-weight:600; }
.ug-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: blink 1.6s infinite;
}

/* ══ FREE FEATURES ═══════════════════════════════════════ */
.ug-free-section { background: var(--white); }
.ug-feat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 48px;
}
.ug-feat-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px; background: var(--canvas);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.ug-feat-card:hover {
  border-color: var(--blue-bd); box-shadow: var(--s1);
  background: var(--white);
}
.ug-feat-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-bd);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800; flex-shrink: 0; margin-top: 1px;
}
.ug-feat-card h4 { font-size: .88rem; margin-bottom: 3px; letter-spacing: -.01em; }
.ug-feat-card p  { font-size: .78rem; line-height: 1.6; margin: 0; }

@media (max-width: 640px) { .ug-feat-grid { grid-template-columns: 1fr; } }

/* ══ WAF SECTION ═════════════════════════════════════════ */
.ug-waf-section { background: var(--canvas); }
.ug-layer-list { margin: 20px 0; display: flex; flex-direction: column; gap: 5px; }
.ug-layer-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: .78rem; font-weight: 500; color: var(--ink);
}
.ug-layer-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-bd);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; flex-shrink: 0;
}
.ug-attack-chips-wrap { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.ug-chips-label { font-size: .7rem; font-weight: 600; color: var(--faint); }
.ug-chip {
  padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--blue-bg); border: 1px solid var(--blue-bd);
  color: var(--blue-dk); font-size: .67rem; font-weight: 600;
  font-family: var(--mono);
}

/* WAF diagram */
.ug-waf-diagram-wrap { display: flex; justify-content: center; }
.ug-waf-diagram {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px 20px;
  box-shadow: var(--s2); width: 100%; max-width: 340px;
  font-size: .76rem; text-align: center;
}
.ug-waf-internet {
  padding: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  margin-bottom: 8px; width: 100%;
}
.ug-waf-i-icon { font-size: 1.4rem; margin-bottom: 3px; }
.ug-waf-threats { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.ug-waf-threat-row {
  padding: 4px 8px; border-radius: var(--r-xs);
  font-size: .67rem; font-weight: 600; text-align: left;
}
.ug-waf-threat-row.bad { background:var(--red-bg);   color:var(--red);   }
.ug-waf-threat-row.ok  { background:var(--green-bg); color:var(--green); }
.ug-waf-arrow { font-size: 1.1rem; color: var(--faint); margin: 4px 0; }
.ug-waf-shield {
  padding: 16px; background: var(--blue-bg);
  border: 1.5px solid var(--blue-bd); border-radius: var(--r-lg);
  width: 100%; margin-bottom: 8px;
}
.ug-waf-s-icon  { font-size: 1.6rem; margin-bottom: 4px; }
.ug-waf-s-title { font-weight: 700; color: var(--blue-dk); font-size: .82rem; }
.ug-waf-s-sub   { font-size: .66rem; color: var(--faint); margin-top: 2px; }
.ug-waf-result {
  padding: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  width: 100%; display: flex; flex-direction: column; gap: 6px;
}
.ug-waf-r-blocked { color:var(--red);   font-weight:700; font-size:.71rem; }
.ug-waf-r-pass    { color:var(--green); font-weight:700; font-size:.71rem; }
.ug-waf-site      { font-weight:700; color:var(--ink); font-size:.76rem; margin-top:2px; }

/* ══ SCANNER MOCK ════════════════════════════════════════ */
.ug-scanner-mock {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--s3);
}
.ug-scanner-progress-wrap { padding: 14px 16px 10px; }
.ug-progress-track {
  height: 5px; background: var(--surface);
  border-radius: 100px; overflow: hidden;
}
.ug-progress-fill {
  height: 100%; background: var(--blue);
  border-radius: 100px; opacity: .8;
}
.ug-scan-layers { padding: 0 16px 14px; display: flex; flex-direction: column; }
.ug-scan-row {
  display: grid; grid-template-columns: 16px 1fr auto;
  align-items: center; gap: 9px; padding: 6px 0;
  border-bottom: 1px solid var(--surface);
}
.ug-scan-row:last-child { border-bottom: none; }
.ug-scan-ic {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; flex-shrink: 0;
}
.ug-scan-row.done .ug-scan-ic { background:var(--green-bg); color:var(--green); }
.ug-scan-row.pend .ug-scan-ic { background:var(--surface);  color:var(--disabled); }
.ug-scan-name { font-size: .74rem; font-weight: 500; color: var(--ink); }
.ug-scan-row.pend .ug-scan-name { color: var(--faint); }
.ug-scan-res { font-family: var(--mono); font-size: .65rem; color: var(--faint); }
.ug-scan-res.warn { color: var(--amber); font-weight: 700; }

/* ══ BULLET LIST ═════════════════════════════════════════ */
.ug-bullet-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-direction: column; gap: 9px;
}
.ug-bullet-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .87rem; color: var(--muted); margin: 0; padding: 0;
}
.ug-bullet-list li::before {
  content: '✓'; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-bd);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; flex-shrink: 0;
}

/* ══ PRO SECTION ═════════════════════════════════════════ */
.ug-pro-section { background: var(--canvas); }
.ug-pro-bg-gradient { display: none; }
.ug-pro-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 48px;
}
.ug-pro-card {
  position: relative; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--s0);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ug-pro-card:hover {
  border-color: var(--blue-bd); box-shadow: var(--s2);
  transform: translateY(-2px);
}
.ug-pro-badge {
  position: absolute; top: 13px; right: 13px;
  padding: 2px 8px; border-radius: 100px;
  background: var(--blue); color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
}
.ug-pro-card h4 { font-size: .88rem; margin-bottom: 4px; padding-right: 40px; }
.ug-pro-card p  { font-size: .78rem; line-height: 1.6; margin: 0; }

@media (max-width: 640px) { .ug-pro-grid { grid-template-columns: 1fr; } }

/* ══ ARCHITECTURE ════════════════════════════════════════ */
.ug-arch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 48px;
}
.ug-arch-card { padding: 24px; }
.ug-arch-check {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: var(--blue-bg); border: 1px solid var(--blue-bd);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; margin-bottom: 14px;
}
.ug-arch-card h4 { font-size: .88rem; margin-bottom: 6px; }
.ug-arch-card p  { font-size: .78rem; line-height: 1.65; margin: 0; }
.ug-stack-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.ug-stack-pill {
  padding: 5px 12px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--muted); font-size: .7rem; font-weight: 500;
  box-shadow: var(--s0);
}

@media (max-width: 860px) { .ug-arch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ug-arch-grid { grid-template-columns: 1fr; } }

/* ══ TESTIMONIALS ════════════════════════════════════════ */
.ug-testimonials-section { background: var(--white); }
.ug-testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px;
}
.ug-testi-card { padding: 28px; }

@media (max-width: 860px) { .ug-testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ug-testi-grid { grid-template-columns: 1fr; } }

/* ══ INSTALL STEPS ═══════════════════════════════════════ */
.ug-steps-wrap {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start; margin-top: 48px; gap: 0;
}
.ug-step {
  padding: 28px 24px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--s1); text-align: center;
  transition: box-shadow .15s, border-color .15s;
}
.ug-step:hover { box-shadow: var(--s2); border-color: var(--border-2); }
.ug-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--blue-bg); border: 1px solid var(--blue-bd);
  color: var(--blue); font-size: .78rem; font-weight: 800;
  margin-bottom: 14px; letter-spacing: -.01em;
}
.ug-step h3 { font-size: .95rem; margin-bottom: 7px; letter-spacing: -.01em; }
.ug-step p  { font-size: .82rem; color: var(--muted); margin: 0; }
.ug-step-arrow { font-size: 1.2rem; color: var(--disabled); padding: 0 14px; padding-top: 36px; }

@media (max-width: 860px) {
  .ug-steps-wrap { grid-template-columns: 1fr; gap: 0; }
  .ug-step-arrow { padding: 8px 0; text-align: center; font-size: 1.4rem; transform: rotate(90deg); }
}

/* ══ FAQ ═════════════════════════════════════════════════ */
.ug-faq-section { background: var(--canvas); }
.ug-faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.ug-faq-list   { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 860px) { .ug-faq-layout { grid-template-columns: 1fr; gap: 28px; } }

/* ══ FINAL CTA STRIP ═════════════════════════════════════ */
.ug-final-reassurance {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  justify-content: center; margin-top: 20px;
  font-size: .72rem; font-weight: 500; color: var(--faint);
}

/* ══ CTA SECTION ═════════════════════════════════════════ */
.atp-cta-section {
  background: linear-gradient(160deg, var(--blue-bg) 0%, #dbe9fe 100%);
  border: 1px solid var(--blue-bd);
  border-radius: var(--r-2xl); padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.atp-cta-section::before {
  content: ''; position: absolute; top:0; left:0; right:0; height: 2px;
  background: var(--blue); opacity: .4;
}
.atp-cta-section h2 { margin-bottom: 14px; }
.atp-cta-section p  { max-width: 460px; margin: 0 auto 28px; }
.atp-cta-actions    { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

@media (max-width: 560px) { .atp-cta-section { padding: 40px 24px; } }

/* ══ TESTIMONIAL COMPONENTS ══════════════════════════════ */
.atp-testimonial { font-size: .92rem; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.atp-testimonial-author { display: flex; align-items: center; gap: 11px; }
.atp-testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-bg); border: 1.5px solid var(--blue-bd);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; color: var(--blue); flex-shrink: 0;
}
.atp-testimonial-name  { font-size: .85rem; font-weight: 600; color: var(--ink); }
.atp-testimonial-title { font-size: .74rem; color: var(--faint); }
.atp-stars { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; margin-bottom: 12px; }

/* ══ FAQ ACCORDION ═══════════════════════════════════════ */
.atp-faq-item {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--white); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.atp-faq-item:hover { border-color: var(--border-2); box-shadow: var(--s0); }
.atp-faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--ink);
  gap: 14px; user-select: none;
  transition: color .14s;
}
.atp-faq-question:hover { color: var(--blue); }
.atp-faq-icon {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0; color: var(--blue);
  transition: transform .22s, background .15s;
}
.atp-faq-item.open .atp-faq-icon { transform: rotate(45deg); background: var(--blue-bg); }
.atp-faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .32s ease, padding .28s;
  font-size: .86rem; color: var(--muted); line-height: 1.75;
}
.atp-faq-item.open .atp-faq-answer { max-height: 400px; padding: 0 20px 16px; }

/* ══ DATA TICKER ═════════════════════════════════════════ */
.atp-ticker {
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); overflow: hidden;
  height: 38px; display: flex; align-items: center;
}
.atp-ticker-track { display:flex; animation:ticker-scroll 40s linear infinite; white-space:nowrap; }
.atp-ticker-item {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 24px;
  font-family: var(--mono); font-size: .7rem; color: var(--faint);
  border-right: 1px solid var(--border);
}
.atp-ticker-item .sym { color: var(--muted); font-weight: 600; }
.atp-ticker-item .up   { color: var(--green); }
.atp-ticker-item .down { color: var(--red); }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══ FOOTER ══════════════════════════════════════════════ */
#atp-footer {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 72px 0 0;
}
.atp-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.atp-footer-brand p {
  font-size: .84rem; line-height: 1.75; margin-top: 14px;
  max-width: 260px; color: rgba(255,255,255,.38);
}
.atp-footer-col h5 {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.atp-footer-col ul { list-style: none; padding: 0; }
.atp-footer-col ul li { margin-bottom: 9px; }
.atp-footer-col ul a { font-size: .82rem; color: rgba(255,255,255,.44); transition: color .14s; }
.atp-footer-col ul a:hover { color: rgba(255,255,255,.82); }
#atp-footer .atp-logo-mark { background: rgba(255,255,255,.08); }
#atp-footer .atp-logo-text { color: rgba(255,255,255,.82); }
#atp-footer .atp-logo-text span { color: rgba(255,255,255,.26); }

.atp-footer-bottom {
  padding: 18px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: .72rem; color: rgba(255,255,255,.22);
  flex-wrap: wrap; gap: 10px;
}
.atp-footer-bottom a { color: rgba(255,255,255,.22); }
.atp-footer-bottom a:hover { color: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .atp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .atp-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .atp-footer-grid { grid-template-columns: 1fr; } }

/* ══ INNER PAGE HEADER ═══════════════════════════════════ */
.atp-page-header {
  padding: 120px 0 56px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
/* All containers inside page headers are always centred */
.atp-page-header .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Headings span full readable width */
.atp-page-header h1 {
  max-width: 760px;
}
/* Paragraphs are always constrained and centred */
.atp-page-header p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* label-tag always centred */
.atp-page-header .label-tag {
  display: inline-flex;
}
.admin-bar .atp-page-header { padding-top: 152px; }
.atp-page-header .breadcrumb { font-size:.74rem; color:var(--faint); margin-bottom:14px; }
.atp-page-header .breadcrumb a { color:var(--faint); }
.atp-page-header .breadcrumb a:hover { color:var(--blue); }

/* ══ CONTENT WRAP ════════════════════════════════════════ */
.atp-content-wrap { max-width:740px; margin:0 auto; padding:60px 24px 100px; }
.atp-content-wrap h2 { margin:38px 0 14px; }
.atp-content-wrap h3 { margin:28px 0 10px; }
.atp-content-wrap p  { margin-bottom:18px; }
.atp-content-wrap ul, .atp-content-wrap ol { margin-bottom:18px; }
.atp-content-wrap a { color:var(--blue); }
.atp-content-wrap a:hover { color:var(--blue-dk); }
.atp-content-wrap strong { color:var(--ink); }

/* ══ SINGLE POST LAYOUT ═══════════════════════════════════ */
.atp-page-header.atp-post-header {
  text-align: left;
  padding-bottom: 44px;
}
.atp-page-header.atp-post-header .container {
  max-width: 1080px;
  align-items: flex-start;
  text-align: left;
}
.atp-page-header.atp-post-header h1 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.atp-page-header.atp-post-header p,
.atp-page-header.atp-post-header .breadcrumb {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.atp-page-header.atp-post-header .label-tag,
.atp-page-header.atp-post-header .badge {
  align-self: flex-start;
}
.atp-post-hero-media {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.atp-post-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}
.atp-post-article {
  max-width: 860px;
  margin: 0 auto;
}
.atp-post-article .entry-content {
  font-size: 1.03rem;
  line-height: 1.82;
}
.atp-post-article .entry-content > * {
  max-width: 100%;
}
.atp-post-article .entry-content p,
.atp-post-article .entry-content ul,
.atp-post-article .entry-content ol,
.atp-post-article .entry-content blockquote {
  margin-bottom: 20px;
}
.atp-post-article .entry-content h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.55rem, 2.7vw, 2rem);
}
.atp-post-article .entry-content h3 {
  margin: 32px 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.atp-post-article .entry-content img {
  border-radius: var(--r-lg);
}
.atp-post-article .entry-content pre,
.atp-post-article .entry-content table {
  overflow-x: auto;
}
@media (max-width: 860px) {
  .atp-page-header.atp-post-header .container,
  .atp-post-shell,
  .atp-post-hero-media {
    max-width: 100%;
  }
  .atp-post-article {
    max-width: 100%;
  }
}

/* ══ SIDEBAR ═════════════════════════════════════════════ */
.atp-with-sidebar {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 48px; max-width: var(--w); margin: 0 auto;
  padding: 60px var(--px) 100px; align-items: start;
}
@media (max-width: 860px) { .atp-with-sidebar { grid-template-columns: 1fr; } }
.atp-sidebar .widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px; margin-bottom: 18px;
}
.atp-sidebar .widget-title {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}

/* ══ BLOG CARDS ══════════════════════════════════════════ */
.atp-post-card { padding:0; overflow:hidden; }
.atp-post-thumb { aspect-ratio:16/9; background:var(--surface); overflow:hidden; }
.atp-post-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.atp-post-card:hover .atp-post-thumb img { transform:scale(1.03); }
.atp-post-body { padding:20px 22px; }
.atp-post-meta { display:flex; align-items:center; gap:10px; font-size:.7rem; color:var(--faint); margin-bottom:8px; }
.atp-post-meta .cat { color:var(--blue); font-weight:600; }
.atp-post-card h3 { font-size:.95rem; margin-bottom:7px; }
.atp-post-card h3 a { color:var(--ink); }
.atp-post-card h3 a:hover { color:var(--blue); }
.atp-post-card p { font-size:.82rem; line-height:1.65; margin:0; }

/* ══ FORMS ═══════════════════════════════════════════════ */
.atp-form-group { margin-bottom: 16px; }
.atp-form-label { display:block; font-size:.72rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); margin-bottom:5px; }
.atp-form-input,
.atp-form-textarea,
.atp-form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea, select {
  width: 100%; padding: 10px 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  font-family: var(--font); font-size: .9rem;
  transition: border-color .14s, box-shadow .14s; outline: none;
  box-shadow: var(--s0);
}
input:focus, textarea:focus, select:focus,
.atp-form-input:focus, .atp-form-textarea:focus, .atp-form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,92,245,.1);
}
::placeholder { color: var(--disabled); }
textarea { resize: vertical; min-height: 110px; }

/* ══ SCROLL ANIMATIONS ═══════════════════════════════════ */
.atp-animate { opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .5s ease; }
.atp-animate.visible { opacity:1; transform:translateY(0); }
.atp-animate-delay-1 { transition-delay:.07s; }
.atp-animate-delay-2 { transition-delay:.14s; }
.atp-animate-delay-3 { transition-delay:.21s; }
.atp-animate-delay-4 { transition-delay:.28s; }

/* ══ TABLES ══════════════════════════════════════════════ */
table { width:100%; border-collapse:collapse; background:var(--white); }
th,td { padding:12px 16px; text-align:left; border-bottom:1px solid var(--border); font-size:.87rem; }
th { font-weight:600; color:var(--ink); background:var(--surface); }
td { color:var(--muted); }

/* ══ DOCS / MISC ═════════════════════════════════════════ */
@media (max-width:860px) { .atp-docs-layout{grid-template-columns:1fr!important} .atp-doc-nav{display:none!important} }
.atp-changelog-item { padding-left:20px; border-left:2px solid var(--border-2); margin-bottom:44px; }
a.card:hover { border-color: var(--border-2) !important; }

/* ══ PRODUCT PAGE LEGACY COMPONENTS ══════════════════════ */
/* (keeps inner page templates working) */
.atp-section-shell {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--s1); padding: 32px;
}
.atp-section-shell + .atp-section-shell { margin-top: 22px; }

.atp-hero.atp-hero-product { min-height:auto; padding:120px 0 48px; background:var(--white); border-bottom:1px solid var(--border); }
.admin-bar .atp-hero.atp-hero-product { padding-top: 152px; }
.atp-hero-product .container { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr); gap:32px; align-items:center; }
.atp-hero-copy { text-align:left; }
.atp-hero-copy h1 { margin-bottom:14px; max-width:600px; }
.atp-hero-eyebrow { font-size:.66rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.atp-hero-subtitle { font-size:1.02rem; color:var(--muted); line-height:1.75; }
.atp-hero-actions { display:flex; align-items:center; gap:11px; flex-wrap:wrap; margin-bottom:44px; }
.atp-inline-strip { display:flex; flex-wrap:wrap; gap:8px; }
.atp-inline-strip span { padding:7px 13px; border-radius:var(--r-md); border:1px solid var(--border); background:var(--canvas); color:var(--muted); font-size:.8rem; font-weight:500; }
.atp-info-banner { padding:14px 18px; border:1px solid var(--blue-bd); border-radius:var(--r-lg); background:var(--blue-bg); color:var(--muted); font-size:.85rem; }
.atp-info-banner strong { color:var(--ink); }

.atp-dashboard-shot { background:var(--white); border:1px solid var(--border); border-radius:var(--r-xl); box-shadow:var(--s4); overflow:hidden; }
.atp-dashboard-topbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; background:var(--surface); border-bottom:1px solid var(--border); }
.atp-dashboard-brand { display:flex; align-items:center; gap:9px; }
.atp-dashboard-brand-mark { width:36px; height:36px; border-radius:var(--r-md); background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; }
.atp-dashboard-brand-title { font-size:13px; font-weight:700; color:var(--ink); }
.atp-dashboard-brand-subtitle { font-size:11px; color:var(--faint); }
.atp-dashboard-chip-row { display:flex; flex-wrap:wrap; gap:5px; }
.atp-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 8px; border-radius:100px; border:1px solid var(--border); background:var(--white); color:var(--muted); font-size:11px; font-weight:600; }
.atp-chip.atp-chip-primary { border-color:var(--blue-bd); background:var(--blue-bg); color:var(--blue); }
.atp-dashboard-body { display:grid; grid-template-columns:192px minmax(0,1fr); }
.atp-dashboard-sidebar { padding:12px; background:var(--canvas); border-right:1px solid var(--border); }
.atp-dashboard-sidebar-group { margin-bottom:12px; }
.atp-dashboard-sidebar-label { margin-bottom:7px; color:var(--faint); font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.atp-dashboard-nav { display:flex; flex-direction:column; gap:2px; }
.atp-dashboard-nav-item { display:flex; align-items:center; gap:7px; padding:7px 9px; border-radius:var(--r-md); color:var(--muted); font-size:13px; font-weight:500; }
.atp-dashboard-nav-item::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--border-2); flex-shrink:0; }
.atp-dashboard-nav-item.active { background:var(--blue-bg); color:var(--blue); font-weight:600; }
.atp-dashboard-nav-item.active::before { background:var(--blue); }
.atp-dashboard-main { padding:14px; background:var(--white); }
.atp-dashboard-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:10px; }
.atp-metric-card { background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-lg); padding:14px; }
.atp-metric-label { color:var(--faint); font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:4px; }
.atp-metric-value { color:var(--ink); font-size:24px; font-weight:800; line-height:1.1; letter-spacing:-.02em; }
.atp-metric-help { color:var(--faint); font-size:10px; margin-top:4px; }
.atp-dashboard-panels { display:grid; grid-template-columns:1.1fr .9fr; gap:10px; }
.atp-panel-card { background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-lg); padding:14px; }
.atp-panel-card h3 { margin-bottom:10px; font-size:15px; }
.atp-module-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.atp-mini-module { padding:10px 12px; border-radius:var(--r-md); background:var(--white); border:1px solid var(--border); }
.atp-mini-module-name { font-size:12px; font-weight:700; color:var(--ink); margin-bottom:3px; }
.atp-mini-module-text { color:var(--faint); font-size:11px; line-height:1.55; }
.atp-list-clean { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:7px; }
.atp-list-clean li { display:flex; justify-content:space-between; gap:10px; padding:9px 11px; border:1px solid var(--border); border-radius:var(--r-md); background:var(--white); }
.atp-list-title { color:var(--ink); font-size:12px; font-weight:700; }
.atp-list-text  { color:var(--faint); font-size:11px; line-height:1.5; }
.atp-list-pill  { align-self:flex-start; padding:3px 8px; border-radius:100px; background:var(--blue-bg); color:var(--blue); font-size:10px; font-weight:700; white-space:nowrap; }
.atp-surface-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.atp-surface-card { padding:18px; border:1px solid var(--border); border-radius:var(--r-xl); background:var(--white); box-shadow:var(--s1); }
.atp-surface-kicker { color:var(--blue); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; }
.atp-surface-card h3 { font-size:17px; margin-bottom:7px; }
.atp-surface-card p  { font-size:13px; margin-bottom:10px; }
.atp-surface-points { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.atp-surface-points li { position:relative; padding-left:14px; font-size:12px; line-height:1.6; color:var(--muted); }
.atp-surface-points li::before { content:''; position:absolute; top:6px; left:0; width:6px; height:6px; border-radius:50%; background:var(--blue); opacity:.5; }
.atp-compare-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.atp-compare-card { padding:22px; border:1px solid var(--border); border-radius:var(--r-xl); background:var(--white); box-shadow:var(--s1); }
.atp-compare-card.atp-compare-featured { border-color:var(--blue-bd); box-shadow:var(--sb); }
.atp-compare-head { margin-bottom:14px; }
.atp-compare-title { color:var(--ink); font-size:19px; font-weight:800; letter-spacing:-.02em; }
.atp-compare-subtitle { margin-top:5px; color:var(--muted); font-size:13px; }
.atp-compare-meta { color:var(--faint); font-size:12px; }
.atp-compare-list { list-style:none; padding:0; margin:14px 0 18px; display:flex; flex-direction:column; gap:8px; }
.atp-compare-list li { display:flex; align-items:flex-start; gap:8px; color:var(--muted); font-size:13px; line-height:1.55; }
.atp-compare-list li::before { content:''; width:7px; height:7px; margin-top:5px; border-radius:50%; background:var(--blue); opacity:.45; flex-shrink:0; }
.atp-process-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.atp-process-card { padding:18px; border:1px solid var(--border); border-radius:var(--r-xl); background:var(--white); box-shadow:var(--s1); }
.atp-process-step { width:32px; height:32px; margin-bottom:10px; border-radius:var(--r-md); background:var(--blue-bg); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; }
.atp-process-card h3 { margin-bottom:6px; font-size:16px; }
.atp-hero-stats { display:flex; align-items:center; background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--s1); }
.atp-hero-stat { padding:14px 24px; border-right:1px solid var(--border); text-align:center; min-width:110px; }
.atp-hero-stat:last-child { border-right:none; }
.atp-hero-stat-value { font-size:1.5rem; font-weight:800; color:var(--blue); line-height:1; margin-bottom:4px; letter-spacing:-.02em; }
.atp-hero-stat-label { font-size:.64rem; color:var(--faint); text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.atp-feature-card { position:relative; }
.atp-feature-icon { width:44px; height:44px; border-radius:var(--r-md); background:var(--blue-bg); border:1px solid var(--blue-bd); display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:16px; transition:background .18s, box-shadow .18s; }
.atp-feature-card:hover .atp-feature-icon { background:#dbeafe; box-shadow:0 4px 14px rgba(29,92,245,.14); }
.atp-feature-card h3 { font-size:.96rem; margin-bottom:7px; }
.atp-feature-card p  { font-size:.84rem; line-height:1.65; margin:0; }

/* Pricing */
.atp-pricing-card { padding:32px; text-align:center; }
.atp-pricing-card.featured { border-color:var(--blue); box-shadow:var(--sb); }
.atp-pricing-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--blue); color:#fff; font-size:.64rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 12px; border-radius:100px; white-space:nowrap; }
.atp-price { font-size:2.8rem; font-weight:800; color:var(--ink); line-height:1; margin:18px 0 4px; letter-spacing:-.03em; }
.atp-price span { font-size:1rem; font-weight:400; color:var(--faint); vertical-align:super; }
.atp-price-period { font-size:.78rem; color:var(--faint); margin-bottom:22px; }
.atp-pricing-features { list-style:none; padding:0; text-align:left; margin-bottom:24px; display:flex; flex-direction:column; gap:9px; }
.atp-pricing-features li { display:flex; align-items:center; gap:8px; font-size:.86rem; color:var(--muted); margin:0; }
.atp-pricing-features li::before { content:'✓'; width:16px; height:16px; border-radius:50%; background:var(--green-bg); color:var(--green); border:1px solid var(--green-bd); display:flex; align-items:center; justify-content:center; font-size:.6rem; font-weight:800; flex-shrink:0; }

/* Responsive legacy */
@media (max-width:1100px) {
  .atp-hero-product .container, .atp-surface-grid, .atp-compare-grid, .atp-process-grid { grid-template-columns:1fr; }
  .atp-dashboard-panels, .atp-dashboard-metrics { grid-template-columns:1fr; }
}
@media (max-width:860px) {
  .atp-section-shell { padding:20px; border-radius:16px; }
  .atp-dashboard-body { grid-template-columns:1fr; }
  .atp-dashboard-sidebar { border-right:none; border-bottom:1px solid var(--border); }
  .atp-module-grid { grid-template-columns:1fr; }
}

/* ══ UTILITIES ═══════════════════════════════════════════ */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:860px) { .grid-3{grid-template-columns:1fr 1fr} .grid-4{grid-template-columns:1fr 1fr} }
@media (max-width:560px) { .grid-2,.grid-3,.grid-4{grid-template-columns:1fr} :root{--sec:60px} }

.text-gold  { color: var(--blue); }
.text-muted { color: var(--faint); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.mono       { font-family: var(--mono); }

/* ══ IMAGE FRAMES (shared across all pages) ══════════════ */
.fp-img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--s3);
}
.fp-img-frame img {
  width: 100%; height: 340px;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.fp-img-frame:hover img { transform: scale(1.02); }
.fp-img-badge {
  position: absolute; bottom: 14px; left: 14px;
  padding: 6px 13px; border-radius: 100px;
  font-size: .74rem; font-weight: 700; color: #fff;
  backdrop-filter: blur(8px);
}
.fp-img-badge.blue  { background: rgba(29,92,245,.88); }
.fp-img-badge.green { background: rgba(11,158,100,.88); }

/* ══ SVG BACKGROUND HELPERS ══════════════════════════════ */
.fp-pro-section { position: relative; overflow: hidden; }
.fp-pro-bg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.fp-pro-bg-svg svg { width: 100%; height: 100%; }

/* Dot pattern section backgrounds */
.bg-dots {
  position: relative;
  overflow: hidden;
}
.bg-dots::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(29,92,245,.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ══ PAGE HEADER GRADIENT HELPERS ════════════════════════ */
.ph-gradient-blue { background: linear-gradient(170deg, #edf2ff 0%, #fff 60%); }

/* ══ RESPONSIVE IMAGE HEIGHTS ════════════════════════════ */
@media (max-width: 860px) {
  .fp-img-frame img { height: 220px; }
}
@media (max-width: 560px) {
  .fp-img-frame img { height: 180px; }
}
