/* =========================================================
   Skyline Vision Hybrid
   Neon-sunset PREMIUM RESEARCH hero + clean white/purple bands
   Loads after theme-mhc-skyline.css
   ========================================================= */

:root {
  --bg: #f7f5fc;
  --bg-soft: #ffffff;
  --bg-band: #f0ecf8;
  --bg-card: #ffffff;
  --text: #12101a;
  --muted: #534d63;
  --faint: #7a738c;
  --line: rgba(40, 20, 90, 0.1);
  --line-soft: rgba(40, 20, 90, 0.07);
  --brand: #7c3aed;
  --brand-2: #6d28d9;
  --brand-soft: #f3eefe;
  --accent: #a855f7;
  --cyan: #7c3aed;
  --ink: #0a0618;
  --ink-elev: #120a28;
  --glow: #e879f9;
  --neon-cyan: #22d3ee;
  --header-h: 72px;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Purple top bar — brand strip */
.topbar {
  background: linear-gradient(90deg, #5b21b6 0%, #7c3aed 50%, #6d28d9 100%);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  border-bottom: 0;
}
.topbar strong { color: #fff; }

/* Dark chrome header (unique, matches neon hero) */
.site-header {
  background: rgba(10, 6, 24, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
/* Full logo (same artwork as vial labels) — never circle-crop */
.brand-mark,
.site-header .brand-mark,
.gate-panel .brand-mark,
.footer-brand img {
  width: auto;
  height: 44px;
  max-width: 160px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  box-shadow: none;
}
.site-header .brand-mark {
  height: 48px;
  max-width: 180px;
}
.gate-panel .brand-mark {
  width: min(220px, 70vw);
  height: auto;
  max-width: 240px;
  margin: 0 auto 1rem;
  display: block;
}
.footer-brand img {
  height: 40px;
  max-width: 140px;
}
.brand {
  gap: 0.75rem;
}
/* Hide redundant wordmark text when full logo includes SKYLINE COMPOUNDS */
.site-header .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.brand-name { color: #fff; }
.brand-name small { color: #c4b5fd; }
.nav { color: #c4c0d4; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #e9d5ff; }
.header-search input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.header-search input::placeholder { color: #8b849e; }
.header-search input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}
.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eee;
}
.icon-btn:hover {
  border-color: rgba(196, 181, 253, 0.45);
  color: #fff;
}
.mobile-toggle { color: #fff; }
.mobile-nav {
  background: #120a28;
  border-top-color: rgba(255, 255, 255, 0.08);
}
.mobile-nav a {
  color: #c4c0d4;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 45%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f2ff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ========== NEON SUNSET HERO ========== */
.hero.hero--neon {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  color: #f8f7ff;
  background: #0a0618;
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--neon .hero-media-bg {
  opacity: 0.95;
  filter: saturate(1.12) brightness(0.9) contrast(1.05);
  object-position: center 42%;
  transform: scale(1.03);
  width: 100%;
  height: 100%;
}
.hero--neon .hero-media-scrim {
  background:
    linear-gradient(105deg, rgba(8, 4, 24, 0.92) 0%, rgba(8, 4, 24, 0.55) 42%, rgba(8, 4, 24, 0.2) 72%, rgba(8, 4, 24, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 4, 24, 0.35) 0%, transparent 40%, rgba(8, 4, 24, 0.55) 100%);
}
.hero--neon .eyebrow {
  color: #c4b5fd;
  letter-spacing: 0.16em;
}
.hero--neon h1 {
  font-size: clamp(2.4rem, 6vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}
.hero--neon h1 .hero-grad {
  display: block;
  background: linear-gradient(100deg, #fff 0%, #e9d5ff 35%, #e879f9 68%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero--neon h1 .hero-subline {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.42em;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #67e8f9;
  text-transform: uppercase;
}
.hero--neon .hero-lead {
  color: #c8c4d8;
  font-size: 1.05rem;
  max-width: 32rem;
}
.hero--neon .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.hero--neon .btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero--neon .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.hero--neon .hero-shot {
  border: 1px solid rgba(196, 181, 253, 0.28);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(168, 85, 247, 0.2);
  background: transparent;
  aspect-ratio: 16 / 11;
  max-width: 540px;
  border-radius: 18px;
}
.hero--neon .hero-shot img {
  object-fit: cover;
  object-position: center 55%;
}
.hero--neon .hero-shot-caption {
  background: linear-gradient(transparent, rgba(6, 3, 20, 0.92));
}
.hero--neon .hero-fade {
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 245, 252, 0) 0%, #f7f5fc 100%);
}

/* Trust metrics — glass dark strip under hero */
.metrics--neon {
  margin-top: -2.5rem;
  position: relative;
  z-index: 4;
  padding: 0 0 1rem;
}
.metrics--neon .metrics--panel {
  background: linear-gradient(180deg, #160e30 0%, #120a28 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 0 20px 50px rgba(10, 5, 30, 0.35);
}
.metrics--neon .metric strong { color: #fff; }
.metrics--neon .metric span { color: #a8a0c0; }
.metrics--neon .metrics--panel .metric:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.08);
}

/* Catalog — dark neon field for purple vial cards */
.section--catalog {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #100826 0%, #0c061c 100%);
  border-block: 1px solid rgba(167, 139, 250, 0.12);
  color: #f4f2ff;
}
.section--catalog .kicker { color: #c4b5fd; }
.section--catalog h2,
.section--catalog .section-head h2 { color: #fff; }
.section--catalog .section-lead { color: #b0a8c8; }
.section--catalog .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.section--catalog .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Product cards — premium neon vials */
.product-card {
  background: linear-gradient(180deg, #1c1238 0%, #120a28 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.product-card:hover {
  border-color: rgba(232, 121, 249, 0.45);
  box-shadow: 0 18px 48px rgba(124, 58, 237, 0.35);
}
.product-media {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(168, 85, 247, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, #1a0f32 0%, #0e081c 100%);
}
.product-body {
  background: linear-gradient(180deg, #16102c 0%, #100826 100%);
}

/* WHITE + purple clean band (top-right inspo mix) */
.section--white {
  background: #ffffff;
  color: var(--text);
}
.section--white .kicker { color: var(--brand); }
.section--white h2 { color: var(--text); }
.section--white .section-lead,
.section--white .lead { color: var(--muted); }
.section--white .btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.section--white .btn-ghost:hover {
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--brand);
  background: var(--brand-soft);
}
.section--white .guarantee-card,
.section--white .quality-item {
  background: #faf8ff;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 8px 24px rgba(40, 20, 80, 0.04);
}
.section--white .guarantee-card:hover,
.section--white .quality-item:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.1);
}
.section--white .guarantee-icon { color: var(--brand); }

/* Soft white band */
.section--soft {
  background: #f7f5fc;
}
.section--soft .quality-item,
.section--soft .faq details {
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 6px 18px rgba(40, 20, 80, 0.04);
}
.section--base {
  background: #fff;
}

/* Trust strip (payments / shipping / RUO) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #160e30, #1a1040, #160e30);
  border-block: 1px solid rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
  font-size: 0.82rem;
  font-weight: 600;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-strip b { color: #fff; font-weight: 700; }

/* Why choose — white icon row like inspo */
.why-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .why-row {
    grid-template-columns: 0.9fr 1.4fr;
    align-items: center;
    gap: 2.5rem;
  }
}
.why-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .why-icons { grid-template-columns: repeat(4, 1fr); }
}
.why-icon {
  text-align: center;
  padding: 1.15rem 0.75rem;
  border-radius: 14px;
  background: #faf8ff;
  border: 1px solid rgba(124, 58, 237, 0.1);
}
.why-icon .ico {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.65rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ede9fe, #f3e8ff);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}
.why-icon h4 {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-family: var(--display);
  color: var(--text);
}
.why-icon p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* FAQ on white */
.faq details { background: #fff; }
.faq summary { color: var(--text); }
.faq p { color: var(--muted); }
.faq a { color: var(--brand); }

/* Neon CTA footer band */
.section--brand {
  background:
    linear-gradient(105deg, rgba(10, 6, 24, 0.92), rgba(30, 10, 60, 0.75)),
    url("assets/hero-neon-bg.jpg") center 60% / cover no-repeat;
  color: #fff;
  border-top: 1px solid rgba(167, 139, 250, 0.2);
}
.section--brand .cta {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.5rem 0;
}
.section--brand h2 {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(168, 85, 247, 0.35);
}
.section--brand p {
  color: #d4cce8 !important;
}
.section--brand .btn-primary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed) !important;
  color: #fff !important;
  border: 0;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.45);
}
.section--brand .btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

/* Inner page heroes — neon strip + soft white body (matches home) */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(10, 6, 24, 0.94) 0%, rgba(18, 8, 40, 0.82) 55%, rgba(10, 6, 24, 0.88) 100%),
    url("assets/hero-neon-bg.jpg") center 35% / cover no-repeat;
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
  padding: 2rem 0 1.5rem;
  color: #f4f2ff;
}
.page-hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(168, 85, 247, 0.25);
}
.page-hero .lead,
.page-hero p.lead {
  color: #c8c0dc;
}
.page-hero .breadcrumb { color: #9b93b0; }
.page-hero .breadcrumb a { color: #c4b5fd; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .kicker { color: #c4b5fd; }

/* Soft white content under neon page hero */
main.section {
  background: var(--bg);
}
body > main > .section:not(.section--catalog):not(.section--brand):not(.section--white):not(.section--soft):not(.section--base) {
  background: var(--bg);
}

/* About / contact content cards on soft field */
.about-grid .guarantee-card,
main .guarantee-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 8px 24px rgba(40, 20, 80, 0.05);
}
main .kicker { color: var(--brand); }
main h1 { color: var(--text); }
main .lead { color: var(--muted); }

/* Legal pages match soft white + dark chrome */
.legal-page {
  background: var(--bg);
}
.legal-wrap h1 { color: var(--text); }

.breadcrumb a:hover { color: var(--brand); }

/* Consistent purple topbar copy across pages when not overridden */
.topbar {
  font-size: 0.78rem;
}

/* Shop toolbar white */
.shop-toolbar {
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 6px 20px rgba(40, 20, 80, 0.05);
}
.chip {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}
.chip.active {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-color: transparent;
  color: #fff;
}

/* PDP sits on clean white under dark chrome */
main:has(#pdp-root) {
  background: var(--bg);
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
#pdp-root,
main .pdp {
  color: var(--text);
}
.pdp-gallery > img {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 18px 48px rgba(80, 40, 160, 0.15);
}
.variant.active {
  border-color: var(--brand);
  background: linear-gradient(180deg, #f5f3ff, #ede9fe);
  color: var(--brand-2);
}
.specs th { background: #f3eefe; }
.specs td { background: #fff; }

/* Cart / COA on white field */
.cart-empty,
.cart-lines,
.cart-summary,
.coa-table-wrap,
.contact-card {
  background: #fff;
  border-color: var(--line-soft);
}

/* Footer stays deep midnight */
.site-footer {
  background: #080414;
  border-top: 1px solid rgba(167, 139, 250, 0.1);
}
.site-footer .footer-grid h4,
.site-footer .footer-policy-links a,
.site-footer .brand-name small {
  color: #c4b5fd;
}

/* Ghost buttons on light pages (when not in neon section) */
.section--white .btn-primary,
.section--soft .btn-primary,
.section--base .btn-primary,
.page-hero + main .btn-primary,
main.section .btn-primary {
  color: #fff;
}

/* Header primary glow */
.site-header .btn-primary {
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* Light page surfaces: readable ghost buttons (not neon glass) */
.page-hero .btn-ghost,
.section--white .btn-ghost,
.section--soft .btn-ghost,
.section--base .btn-ghost,
main.section .btn-ghost,
.pdp .btn-ghost,
.cart-empty .btn-ghost,
.legal-page .btn-ghost,
.contact-card .btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.page-hero .btn-ghost:hover,
.section--white .btn-ghost:hover,
.section--soft .btn-ghost:hover,
.section--base .btn-ghost:hover,
main.section .btn-ghost:hover,
.pdp .btn-ghost:hover,
.cart-empty .btn-ghost:hover {
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--brand);
  background: var(--brand-soft);
}

/* Shop main sits on soft white */
main.section {
  background: var(--bg);
}

/* Gate keeps dark glass (do not inherit white body) */
.gate .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #9aa0ae;
}
/* ===== Motion + gate + stock (vision4) ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card.is-oos {
  opacity: 0.92;
}
.product-card.is-oos .product-media img {
  filter: grayscale(0.25) brightness(0.9);
}
.badge-oos {
  background: rgba(190, 24, 93, 0.92) !important;
  border-color: transparent !important;
}
.gate-panel {
  max-width: min(480px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  text-align: left;
}
.gate-mode-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 0.85rem 0 0.75rem;
}
.gate-mode {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #c8c4d8;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.gate-mode.active {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  border-color: transparent;
}
.gate-field { margin: 0.45rem 0; }
.gate-field span { display: block; font-size: 0.75rem; color: #a8a0c0; margin-bottom: 0.25rem; }
.gate-field input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 0.65rem 0.8rem;
  font: inherit;
}
.gate-attest { margin: 0.75rem 0 0.5rem; }
.gate-check { margin: 0.4rem 0; font-size: 0.84rem; color: #c8c4d8; }
.gate-actions { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.75rem; }
.coa-sort-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted, #534d63);
}
.coa-sort-label select {
  border-radius: 999px;
  border: 1px solid rgba(40,20,90,0.12);
  padding: 0.45rem 0.75rem;
  background: #fff;
}
.th-sort {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  padding: 0;
  letter-spacing: inherit;
  text-transform: inherit;
}
.th-sort:hover { color: #7c3aed; }
.hero--neon .hero-shot img {
  object-position: center 50%;
}
.hero-shot {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-shot:hover {
  transform: translateY(-4px) scale(1.01);
}
.btn {
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.section--catalog .product-grid {
  animation: fadeIn 0.6s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
