:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted-2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.14);
  --brand: #6ee7ff;
  --brand-2: #a78bfa;
  --brand-3: #34d399;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

html, body { height:100%; }
body{
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 15%, rgba(167,139,250,.22), transparent 60%),
              radial-gradient(900px 600px at 75% 25%, rgba(110,231,255,.18), transparent 55%),
              radial-gradient(900px 700px at 40% 85%, rgba(52,211,153,.14), transparent 60%),
              linear-gradient(180deg, #060914 0%, #0b1220 55%, #070b15 100%);
  color: var(--text);
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--text); text-decoration: none; }

.container{ max-width: 1180px; }

.navbar{
  backdrop-filter: blur(12px);
  background: rgba(7,11,21,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar .navbar-brand{
  letter-spacing: .2px;
  font-weight: 800;
}
.brand-mark{
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(167,139,250,.9));
  box-shadow: 0 10px 30px rgba(110,231,255,.15);
}

.nav-link, .dropdown-item{
  color: rgba(255,255,255,.80) !important;
}
.nav-link:hover, .dropdown-item:hover{
  color: rgba(255,255,255,.95) !important;
}
.dropdown-menu{
  background: rgba(10,16,30,.92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.dropdown-item{
  border-radius: 12px;
  padding: .55rem .75rem;
}
.dropdown-item:focus, .dropdown-item:hover{
  background: rgba(255,255,255,.07);
}

.mega-menu{
  width: min(980px, calc(100vw - 2rem));
  padding: 1rem;
}
.mega-menu .mega-title{
  font-size: .95rem;
  letter-spacing: .2px;
  color: var(--muted);
  margin-bottom: .6rem;
}
.mega-menu .mega-link{
  display: flex;
  gap: .75rem;
  padding: .6rem .65rem;
  border-radius: 14px;
  border: 1px solid transparent;
}
.mega-menu .mega-link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.mega-icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.mega-desc{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.25rem;
}

.btn-brand{
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.18));
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: .70rem 1.05rem;
  box-shadow: 0 12px 25px rgba(0,0,0,.25);
}
.btn-brand:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0,0,0,.32);
  color: rgba(255,255,255,.98);
}
.btn-ghost{
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: .70rem 1.05rem;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.96);
}

.hero{
  padding: 5.5rem 0 2.75rem;
  position: relative;
}
.hero h1{
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.03;
}
.hero .lead{
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}
.glass{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.badge-soft{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight: 600;
  letter-spacing: .2px;
}

.section{
  padding: 4rem 0;
}
.section-title{
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-subtitle{
  color: var(--muted);
  max-width: 58ch;
}

.feature-card{
  height: 100%;
  padding: 1.25rem 1.25rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.feature-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.feature-card .icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(110,231,255,.16), rgba(167,139,250,.12));
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: .9rem;
}
.feature-card h3{
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.feature-card p{
  color: var(--muted);
  margin: 0;
}

.kpi{
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.kpi .label{ color: var(--muted-2); font-size: .92rem; }
.kpi .value{ font-size: 1.35rem; font-weight: 850; letter-spacing: -0.02em; }

.steps{
  counter-reset: step;
}
.step{
  position: relative;
  padding-left: 3.2rem;
}
.step:before{
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: .15rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

hr.hr-soft{
  border-color: rgba(255,255,255,.10);
  opacity: 1;
}

.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(7,11,21,.55);
}
.footer a{ color: rgba(255,255,255,.72); }
.footer a:hover{ color: rgba(255,255,255,.95); }
.small-muted{ color: rgba(255,255,255,.62); }

.animate{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate.in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .animate{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-brand:hover{ transform: none; }
  .feature-card:hover{ transform: none; }
}
