/* Mirror Security — platform product pages (VectaX, AgentIQ, DiscoveR) */
:root {
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: #f5f3ff;
  --accent-mid: #ede9fe;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --green: #059669;
  --green-lite: #ecfdf5;
  --teal: #0891b2;
  --teal-lite: #e0f2fe;
  --violet: #7c3aed;
  --violet-lite: #f5f3ff;
  --amber: #d97706;
  --amber-lite: #fef3c7;
  --red: #dc2626;
  --red-lite: #fee2e2;
  --navy: #0d1b2e;
  --font: 'Montserrat', sans-serif;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.04);
  --shadow-md: 0 4px 6px rgba(15,23,42,.07), 0 10px 40px rgba(15,23,42,.08);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--font);background:var(--white);color:var(--text);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;}
/* Prevent horizontal page scroll from wide tables/diagrams (scroll inside components instead) */
html:has(body.platform-product-page){overflow-x:hidden;}
body.platform-product-page{overflow-x:hidden;max-width:100%;}

/* NAV (Tailwind utility classes on pages override height/padding for responsive bar) */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);min-height:58px;display:flex;align-items:center;padding:0 40px;gap:32px;}
.nav-logo{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:15px;font-weight:800;color:var(--text);letter-spacing:-.03em;}
.logo-img{max-width:160px;height:33px;object-fit:contain;object-position:left center;display:flex;}
.nav-logo .slash{color:var(--text3);font-weight:400;}
.nav-logo .sub{color:var(--accent);}
.nav-links{display:flex;align-items:center;gap:28px;margin-left:auto;}
.nav-links a{font-size:13px;font-weight:500;color:var(--text2);text-decoration:none;transition:color .15s;}
.nav-links a:hover{color:var(--accent);}
.nav-cta{font-family:var(--font);font-size:12px;font-weight:700;background:var(--accent);color:#fff;border:none;padding:8px 18px;border-radius:8px;text-decoration:none;transition:background .15s;}
.nav-cta:hover{background:var(--accent-hover);}

/* PRODUCT HERO */
.product-hero{background:linear-gradient(135deg,#1e1b4b 0%,#312e81 40%,#4c1d95 100%);padding:72px 40px 64px;position:relative;overflow:hidden;}
.product-hero::before{content:'';position:absolute;top:-60px;right:-80px;width:400px;height:400px;background:radial-gradient(circle,rgba(124,58,237,.25) 0%,transparent 70%);pointer-events:none;}
.product-hero::after{content:'';position:absolute;bottom:-40px;left:10%;width:300px;height:300px;background:radial-gradient(circle,rgba(167,139,250,.12) 0%,transparent 70%);pointer-events:none;}
.hero-inner{max-width:1100px;margin:0 auto;position:relative;z-index:1;}
.product-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);color:rgba(255,255,255,.75);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:5px 14px;border-radius:20px;border:1px solid rgba(255,255,255,.15);margin-bottom:24px;}
.product-badge-dot{width:6px;height:6px;background:#a78bfa;border-radius:50%;}
.product-hero h1{font-size:clamp(40px,5vw,64px);font-weight:900;letter-spacing:-.05em;color:#fff;line-height:1;margin-bottom:6px;}
.product-hero h1 span{color:#a78bfa;}
.product-tagline{font-size:18px;font-weight:500;color:rgba(255,255,255,.6);line-height:1.5;margin-bottom:28px;max-width:600px;}
.product-hero-desc{font-size:15px;color:rgba(255,255,255,.68);line-height:1.75;max-width:640px;margin-bottom:36px;}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.btn-primary{font-family:var(--font);font-size:13px;font-weight:700;background:#fff;color:var(--accent);padding:12px 24px;border-radius:9px;text-decoration:none;transition:opacity .15s;display:inline-flex;align-items:center;gap:7px;}
.btn-primary:hover{opacity:.9;}
.btn-ghost{font-family:var(--font);font-size:13px;font-weight:600;background:transparent;color:rgba(255,255,255,.7);border:1.5px solid rgba(255,255,255,.25);padding:11px 22px;border-radius:9px;text-decoration:none;transition:all .15s;}
.btn-ghost:hover{border-color:rgba(255,255,255,.6);color:#fff;}
.hero-kpis{display:flex;gap:0;margin-top:48px;border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;background:rgba(255,255,255,.05);}
.hero-kpi{flex:1;padding:18px 24px;border-right:1px solid rgba(255,255,255,.1);}
.hero-kpi:last-child{border-right:none;}
.hero-kpi-val{font-size:22px;font-weight:900;color:#fff;letter-spacing:-.03em;line-height:1;}
.hero-kpi-lbl{font-size:10px;font-weight:600;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:.07em;margin-top:4px;}

/* PAGE LAYOUT */
.page-body{display:flex;flex-direction:column;margin:0 auto;min-width:0;overflow-x:hidden;width:100%;}
.sidebar-section{margin-bottom:28px;}
.sidebar-label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text3);margin-bottom:8px;}
.sidebar-links{list-style:none;display:flex;flex-direction:column;gap:2px;}
.sidebar-links a{font-size:12px;font-weight:500;color:var(--text2);text-decoration:none;padding:5px 10px;border-radius:6px;display:block;transition:all .15s;border-left:2px solid transparent;}
.sidebar-links a:hover{color:var(--accent);background:var(--accent-light);}
.sidebar-links a.active{color:var(--accent);font-weight:700;background:var(--accent-light);border-left-color:var(--accent);}
.content{flex:1;min-width:0;padding:24px 0 56px;max-width:100%;}
.platform-mobile-toc{position:sticky;top:58px;z-index:90;margin:0 0 16px;padding:8px 0;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);}
@media(min-width:1024px){
  .page-body{flex-direction:row;padding:0;}
  .sidebar{width:220px;flex-shrink:0;position:sticky;top:58px;height:calc(100vh - 58px);overflow-y:auto;align-self:flex-start;}
  .content{padding:48px 0 80px 56px;}
  .platform-mobile-toc{display:none!important;}
}
/* Mobile / tablet: sidebar slides in from the left */
@media(max-width:1023px){
  .platform-product-page .sidebar{
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    width:min(18rem,calc(100vw - 0.75rem));
    max-width:20rem;
    z-index:230;
    padding:12px 12px 24px;
    transform:translateX(-100%);
    transition:transform .3s ease-out;
    background:var(--white);
    border-right:1px solid var(--border);
    box-shadow:8px 0 32px rgba(15,23,42,.12);
    overflow-y:auto;
    height:100vh;
    height:100dvh;
  }
  .platform-product-page .sidebar.sidebar-open{
    transform:translateX(0);
  }
}

/* SECTION STRUCTURE */
.doc-section{margin-bottom:64px;scroll-margin-top:80px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;animation:fadeUp .5s ease both;}
.section-eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:8px;}
.section-h2{font-size:28px;font-weight:800;letter-spacing:-.04em;color:var(--text);line-height:1.15;margin-bottom:12px;}
.section-h3{font-size:18px;font-weight:700;letter-spacing:-.03em;color:var(--text);margin-bottom:10px;margin-top:32px;}
.section-h4{font-size:14px;font-weight:700;color:var(--text);margin-bottom:6px;margin-top:20px;}
.section-lead{font-size:15px;color:var(--text2);line-height:1.75;margin-bottom:20px;}
.section-body{font-size:13.5px;color:var(--text2);line-height:1.75;margin-bottom:14px;}
.divider{height:1px;background:var(--border);margin:48px 0;}

/* FEATURE GRID — column layout via Tailwind on each page */
.feature-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:22px;box-shadow:var(--shadow);}
.feature-card-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;font-size:18px;}
.feature-card-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:5px;letter-spacing:-.02em;}
.feature-card-body{font-size:12px;color:var(--text2);line-height:1.65;}

/* FLOW DIAGRAM */
.flow-wrap{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:28px;margin:24px 0;overflow-x:auto;}
.flow-label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text3);margin-bottom:20px;}
.flow-row{display:flex;align-items:center;gap:0;}
.flow-node{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;}
.flow-box{
  border-radius:10px;
  padding:12px 10px;
  text-align:center;
  width:100%;
  background:var(--accent);
  background:linear-gradient(148deg,
    color-mix(in srgb,var(--accent) 86%,#020617) 0%,
    var(--accent) 52%,
    color-mix(in srgb,var(--accent) 72%,#ffffff) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 14px rgba(15,23,42,.1);
}
.flow-box-title{font-size:11px;font-weight:700;color:#fff;line-height:1.3;}
.flow-box-sub{font-size:9.5px;color:rgba(255,255,255,.65);margin-top:3px;line-height:1.4;}
.flow-arrow{display:flex;align-items:center;padding:0 6px;color:var(--text3);font-size:16px;flex-shrink:0;}
.flow-zone-wrap{display:flex;flex-direction:column;gap:12px;}
.flow-zone{border-radius:10px;padding:14px;border:1px solid;}
.flow-zone-label{font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;}
.flow-row-inner{display:flex;align-items:center;gap:6px;}
.flow-row-inner .flow-box--grow{flex:1;max-width:none;min-width:0;}
/* Semantic flow-box hues (encrypted inference diagram) */
.flow-box--ink{
  background:linear-gradient(148deg,#020617 0%,#0d1b2e 42%,#1e293b 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 4px 14px rgba(2,6,23,.35);
}
.flow-box--accent-bright{
  background:linear-gradient(148deg,#5b21b6 0%,#7c3aed 48%,#a78bfa 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 14px rgba(91,33,182,.25);
}
.flow-box--emerald{
  background:linear-gradient(148deg,#047857 0%,#059669 50%,#34d399 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 4px 14px rgba(5,150,105,.2);
}
.flow-box--emerald-deep{
  background:linear-gradient(148deg,#022c22 0%,#047857 48%,#059669 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 4px 14px rgba(4,120,87,.25);
}
.flow-box--cloud{
  background:linear-gradient(148deg,
    color-mix(in srgb,var(--accent) 55%,#0f172a) 0%,
    color-mix(in srgb,var(--accent) 35%,#334155) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 14px rgba(15,23,42,.15);
}
.flow-note{font-size:10px;color:var(--text3);text-align:center;margin-top:12px;font-style:italic;}

/* COMPARISON TABLE */
.compare-table{width:100%;border-collapse:collapse;margin:20px 0;border-radius:12px;overflow:hidden;border:1px solid var(--border);font-size:13px;}
.compare-table th{background:var(--navy);color:#fff;font-weight:700;font-size:11px;letter-spacing:.03em;text-align:left;padding:12px 16px;}
.compare-table th:first-child{border-radius:0;}
.compare-table td{padding:11px 16px;border-bottom:1px solid var(--border);color:var(--text2);line-height:1.5;vertical-align:top;}
.compare-table tr:last-child td{border-bottom:none;}
.compare-table tr:nth-child(even) td{background:var(--bg);}
.compare-table tr:hover td{background:var(--accent-light);}
.td-good{color:var(--green);font-weight:600;}
.td-bad{color:var(--red);font-weight:600;}
.td-label{font-weight:700;color:var(--text);}
.td-code{font-family:monospace;font-size:11.5px;background:var(--bg);border:1px solid var(--border);padding:2px 7px;border-radius:4px;color:var(--accent);}
.td-time{font-weight:700;color:var(--accent);}

/* SPEC TABLE */
.spec-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px;}
.spec-table tr{border-bottom:1px solid var(--border);}
.spec-table tr:last-child{border-bottom:none;}
.spec-table td{padding:10px 0;vertical-align:top;}
.spec-table .spec-key{font-weight:700;color:var(--text);width:45%;padding-right:20px;}
.spec-table .spec-val{color:var(--text2);}
.spec-table .spec-val code{font-family:monospace;font-size:11.5px;background:var(--bg);border:1px solid var(--border);padding:1px 6px;border-radius:4px;color:var(--accent);}

/* USE CASE CARDS — grid columns via Tailwind */
.usecase-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:22px;box-shadow:var(--shadow);}
.usecase-tag{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:4px;margin-bottom:10px;}
.usecase-title{font-size:14px;font-weight:700;color:var(--text);margin-bottom:7px;letter-spacing:-.02em;}
.usecase-body{font-size:12.5px;color:var(--text2);line-height:1.7;}

/* ACCESS MATRIX */
.matrix-wrap{background:var(--bg);border:1px solid var(--border);border-radius:12px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin:20px 0;}
/* matrix column template applied via Tailwind: grid-cols-[1.4fr_1fr_1.2fr_1fr] */
.matrix-row{border-bottom:1px solid var(--border);}
.matrix-row:last-child{border-bottom:none;}
.matrix-row.header{background:var(--navy);}
.matrix-cell{padding:10px 16px;font-size:12px;color:var(--text2);display:flex;align-items:center;}
.matrix-row.header .matrix-cell{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.55);}
.matrix-row:not(.header):nth-child(even) .matrix-cell{background:var(--white);}
.matrix-cell.role-name{font-weight:700;color:var(--text);}
.badge-yes{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--green);background:var(--green-lite);padding:2px 9px;border-radius:4px;}
.badge-no{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--red);background:var(--red-lite);padding:2px 9px;border-radius:4px;}
.badge-partial{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--amber);background:var(--amber-lite);padding:2px 9px;border-radius:4px;}
.badge-enc{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--accent);background:var(--accent-light);padding:2px 9px;border-radius:4px;}

/* PRODUCT RELATIONS — grid columns via Tailwind */
.relation-card{border-radius:12px;padding:20px;border:1px solid;}
.relation-product{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px;}
.relation-layer{font-size:10px;font-weight:600;margin-bottom:10px;opacity:.7;}
.relation-body{font-size:12px;line-height:1.65;}

/* CTA BAND */
.cta-band{background:linear-gradient(135deg,#1e1b4b 0%,#4c1d95 100%);border-radius:16px;padding:48px 40px;text-align:center;margin-top:48px;}
.cta-band h3{font-size:24px;font-weight:800;letter-spacing:-.04em;color:#fff;margin-bottom:10px;}
.cta-band p{font-size:14px;color:rgba(255,255,255,.6);margin-bottom:28px;}
.cta-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;}

/* FOOTER */
footer{background:var(--navy);padding:48px 40px;margin-top:0;}
.foot-inner{max-width:1100px;margin:0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:32px;flex-wrap:wrap;min-width:0;width:100%;}
.foot-brand-name{font-size:15px;font-weight:800;color:#fff;letter-spacing:-.03em;margin-bottom:6px;}
.foot-brand-desc{font-size:12px;color:rgba(255,255,255,.35);line-height:1.65;max-width:220px;}
.foot-col-title{font-size:10px;font-weight:700;color:rgba(255,255,255,.4);letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;}
.foot-links{list-style:none;display:flex;flex-direction:column;gap:8px;}
.foot-links a{font-size:12px;color:rgba(255,255,255,.4);text-decoration:none;font-weight:500;transition:color .15s;}
.foot-links a:hover{color:rgba(255,255,255,.8);}
.foot-bottom{max-width:1100px;margin:32px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.foot-copy{font-size:11px;color:rgba(255,255,255,.3);}
.foot-ucd{font-size:11px;color:rgba(255,255,255,.25);}

/* INLINE PILL TAGS */
.pill{display:inline-block;font-size:10px;font-weight:700;padding:2px 8px;border-radius:4px;vertical-align:middle;}
.pill-vx{background:var(--accent-mid);color:#5b21b6;}
.pill-ag{background:var(--green-lite);color:#065f46;}
.pill-dc{background:#fee2e2;color:#991b1b;}

/* SCROLL ANIMATIONS */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}
main .doc-section:nth-child(2){animation-delay:.05s;}
main .doc-section:nth-child(3){animation-delay:.1s;}
main .doc-section:nth-child(4){animation-delay:.15s;}
main .doc-section:nth-child(5){animation-delay:.2s;}

@media(max-width:1023px){
  .hero-kpis{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    max-width:100%;
  }
  .hero-kpi{flex:0 0 auto;min-width:5.5rem;scroll-snap-align:start;}
  .cta-band{padding-left:1.25rem;padding-right:1.25rem;}
  .intercept-wrap,.loop-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    max-width:100%;
  }
  .intercept-row,.loop-steps{
    flex-wrap:nowrap;
    min-width:min-content;
  }
  .intercept-row .i-node{
    flex:0 0 auto;
    width:118px;
    min-width:100px;
  }
  .intercept-row .i-arrow{flex-shrink:0;align-self:center;}
  .loop-steps .loop-step{
    flex:0 0 auto;
    width:132px;
    min-width:112px;
  }
  .loop-steps .loop-arrow{flex-shrink:0;align-self:center;}
  .agentid-visual{flex-direction:column;align-items:stretch;}
  .agentid-features{min-width:0;width:100%;}
  .agentid-stat-label{width:auto;min-width:0;}
  .pdf-strip-inner{align-items:flex-start;}
  .pdf-strip-left{flex:1 1 100%;}
  .pdf-strip-right{flex-wrap:wrap;width:100%;justify-content:flex-start;}
  .pdf-btn{white-space:normal;text-align:center;justify-content:center;}
  .pdf-meta{text-align:left;}
  .compare-table,.spec-table{max-width:100%;}
  .compare-table td,.compare-table th{word-break:break-word;}
  .spec-table .spec-key{width:auto;min-width:0;}
}

/* ── BENCHMARKS ── */
.bench-section{background:#080c14;border-radius:16px;padding:36px;margin:24px 0;position:relative;overflow:hidden;}
.bench-section::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#7c3aed,#00d68f,#7c3aed);}
.bench-headline{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#00d68f;margin-bottom:6px;}
.bench-title{font-size:20px;font-weight:800;letter-spacing:-.04em;color:#fff;margin-bottom:4px;}
.bench-sub{font-size:12px;color:rgba(255,255,255,.4);margin-bottom:28px;}
/* .bench-cols layout: Tailwind grid on page */
.bench-col-label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:16px;display:flex;align-items:center;gap:8px;}
.bench-col-label span{font-size:9px;color:rgba(255,255,255,.3);font-weight:400;letter-spacing:.05em;}
/* bar chart */
.bar-row{margin-bottom:14px;}
.bar-label{font-size:11px;font-weight:600;color:rgba(255,255,255,.7);margin-bottom:6px;display:flex;justify-content:space-between;align-items:center;}
.bar-val{font-size:10px;font-weight:700;color:#00d68f;}
.bar-track{height:7px;background:rgba(255,255,255,.08);border-radius:4px;position:relative;overflow:hidden;margin-bottom:3px;}
.bar-fill-plain{height:100%;border-radius:4px;background:#7c3aed;opacity:.7;}
.bar-fill-fhe  {height:100%;border-radius:4px;background:#00d68f;}
.bar-legend{display:flex;gap:16px;margin-bottom:16px;}
.bar-legend-item{display:flex;align-items:center;gap:5px;font-size:10px;color:rgba(255,255,255,.55);}
.bar-legend-dot{width:8px;height:8px;border-radius:2px;}
/* donut chart — .donut-grid columns via Tailwind */
.donut-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;}
.donut-svg{transform:rotate(-90deg);}
.donut-val{font-size:18px;font-weight:900;color:#00d68f;letter-spacing:-.03em;text-align:center;}
.donut-vs{font-size:9px;color:rgba(255,255,255,.3);text-align:center;}
.donut-label{font-size:10px;font-weight:700;color:rgba(255,255,255,.6);text-align:center;letter-spacing:.03em;}
.bench-callout{background:rgba(0,214,143,.08);border:1px solid rgba(0,214,143,.2);border-radius:10px;padding:14px 18px;margin-top:24px;display:flex;align-items:center;gap:12px;}
.bench-callout-icon{font-size:20px;}
.bench-callout-text{font-size:12px;color:rgba(255,255,255,.75);line-height:1.6;}
.bench-callout-text strong{color:#00d68f;}
/* sidebar bench link */


/* ── PDF DOWNLOAD SECTION ───────────────────────────────────────────── */
.pdf-strip {
  background: var(--navy, #0d1b2e);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px;
  margin: 0;
  border-radius: 16px;
}
.pdf-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  min-width: 0;
}
.pdf-strip-left { flex: 1; min-width: 0; }
.pdf-strip-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent);
}
.pdf-strip-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.pdf-strip-sub {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}
.pdf-strip-right {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.pdf-btn-primary {
  color: #fff;
  background: var(--accent);
}
.pdf-btn-primary:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.pdf-btn-ghost {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.15);
}
.pdf-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.pdf-btn svg { flex-shrink: 0; }
.pdf-meta {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  text-align: right;
  line-height: 1.5;
}
/* FAB */
.pdf-fab {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: all .18s;
  text-decoration: none;
}
.pdf-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.pdf-fab svg { flex-shrink: 0; }
/* print progress overlay */
.print-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.print-overlay.active { display: flex; }
.print-overlay-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  max-width: 380px;
}
.print-overlay-icon { font-size: 40px; margin-bottom: 14px; }
.print-overlay-title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.print-overlay-sub {
  font-family: var(--font);
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
}
/* ── PRINT STYLES ────────────────────────────────────────────────────── */
@media print {
  /* Reset page */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* Hide interactive / nav chrome */
  .nav, .sidebar, .pdf-fab, .pdf-strip, footer,
  .print-overlay, .cta-band, .hero-actions,
  .btn-primary, .btn-ghost,
  .platform-mobile-toc, .platform-sidebar-mobile-head,
  #platformNavBackdrop, #platformNavPanel,
  #platformSidebarBackdrop { display: none !important; }

  /* Full-width single column */
  body { font-size: 11pt; color: #0f172a; background: #fff; }
  .page-body { display: block; max-width: 100%; padding: 0; }
  .content { padding: 0; }
  .product-hero {
    padding: 32pt 40pt !important;
    page-break-after: avoid;
    border-radius: 0 !important;
  }
  .hero-kpis { border: 1px solid #e2e8f0 !important; }
  .hero-kpi { border-right: 1px solid #e2e8f0 !important; }
  .hero-kpi-val { font-size: 16pt !important; }

  /* Section spacing */
  .doc-section { margin-bottom: 32pt; page-break-inside: avoid; }
  .divider { margin: 24pt 0; }

  /* Tables */
  .compare-table, .spec-table { page-break-inside: auto; font-size: 9pt; }
  .compare-table tr { page-break-inside: avoid; }

  /* Feature & use case grids → single column */
  .feature-grid, .usecase-grid, .relations-grid,
  .api-grid, .policy-methods, .checks-grid,
  .app-type-grid, .budget-grid, .cicd-grid,
  .bench-cols, .donut-grid, .threat-grid,
  .agentid-visual { display: block !important; }

  .feature-card, .usecase-card, .api-card, .pm-card,
  .budget-card, .cicd-card, .relation-card, .check-item {
    margin-bottom: 12pt;
    page-break-inside: avoid;
    border: 1px solid #e2e8f0 !important;
  }

  /* Flow diagrams — keep visible but simpler */
  .flow-wrap, .intercept-wrap, .loop-wrap,
  .bench-section, .agentid-section { border: 1px solid #e2e8f0 !important; }

  /* Page header on each sheet */
  @page {
    margin: 18mm 18mm 20mm;
    size: A4;
  }
  @page :first { margin-top: 10mm; }

  /* Print header */
  body::before {
    content: "Mirror Security — Product Report";
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 8pt;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding-bottom: 8pt;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16pt;
  }
  /* Page footer */
  body::after {
    content: "academy.mirrorsecurity.io  |  hello@mirrorsecurity.io  |  © 2025 Mirror Security";
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 7.5pt;
    color: #94a3b8;
    text-align: center;
    margin-top: 24pt;
    padding-top: 10pt;
    border-top: 1px solid #e2e8f0;
  }
}

/* ========== AgentIQ / DiscoveR-only components ========== */

/* INTERCEPT DIAGRAM (AgentIQ) */
.intercept-wrap{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:28px;margin:24px 0;}
.intercept-row{display:flex;align-items:center;gap:4px;margin-bottom:16px;}
.i-node{display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;}
.i-box{
  border-radius:10px;
  padding:11px 8px;
  text-align:center;
  width:100%;
  background:var(--accent);
  background:linear-gradient(148deg,
    color-mix(in srgb,var(--accent) 86%,#020617) 0%,
    var(--accent) 52%,
    color-mix(in srgb,var(--accent) 72%,#ffffff) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 14px rgba(15,23,42,.1);
}
.i-box-title{font-size:11px;font-weight:700;color:#fff;}
.i-box-sub{font-size:9px;color:rgba(255,255,255,.6);margin-top:2px;}
.i-arrow{font-size:16px;color:var(--text3);flex-shrink:0;padding:0 4px;}
.block-label{font-size:9px;font-weight:700;text-align:center;margin-top:4px;padding:2px 6px;border-radius:3px;}

/* API / POLICY / CHECKS (AgentIQ) — grid columns via Tailwind */
.api-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:20px;box-shadow:var(--shadow);}
.api-card-header{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px;}
.api-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;}
.api-name{font-size:13px;font-weight:700;color:var(--text);letter-spacing:-.02em;}
.api-badge{font-size:9px;font-weight:700;padding:2px 7px;border-radius:3px;margin-top:3px;display:inline-block;}
.api-body{font-size:12px;color:var(--text2);line-height:1.7;}
.api-returns{font-size:11px;font-weight:600;color:var(--accent);margin-top:8px;}
.pm-card{border-radius:12px;padding:20px;border:1px solid;}
.pm-num{font-size:28px;font-weight:900;margin-bottom:8px;line-height:1;}
.pm-title{font-size:13px;font-weight:700;margin-bottom:6px;}
.pm-body{font-size:12px;line-height:1.65;}
.check-item{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:14px;display:flex;gap:10px;}
.check-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px;}
.check-name{font-size:12px;font-weight:700;color:var(--text);margin-bottom:3px;}
.check-desc{font-size:11.5px;color:var(--text2);line-height:1.55;}

/* AgentIQ infographic */
.agentid-section{background:linear-gradient(135deg,#0f0a1a 0%,#1a0a1f 100%);border-radius:16px;padding:36px;margin:24px 0;position:relative;overflow:hidden;}
.agentid-section::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#C03AAE,#F27ADF,#C03AAE);}
.agentid-headline{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#F27ADF;margin-bottom:6px;}
.agentid-title{font-size:20px;font-weight:800;letter-spacing:-.04em;color:#fff;margin-bottom:8px;}
.agentid-lead{font-size:13px;color:rgba(255,255,255,.55);margin-bottom:28px;line-height:1.7;}
.agentid-visual{display:flex;align-items:center;gap:32px;flex-wrap:wrap;}
.agentid-ring-wrap{position:relative;flex-shrink:0;}
.agentid-ring-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;}
.agentid-ring-val{font-size:16px;font-weight:900;color:#fff;line-height:1;}
.agentid-ring-lbl{font-size:9px;color:rgba(255,255,255,.4);font-weight:600;letter-spacing:.05em;margin-top:2px;}
.agentid-features{flex:1;min-width:200px;display:flex;flex-direction:column;gap:10px;}
.agentid-feat{background:rgba(255,255,255,.04);border:1px solid rgba(242,122,223,.2);border-radius:10px;padding:13px 16px;}
.agentid-feat-title{font-size:12px;font-weight:700;color:#F7A8E8;margin-bottom:3px;}
.agentid-feat-body{font-size:11.5px;color:rgba(255,255,255,.5);line-height:1.55;}
.threat-cell{border-radius:8px;padding:14px 12px;text-align:center;}
.threat-icon{font-size:20px;margin-bottom:6px;}
.threat-name{font-size:10px;font-weight:700;color:#fff;margin-bottom:4px;letter-spacing:.02em;}
.threat-stat{font-size:18px;font-weight:900;line-height:1;}
.threat-sub{font-size:9px;margin-top:2px;opacity:.7;}
.agentid-stat-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.agentid-stat-label{font-size:11px;color:rgba(255,255,255,.6);width:130px;flex-shrink:0;}
.agentid-stat-track{flex:1;height:6px;background:rgba(255,255,255,.07);border-radius:3px;overflow:hidden;}
.agentid-stat-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,#C03AAE,#F27ADF);}
.agentid-stat-val{font-size:10px;font-weight:700;color:#F27ADF;width:40px;text-align:right;}

/* SCAN LOOP + APP TYPES + BUDGET + CICD (DiscoveR) */
.loop-wrap{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:28px;margin:24px 0;}
.loop-steps{display:flex;align-items:center;gap:4px;margin-bottom:20px;}
.loop-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;}
.loop-box{
  border-radius:10px;
  padding:12px 8px;
  text-align:center;
  width:100%;
  background:var(--accent);
  background:linear-gradient(148deg,
    color-mix(in srgb,var(--accent) 86%,#020617) 0%,
    var(--accent) 52%,
    color-mix(in srgb,var(--accent) 72%,#ffffff) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 14px rgba(15,23,42,.1);
}
.loop-title{font-size:11px;font-weight:700;color:#fff;line-height:1.3;}
.loop-sub{font-size:9px;color:rgba(255,255,255,.6);margin-top:2px;}
.loop-num{font-size:9px;font-weight:700;color:var(--text3);letter-spacing:.05em;}
.loop-arrow{font-size:16px;color:var(--text3);flex-shrink:0;padding:0 2px;}
.loop-return{background:var(--accent-light);border:1px dashed var(--accent);border-radius:8px;padding:8px 16px;text-align:center;font-size:11px;font-weight:600;color:var(--accent);}
.app-type-card{border-radius:10px;padding:18px 14px;border:1px solid;}
.app-type-icon{font-size:20px;margin-bottom:8px;}
.app-type-name{font-size:12px;font-weight:700;margin-bottom:5px;}
.app-type-desc{font-size:11px;line-height:1.55;}
.app-type-badge{display:inline-block;font-size:9px;font-weight:700;padding:2px 7px;border-radius:3px;margin-top:8px;}
.budget-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:18px;box-shadow:var(--shadow);}
.budget-val{font-size:22px;font-weight:900;color:var(--text);letter-spacing:-.04em;margin-bottom:4px;}
.budget-use{font-size:11.5px;font-weight:600;color:var(--text);margin-bottom:5px;}
.budget-time{font-size:11px;color:var(--accent);font-weight:700;margin-bottom:5px;}
.budget-level{font-size:11px;color:var(--text3);}
.cicd-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:18px;box-shadow:var(--shadow);}
.cicd-stage{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:6px;}
.cicd-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:4px;}
.cicd-config{font-family:monospace;font-size:11px;background:var(--bg);border:1px solid var(--border);padding:4px 8px;border-radius:4px;color:var(--accent);display:inline-block;margin-bottom:8px;}
.cicd-body{font-size:12px;color:var(--text2);line-height:1.6;}

/* ========== Theme: AgentIQ (body.platform-agentiq) ========== */
body.platform-product-page.platform-agentiq{
  --accent:#F27ADF;
  --accent-hover:#E055CC;
  --accent-light:#FDF0FB;
  --accent-mid:#FBCFF5;
}
body.platform-product-page.platform-agentiq .product-hero{
  background:linear-gradient(135deg,#2D0A27 0%,#5C1550 45%,#8B1A7A 100%);
}
body.platform-product-page.platform-agentiq .product-hero::before{
  background:radial-gradient(circle,rgba(242,122,223,.35) 0%,transparent 70%);
}
body.platform-product-page.platform-agentiq .product-hero::after{
  background:radial-gradient(circle,rgba(242,122,223,.12) 0%,transparent 70%);
}
body.platform-product-page.platform-agentiq .product-badge-dot{background:#F27ADF;}
body.platform-product-page.platform-agentiq .product-hero h1 span{color:#F27ADF;}
body.platform-product-page.platform-agentiq .sidebar-links a.active{color:#F27ADF;background:#fff1f2;border-left-color:#F27ADF;}
body.platform-product-page.platform-agentiq .compare-table th{background:#2D0A27;}
body.platform-product-page.platform-agentiq .cta-band{
  background:linear-gradient(135deg,#2D0A27 0%,#5C1550 45%,#8B1A7A 100%);
}

/* ========== Theme: DiscoveR (body.platform-discover) ========== */
body.platform-product-page.platform-discover{
  --accent:#2563eb;
  --accent-hover:#1d4ed8;
  --accent-light:#eff6ff;
  --accent-mid:#bfdbfe;
}
body.platform-product-page.platform-discover .product-hero{
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 50%,#1d4ed8 100%);
}
body.platform-product-page.platform-discover .product-hero::before{
  background:radial-gradient(circle,rgba(37,99,235,.35) 0%,transparent 70%);
}
body.platform-product-page.platform-discover .product-hero::after{
  background:radial-gradient(circle,rgba(147,197,253,.12) 0%,transparent 70%);
}
body.platform-product-page.platform-discover .product-badge-dot{background:#93c5fd;}
body.platform-product-page.platform-discover .product-hero h1 span{color:#93c5fd;}
body.platform-product-page.platform-discover .compare-table th{background:#1e3a8a;}
body.platform-product-page.platform-discover .cta-band{
  background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 100%);
}
body.platform-product-page.platform-discover .spec-table .spec-key{width:40%;padding-right:20px;}
body.platform-product-page.platform-discover .app-type-card[style*="f0fdf4"]{background:#eff6ff !important;border-color:#bfdbfe !important;}
body.platform-product-page.platform-discover .app-type-name[style*="064e3b"]{color:#1e3a8a !important;}
body.platform-product-page.platform-discover .app-type-desc[style*="047857"]{color:#1d4ed8 !important;}
body.platform-product-page.platform-discover .app-type-badge[style*="059669"]{background:#2563eb !important;}
body.platform-product-page.platform-discover .budget-time{color:#2563eb !important;}
body.platform-product-page.platform-discover .cicd-config{color:#2563eb !important;border-color:#bfdbfe !important;}
body.platform-product-page.platform-discover .loop-return{background:#eff6ff !important;border-color:#2563eb !important;color:#1d4ed8 !important;}
body.platform-product-page.platform-discover .relation-card[style*="f0fdf4"]{background:#eff6ff !important;border-color:#bfdbfe !important;}
body.platform-product-page.platform-discover .relation-product[style*="059669"]{color:#2563eb !important;}
body.platform-product-page.platform-discover .relation-body[style*="064e3b"]{color:#1e3a8a !important;}
body.platform-product-page.platform-discover .usecase-tag[style*="ecfdf5"]{background:#eff6ff !important;color:#1e3a8a !important;}
