
/* STLBEAST V399 — Safe Presentation Consistency Polish
   Visual-only consistency layer on top of confirmed-good V398.
   Protects checkout/download/admin/config logic by using CSS overrides only. */

:root{
  --v399-bg:#050914;
  --v399-panel:#0b1324;
  --v399-panel-2:#101b31;
  --v399-border:rgba(97,208,255,.18);
  --v399-border-strong:rgba(120,230,255,.32);
  --v399-text:#eaf6ff;
  --v399-muted:#a8bdd7;
  --v399-blue:#19d7ff;
  --v399-purple:#9b5cff;
  --v399-orange:#ff8b24;
  --v399-green:#55ff7a;
  --v399-shadow:0 24px 80px rgba(0,0,0,.32);
  --v399-radius:24px;
}

/* Global consistency */
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 16% 0%,rgba(25,215,255,.10),transparent 34%),
    radial-gradient(circle at 86% 12%,rgba(155,92,255,.12),transparent 34%),
    linear-gradient(180deg,#050914 0%,#07111f 48%,#040711 100%);
  color:var(--v399-text);
}
.wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}
main{overflow:hidden}
section{position:relative}
.kicker,
.stlb375-kicker{
  letter-spacing:.095em;
  text-transform:uppercase;
  font-weight:950;
  color:var(--v399-blue)!important;
}
.lead,
.stlb375-lead,
.stlb376-section-sub,
.stlb335-sales-copy{
  color:var(--v399-muted)!important;
  line-height:1.68;
}

/* Header/footer consistency */
.stlb376-header{
  border-bottom:1px solid rgba(120,230,255,.18)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.24)!important;
}
.stlb376-mainbar,
.stlb376-navrail{
  border-color:rgba(120,230,255,.16)!important;
}
.stlb376-brand-mark img{
  max-width:100%;
  object-fit:contain;
}
.stlb376-nav a,
.stlb376-mini-link,
.stlb376-ghost-btn,
.stlb376-primary-btn{
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.stlb376-nav a:hover,
.stlb376-mini-link:hover,
.stlb376-ghost-btn:hover,
.stlb376-primary-btn:hover{
  transform:translateY(-1px);
}
.stlb316-footer{
  border-top:1px solid rgba(120,230,255,.18)!important;
  background:
    radial-gradient(circle at 20% 0%,rgba(25,215,255,.10),transparent 32%),
    linear-gradient(180deg,#07111f,#040711)!important;
}
.stlb316-footer-brand img{object-fit:contain;max-height:58px}

/* Unified buttons / CTAs */
.btn,
.mini,
.stlb375-btn,
.stlb336-buy-btn,
.stlb336-member-btn,
.stlb376-primary-btn,
.stlb376-ghost-btn,
.stlb376-mini-link,
.stlb340-buy-form button{
  border-radius:999px!important;
  font-weight:950!important;
  letter-spacing:.01em;
  box-shadow:0 12px 32px rgba(25,215,255,.12);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.btn:hover,
.mini:hover,
.stlb375-btn:hover,
.stlb336-buy-btn:hover,
.stlb336-member-btn:hover,
.stlb376-primary-btn:hover,
.stlb376-ghost-btn:hover,
.stlb376-mini-link:hover,
.stlb340-buy-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(25,215,255,.18);
  filter:brightness(1.05);
}
.btn.secondary,
.stlb375-btn-outline,
.stlb336-member-btn{
  border:1px solid rgba(120,230,255,.28)!important;
  background:rgba(255,255,255,.06)!important;
  color:var(--v399-text)!important;
}

/* Home hero consistency */
.stlb375-hero{
  border-bottom:1px solid rgba(120,230,255,.12);
}
.stlb375-hero-grid{
  gap:clamp(26px,5vw,58px)!important;
  align-items:center;
}
.stlb375-hero-copy h1{
  letter-spacing:-.055em;
  text-wrap:balance;
}
.stlb375-hero-copy h1 span{
  background:linear-gradient(90deg,var(--v399-blue),#fff,var(--v399-purple));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.stlb376-hero-mini-grid span,
.stlb375-proof-row span,
.stlb375-value-grid > div,
.stlb388-hero-metrics span{
  border:1px solid rgba(120,230,255,.18)!important;
  background:rgba(255,255,255,.055)!important;
  backdrop-filter:blur(10px);
}
.stlb388-showcase-console,
.stlb381-main-product,
.stlb388-main-product,
.stlb375-validated-card,
.stlb388-validated-card{
  border-color:rgba(120,230,255,.20)!important;
  box-shadow:var(--v399-shadow);
}
.stlb388-main-product img,
.stlb381-main-product img,
.stlb375-hero-stage img{
  filter:drop-shadow(0 26px 42px rgba(0,0,0,.42));
}

/* Product/category cards */
.stlb375-product-card,
.stlb375-cat-card,
.card.stlb316-card,
.stlb333-product-card,
.stlb353-product-card,
.stlb335-detail-card,
.panel,
.stlb348-confidence-panel,
.stlb377-compatibility-grid .panel,
.stlb399-consistency-card{
  border:1px solid rgba(120,230,255,.16)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)),
    rgba(7,17,31,.82)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24);
  border-radius:var(--v399-radius)!important;
}
.stlb375-product-card,
.card.stlb316-card,
.stlb333-product-card{
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stlb375-product-card:hover,
.card.stlb316-card:hover,
.stlb333-product-card:hover,
.stlb375-cat-card:hover{
  transform:translateY(-3px);
  border-color:rgba(120,230,255,.34)!important;
  box-shadow:0 26px 70px rgba(0,0,0,.34);
}
.stlb375-product-media,
.card-img{
  background:
    radial-gradient(circle at 50% 20%,rgba(25,215,255,.18),transparent 46%),
    linear-gradient(180deg,#111c31,#060b14)!important;
}
.stlb375-product-media img,
.card-img img,
.stlb335-main-render img,
.stlb335-angle-grid img{
  object-fit:contain!important;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.45));
}
.stlb375-product-copy h3,
.stlb333-product-card h3,
.stlb335-buy-panel h1,
.stlb335-detail-card h2,
.section-head h2,
.stlb375-section-head h2{
  color:#f4fbff!important;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.stlb375-product-copy p,
.stlb333-product-card p,
.stlb335-detail-card p,
.stlb348-confidence-panel span,
.specs span{
  color:var(--v399-muted)!important;
}
.stlb333-chip,
.stlb333-sku,
.stlb335-trust-strip span,
.stlb339-buy-points li,
.stlb316-status,
.stlb316-ready,
.stlb348-truth-badges span{
  border-radius:999px!important;
}

/* Product page layout */
.breadcrumbs{
  margin-top:18px!important;
  color:rgba(234,246,255,.72)!important;
}
.breadcrumbs a{color:var(--v399-blue)!important}
.stlb335-product-hero{
  gap:clamp(22px,4vw,48px)!important;
  align-items:start;
}
.stlb335-gallery-panel,
.stlb335-buy-panel{
  border:1px solid rgba(120,230,255,.18)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.032))!important;
  box-shadow:var(--v399-shadow);
  border-radius:28px!important;
}
.stlb335-main-render{
  background:
    radial-gradient(circle at 50% 20%,rgba(25,215,255,.18),transparent 44%),
    linear-gradient(180deg,#101a2d,#060b14)!important;
  border-radius:24px!important;
}
.stlb335-angle-grid figure{
  border:1px solid rgba(120,230,255,.14)!important;
  background:rgba(255,255,255,.055)!important;
  border-radius:18px!important;
}
.stlb335-price-row{
  border:1px solid rgba(85,255,122,.20)!important;
  background:linear-gradient(135deg,rgba(85,255,122,.08),rgba(25,215,255,.06))!important;
  border-radius:22px!important;
}
.stlb335-price-row strong{color:#fff!important}
.stlb340-checkout-actions{
  gap:12px!important;
}
.stlb348-confidence-panel{
  display:grid!important;
  gap:12px!important;
}
.stlb348-confidence-panel > div{
  border:1px solid rgba(120,230,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  padding:14px;
}
.specs div{
  border:1px solid rgba(120,230,255,.12)!important;
  background:rgba(255,255,255,.04)!important;
  border-radius:16px!important;
}

/* Catalog page consistency */
.stlb353-catalog-hero,
.stlb375-cats,
.stlb375-products,
.stlb375-ai,
.stlb375-membership,
.stlb375-hub-promo,
.stlb375-community{
  padding-block:clamp(42px,6vw,80px)!important;
}
.stlb353-catalog-stats div,
.stlb375-value-grid div,
.stlb375-ai-flow div,
.stlb375-hub-list span,
.stlb375-member-points span,
.stlb375-stats{
  border:1px solid rgba(120,230,255,.15)!important;
  background:rgba(255,255,255,.055)!important;
  border-radius:18px!important;
}

/* Consistency status page */
.stlb399-consistency-wrap{max-width:1180px;margin:0 auto;padding:clamp(28px,5vw,70px) 18px}
.stlb399-consistency-hero{
  border:1px solid rgba(120,230,255,.22);
  border-radius:32px;
  background:linear-gradient(135deg,#07111f,#111b31 55%,#07111f);
  box-shadow:var(--v399-shadow);
  padding:clamp(28px,5vw,58px);
}
.stlb399-consistency-hero h1{font-size:clamp(2.2rem,5vw,4.4rem);line-height:.98;margin:12px 0;color:#fff;letter-spacing:-.055em}
.stlb399-consistency-hero p{color:var(--v399-muted);line-height:1.66;max-width:880px}
.stlb399-consistency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.stlb399-consistency-card{padding:20px}
.stlb399-consistency-card h2{margin:0 0 10px;color:#fff}
.stlb399-consistency-card p,.stlb399-consistency-card li{color:var(--v399-muted);line-height:1.62}

/* Mobile consistency */
@media(max-width:980px){
  .stlb375-hero-grid,
  .stlb335-product-hero,
  .stlb335-details-grid,
  .stlb377-compatibility-grid{
    grid-template-columns:1fr!important;
  }
  .stlb399-consistency-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .wrap{width:min(100% - 24px,1180px)}
  .stlb376-mainbar,
  .stlb376-navrail,
  .stlb376-cta-cluster,
  .stlb375-hero-actions,
  .actions,
  .stlb340-checkout-actions{
    gap:10px!important;
  }
  .stlb375-product-grid,
  .stlb375-cat-grid,
  .stlb375-value-grid,
  .stlb399-consistency-grid{
    grid-template-columns:1fr!important;
  }
  .btn,
  .mini,
  .stlb375-btn,
  .stlb336-buy-btn,
  .stlb336-member-btn,
  .stlb340-buy-form button{
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .stlb335-gallery-panel,
  .stlb335-buy-panel,
  .stlb335-detail-card,
  .panel{
    border-radius:20px!important;
  }
  .stlb375-hero-copy h1{font-size:clamp(2.5rem,14vw,4rem)!important}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
  .stlb375-product-card:hover,
  .card.stlb316-card:hover,
  .stlb333-product-card:hover,
  .stlb375-cat-card:hover,
  .btn:hover,
  .mini:hover,
  .stlb375-btn:hover,
  .stlb336-buy-btn:hover,
  .stlb336-member-btn:hover{
    transform:none!important;
  }
}
