/* main-light.css — overrides for the light theme */
:root {
  --bg: #f6f8fb;
  --card: rgba(255, 255, 255, 0.92);
  --muted: rgba(17, 24, 39, 0.72);
  --grad1: #7c5cff;
  --grad2: #2dd4bf;
}

/* make sure body background from dark theme is overridden */
body {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%) !important;
  color: #0b1222 !important;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding-top: 4.5rem;
  position: relative;
}

/* remove the dark overlay used in dark theme */
body::before {
  background: rgba(255, 255, 255, 0) !important;
}

/* navbar / header blur */
.bg-blur {
  background-color: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(8px) saturate(120%);
  color: #0b1222 !important;
  border-bottom: 0.8px solid rgba(15, 23, 42, 0.06);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
  font-size: .8rem;
}

.icon-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(45, 212, 191, .35));
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
}

/* card glass -> subtle light card */
.card-glass,
.why-card,
.product-card,
.testimonial-card,
.p-4.bg-glass {
  background: var(--card) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  color: #0b1222 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

/* keep the subtle "glass" effect but lighter */
.card-glass {
  backdrop-filter: blur(8px) saturate(110%);
  border-radius: 1rem;
}

/* buttons */
.btn-outline-glass {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0b1222;
}

.btn-gradient {
  /* keep the brand gradient; text should remain white for contrast */
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #fff;
  border: none;
}

/* navbar dropdown / menu */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #0b1222;
}

.navbar .dropdown-menu .dropdown-item {
  color: #0b1222;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #0b1222 !important;
  /* keep text readable */
  border-radius: 0.5rem;
  backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* text-muted / para colors */
.lead,
.text-para,
.small.text-para {
  color: var(--muted) !important;
}

/* badges */
.badge-soft {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #0b1222;
}

/* hero visuals: lighten the dark gradients */
.hero-visual {
  background: radial-gradient(600px 200px at 70% 0%, rgba(124, 92, 255, .10), transparent),
    radial-gradient(600px 200px at 20% 100%, rgba(45, 212, 191, .06), transparent),
    #ffffff;
}

/* small niceties */
.navbar,
.footer {
  border-bottom: 0.8px solid rgba(15, 23, 42, 0.06);
}

/* ensure any element using .text-light (Bootstrap) is readable on light theme */
body.light .text-light {
  color: #0b1222 !important;
}

/* keep reveal animations */
.reveal {
  transition: all .6s ease;
}

/* HERO FULLSCREEN */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-fullscreen .container {
  position: relative;
  z-index: 2;
}

/* adjust hero fullscreen video overlay (so text is readable) */
.hero-fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 1;
}

/* forms/inputs (if present on this page) he'll look better on light */
input,
textarea {
  color: #0b1222;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Floating toggle shadow tweak for light theme */
body.light .theme-toggle {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}



/* Base toggle */
.theme-toggle {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  /* above hero/video/nav */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-toggle i {
  font-size: 1.2rem;
}

/* Dark theme appearance */
body:not(.light) .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

body:not(.light) .theme-toggle i {
  color: #fff;
}

/* Light theme appearance */
body.light .theme-toggle {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

body.light .theme-toggle i {
  color: #222;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 280px;
  }
}