:root{
  --bg0:#030605;
  --bg1:#06100d;
  --panel:#081512;
  --panel2:#050d0b;
  --text:#ecfffb;
  --muted:rgba(236,255,251,.74);
  --muted2:rgba(236,255,251,.56);
  --line:rgba(236,255,251,.10);
  --line2:rgba(236,255,251,.16);
  --brand:#00ffb3;
  --brand2:rgba(0,255,179,.18);
  --shadow: 0 22px 70px rgba(0,0,0,.62);
  --shadow2: 0 12px 30px rgba(0,0,0,.45);
  --r:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% -10%, rgba(0,255,179,.18), transparent 60%),
              radial-gradient(1000px 650px at 85% 10%, rgba(255,255,255,.06), transparent 55%),
              radial-gradient(900px 640px at 70% 90%, rgba(0,255,179,.10), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:1200px; margin:0 auto; padding:24px}
::selection{background: rgba(0,255,179,.25)}

/* Top chrome */
header{
  position:sticky; top:0; z-index:50;
  background: rgba(3,6,5,.60);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.top{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 22px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:900; letter-spacing:.5px;
}
.mark{
  width:44px; height:44px; border-radius:18px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(0,255,179,.22), rgba(0,255,179,.06));
  border:1px solid rgba(0,255,179,.45);
  box-shadow: 0 18px 60px rgba(0,255,179,.16);
}
.brand small{display:block; margin-top:3px; font-weight:650; letter-spacing:.2px; color:var(--muted2)}
.nav{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:center;
}
.link{
  padding:10px 12px; border-radius:14px;
  color: var(--muted);
  border:1px solid transparent;
  background: transparent;
  transition: background .15s ease, border .15s ease, transform .15s ease;
}
.link:hover{background: rgba(236,255,251,.05); border-color: rgba(236,255,251,.10); transform: translateY(-1px)}
.link.active{border-color: rgba(0,255,179,.35); background: rgba(0,255,179,.08); color:#d9fff1}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:7px 10px; border-radius:999px;
  font-size:12px; color:var(--muted2);
  border:1px solid var(--line);
  background: rgba(236,255,251,.03);
}
.dot{width:8px; height:8px; border-radius:99px; background: var(--brand); box-shadow:0 0 0 6px rgba(0,255,179,.12)}

.btn{
  border:1px solid var(--line);
  background: rgba(236,255,251,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border .15s ease, box-shadow .15s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(236,255,251,.06)}
.btn.primary{
  border-color: rgba(0,255,179,.55);
  background: linear-gradient(180deg, rgba(0,255,179,.95), rgba(0,255,179,.60));
  box-shadow: 0 18px 60px rgba(0,255,179,.18);
}
.btn[disabled]{opacity:.55; cursor:not-allowed; transform:none}
.badgeCount{
  min-width:26px; height:20px; padding:0 8px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  border:1px solid rgba(0,255,179,.35);
  background: rgba(0,255,179,.10);
  color:#d9fff1;
  font-size:12px;
}

/* Hero — new layout */
.hero{
  position:relative;
  border-radius: calc(var(--r) + 6px);
  padding: 24px;
  overflow:hidden;
  border: 1px solid rgba(236,255,251,.12);
  background:
    linear-gradient(180deg, rgba(236,255,251,.06), rgba(236,255,251,.02));
  box-shadow: var(--shadow);
}
.hero::before{
  content:"";
  position:absolute; inset:-2px;
  z-index:0;
  background: radial-gradient(780px 260px at 20% 18%, rgba(0,255,179,.20), transparent 60%);
  pointer-events:none;
}
.heroGrid{
  display:grid; gap:18px;
  grid-template-columns: 1.1fr .9fr;
  align-items:stretch;
}
.hTitle{margin:0; font-size:44px; letter-spacing:-.9px}
.hText{margin:10px 0 0; color:var(--muted); line-height:1.7; max-width:72ch}
.hCta{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.hStats{
  display:grid; gap:12px; grid-template-columns: repeat(3, 1fr);
  margin-top:18px;
}
.stat{
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(236,255,251,.03);
  padding:12px;
}
.stat b{display:block; font-size:18px}
.stat span{display:block; color:var(--muted2); font-size:12px; margin-top:4px}

/* Right mock / promo card */
.mock{
  position:relative;
  border-radius: 26px;
  padding:16px;
  border: 1px solid rgba(0,255,179,.30);
  background: radial-gradient(320px 220px at 20% 20%, rgba(0,255,179,.16), transparent 60%),
              linear-gradient(180deg, rgba(8,21,18,.85), rgba(5,13,11,.90));
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.mock::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius: 28px;
  background: conic-gradient(from 220deg, rgba(0,255,179,.0), rgba(0,255,179,.38), rgba(0,255,179,.0));
  opacity:.35;
  filter: blur(10px);
  pointer-events:none;
  animation: spin 8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.mockTop{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  position:relative; z-index:1;
}
.mockCard{
  position:relative; z-index:1;
  margin-top:12px;
  border-radius: 22px;
  border:1px solid rgba(236,255,251,.10);
  background: rgba(0,0,0,.18);
  padding:14px;
}
.mRow{display:flex; align-items:center; justify-content:space-between; gap:10px}
.mLine{height:1px; background: rgba(236,255,251,.10); margin:12px 0}
.k{font-size:12px; color:var(--muted2)}
.v{font-weight:900}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  border-radius: 999px;
  padding:6px 10px;
  border:1px solid rgba(236,255,251,.10);
  background: rgba(236,255,251,.03);
  color: var(--muted);
  font-size:12px;
}

/* Sections */
.section{margin-top:18px}
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  margin: 0 0 10px;
}
.sectionHead h2{margin:0; font-size:20px}
.hint{font-size:12px; color:var(--muted2)}

/* Feature tiles */
.tiles{
  display:grid; gap:14px;
  grid-template-columns: repeat(12, 1fr);
}
.tile{
  grid-column: span 4;
  border-radius: var(--r);
  border:1px solid rgba(236,255,251,.10);
  background: linear-gradient(180deg, rgba(236,255,251,.05), rgba(236,255,251,.02));
  box-shadow: var(--shadow2);
  padding:16px;
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, border .18s ease;
}
.tile::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(320px 140px at 70% 0%, rgba(0,255,179,.16), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.tile:hover{transform: translateY(-3px); border-color: rgba(0,255,179,.28)}
.tile h3{margin:6px 0 8px; font-size:18px}
.tile p{margin:0; color:var(--muted); line-height:1.55}
.icon{
  width:44px; height:44px; border-radius:18px;
  display:grid; place-items:center;
  background: rgba(0,255,179,.10);
  border:1px solid rgba(0,255,179,.30);
  box-shadow: 0 18px 50px rgba(0,255,179,.12);
}

/* Product cards — new look */
.gridCards{display:grid; gap:14px; grid-template-columns: repeat(12, 1fr)}
.pCard{
  grid-column: span 4;
  border-radius: calc(var(--r) + 2px);
  border:1px solid rgba(236,255,251,.10);
  background: linear-gradient(180deg, rgba(236,255,251,.05), rgba(236,255,251,.02));
  box-shadow: var(--shadow2);
  overflow:hidden;
  transition: transform .18s ease, border .18s ease;
  position:relative;
}
.pCard:hover{transform: translateY(-3px); border-color: rgba(0,255,179,.28)}
.pImg{
  height:160px;
  background: rgba(0,0,0,.22);
  border-bottom:1px solid rgba(236,255,251,.10);
  display:grid; place-items:center;
}
.pImg img{width:100%; height:100%; object-fit:cover}
.pBody{padding:14px 14px 16px}
.pTop{display:flex; align-items:center; justify-content:space-between; gap:10px}
.tag{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  font-size:12px;
  border:1px solid rgba(236,255,251,.10);
  background: rgba(236,255,251,.03);
  color: var(--muted);
}
.tag.brand{border-color: rgba(0,255,179,.28); background: rgba(0,255,179,.10); color:#d9fff1}
.pBody h3{margin:10px 0 8px; font-size:18px}
.pBody p{margin:0; color:var(--muted); line-height:1.5; font-size:14px}
.pBottom{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px}
.price{font-weight:950; letter-spacing:.2px}

/* Reveal */
.reveal{opacity:0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease}
.reveal.in{opacity:1; transform: translateY(0)}

/* Drawer cart */
.drawerOverlay{
  position:fixed; inset:0; background:rgba(0,0,0,.58);
  backdrop-filter: blur(10px);
  opacity:0; pointer-events:none;
  transition: opacity .18s ease;
  z-index:80;
}
.drawerOverlay.open{opacity:1; pointer-events:auto}
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(480px, 92vw);
  background: linear-gradient(180deg, rgba(8,21,18,.98), rgba(5,13,11,.98));
  border-left:1px solid rgba(236,255,251,.12);
  box-shadow: -20px 0 90px rgba(0,0,0,.60);
  transform: translateX(102%);
  transition: transform .22s ease;
  z-index:90;
  display:flex; flex-direction:column;
}
.drawer.open{transform: translateX(0)}
.drawerHeader{
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(236,255,251,.12);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.drawerHeader h3{margin:0; font-size:16px}
.drawerBody{padding:12px 16px; overflow:auto; flex:1}
.drawerFooter{
  padding:14px 16px 16px;
  border-top:1px solid rgba(236,255,251,.12);
  background: rgba(236,255,251,.02);
}
.cartItem{
  padding:12px 0;
  border-bottom:1px solid rgba(236,255,251,.10);
  display:flex; justify-content:space-between; gap:10px;
}
.cartItem:last-child{border-bottom:none}
.meta{color:var(--muted2); font-size:12px; line-height:1.35}
.qtyBtns{display:flex; gap:8px; align-items:center; flex-shrink:0}
.notice{
  padding:10px 12px; border-radius:16px;
  border:1px solid rgba(0,255,179,.22);
  background: rgba(0,255,179,.10);
  color:#d9fff1;
  font-size:13px;
  margin:10px 0 12px;
}
.totalRow{display:flex; justify-content:space-between; font-weight:950; letter-spacing:.2px}
.small{font-size:12px; color:var(--muted2)}

/* Modals */
.modalOverlay{
  position:fixed; inset:0; background:rgba(0,0,0,.62);
  backdrop-filter: blur(12px);
  opacity:0; pointer-events:none;
  transition: opacity .18s ease;
  z-index:120;
}
.modalOverlay.open{opacity:1; pointer-events:auto}
.modal{
  pointer-events:none;
  position:fixed; left:50%; top:52%;
  transform: translate(-50%,-50%) scale(.98);
  width:min(760px, 92vw);
  border-radius: 26px;
  border:1px solid rgba(236,255,251,.14);
  background: linear-gradient(180deg, rgba(8,21,18,.98), rgba(5,13,11,.98));
  box-shadow: 0 40px 140px rgba(0,0,0,.70);
  opacity:0;
  transition: opacity .18s ease, transform .18s ease;
  z-index:130;
}
.modal.open{opacity:1; transform: translate(-50%,-50%) scale(1); pointer-events:auto}
.modalHeader{
  padding:14px 16px;
  border-bottom:1px solid rgba(236,255,251,.12);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.modalHeader h3{margin:0; font-size:16px}
.modalBody{padding:14px 16px}
.modalFooter{
  padding:14px 16px 16px;
  border-top:1px solid rgba(236,255,251,.12);
  display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap;
}



/* Scrollable modal (used by configurator) */
.modal.scrollModal{
  display:flex;
  flex-direction:column;
  max-height: min(88vh, 860px);
  overflow:hidden; /* keep header/footer pinned */
}
.modal.scrollModal .modalBody{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* Configurator */
.configGrid{display:grid; gap:12px; grid-template-columns: repeat(12, 1fr)}
.matCard{
  grid-column: span 6;
  border-radius:20px;
  border:1px solid rgba(236,255,251,.12);
  background: rgba(236,255,251,.03);
  overflow:hidden;
  cursor:pointer;
  transition: transform .14s ease, border .14s ease, background .14s ease;
}
.matCard:hover{transform: translateY(-2px); border-color: rgba(0,255,179,.28)}
.matCard.selected{border-color: rgba(0,255,179,.55); background: rgba(0,255,179,.08)}
.matCard img{width:100%; aspect-ratio:1/1; height:auto; object-fit:cover; display:block}
.matBody{padding:12px}
.matBody b{display:flex; align-items:center; gap:10px}
.pBadge{
  display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px;
  font-size:12px; border:1px solid rgba(236,255,251,.12); background: rgba(236,255,251,.03); color:var(--muted);
}
.matBody span{display:block; margin-top:6px; color:var(--muted2); font-size:12px; line-height:1.35}

.colorRow{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.swatch{
  width:36px; height:36px; border-radius:16px;
  border:1px solid rgba(236,255,251,.16);
  cursor:pointer;
  transition: transform .12s ease, border .12s ease, box-shadow .12s ease;
}
.swatch:hover{transform: translateY(-1px)}
.swatch.selected{border-color: rgba(0,255,179,.80); box-shadow: 0 0 0 4px rgba(0,255,179,.18)}
.input{
  width:100%;
  padding:11px 12px;
  border-radius:16px;
  border:1px solid rgba(236,255,251,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline: none;
}
.input:focus{border-color: rgba(0,255,179,.70); box-shadow: 0 0 0 4px rgba(0,255,179,.18)}
.inline{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

/* Footer */
.footer{
  padding:26px 0 40px;
  margin-top:22px;
  color: var(--muted2);
  font-size:13px;
  border-top:1px solid rgba(236,255,251,.08);
}


/* Brand / logos */
.mark img.brandIcon{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  border-radius:18px;
}

.hero.hasBanner::after{
  content:"";
  position:absolute; inset:0;
  z-index:0;
  background: url("../assets/brand/BannerScuro-Nos3D.png") center/cover no-repeat;
  opacity:.14;
  filter: saturate(1.1) contrast(1.05);
  pointer-events:none;
}
.hero.hasBanner .heroGrid{position:relative; z-index:1}

.footerTop{display:flex; align-items:center; gap:12px}
.footerIcon{
  width:40px; height:40px;
  border-radius:16px;
  border:1px solid rgba(236,255,251,.12);
  background: rgba(0,0,0,.12);
}
.footerTitle{font-weight:900; color: rgba(236,255,251,.92)}
.footerSub{color: var(--muted2); font-size:12px; margin-top:2px}
.footerLogos{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; align-items:center}
.footerLogos img{
  border-radius:14px;
  border:1px solid rgba(236,255,251,.10);
  background: rgba(236,255,251,.03);
}
.footerBanner{height:46px; width:180px; object-fit:cover}
.footerLogo{height:46px; width:auto; object-fit:cover; padding:6px 8px}

/* Custom config UI */
.textarea{
  width:100%;
  border:1px solid var(--line);
  background: rgba(236,255,251,.04);
  color:var(--text);
  border-radius:14px;
  padding:12px;
  resize:vertical;
  min-height:110px;
  font-family:inherit;
  line-height:1.5;
}
.textarea:focus{
  outline:none;
  border-color: rgba(0,255,179,.45);
  box-shadow:0 0 0 4px rgba(0,255,179,.10);
}

.colorMulti{
  margin-top:12px;
  border:1px solid rgba(236,255,251,.10);
  background: rgba(236,255,251,.02);
  border-radius:18px;
  padding:12px;
}
.colorTools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}
.colorPicker{
  width:48px; height:38px;
  border:none;
  background: transparent;
  padding:0;
  border-radius:10px;
  cursor:pointer;
}
.chips{display:flex; flex-wrap:wrap; gap:10px}
.chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(236,255,251,.12);
  background: rgba(236,255,251,.03);
  color:var(--muted);
  font-size:12px;
}
.chipDot{
  width:14px; height:14px;
  border-radius:99px;
  border:1px solid rgba(236,255,251,.18);
}
.chipX{
  border:1px solid rgba(236,255,251,.12);
  background: rgba(236,255,251,.04);
  color:var(--text);
  border-radius:999px;
  width:24px; height:24px;
  display:grid; place-items:center;
  cursor:pointer;
}
.chipX:hover{background: rgba(236,255,251,.06)}


/* Responsive */
@media (max-width: 980px){
  .heroGrid{grid-template-columns: 1fr}
  .hStats{grid-template-columns: 1fr 1fr 1fr}
  .tile{grid-column: span 12}
  .pCard{grid-column: span 6}
  .matCard{grid-column: span 12}
}
@media (max-width: 640px){
  .top{padding:14px 16px}
  .wrap{padding:18px}
  .hTitle{font-size:32px}
  .hStats{grid-template-columns: 1fr}
  .pCard{grid-column: span 12}
}

/* Checkout layout */
.checkoutGrid{display:grid; gap:14px; grid-template-columns: repeat(12, 1fr); margin-top:14px}
.panel{
  grid-column: span 7;
  border-radius: calc(var(--r) + 2px);
  border:1px solid rgba(236,255,251,.10);
  background: linear-gradient(180deg, rgba(236,255,251,.05), rgba(236,255,251,.02));
  box-shadow: var(--shadow2);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.panel::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(420px 180px at 75% 0%, rgba(0,255,179,.12), transparent 60%);
  pointer-events:none;
}
.sidebar{
  grid-column: span 5;
  border-radius: calc(var(--r) + 2px);
  border:1px solid rgba(236,255,251,.10);
  background: linear-gradient(180deg, rgba(236,255,251,.05), rgba(236,255,251,.02));
  box-shadow: var(--shadow2);
  padding:16px;
}
.row2{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.field{display:flex; flex-direction:column; gap:8px; margin-top:10px}
.label{font-size:12px; color:var(--muted2)}
.hr{height:1px; background: rgba(236,255,251,.10); margin:12px 0}
.radioGrid{display:grid; grid-template-columns: repeat(12, 1fr); gap:10px; margin-top:10px}
.payCard{
  grid-column: span 6;
  border-radius:18px;
  border:1px solid rgba(236,255,251,.12);
  background: rgba(236,255,251,.03);
  padding:12px;
  cursor:pointer;
  transition: transform .14s ease, border .14s ease, background .14s ease;
  position:relative;
  overflow:hidden;
}
.payCard:hover{transform: translateY(-2px); border-color: rgba(0,255,179,.28)}
.payCard.selected{border-color: rgba(0,255,179,.60); background: rgba(0,255,179,.08)}
.payCard b{display:flex; align-items:center; justify-content:space-between; gap:10px}
.payCard span{display:block; margin-top:6px; color:var(--muted2); font-size:12px; line-height:1.35}
.kv{display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--muted)}
.kv b{color:var(--text)}
.orderList{display:flex; flex-direction:column; gap:10px; margin-top:10px}
.lineItem{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 0; border-bottom:1px solid rgba(236,255,251,.10);
}
.lineItem:last-child{border-bottom:none}
.pillWarn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:16px;
  border:1px solid rgba(255,209,102,.28);
  background: rgba(255,209,102,.08);
  color: rgba(255,255,255,.90);
  font-size:13px;
}
.okBox{
  border:1px solid rgba(0,255,179,.28);
  background: rgba(0,255,179,.08);
  border-radius: 18px;
  padding: 12px;
  color: #d9fff1;
}
.failBox{
  border:1px solid rgba(255,77,109,.28);
  background: rgba(255,77,109,.08);
  border-radius: 18px;
  padding: 12px;
  color: rgba(255,255,255,.92);
}

@media (max-width: 980px){
  .panel{grid-column: span 12}
  .sidebar{grid-column: span 12}
  .payCard{grid-column: span 12}
}

/* ===== Mock Showcase (generic, works on all pages) ===== */
.mockShowcase .mockCard.mockGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  padding:14px;
}

@media (max-width: 520px){
  .mockShowcase .mockCard.mockGrid{ grid-template-columns: 1fr; }
}

.mockShowcase .mockTile{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  background: rgba(255,255,255,.02);
}

.mockShowcase .mockIcon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  margin-bottom:8px;
}

.mockShowcase .mockIcon svg{
  width:18px;
  height:18px;
  opacity:.9;
}

.mockShowcase .mockTitle{
  font-weight:700;
  font-size:.95rem;
  line-height:1.1;
  margin-bottom:4px;
}

.mockShowcase .mockText{
  opacity:.85;
  font-size:.85rem;
  line-height:1.35;
}

.mockShowcase .mockHint{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  opacity:.9;
}

.mockShowcase .mockHintDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: currentColor;
  opacity:.65;
}