/* ============================================================
   ZYRVIS web7.29 — Product Pages Shared Style
   (extends products/product-base.css aesthetic)
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:'Nunito',-apple-system,'PingFang SC',system-ui,sans-serif;background:#080808;color:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.6}
::-webkit-scrollbar{display:none}
em{font-style:italic}
:root{
  --cream:#F6F1E7;--paper:#FFFDF8;--sand:#EDE4D2;
  --ink:#2A2520;--ink2:#6B6158;--ink3:#A89E91;
  --mocha:#B08A5B;--mochaDk:#8A6740;--mochaLt:#D9C2A4;
  --sage:#A8B89A;--sageDk:#7D9274;--rose:#D9A9A2;
  --sky:#B8CFD9;--butter:#F2D58A;--plum:#9E7BA0;
  --coral:#FF6B6B;--electric:#4ECDC4;
  --line:rgba(255,255,255,0.1);
  --shadow:0 1px 2px rgba(0,0,0,0.2),0 4px 14px rgba(0,0,0,0.15);
  --shadowLg:0 8px 40px rgba(0,0,0,0.4);
}

/* ── CAPSULE NAV ── */
.sidenav{position:fixed;left:20px;top:50%;transform:translateY(-50%);width:44px;z-index:9999;background:rgba(20,20,20,0.9);backdrop-filter:blur(28px) saturate(1.4);-webkit-backdrop-filter:blur(28px) saturate(1.4);border:0.5px solid rgba(255,255,255,0.12);border-radius:28px;padding:14px 0;display:flex;flex-direction:column;align-items:center;gap:5px;box-shadow:0 8px 32px rgba(0,0,0,0.4),inset 0 1px 1px rgba(255,255,255,0.08)}
.sc-logo{font-family:'Fraunces',Georgia,serif;font-size:13px;font-weight:800;color:#fff;cursor:pointer;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:10px;transition:background 0.15s;text-decoration:none}
.sc-logo:hover{background:rgba(255,255,255,0.1)}
.sc-sep{width:20px;height:0.5px;background:rgba(255,255,255,0.12);margin:4px 0;flex-shrink:0}
.sc-back{width:28px;height:28px;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;font-size:9px;font-weight:900;color:rgba(255,255,255,0.4);letter-spacing:0.5px;transition:all 0.15s;position:relative}
.sc-back:hover{color:#fff;background:rgba(255,255,255,0.08)}

/* ── HERO ── */
.hero{min-height:88vh;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#080808;padding:120px 60px 80px;text-align:center}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;background:rgba(255,255,255,0.08);border:0.5px solid rgba(255,255,255,0.15);font-size:12px;font-weight:700;color:rgba(255,255,255,0.65);margin-bottom:32px;position:relative;z-index:1}
.hero-emoji{font-size:64px;margin-bottom:20px;position:relative;z-index:1;display:block}
.hero-h1{font-family:'Fraunces',Georgia,serif;font-size:clamp(48px,7vw,84px);font-weight:800;line-height:1.04;color:#fff;letter-spacing:-2.5px;margin-bottom:24px;position:relative;z-index:1}
.hero-h1 em{color:var(--butter);font-style:italic}
.hero-sub{font-size:18px;color:rgba(255,255,255,0.62);max-width:640px;margin:0 auto 40px;line-height:1.65;position:relative;z-index:1}
.hero-meta{display:flex;gap:12px;margin-bottom:48px;flex-wrap:wrap;justify-content:center;position:relative;z-index:1}
.hero-tag{padding:8px 16px;border-radius:999px;background:rgba(255,255,255,0.06);border:0.5px solid rgba(255,255,255,0.1);font-size:12px;font-weight:700;color:rgba(255,255,255,0.75)}
.hero-tag em{color:var(--butter);font-style:normal;font-weight:800}
.hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;position:relative;z-index:1}
.hero-btn-primary{background:#fff;color:#080808;border:none;padding:14px 32px;border-radius:999px;font-size:14px;font-weight:800;cursor:pointer;font-family:'Nunito',sans-serif;box-shadow:0 6px 24px rgba(255,255,255,0.15);transition:transform 0.2s;text-decoration:none;display:inline-block}
.hero-btn-primary:hover{transform:scale(1.04)}
.hero-btn-secondary{background:transparent;color:rgba(255,255,255,0.75);border:0.5px solid rgba(255,255,255,0.25);padding:14px 24px;border-radius:999px;font-size:14px;font-weight:700;cursor:pointer;font-family:'Nunito',sans-serif;transition:all 0.2s;text-decoration:none;display:inline-block}
.hero-btn-secondary:hover{color:#fff;border-color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.06)}

/* ── SECTION ── */
.section{padding:100px 64px;position:relative;overflow:hidden;background:#080808}
.section-inner{max-width:1100px;margin:0 auto;position:relative;z-index:1}
.section-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;border:0.5px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.1);font-size:12px;font-weight:700;color:rgba(255,255,255,0.82);margin-bottom:22px}
.section-h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(36px,4.5vw,52px);font-weight:800;line-height:1.08;color:#fff;letter-spacing:-1.2px;margin-bottom:20px}
.section-h2 em{color:var(--butter);font-style:italic}
.section-desc{font-size:15.5px;line-height:1.7;color:rgba(255,255,255,0.7);max-width:680px;margin-bottom:48px}

/* ── FEATURE CARDS ── */
.feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.feat-card{background:rgba(255,255,255,0.06);border-radius:22px;padding:24px 22px;border:0.5px solid rgba(255,255,255,0.1);transition:transform 0.2s,background 0.2s}
.feat-card:hover{background:rgba(255,255,255,0.09);transform:translateY(-2px)}
.feat-card-icon{font-size:28px;margin-bottom:14px;display:block}
.feat-card-title{font-family:'Fraunces',Georgia,serif;font-size:18px;font-weight:800;color:#fff;margin-bottom:8px}
.feat-card-desc{font-size:13px;color:rgba(255,255,255,0.7);line-height:1.55}

/* ── STATS ── */
.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-top:40px}
.stat-card{padding:24px;border-radius:22px;background:rgba(255,255,255,0.06);border:0.5px solid rgba(255,255,255,0.1);text-align:center;transition:background 0.2s}
.stat-card:hover{background:rgba(255,255,255,0.1)}
.stat-num{font-family:'Fraunces',Georgia,serif;font-size:36px;font-weight:800;color:#fff;line-height:1;margin-bottom:8px}
.stat-num em{color:var(--butter);font-style:normal}
.stat-label{font-size:11px;font-weight:700;color:rgba(255,255,255,0.5);letter-spacing:0.3px;text-transform:uppercase}

/* ── TABLE ── */
.t-table{width:100%;border-collapse:collapse;background:rgba(255,255,255,0.04);border-radius:18px;overflow:hidden;border:0.5px solid rgba(255,255,255,0.1)}
.t-table thead th{background:rgba(255,255,255,0.06);padding:14px 18px;text-align:left;font-size:12px;font-weight:800;color:rgba(255,255,255,0.55);letter-spacing:0.3px;text-transform:uppercase}
.t-table tbody td{padding:14px 18px;border-top:0.5px solid rgba(255,255,255,0.06);font-size:13.5px;color:rgba(255,255,255,0.82)}
.t-table tbody tr:hover{background:rgba(255,255,255,0.04)}
.t-table em{color:var(--butter);font-style:normal;font-weight:800}
.t-pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:10.5px;font-weight:800;background:rgba(242,213,138,0.15);color:var(--butter);border:0.5px solid rgba(242,213,138,0.3)}
.t-pill.green{background:rgba(168,184,154,0.15);color:var(--sage);border-color:rgba(168,184,154,0.3)}
.t-pill.rose{background:rgba(217,169,162,0.15);color:var(--rose);border-color:rgba(217,169,162,0.3)}

/* ── DEMO SHELL ── */
.demo-shell{background:rgba(255,255,255,0.04);border:0.5px solid rgba(255,255,255,0.12);border-radius:26px;overflow:hidden;box-shadow:var(--shadowLg)}
.demo-bar{display:flex;align-items:center;gap:8px;padding:12px 18px;background:rgba(255,255,255,0.05);border-bottom:0.5px solid rgba(255,255,255,0.08)}
.demo-dot{width:11px;height:11px;border-radius:50%}
.demo-dot.r{background:#FF5F57}.demo-dot.y{background:#FEBC2E}.demo-dot.g{background:#28C840}
.demo-bar-title{margin-left:8px;font-size:12px;font-weight:700;color:rgba(255,255,255,0.45);letter-spacing:0.4px}
.demo-body{padding:32px;min-height:320px}
.demo-note{margin-top:16px;font-size:12px;color:rgba(255,255,255,0.4);text-align:center}

/* demo controls */
.d-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,0.07);border:0.5px solid rgba(255,255,255,0.14);font-size:13px;font-weight:700;color:rgba(255,255,255,0.75);cursor:pointer;transition:all 0.15s;user-select:none;font-family:'Nunito',sans-serif}
.d-chip:hover{background:rgba(255,255,255,0.12)}
.d-chip.on{background:var(--butter);color:#1a1408;border-color:var(--butter)}
.d-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 26px;border-radius:999px;background:#fff;color:#080808;border:none;font-size:14px;font-weight:800;cursor:pointer;font-family:'Nunito',sans-serif;transition:transform 0.15s,opacity 0.15s}
.d-btn:hover{transform:scale(1.03)}
.d-btn:disabled{opacity:0.4;cursor:not-allowed;transform:none}
.d-btn.ghost{background:rgba(255,255,255,0.08);color:#fff;border:0.5px solid rgba(255,255,255,0.2)}
.d-btn.ghost:hover{background:rgba(255,255,255,0.14)}
.d-input{background:rgba(255,255,255,0.07);border:0.5px solid rgba(255,255,255,0.16);border-radius:14px;padding:12px 16px;color:#fff;font-size:14px;font-family:'Nunito',sans-serif;outline:none;width:100%}
.d-input:focus{border-color:rgba(242,213,138,0.5)}
.d-input::placeholder{color:rgba(255,255,255,0.3)}
input[type=range].d-range{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;background:rgba(255,255,255,0.15);outline:none}
input[type=range].d-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:var(--butter);cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.4)}
input[type=range].d-range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--butter);cursor:pointer;border:none}

/* ── BACK LINK / FOOTER ── */
.back-link{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;background:rgba(255,255,255,0.06);border:0.5px solid rgba(255,255,255,0.15);font-size:13px;font-weight:700;color:rgba(255,255,255,0.7);text-decoration:none;transition:all 0.2s;margin-top:48px}
.back-link:hover{color:#fff;background:rgba(255,255,255,0.1)}
.footer{background:#080808;padding:40px 32px 28px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;border-top:0.5px solid rgba(255,255,255,0.08)}
.footer-logo{font-family:'Fraunces',Georgia,serif;font-size:18px;font-weight:800;color:#fff;letter-spacing:-0.5px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.footer-link{font-size:12px;font-weight:700;color:rgba(255,255,255,0.5);text-decoration:none;cursor:pointer;transition:color 0.2s}
.footer-link:hover{color:#fff}
.footer-copy{font-size:12px;color:rgba(255,255,255,0.4)}

/* ── REVEAL ── */
body.js-reveal-ready .reveal{opacity:0;transform:translateY(28px);transition:opacity 0.75s ease,transform 0.75s ease}
body.js-reveal-ready .reveal.visible{opacity:1;transform:translateY(0)}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .sidenav{display:none}
  .hero{padding:80px 24px 60px}
  .section{padding:72px 24px}
  .hero-emoji{font-size:48px}
  .demo-body{padding:20px}
}
@media(max-width:600px){
  .hero-h1{font-size:clamp(36px,10vw,52px)}
  .section-h2{font-size:clamp(30px,8vw,40px)}
  .section{padding:56px 20px}
  .feat-grid{grid-template-columns:1fr}
  .t-table{display:block;overflow-x:auto;white-space:nowrap}
}
