/* ============================================================
   Clearlii — Innovation & Comfort + Product-single (specs)
   ============================================================ */

/* hero */
.innov-hero { position: relative; overflow: hidden; padding: 30px 0 70px; }
.innov-hero .wm-big {
  position: absolute; top: 30px; left: 0; right: 0; text-align: center; z-index: 0; pointer-events: none; user-select: none;
  font-size: clamp(90px, 16vw, 230px); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, #ece6f2, rgba(236,230,242,0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.innov-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 90px; }
.innov-hero-grid h1 { margin: 20px 0 18px; max-width: 13ch; }
.innov-hero-grid .lead { max-width: 440px; }
.innov-hero-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: 0 24px 60px rgba(40,53,131,.16); }
.innov-hero-img::before { content: none; }
.innov-hero-img .glow { position: absolute; inset: -14% -10%; z-index: 0; filter: blur(70px); opacity: .55;
  background: radial-gradient(circle at 50% 50%, rgba(255,180,90,.4), transparent 60%), radial-gradient(circle at 70% 70%, rgba(180,80,220,.3), transparent 60%); }
.innov-hero-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* six innovations */
.six-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.six-head h2 { margin: 14px 0 14px; }
.six-head p { color: var(--muted); font-size: 16px; margin: 0 0 30px; max-width: 42ch; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px 4px;
}
.acc-num { font-size: 15px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.acc-title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); transition: color .2s; }
.acc-item.open .acc-title { color: var(--purple); }
.acc-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); box-shadow: inset 0 0 0 1.5px rgba(120,33,129,.25); transition: transform .3s, background .2s; }
.acc-ico svg { width: 15px; height: 15px; }
.acc-item.open .acc-ico { transform: rotate(45deg); background: var(--purple); color: #fff; box-shadow: none; }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.acc-panel .inner { padding: 0 50px 24px 50px; }
.acc-panel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.acc-panel .ref { font-size: 11px; color: var(--muted-2); vertical-align: super; }

/* media / video */
.media-section { padding-block: 40px 90px; }
.video-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; box-shadow: var(--sh-card);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card .vscrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,53,131,.1), rgba(120,33,129,.45)); }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: none;
  background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 16px 40px rgba(121,33,129,.45); transition: transform .2s;
}
.video-play:hover { transform: scale(1.07); }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; }
.media-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; margin-top: 34px; }
.media-foot .vlabel { font-weight: 600; color: var(--purple); font-size: 15px; max-width: 90px; line-height: 1.3; }
.media-foot .vdesc { font-size: 16px; line-height: 1.5; color: #000; max-width: 440px; }
.media-foot .vactions { display: flex; gap: 12px; align-items: center; }
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.stat-band .stat .n { font-size: 64px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat-band .stat .n span { color: var(--purple); }
.stat-band .stat .l { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 26ch; }

/* clinical proof */
.clinical { background: var(--surface); }
.clinical-head { max-width: 680px; margin-bottom: 50px; }
.clinical-head h2 { margin: 14px 0 16px; }
.clinical-head p { color: var(--muted); font-size: 17px; margin: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 36px; box-shadow: var(--sh-soft); transition: transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.proof-card::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--grad-vitamin); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.proof-card:hover::after { transform: scaleX(1); }
.proof-card .rn { width: 60px; height: 60px; border-radius: 18px; background: var(--grad-vitamin); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 24px; box-shadow: 0 12px 24px rgba(120,33,129,.22); }
.proof-card .vit-orb { width: 84px; height: 84px; margin: -6px 0 14px -6px; display: block; }
.proof-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; }
.proof-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* blog (reuse home blog styles, add list variant) */
.innov-blog-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: stretch; }
.blog-feature {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px;
}
.blog-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.blog-feature .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,53,131,0) 35%, rgba(34,30,40,.85)); }
.blog-feature h3 { color: #fff; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 14px; max-width: 16ch; }
.blog-feature .more { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.blog-feature .more .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; }
.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-li { background: var(--surface); border-radius: var(--r-md); padding: 30px 34px; transition: transform .2s, box-shadow .2s; }
.blog-li:hover { transform: translateY(-2px); box-shadow: var(--sh-soft); background: #fff; }
.blog-li h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 8px; }
.blog-li p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.blog-li .more { color: var(--purple); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ===== product-single spec page ===== */
.ps-hero { position: relative; overflow: hidden; padding: 30px 0 70px; }
.ps-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ps-hero-grid h1 { margin: 16px 0 18px; }
.ps-hero-grid .lead { max-width: 460px; margin-bottom: 30px; }
.ps-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ps-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.3; box-shadow: 0 28px 64px rgba(40,53,131,.18); }
.ps-photo::before { content: none; }
.ps-photo .glow { position: absolute; inset: -12% -10%; filter: blur(70px); z-index: 0; opacity: .5;
  background: radial-gradient(circle at 50% 50%, rgba(180,80,220,.35), transparent 62%), radial-gradient(circle at 70% 60%, rgba(120,160,255,.3), transparent 60%); }
.ps-photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: none; }

/* frameless product-render variant: free-floating box shot, no card */
.ps-photo.product { border-radius: 0; overflow: visible; box-shadow: none; background: none; }
.ps-photo.product img { position: absolute; inset: 0; object-fit: contain; filter: drop-shadow(0 34px 48px rgba(40,20,60,.28)); }
.ps-photo.product .glow { opacity: .65; }

/* lifestyle gallery on product pages */
.ps-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.ps-gallery.three { grid-template-columns: repeat(3, 1fr); }
.ps-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; box-shadow: var(--sh-soft); }
@media (max-width: 1000px) { .ps-gallery { grid-template-columns: repeat(2, 1fr); } }

.spec-section { background: var(--surface); }
.spec-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.spec-intro h2 { margin: 14px 0 16px; }
.spec-intro p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.spec-table { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-soft); }
.spec-table .row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.spec-table .row:last-child { border-bottom: none; }
.spec-table .row:nth-child(odd) { background: #fafafb; }
.spec-table .k { font-size: 14px; color: var(--muted); }
.spec-table .v { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.spec-head-row { background: var(--purple) !important; color: #fff; }
.spec-head-row .k, .spec-head-row .v { color: #fff; font-weight: 600; }
.spec-table .row.spec-extra { display: none; }
.spec-table.specs-open .row.spec-extra { display: grid; }
.spec-toggle {
  width: 100%; border: none; background: #faf7fb; color: var(--purple);
  font-family: inherit; font-size: 14px; font-weight: 600; padding: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: background .15s;
}
.spec-toggle:hover { background: rgba(121,33,129,.08); }
.spec-toggle svg { transition: transform .25s; }
.spec-toggle.open svg { transform: rotate(180deg); }

/* ---- Innovation sub-nav (mandated tab bar) ---- */
.innov-subnav { border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 80; background: var(--surface); }
.innov-subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.innov-subnav .container::-webkit-scrollbar { display: none; }
.innov-subnav a { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--muted); position: relative; letter-spacing: -0.01em; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.innov-subnav a:hover { color: var(--ink); background: var(--surface); }
.innov-subnav a.active { color: var(--purple); background: rgba(121,33,129,.09); }
.innov-subnav a.active:hover { background: rgba(121,33,129,.13); }

/* ---- clinical data highlights (stat + download) ---- */
.clindata-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.clindata-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.clindata-card .big { font-size: 52px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--purple); }
.clindata-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
.download-link { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 12px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: .2s; }
.download-link:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-1px); }
.download-link svg { width: 18px; height: 18px; color: var(--purple); }

/* ---- expert insight quote ---- */
.expert { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; background: #1a1620; border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.expert::before { content: ''; position: absolute; inset: 0; background: var(--grad-vitamin); opacity: .2; }
.expert > * { position: relative; z-index: 1; }
.expert .ava { width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(150deg, var(--purple), var(--blue)); display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 600; flex: none; }
.expert blockquote { margin: 0; color: #fff; }
.expert blockquote p { font-size: 21px; line-height: 1.5; font-style: italic; letter-spacing: -0.01em; margin: 0 0 16px; }
.expert blockquote cite { font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); }
.expert blockquote cite strong { display: block; color: #fff; font-weight: 600; font-style: normal; font-size: 15px; }

/* ---- wearer testimonials (self-contained; mirrors company.css .voice) ---- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.voice:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.voice .stars { display: flex; gap: 3px; color: #f5b301; margin-bottom: 14px; }
.voice .stars svg { width: 17px; height: 17px; }
.voice blockquote { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink); font-style: normal; letter-spacing: -0.01em; }
.voice .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.voice .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--purple), var(--blue)); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; flex: none; letter-spacing: .02em; }
.voice:nth-child(2) .av { background: linear-gradient(150deg, #b31aef, #f6048d); }
.voice:nth-child(3) .av { background: linear-gradient(150deg, #2a6fdb, #16b1c9); }
.voice .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--purple), var(--blue)); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; flex: none; }
.voice .who h4 { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.voice .who p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---- related innovation links ---- */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); transition: .18s; }
.related-card:hover { border-color: rgba(120,33,129,.3); box-shadow: var(--sh-soft); transform: translateY(-2px); }
.related-card .ri { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--purple); }
.related-card .ri svg { width: 22px; height: 22px; }
.related-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.related-card .rl { font-size: 13px; color: var(--purple); font-weight: 600; margin-top: auto; display: inline-flex; align-items: center; gap: 5px; }
.related-card .rl svg { width: 15px; height: 15px; flex: none; }

/* ---- primary CTA banner ---- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 60px; text-align: center; background: var(--surface); }
.cta-banner.dark { background: #1a1620; }
.cta-banner.dark::before { content: ''; position: absolute; inset: 0; background: var(--grad-vitamin); opacity: .22; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin: 0 0 14px; }
.cta-banner.dark h2 { color: #fff; }
.cta-banner p { font-size: 16px; color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.cta-banner.dark p { color: rgba(255,255,255,.78); }
.cta-banner .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .innov-hero-grid, .six-grid, .ps-hero-grid, .spec-grid { grid-template-columns: 1fr; gap: 40px; }
  .innov-hero-img, .ps-photo { order: -1; max-width: 420px; }
  .media-foot { grid-template-columns: 1fr; gap: 20px; }
  .stat-band, .proof-grid { grid-template-columns: 1fr; gap: 28px; }
  .innov-blog-grid { grid-template-columns: 1fr; }
  .clindata-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .expert { grid-template-columns: 1fr; gap: 22px; padding: 34px; }
  .innov-subnav { top: 64px; }
  .voices { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acc-panel .inner { padding-left: 0; padding-right: 0; }
  .stat-band .stat .n { font-size: 48px; }
  .spec-table .row { grid-template-columns: 1fr; gap: 4px; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
}
