/* Landing page styles */
:root {
  --bg1: #5b9cff;
  --bg2: #7a5cff;
  --accent: #00e5b0;
  --dark: #0b1020;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--dark); color: #fff; }

.nav-glass { background: rgba(11,16,32,.55); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.navbar-brand .brand-logo { width: 34px; height: 34px; display: inline-grid; place-items:center; border-radius: 10px; background: linear-gradient(135deg,var(--bg1),var(--bg2)); }
.subsection-badge { display:inline-block; font-size:.75rem; font-weight:600; padding:.2rem .5rem; border-radius: 999px; border:1px solid rgba(255,255,255,.35); color:#fff; backdrop-filter: saturate(160%) blur(6px); background: rgba(255,255,255,.1); }
.navbar-toggler { border: none; box-shadow: none; padding: .45rem .65rem; background-color: rgba(9,14,30,.72); border-radius: 14px; }
.navbar-toggler:focus { outline: none; box-shadow: 0 0 0 .15rem rgba(91,156,255,.45); }
.navbar-toggler-icon { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.btn-brand { background: linear-gradient(135deg,var(--bg1),var(--bg2)); color: #fff; border: none; box-shadow: 0 8px 20px rgba(123,92,255,.35); }
.btn-brand:hover { filter: brightness(1.05); color: #fff; }

.hero { position: relative; min-height: 100vh; display: grid; align-items: center; }
.hero .gradient-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 10% 10%, rgba(123,92,255,.25), transparent 60%), radial-gradient(70% 60% at 90% 20%, rgba(91,156,255,.25), transparent 55%), linear-gradient(180deg, rgba(11,16,32,0) 0%, rgba(11,16,32,1) 90%); }
.hero .shapes .blob { position: absolute; width: 42vmin; height: 42vmin; filter: blur(40px); opacity: .5; }
.blob-1 { background: #7a5cff; top: 12vh; left: -5vw; border-radius: 50% 45% 55% 50%/45% 50% 45% 55%; animation: float 10s ease-in-out infinite; }
.blob-2 { background: #5b9cff; bottom: 8vh; right: -6vw; border-radius: 50% 40% 60% 50%/60% 40% 50% 40%; animation: float 12s ease-in-out infinite reverse; }
.blob-3 { background: #00e5b0; top: 30vh; right: 30vw; border-radius: 60% 50% 40% 60%/40% 60% 50% 40%; opacity: .35; animation: float 14s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0)} 50% { transform: translateY(-12px)} }

.pt-6 { padding-top: 7rem !important; }
.pb-6 { padding-bottom: 7rem !important; }
.highlight { background: linear-gradient(90deg,#00e5b0,#5b9cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-white-75 { color: rgba(255,255,255,.75) !important; }


.hero-image-wrapper { position: relative; max-width: 520px; width: min(100%, 38vw); margin-left: auto; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 45px rgba(0,0,0,.45); background: linear-gradient(160deg, rgba(123,92,255,.25), rgba(0,229,176,.12)); }
.hero-image { display: block; width: 100%; height: auto; }
.hero-image-wrapper::after { content: ""; position: absolute; inset: -16px -24px -24px -16px; background: radial-gradient(45% 45% at 70% 30%, rgba(0,229,176,.25), transparent 65%), radial-gradient(50% 55% at 30% 60%, rgba(91,156,255,.3), transparent 70%); filter: blur(30px); z-index: -1; }

@media (max-width: 991.98px) {
  .hero-image-wrapper { margin: 0 auto; width: min(100%, 440px); }
}

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 80px; background: radial-gradient(100% 120% at 50% 0, rgba(255,255,255,.12), transparent 70%); mask: linear-gradient(#000, #000) top/100% 60% no-repeat, radial-gradient(60px 60px at 50% -40px, transparent 60px, #000 61px) bottom/100% 40% no-repeat; }

.section { padding: 5rem 0; background: #0b1020; }
.section.bg-light { background: #0e152b; }

/* Force dark background and high-contrast text for the features section */
#features.section.bg-light { background: #0e152b !important; color: #fff; }
#features .text-muted { color: rgba(255,255,255,.75) !important; }
#features h2, #features h5 { color: #fff; }
#features p { color: rgba(255,255,255,.82); }
#features .f-card { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); }
#features .f-icon { box-shadow: inset 0 1px rgba(255,255,255,.2); }
.section h2 { letter-spacing: .2px; }

.f-card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.f-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.f-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 12px; }

.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-weight: 500; }
.bullets li { margin: 10px 0; color: rgba(255,255,255,.85); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; text-align: center; }
.stat .num { display: inline-block; font-weight: 700; font-size: 2rem; background: linear-gradient(90deg,#00e5b0,#5b9cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { display: block; color: rgba(255,255,255,.6); margin-top: 6px; }

.cta { background: radial-gradient(120% 120% at 10% 10%, #7a5cff 0%, transparent 50%), radial-gradient(100% 120% at 90% 20%, #5b9cff 0%, transparent 45%), linear-gradient(160deg, #0c1327, #0b1020 50%);
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }

.footer { background: #0a0f1f; border-top: 1px solid rgba(255,255,255,.08); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* High-contrast tweaks for WHY section */
#why { color: #fff; }
#why h2 { color: #fff; }
#why .text-muted { color: rgba(255,255,255,.86) !important; }
#why p { color: rgba(255,255,255,.88); }
#why .pill { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.94); background: rgba(255,255,255,.06); backdrop-filter: saturate(150%) blur(6px); }
#why .bullets li { color: rgba(255,255,255,.92); }
#why .stats .stat { background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border-color: rgba(255,255,255,.16); box-shadow: 0 10px 28px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.12); }
#why .stat .num { font-size: 2.25rem; text-shadow: 0 2px 10px rgba(91,156,255,.32), 0 2px 12px rgba(0,229,176,.18); }
#why .stat small { color: rgba(255,255,255,.84); letter-spacing: .2px; }

@media (max-width: 991.98px) {
  .pt-6 { padding-top: 6.5rem !important; }
}

@media (max-width: 991.98px) {
  .navbar-nav.align-items-lg-center { align-items: center !important; gap: 0.85rem; padding: 1.25rem 0 1.5rem; }
  .navbar-nav.align-items-lg-center .nav-item { width: 100%; display: flex; justify-content: center; }
  .navbar-nav.align-items-lg-center .nav-link { width: 100%; text-align: center; font-size: 1.05rem; font-weight: 500; }
  .navbar-nav.align-items-lg-center .btn { width: 100%; max-width: 240px; font-weight: 600; justify-content: center; }
  .navbar-nav.align-items-lg-center .btn.btn-outline-light { border-width: 2px; color: #fff; }
  .navbar-nav.align-items-lg-center .btn.btn-brand { box-shadow: 0 18px 40px rgba(91,156,255,.32); }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 24px);
  width: min(520px, calc(100% - 32px));
  background: rgba(15, 22, 47, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 18px 22px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1080;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cookie-banner__content {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cookie-banner__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cookie-banner__description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.cookie-banner__link {
  color: #5b9cff;
}

.cookie-banner__link:hover {
  color: #7a5cff;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner__content {
    flex-direction: column;
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
