:root {
  --bg: #0a0f1c;
  --card: rgba(255, 255, 255, 0.06);
  --muted: rgba(255, 255, 255, 0.65);
  --grad1: #7c5cff;
  --grad2: #2dd4bf;
}

* {
  box-sizing: border-box
}

body {
  background: url('../static/images/ai-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #fff;
  padding-top: 4.5rem;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.bg-blur {
  background-color: rgba(10, 15, 28, .7) !important;
  backdrop-filter: saturate(140%) blur(10px);
}


.hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(124, 92, 255, .12), rgba(45, 212, 191, .07));
  border: 1px solid rgba(255, 255, 255, .08);
}

.hero-visual {
  height: 360px;
  border-radius: 1rem;
  background: radial-gradient(600px 200px at 70% 0%, rgba(124, 92, 255, .35), transparent),
    radial-gradient(600px 200px at 20% 100%, rgba(45, 212, 191, .35), transparent),
    #0b1222;
  position: relative;
}

.hero-visual .chip {
  position: absolute;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}


.card-glass {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
}

.card-hover:hover {
  transform: translateY(-4px);
}

.section-title {
  letter-spacing: .3px;
  opacity: .9;
}

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

.lead {
  color: var(--muted);
}

.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;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  border: none;
}

.btn-outline-glass {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: all .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.footer a {
  text-decoration: none;
}

.badge-soft {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
}

/* small niceties */
.small.text-para {
  color: rgba(255, 255, 255, 0.582);

}

.text-para {
  color: rgba(255, 255, 255, 0.582);

}

.navbar,
.footer {
  border-bottom: 0.8px solid rgba(189, 159, 238, 0.25);
}



/* 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;
}

.hero-fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* ABOUT SPLIT IMAGE */
.about-split img {
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* WHY US GLASS CARDS */
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  backdrop-filter: blur(12px) saturate(150%);
  color: #fff;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.35), 0 0 10px rgba(45, 212, 191, 0.25);
}

/* For products dropdown in the navbar */
/* Navbar dropdown items — glass theme & smaller size */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.06);
  /* same glass card style */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px) saturate(150%);
  border-radius: 0.75rem;
  padding: 0.25rem 0;
  /* optional spacing at top/bottom */
}

.navbar .dropdown-menu .dropdown-item {
  font-size: 0.85rem;
  /* slightly smaller */
  color: #fff;
  padding: 0.35rem 1rem;
  /* controls vertical/horizontal padding */
  transition: background 0.3s, color 0.3s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #000;
  /* contrast for readability */
  border-radius: 0.5rem;
}



/* 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;
}