/* Light themes — premium polish (ATLAS) */

/* Light themes — soft ambient light only, no grid */

html[data-tavus-theme="light"] body.tv-body::before,
html[data-tavus-theme="beige"] body.tv-body::before,
html[data-tavus-theme="gray"] body.tv-body::before,
html[data-tavus-theme="sky"] body.tv-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(148, 163, 184, 0.06), transparent 55%);
  background-size: 100% 100%;
}

html[data-tavus-theme="sky"] body.tv-body::before {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(96, 165, 250, 0.08), transparent 55%);
}

.tv-hero--show,
.tv-hero.tv-hero--show {
  opacity: 1 !important;
  transform: none !important;
}

html[data-tavus-theme="light"] .tv-hero,
html[data-tavus-theme="beige"] .tv-hero,
html[data-tavus-theme="gray"] .tv-hero,
html[data-tavus-theme="sky"] .tv-hero {
  min-height: 400px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  border: none;
}

html[data-tavus-theme="light"] .tv-hero::before,
html[data-tavus-theme="gray"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.42) 34%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%);
}

html[data-tavus-theme="beige"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(253, 252, 250, 0.82) 0%,
    rgba(253, 252, 250, 0.45) 34%,
    rgba(253, 252, 250, 0.08) 58%,
    transparent 100%);
}

html[data-tavus-theme="sky"] .tv-hero::before {
  background: linear-gradient(105deg,
    rgba(248, 251, 255, 0.8) 0%,
    rgba(245, 250, 255, 0.42) 34%,
    rgba(240, 248, 255, 0.06) 58%,
    transparent 100%);
}

html[data-tavus-theme="light"] .tv-hero__content h1,
html[data-tavus-theme="beige"] .tv-hero__content h1,
html[data-tavus-theme="gray"] .tv-hero__content h1,
html[data-tavus-theme="sky"] .tv-hero__content h1 {
  text-shadow: 0 1px 24px rgba(255, 255, 255, 0.85);
}

html[data-tavus-theme="light"] .tv-hero__eyebrow,
html[data-tavus-theme="gray"] .tv-hero__eyebrow {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--tv-accent);
}

html[data-tavus-theme="light"] .tv-trust__item,
html[data-tavus-theme="beige"] .tv-trust__item,
html[data-tavus-theme="gray"] .tv-trust__item,
html[data-tavus-theme="sky"] .tv-trust__item {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

html[data-tavus-theme="light"] .tv-logo__brand,
html[data-tavus-theme="gray"] .tv-logo__brand {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

html[data-tavus-theme="beige"] .tv-logo__brand {
  background: linear-gradient(145deg, #fffef9, #faf8f4);
  border-color: rgba(139, 105, 20, 0.12);
  color: #5c4510;
}

html[data-tavus-theme="sky"] .tv-logo__brand {
  background: linear-gradient(145deg, #ffffff, #f0f7ff);
  border-color: rgba(37, 99, 235, 0.15);
  color: #1e40af;
}

html[data-tavus-theme="light"] .tv-stat,
html[data-tavus-theme="beige"] .tv-stat,
html[data-tavus-theme="gray"] .tv-stat,
html[data-tavus-theme="sky"] .tv-stat {
  background: linear-gradient(160deg, #ffffff 0%, var(--tv-bg-2) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

html[data-tavus-theme="light"] .tv-cat,
html[data-tavus-theme="beige"] .tv-cat,
html[data-tavus-theme="gray"] .tv-cat,
html[data-tavus-theme="sky"] .tv-cat {
  background: linear-gradient(165deg, #ffffff, var(--tv-surface-soft));
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

html[data-tavus-theme="light"] .tv-card,
html[data-tavus-theme="beige"] .tv-card,
html[data-tavus-theme="gray"] .tv-card,
html[data-tavus-theme="sky"] .tv-card {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  border-color: rgba(15, 23, 42, 0.07);
}

html[data-tavus-theme="light"] .tv-card:hover,
html[data-tavus-theme="gray"] .tv-card:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-tavus-theme="light"] .tv-how__step,
html[data-tavus-theme="beige"] .tv-how__step,
html[data-tavus-theme="gray"] .tv-how__step,
html[data-tavus-theme="sky"] .tv-how__step {
  background: linear-gradient(180deg, #ffffff 0%, var(--tv-bg-2) 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.07);
}

html[data-tavus-theme="light"] .tv-how__icon,
html[data-tavus-theme="gray"] .tv-how__icon {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02));
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-tavus-theme="light"] .tv-widget,
html[data-tavus-theme="beige"] .tv-widget,
html[data-tavus-theme="gray"] .tv-widget,
html[data-tavus-theme="sky"] .tv-widget {
  background: linear-gradient(165deg, #ffffff, var(--tv-surface-soft));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.07);
}

html[data-tavus-theme="light"] .tv-widget--premium,
html[data-tavus-theme="gray"] .tv-widget--premium {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-tavus-theme="light"] .tv-promo-strip,
html[data-tavus-theme="gray"] .tv-promo-strip {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.03), transparent),
    linear-gradient(165deg, #ffffff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

html[data-tavus-theme="light"] .tv-header,
html[data-tavus-theme="beige"] .tv-header,
html[data-tavus-theme="gray"] .tv-header,
html[data-tavus-theme="sky"] .tv-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
}

html[data-tavus-theme="light"] .tv-search,
html[data-tavus-theme="gray"] .tv-search {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-tavus-theme="light"] .tv-announce,
html[data-tavus-theme="gray"] .tv-announce {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.04), transparent);
  font-weight: 600;
  color: #475569;
}

html[data-tavus-theme="light"] .tv-footer,
html[data-tavus-theme="gray"] .tv-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, var(--tv-bg), var(--tv-bg-2));
}

html[data-tavus-theme="light"] .md-style-lab__panel,
html[data-tavus-theme="gray"] .md-style-lab__panel {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

.tv-section--featured {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(var(--tv-hero-overlay), 0.04), transparent);
  border: 1px solid var(--tv-line-soft);
}

html[data-tavus-theme="light"] .tv-section--featured,
html[data-tavus-theme="gray"] .tv-section--featured {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.02), transparent);
  border-color: rgba(15, 23, 42, 0.06);
}
