/* ============================================================
   VisionCore product pages - shared styles
   Built on the House of Visions design tokens in styles.css
   (var(--hov-*) variables). Used by:
     /products            (VisionCore hub)
     /products/varavision
     /products/visionvault
     /products/visionview
   Prefix: .vc-  (VisionCore)
   ============================================================ */

.vc-section { padding: 5rem 0 6rem 0; }
.vc-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.vc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--hov-color-text-muted);
  margin-bottom: 2.5rem;
}
.vc-breadcrumb a { color: var(--hov-color-accent); text-decoration: none; }
.vc-breadcrumb a:hover { color: var(--hov-color-accent-light); }
.vc-breadcrumb span { opacity: 0.5; }

/* Hero head */
.vc-head { max-width: 760px; }
.vc-head .hov-section-title { margin-bottom: 1rem; }
.vc-pitch {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--hov-color-text-muted);
  margin-top: 1.5rem;
}

/* Hero layout: copy + purchase card */
.vc-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

/* Purchase card */
.vc-buy-card {
  background: linear-gradient(160deg, var(--hov-color-background-soft) 0%, rgba(42,38,34,0.6) 100%);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: var(--hov-radius-lg);
  padding: 2rem;
  position: sticky;
  top: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.vc-buy-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  margin-bottom: 1rem;
}
.vc-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.vc-price {
  font-family: var(--hov-font-title);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--hov-color-text);
  line-height: 1;
}
.vc-price-old {
  font-size: 1.1rem;
  color: var(--hov-color-text-muted);
  text-decoration: line-through;
  opacity: 0.7;
}
.vc-price-note { font-size: 0.85rem; color: var(--hov-color-text-muted); margin-bottom: 1.6rem; }

.vc-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--hov-radius-md);
  font-family: var(--hov-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--hov-color-accent) 0%, var(--hov-color-accent-dark) 100%);
  color: var(--hov-color-background);
  transition: transform var(--hov-transition-base), box-shadow var(--hov-transition-base);
}
.vc-buy-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--hov-color-accent-glow); }
.vc-buy-btn.secondary {
  background: transparent;
  color: var(--hov-color-accent);
  border: 1px solid var(--hov-color-accent);
}
.vc-buy-btn.secondary:hover { background: var(--hov-color-accent-glow); box-shadow: none; }
.vc-buy-sub { font-size: 0.8rem; color: var(--hov-color-text-muted); text-align: center; margin-top: 0.9rem; }

.vc-spec-list { list-style: none; margin: 1.6rem 0 0 0; padding: 1.4rem 0 0 0; border-top: 1px solid rgba(201,169,97,0.2); }
.vc-spec-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; padding: 0.4rem 0; }
.vc-spec-list li span:first-child { color: var(--hov-color-text-muted); }
.vc-spec-list li span:last-child { color: var(--hov-color-text); text-align: right; }

/* Generic content block */
.vc-block { margin-top: 4.5rem; max-width: 820px; }
.vc-block.wide { max-width: 1100px; }
.vc-block h2 {
  font-family: var(--hov-font-title);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.03em;
  color: var(--hov-color-text);
  margin-bottom: 1.2rem;
}
.vc-block h2 .vc-accent { color: var(--hov-color-accent); }
.vc-block p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--hov-color-text-muted);
  margin-bottom: 1rem;
}
.vc-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  margin-bottom: 0.8rem;
}

/* Media placeholder frame */
.vc-media {
  border: 1px dashed rgba(201,169,97,0.45);
  border-radius: var(--hov-radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(201,169,97,0.03) 0 12px, transparent 12px 24px),
    rgba(0,0,0,0.2);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}
.vc-media svg { opacity: 0.7; }
.vc-media .vc-media-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  font-weight: 600;
}
.vc-media .vc-media-desc { font-size: 0.9rem; color: var(--hov-color-text-muted); max-width: 460px; }

/* Real video / image clip (replaces a placeholder frame) */
.vc-media-clip {
  margin-top: 3rem;
  border-radius: var(--hov-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,169,97,0.25);
  background: #000;
  line-height: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.vc-media-clip video,
.vc-media-clip img {
  width: 100%;
  height: auto;
  display: block;
}
.vc-media-caption {
  line-height: 1.5;
  font-size: 0.82rem;
  color: var(--hov-color-text-muted);
  text-align: center;
  margin-top: 0.8rem;
}

/* Text + small video side by side */
.vc-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 4.5rem;
}
.vc-split > .vc-block { margin-top: 0; max-width: none; }
.vc-aside-media { margin: 0; }
.vc-clip-small {
  display: block;
  border-radius: var(--hov-radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,169,97,0.25);
  background: #000;
  line-height: 0;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.vc-clip-small video { width: 100%; height: auto; display: block; }

/* AEO definition lead paragraph */
.vc-definition {
  margin-top: 3rem;
  max-width: 900px;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--hov-color-text-muted);
}
.vc-definition strong { color: var(--hov-color-text); font-weight: 600; }

/* FAQ (native collapsible details/summary) */
.vc-faq { margin-top: 1.5rem; max-width: 820px; }
.vc-faq-item { border-top: 1px solid rgba(201,169,97,0.18); }
.vc-faq-item:last-child { border-bottom: 1px solid rgba(201,169,97,0.18); }
.vc-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.25rem 2.4rem 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--hov-color-text);
  transition: color var(--hov-transition-base);
}
.vc-faq-item summary::-webkit-details-marker { display: none; }
.vc-faq-item summary:hover { color: var(--hov-color-accent); }
.vc-faq-item summary:focus-visible { outline: 2px solid var(--hov-color-accent); outline-offset: 3px; border-radius: 2px; }
.vc-faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.5rem; top: 1.5rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--hov-color-accent);
  border-bottom: 2px solid var(--hov-color-accent);
  transform: rotate(45deg);
  transition: transform var(--hov-transition-base);
}
.vc-faq-item[open] summary::after { transform: rotate(-135deg); }
.vc-faq-item p { margin: 0 0 1.3rem 0; font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--hov-color-text-muted); max-width: 740px; }

/* Maker / E-E-A-T block */
.vc-maker { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.5rem; max-width: 820px; }
.vc-maker img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,169,97,0.4); flex: none; }
.vc-maker p { margin: 0; }

/* Buy card bundle nudge */
.vc-buy-bundle { margin-top: 1rem; font-size: 0.82rem; text-align: center; color: var(--hov-color-text-muted); }
.vc-buy-bundle a { color: var(--hov-color-accent); text-decoration: none; }
.vc-buy-bundle a:hover { color: var(--hov-color-accent-light); }

/* Focus ring for buy buttons */
.vc-buy-btn:focus-visible { outline: 2px solid var(--hov-color-accent-light); outline-offset: 3px; }

/* Mobile navigation toggle (the side menu is hidden below 968px) */
.vc-nav-toggle { display: none; }
.vc-nav-backdrop { display: none; }
@media (max-width: 968px) {
  .vc-nav-toggle {
    display: flex;
    position: fixed;
    top: 1rem; left: 1rem;
    z-index: 1001;
    width: 46px; height: 46px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: rgba(42,38,34,0.92);
    border: 1px solid rgba(201,169,97,0.4);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    cursor: pointer;
    padding: 0;
  }
  .vc-nav-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--hov-color-accent);
    transition: transform 0.3s, opacity 0.3s;
  }
  .vc-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .vc-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .vc-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hov-side-menu { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
  .hov-side-menu.is-open { transform: translateX(0) !important; z-index: 1000; }

  .vc-nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .vc-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  /* a little more reach on breadcrumb links */
  .vc-breadcrumb a { padding: 3px 0; }
}

/* Mobile sticky buy bar */
.vc-mobile-buy { display: none; }
@media (max-width: 880px) {
  .vc-mobile-buy {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.1rem;
    background: rgba(42,38,34,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201,169,97,0.35);
  }
  .vc-mobile-buy .vc-mb-price { font-family: var(--hov-font-title); font-size: 1.3rem; color: var(--hov-color-text); }
  .vc-mobile-buy .vc-buy-btn { width: auto; padding: 0.7rem 1.5rem; }
  .vc-section { padding-bottom: 6rem; }
}

/* Fun fact callout */
.vc-funfact {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(61,56,51,0.4);
  border: 1px solid rgba(201,169,97,0.2);
  border-left: 3px solid var(--hov-color-accent);
  border-radius: var(--hov-radius-md);
  padding: 1.4rem 1.6rem;
  max-width: 820px;
}
.vc-funfact .vc-funfact-icon { color: var(--hov-color-accent); flex: none; margin-top: 3px; }
.vc-funfact-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  margin-bottom: 0.35rem;
}
.vc-funfact p { margin: 0; font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--hov-color-text-muted); }

@media (max-width: 880px) {
  .vc-split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Feature grid */
.vc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.vc-feature {
  background: rgba(61,56,51,0.4);
  border: 1px solid rgba(201,169,97,0.15);
  border-radius: var(--hov-radius-md);
  padding: 1.4rem 1.5rem;
  transition: border-color var(--hov-transition-base), transform var(--hov-transition-base);
}
.vc-feature:hover { border-color: rgba(201,169,97,0.45); transform: translateY(-3px); }
.vc-feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hov-color-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vc-feature h3::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--hov-color-accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--hov-color-accent-glow);
}
.vc-feature p { font-size: 0.9rem; line-height: 1.6; color: var(--hov-color-text-muted); margin: 0; }

/* Plain marked list (who it's for / requirements / install) */
.vc-list { list-style: none; margin: 1rem 0 0 0; padding: 0; }
.vc-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--hov-color-text-muted);
}
.vc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 9px; height: 9px;
  border: 1px solid var(--hov-color-accent);
  transform: rotate(45deg);
}
.vc-list li strong { color: var(--hov-color-text); font-weight: 600; }

/* Highlight / trust panel */
.vc-panel {
  background: linear-gradient(160deg, rgba(201,169,97,0.08) 0%, rgba(61,56,51,0.3) 100%);
  border: 1px solid rgba(201,169,97,0.25);
  border-left: 3px solid var(--hov-color-accent);
  border-radius: var(--hov-radius-md);
  padding: 2rem 2.2rem;
}
.vc-panel p:last-child { margin-bottom: 0; }

/* Two column cards (install) */
.vc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.vc-card {
  background: rgba(61,56,51,0.4);
  border: 1px solid rgba(201,169,97,0.15);
  border-radius: var(--hov-radius-md);
  padding: 1.6rem;
}
.vc-card h3 { font-size: 1rem; color: var(--hov-color-text); margin-bottom: 0.6rem; }
.vc-card p { font-size: 0.9rem; margin: 0; color: var(--hov-color-text-muted); font-weight: 300; line-height: 1.6; }
.vc-card .vc-num {
  font-family: var(--hov-font-title);
  font-size: 1.4rem;
  color: var(--hov-color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* Final CTA */
.vc-final-cta {
  margin-top: 5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--hov-color-background-soft) 0%, rgba(42,38,34,0.5) 100%);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: var(--hov-radius-lg);
  padding: 3.5rem 2rem;
}
.vc-final-cta h2 { font-family: var(--hov-font-title); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--hov-color-text); margin-bottom: 1rem; }
.vc-final-cta p { color: var(--hov-color-text-muted); font-weight: 300; max-width: 540px; margin: 0 auto 2rem auto; }
.vc-final-cta .vc-buy-btn { display: inline-flex; width: auto; padding: 1rem 2.4rem; }
.vc-family-line { margin-top: 1.6rem; font-size: 0.85rem; color: var(--hov-color-text-muted); }
.vc-family-line a { color: var(--hov-color-accent); text-decoration: none; }

/* ============================================================
   HUB PAGE (/products) - VisionCore family overview
   ============================================================ */

/* Tool cards grid */
.vc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.vc-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--hov-color-background-soft) 0%, rgba(42,38,34,0.55) 100%);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: var(--hov-radius-lg);
  padding: 1.8rem;
  text-decoration: none;
  transition: border-color var(--hov-transition-base), transform var(--hov-transition-base), box-shadow var(--hov-transition-base);
}
.vc-product-card:hover {
  border-color: rgba(201,169,97,0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.vc-product-card.coming { opacity: 0.85; }
.vc-product-card.coming:hover { transform: none; }

.vc-product-icon {
  width: 54px; height: 54px;
  border-radius: var(--hov-radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,169,97,0.1);
  border: 1px solid rgba(201,169,97,0.3);
  margin-bottom: 1.2rem;
  color: var(--hov-color-accent);
}
.vc-product-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: var(--hov-radius-full);
  padding: 0.3rem 0.7rem;
}
.vc-product-card h3 {
  font-family: var(--hov-font-title);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--hov-color-text);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.vc-product-kind {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  margin-bottom: 0.9rem;
}
.vc-product-card > p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--hov-color-text-muted);
  margin-bottom: 1.4rem;
  flex: 1;
}
.vc-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(201,169,97,0.18);
  padding-top: 1.1rem;
}
.vc-product-price {
  font-family: var(--hov-font-title);
  font-size: 1.3rem;
  color: var(--hov-color-text);
}
.vc-product-price.soon { font-size: 0.9rem; color: var(--hov-color-text-muted); font-family: var(--hov-font-body); }
.vc-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hov-color-accent);
  white-space: nowrap;
}

/* Bundle block */
.vc-bundle {
  margin-top: 3.5rem;
  border-radius: var(--hov-radius-lg);
  border: 1px solid rgba(201,169,97,0.4);
  background: linear-gradient(135deg, rgba(201,169,97,0.12) 0%, rgba(61,56,51,0.4) 100%);
  padding: 2.6rem 2.4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}
.vc-bundle h2 {
  font-family: var(--hov-font-title);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--hov-color-text);
  margin-bottom: 0.8rem;
}
.vc-bundle p { color: var(--hov-color-text-muted); font-weight: 300; line-height: 1.7; margin: 0; }
.vc-bundle-buy { text-align: center; }
.vc-bundle-price-row { display: flex; align-items: baseline; justify-content: center; gap: 0.7rem; margin-bottom: 0.3rem; }
.vc-bundle-price { font-family: var(--hov-font-title); font-size: 3rem; color: var(--hov-color-text); line-height: 1; }
.vc-save { font-size: 0.85rem; color: var(--hov-color-accent); margin-bottom: 1.2rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .vc-hero-grid { grid-template-columns: 1fr; }
  .vc-buy-card { position: static; }
  .vc-features, .vc-cols { grid-template-columns: 1fr; }
  .vc-product-grid { grid-template-columns: 1fr; }
  .vc-bundle { grid-template-columns: 1fr; text-align: center; }
  .vc-bundle-price-row { justify-content: center; }
}
@media (max-width: 600px) {
  .vc-section { padding: 3rem 0 4rem 0; }
  .vc-container { padding: 0 1.25rem; }
}

/* ============================================================
   Body-copy links: bold in the text color, never browser blue
   (maker block, FAQ answers, definition, family/bundle lines)
   ============================================================ */
.vc-definition a,
.vc-block p a,
.vc-block li a,
.vc-family-line a,
.vc-buy-bundle a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--hov-transition-base);
}
.vc-definition a:hover,
.vc-block p a:hover,
.vc-block li a:hover,
.vc-family-line a:hover,
.vc-buy-bundle a:hover {
  color: var(--hov-color-accent);
}

/* Coming soon states */
.vc-buy-btn-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.vc-card-soon {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hov-color-accent);
  opacity: 0.85;
}

/* Coming soon hero (stripped product pages) */
.vc-soon-hero {
  text-align: center;
  padding: 14vh 0 10vh 0;
}
.vc-soon-hero .hov-luxury-divider { justify-content: center; }
.vc-soon-big {
  font-family: var(--hov-font-title);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 1.1;
  color: var(--hov-color-accent);
  margin: 2.5rem 0 1.5rem 0;
}
.vc-soon-hero .vc-family-line { margin-top: 1rem; }

/* Launch discount line */
.vc-launch-deal {
  margin: 0.4rem 0 1rem 0;
  font-size: 0.85rem;
  text-align: center;
  color: var(--hov-color-accent);
}
.vc-launch-deal strong { font-weight: 700; letter-spacing: 0.06em; }
.vc-final-cta .vc-launch-deal { margin: 0 0 1.4rem 0; }
