/* ============================================================
   Vira-Cure — Brand Overrides
   Teal-Blue Medical Palette over base style.css
   ============================================================ */

/* ── Vira-Cure brand colours ── */
:root {
  --vc-primary:   #0a6e6e;   /* deep teal */
  --vc-secondary: #0d9e9e;   /* mid teal  */
  --vc-accent:    #14c8c8;   /* bright cyan-teal */
  --vc-light:     #e0f7f7;
  --vc-pale:      #f0fafa;
  --vc-gradient:  linear-gradient(135deg, #0a2463 0%, #0a6e6e 55%, #14c8c8 100%);
  --vc-gradient2: linear-gradient(135deg, #0d9e9e 0%, #14c8c8 100%);
  --vc-hero-grad: linear-gradient(160deg, #0a1628 0%, #0a3355 30%, #0a6e6e 70%, #14c8c8 100%);
}

/* ── Hero ── */
.vc-hero { background: var(--vc-hero-grad) !important; }

.vc-hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(10,22,40,0.90) 0%,
    rgba(10,51,85,0.75) 40%,
    rgba(10,110,110,0.60) 80%,
    rgba(20,200,200,0.40) 100%
  ) !important;
}

.vc-gradient-text {
  background: var(--vc-gradient2) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.vc-glow-ring {
  border-color: rgba(20,200,200,0.35) !important;
}

/* ── Nav ── */
.vc-logo-icon { background: var(--vc-gradient) !important; }

.vc-nav-cta {
  background: var(--vc-gradient) !important;
}

/* ── Buttons ── */
.vc-btn-primary {
  background: var(--vc-gradient) !important;
  box-shadow: 0 4px 20px rgba(10,110,110,0.35) !important;
}

.vc-btn-primary:hover {
  box-shadow: 0 8px 30px rgba(14,200,200,0.5) !important;
}

/* ── Section eyebrow (pills) ── */
.vc-eyebrow {
  color: var(--vc-accent) !important;
  background: rgba(20,200,200,0.12) !important;
  border-color: rgba(20,200,200,0.3) !important;
}

/* ── Highlight text ── */
.vc-highlight { color: var(--vc-accent) !important; }

/* ── Pain cards icons ── */
.vc-pain-icon {
  background: linear-gradient(135deg, rgba(10,110,110,0.1) 0%, rgba(20,200,200,0.15) 100%) !important;
  color: var(--vc-primary) !important;
}

/* ── Solution section ── */
.vc-solution {
  background: var(--vc-hero-grad) !important;
}

/* ── Check icons ── */
.vc-check { color: var(--vc-accent) !important; }

/* ── Solution badges ── */
.vc-badge {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(20,200,200,0.3) !important;
}

/* ── Steps ── */
.vc-step-card::before { background: var(--vc-gradient) !important; }
.vc-step-card:hover { border-color: var(--vc-accent) !important; }
.vc-step-icon { background: var(--vc-gradient) !important; }
.vc-step-tag { background: var(--vc-gradient) !important; }

/* ── Play button ── */
.vc-play-btn { background: var(--vc-gradient) !important; }

/* ── BA result badge ── */
.vc-badge-stat {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
  color: var(--vc-accent) !important;
}

/* ── Testimonials ── */
.vc-avatar { background: var(--vc-gradient) !important; }

.vc-testi-badge {
  background: rgba(10,110,110,0.25) !important;
  color: var(--vc-accent) !important;
}

/* ── Product cards ── */
.vc-featured-card { border-color: var(--vc-accent) !important; box-shadow: 0 8px 32px rgba(10,110,110,0.2) !important; }

.vc-card-badge { background: var(--vc-gradient) !important; }

.vc-img-wrap { background: var(--vc-pale) !important; }

.vc-tag {
  color: var(--vc-primary) !important;
  background: rgba(10,110,110,0.1) !important;
}

.vc-check-icon { color: var(--vc-accent) !important; }

/* ── WA strip ── */
.vc-wa-strip { background: var(--vc-gradient) !important; }

/* ── Science icons ── */
.vc-science-icon { background: var(--vc-gradient) !important; }

/* ── Comparison table — Vira-Cure column: teal bg + WHITE text ── */
th.col-us,
td.col-us {
  background: var(--vc-gradient) !important;
  color: #ffffff !important;
}

/* Force ALL child elements white — catches icons, spans, strong tags */
th.col-us *,
td.col-us * {
  color: #ffffff !important;
}

/* Slightly tinted variants so checks/crosses still look distinct on teal */
td.col-us .fas.fa-check-circle { color: #a0ffe0 !important; }
td.col-us .fas.fa-times-circle { color: #ffb3b3 !important; }
td.col-us .fas.fa-minus-circle { color: #ffe8a0 !important; }

/* ── Power CTA overlay ── */
.vc-pcta-overlay {
  background: linear-gradient(
    to right,
    rgba(10,22,40,0.15) 0%,
    rgba(10,51,85,0.45) 35%,
    rgba(10,110,110,0.92) 60%,
    var(--dark) 80%
  ) !important;
}

/* ── Order section ── */
.vc-order-section { background: var(--vc-hero-grad) !important; }

/* ── Final CTA ── */
.vc-final-cta { background: var(--vc-gradient) !important; }

/* ── Popup left panel ── */
.vc-popup-left { background: var(--vc-gradient) !important; }
.vc-popup-left h2 span { color: #a5f3f3 !important; }

/* ── Discount code box ── */
.vc-code {
  border-color: var(--vc-accent) !important;
  color: var(--vc-primary) !important;
}

/* ── Footer ── */
.vc-footer { background: #040f1a !important; }

/* ════════════════════════════════════════════
   Photo Gallery — Card Design
════════════════════════════════════════════ */
.gallery-section {
  background: #f4f8fb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
}

/* Card shell */
.gallery-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
  border: 1px solid rgba(10, 110, 110, 0.08);
  transition: transform 0.32s cubic-bezier(.22,.68,0,1.2), box-shadow 0.32s ease, border-color 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 52px rgba(10, 110, 110, 0.22);
  border-color: rgba(20, 200, 200, 0.45);
}

/* Image area */
.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--vc-pale);
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.2);
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

/* Hover overlay with expand button */
.gallery-card-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,0.0) 0%, rgba(10,36,99,0.62) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-hover { opacity: 1; }

.gallery-view-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--vc-gradient);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(10,110,110,0.55);
  transition: transform 0.2s ease;
}

.gallery-view-btn:hover { transform: scale(1.15); }

/* Top badge on image */
.gallery-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--vc-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(10,110,110,0.4);
}

/* Card bottom body */
.gallery-card-body {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(10,110,110,0.07);
}

.gallery-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.vc-gallery-icon {
  background: linear-gradient(135deg, rgba(10,110,110,0.12), rgba(20,200,200,0.18));
  color: var(--vc-primary);
}

.gallery-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gallery-card-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a1628;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-card-sub {
  font-size: 0.75rem;
  color: #7a8fa6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-card-expand {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vc-pale);
  border: 1px solid rgba(10,110,110,0.15);
  color: var(--vc-primary);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gallery-card-expand:hover {
  background: var(--vc-gradient);
  color: #fff;
  transform: scale(1.1);
}

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Lightbox ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.96);
  cursor: pointer;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 9999;
  max-width: min(90vw, 900px);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 10000;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--vc-gradient); transform: scale(1.1); }

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev  { left: 1.25rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.45);
  padding: 0.3rem 0.95rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ════════════════════════════════════════════
   Sequence Videos — Premium Card Design
════════════════════════════════════════════ */
.sequence-section {
  background: var(--vc-hero-grad);
  position: relative;
  overflow: hidden;
}

.sequence-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314c8c8' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* Override white-text rule for section header inside dark bg */
.sequence-section .section-eyebrow.vc-eyebrow {
  color: var(--vc-accent) !important;
  background: rgba(20,200,200,0.15) !important;
  border-color: rgba(20,200,200,0.3) !important;
}

.sequence-section .section-header h2 {
  color: #fff !important;
}

.sequence-section .section-header .section-sub {
  color: rgba(255,255,255,0.7) !important;
}

.seq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .seq-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Card */
.seq-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(20,200,200,0.2);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease, border-color 0.3s ease;
}

.seq-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(20,200,200,0.4);
  border-color: rgba(20,200,200,0.5);
}

/* Video area */
.seq-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060f1e;
  overflow: hidden;
}

.seq-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play overlay on video */
.seq-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, rgba(10,22,40,0.6) 0%, rgba(10,110,110,0.4) 100%);
  transition: opacity 0.35s ease;
}

.seq-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Pulsing ring animation */
.seq-pulse-ring {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid rgba(20,200,200,0.5);
  animation: seq-pulse 2s ease-out infinite;
}

@keyframes seq-pulse {
  0%   { transform: scale(0.9); opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Play circle button */
.seq-play-circle {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--vc-gradient);
  border: 3px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(10,110,110,0.6), 0 0 0 0 rgba(20,200,200,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding-left: 4px; /* optical centering for play triangle */
}

.seq-play-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(10,110,110,0.8), 0 0 0 8px rgba(20,200,200,0.15);
}

.seq-overlay-label {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* Card body (below video) */
.seq-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seq-body-top {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.seq-num-badge {
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--vc-gradient);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10,110,110,0.45);
  flex-shrink: 0;
}

.seq-body-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.seq-body-text h3 .fas {
  color: var(--vc-accent);
  margin-right: 0.45rem;
}

.seq-body-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.65;
}

/* Card footer */
.seq-body-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.1rem;
}

.seq-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--vc-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.seq-time-tag .fas { opacity: 0.8; }

/* "Watch Now" button */
.seq-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vc-gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(10,110,110,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seq-watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(20,200,200,0.55);
}

.seq-watch-btn .fas { font-size: 0.75rem; }

.vc-logo-color { color: var(--vc-accent) !important; }

/* ── Social proof bar ── */
.vc-proof-bar { background: var(--vc-primary) !important; }

/* ── Active milestone in timeline ── */
.active-milestone { background: var(--vc-gradient) !important; }
.active-milestone strong { color: var(--vc-accent) !important; }

/* ── FAQ hover ── */
.faq-question[aria-expanded="true"] { color: var(--vc-primary) !important; }
.faq-icon { color: var(--vc-accent) !important; }

/* ── Step tag + connector ── */
.step-connector { color: var(--vc-accent) !important; }

/* ═══════════════════════════════════════════════════
   WHITE TEXT FIXES — dark-background sections
   ═══════════════════════════════════════════════════ */

/* Before & After section header — force all text white */
.ba-section-header,
.ba-section-header h2,
.ba-section-header h2 span,
.ba-section-header p {
  color: #ffffff !important;
}

/* Section eyebrow in the BA header stays teal */
.ba-section-header .vc-eyebrow {
  color: var(--vc-accent) !important;
}

/* The .vc-highlight span inside dark headings */
.ba-section-header .vc-highlight {
  color: var(--vc-accent) !important;
}

/* Solution section — white text on teal/dark bg */
.vc-solution h2,
.vc-solution p,
.vc-solution .solution-desc {
  color: #ffffff !important;
}

/* Order section — white text */
.vc-order-section h2,
.vc-order-section p {
  color: #ffffff !important;
}

/* Final CTA — white text */
.vc-final-cta h2,
.vc-final-cta p {
  color: #ffffff !important;
}

/* Power CTA right panel */
.pcta-content h2,
.pcta-content p,
.pcta-content .pcta-desc,
.pcta-content .pcta-checklist li {
  color: #ffffff !important;
}

/* Testimonials section heading */
.testimonials-section h2,
.testimonials-section .section-eyebrow.light {
  color: #ffffff !important;
}

/* Video section heading */
.video-section h2 {
  color: #ffffff !important;
}

/* BA slide badge text — already white but force it */
.ba-badge-name,
.ba-badge-weeks,
.ba-badge-stars {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Results disclaimer at bottom of BA section */
.ba-fullscreen-section .results-disclaimer {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Global: any h2 inside a section with dark bg class */
.parallax-section h2 {
  color: #ffffff !important;
}

/* ── Hero section heading always white ── */
.vc-hero .hero-title,
.vc-hero .hero-subtitle,
.vc-hero .hero-badge,
.vc-hero .hero-trust {
  color: #ffffff !important;
}
