:root{
  --brand:#1f5eff;
  --brand2:#00c7ff;
  --ink:#0b1220;
  --muted: rgba(11,18,32,.68);
  --border: rgba(11,18,32,.10);
  --shadow: 0 18px 45px rgba(7,15,35,.10);
  --shadow2: 0 28px 80px rgba(7,15,35,.14);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color: var(--ink);
}

section{ scroll-margin-top: 92px; }

.bg-soft{
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(31,94,255,.10), transparent 55%),
    radial-gradient(900px 500px at 112% 12%, rgba(0,199,255,.10), transparent 55%),
    #ffffff;
}

.text-muted2{ color: var(--muted) !important; }
.link-soft{ color: rgba(11,18,32,.70); text-decoration:none; }
.link-soft:hover{ color: rgba(11,18,32,.96); }

/* Scroll progress */
.scroll-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2000;
  background: rgba(11,18,32,.06);
}
.scroll-progress span{
  display:block;
  width:0%;
  height:100%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* Topbar / Navbar */
.topbar{
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--border);
}

.navbar-blur{
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link{
  color: rgba(11,18,32,.74);
  transition: color .18s ease, transform .18s ease;
  position: relative;
}
.navbar .nav-link:hover{
  color: rgba(11,18,32,.95);
  transform: translateY(-1px);
}
.navbar .nav-link.active{
  color: rgba(11,18,32,.98);
}
.navbar .nav-link.active::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* Brand */
.brand-mark{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.4rem .7rem;
  border-radius:999px;
  background: rgba(11,18,32,.04);
  border: 1px solid var(--border);
}
.brand-dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 25px rgba(31,94,255,.25);
}
.brand-text{ font-weight: 900; letter-spacing: .2px; }
.brand-name{ font-weight: 800; }

/* Buttons */
.btn-brand{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border: none;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(31,94,255,.16);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn-brand:hover{
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}

.btn-ghost{
  border: 1px solid rgba(11,18,32,.14);
  color: rgba(11,18,32,.88);
  background: rgba(11,18,32,.03);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-2px);
  background: rgba(11,18,32,.05);
  border-color: rgba(11,18,32,.24);
}

/* Glow */
.btn-glow{
  position:relative;
  overflow:hidden;
}
.btn-glow::after{
  content:"";
  position:absolute;
  inset:-80px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.26), transparent 55%);
  opacity:0;
  transition: opacity .18s ease;
}
.btn-glow:hover::after{ opacity:1; }

.badge-glow{
  color:#fff;
  background: linear-gradient(135deg, rgba(31,94,255,.95), rgba(0,199,255,.95));
  box-shadow: 0 12px 30px rgba(31,94,255,.18);
}
.badge-soft{
  color:#eaf2ff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}

/* Cards */
.card-glass{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-hover:hover{
  transform: translateY(-5px);
  border-color: rgba(31,94,255,.22);
  box-shadow: var(--shadow2);
}

/* Section */
.section{ padding: 82px 0; }
.section-title{ letter-spacing: -.2px; }

/* ============ HERO / SLIDER ============ */
.hero-carousel{ position: relative; }
.hero-carousel .carousel{ overflow: visible; }

.hero-slide{
  min-height: 78vh;
  position:relative;
  overflow:hidden;
  color: #eaf2ff;
}
.hero-slide .container{
  min-height: 78vh;
  display:flex;
  align-items:center;
  position:relative;
  z-index: 5;
}
.hero-slide .container > .row{ width:100%; }

/* Video */
.hero-media{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.08) translate3d(calc(var(--px, 0px) * .6), calc(var(--py, 0px) * .6), 0);
  filter: brightness(.52) contrast(1.08) saturate(1.05);
}

/* overlay variants */
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(120deg, rgba(31,94,255,.26), rgba(0,199,255,.10) 60%, rgba(0,0,0,.34));
  pointer-events:none;
}
.hero-overlay-2{
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(120deg, rgba(0,199,255,.18), rgba(31,94,255,.16) 60%, rgba(0,0,0,.38));
}
.hero-overlay-3{
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(120deg, rgba(31,94,255,.20), rgba(0,199,255,.08) 60%, rgba(0,0,0,.42));
}

/* animated grid */
.hero-grid{
  position:absolute; inset:0; z-index:2;
  pointer-events:none;
  opacity:.28;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(60% 60% at 50% 45%, #000 40%, transparent 80%);
  animation: gridMove 10s ease-in-out infinite;
}
@keyframes gridMove{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(14px); }
}

/* bokeh */
.hero-bokeh{
  position:absolute; inset:0; z-index:3;
  pointer-events:none;
  opacity:.22;
  transform: translate3d(var(--px,0px), var(--py,0px), 0);
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 58%, rgba(0,199,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 34%, rgba(31,94,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,.40) 0 2px, transparent 3px);
  background-size: 520px 520px;
  animation: bokehMove 12s ease-in-out infinite;
}
@keyframes bokehMove{
  0%,100%{ background-position: 0 0; }
  50%{ background-position: 120px 60px; }
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  flex-wrap: wrap;
  gap:.55rem;
  padding:.48rem .85rem;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}
.kicker-sep{ opacity:.65; padding:0 .25rem; }

.hero-title{
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -1.1px;
}
.text-gradient{
  background: linear-gradient(135deg, #cfe7ff, #00d4ff);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.hero-sub{ color: rgba(234,242,255,.82); max-width: 62ch; }

.hero-actions .btn{
  border-radius: 999px;
  padding: .9rem 1.1rem;
}

.hero-card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 22px 90px rgba(0,0,0,.28);
  color: #eaf2ff;
}
.hero-card:hover{ transform: translateY(-3px); box-shadow: 0 28px 110px rgba(0,0,0,.30); }

/* Trust pills */
.hero-trust{ display:flex; flex-wrap:wrap; gap:.55rem; }
.trust-pill{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.45rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(234,242,255,.86);
  font-size: .92rem;
}

/* mini items */
.hero-mini{ display:flex; gap:.6rem; }
.mini-item{
  flex:1;
  padding:.65rem .7rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.mini-num{ font-weight: 900; letter-spacing: .2px; }
.mini-text{ font-size: .82rem; color: rgba(234,242,255,.78); }

/* feature chip (hero) */
.hero-slide .feature-chip{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  padding: .9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s ease, background .2s ease;
}
.hero-slide .feature-chip i{ font-size: 1.35rem; color: #cfe7ff; }
.hero-slide .feature-chip:hover{ transform: translateY(-3px); background: rgba(255,255,255,.14); }

.mini-card{
  padding: .95rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s ease, background .2s ease;
}
.mini-card:hover{ transform: translateY(-3px); background: rgba(255,255,255,.14); }

.checkline{
  display:flex; align-items:center; gap:.55rem;
  margin-bottom: .55rem;
  color: rgba(234,242,255,.86);
}

/* Indicators */
.carousel-indicators [data-bs-target]{
  width: 10px; height: 10px;
  border-radius:999px;
  background-color: rgba(255,255,255,.40);
}
.carousel-indicators .active{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* Arrows farther */
.hero-control{
  width: 5.8rem;
  opacity: 1;
}
.hero-carousel .carousel-control-prev{ left: -3.2rem; }
.hero-carousel .carousel-control-next{ right: -3.2rem; }

.hero-control{
  position:absolute;
  top:0; bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 10;
}
.hero-control::before{
  content:"";
  position:absolute;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  transition: transform .18s ease, background .18s ease;
}
.hero-control:hover::before{ transform: scale(1.06); background: rgba(255,255,255,.18); }
.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon{
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* progress bar */
.carousel-progress{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 3px;
  background: rgba(255,255,255,.10);
  z-index: 11;
}
.carousel-progress span{
  display:block;
  width:0%;
  height:100%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* Services icon */
.icon-badge{
  width: 42px; height: 42px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: rgba(31,94,255,.08);
  border: 1px solid rgba(31,94,255,.14);
  color: var(--brand);
  box-shadow: 0 14px 38px rgba(31,94,255,.08);
}

/* timeline */
.step{ position:relative; padding-left: 48px; }
.step::before{
  content:"";
  position:absolute; left:16px; top:6px;
  width:12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 6px rgba(31,94,255,.14);
}
.step::after{
  content:"";
  position:absolute; left:21px; top:22px;
  width:2px; height: calc(100% - 22px);
  background: rgba(11,18,32,.12);
}
.step:last-child::after{ display:none; }

/* forms */
.form-dark{
  background: rgba(255,255,255,.96) !important;
  color: var(--ink) !important;
  border-color: rgba(11,18,32,.16) !important;
}
.form-dark::placeholder{ color: rgba(11,18,32,.45) !important; }
.form-dark:focus{
  border-color: rgba(0,199,255,.55) !important;
  box-shadow: 0 0 0 .25rem rgba(0,199,255,.14) !important;
}

/* stats */
.stat-box{
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
}
.stat-dark{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

/* avatar */
.avatar-circle{
  width:52px;height:52px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(11,18,32,.04);
  border:1px solid var(--border);
}

.map-frame{ border: 1px solid var(--border); }

/* values chip light */
.chip-light{
  display:flex;
  gap:.7rem;
  align-items:flex-start;
  padding:.95rem 1rem;
  border-radius: 1.05rem;
  background: rgba(31,94,255,.03);
  border: 1px solid rgba(31,94,255,.10);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.chip-light i{
  font-size: 1.2rem;
  color: var(--brand);
}
.chip-light:hover{
  transform: translateY(-3px);
  border-color: rgba(31,94,255,.18);
  background: rgba(31,94,255,.05);
}

/* Floating WhatsApp */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  border-radius: 999px;
  padding: .85rem 1rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  text-decoration:none;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 18px 45px rgba(7,15,35,.18);
  font-weight: 900;
}
.wa-float:hover{ filter: brightness(1.04); transform: translateY(-1px); }

/* Footer */
footer{
  background: linear-gradient(180deg, #07122b 0%, #040812 100%);
  border-top: 1px solid rgba(255,255,255,.10);
}
footer a{ color: rgba(234,242,255,.76); text-decoration:none; }
footer a:hover{ color:#fff; }

/* ============ ANIMATIONS SYSTEM (multi) ============ */
.anim{
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(0px);
  transition:
    opacity .70s ease,
    transform .70s cubic-bezier(.2,.8,.2,1),
    filter .70s ease;
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity, filter;
}

.anim.is-visible{
  opacity: 1;
  transform: translate3d(0,0,0);
  filter: blur(0);
}

/* Variants: set initial transforms */
.anim[data-anim="fade-up"]{ transform: translate3d(0, 18px, 0); }
.anim[data-anim="fade-down"]{ transform: translate3d(0, -18px, 0); }
.anim[data-anim="fade-left"]{ transform: translate3d(-22px, 0, 0); }
.anim[data-anim="fade-right"]{ transform: translate3d(22px, 0, 0); }

.anim[data-anim="zoom-in"]{ transform: scale(.92); }
.anim[data-anim="zoom-out"]{ transform: scale(1.06); }

.anim[data-anim="flip-up"]{
  transform: perspective(900px) rotateX(12deg) translate3d(0, 10px, 0);
  transform-origin: top;
}
.anim[data-anim="flip-left"]{
  transform: perspective(900px) rotateY(-12deg) translate3d(-10px, 0, 0);
  transform-origin: left;
}

.anim[data-anim="blur-up"]{
  transform: translate3d(0, 18px, 0);
  filter: blur(8px);
}
.anim[data-anim="rotate-in"]{
  transform: rotate(-4deg) translate3d(0, 14px, 0);
}
.anim[data-anim="skew-in"]{
  transform: skewY(2deg) translate3d(0, 18px, 0);
}

/* Visible states (keep transition; just reset) */
.anim.is-visible[data-anim="zoom-in"],
.anim.is-visible[data-anim="zoom-out"]{ transform: scale(1); }
.anim.is-visible[data-anim="flip-up"],
.anim.is-visible[data-anim="flip-left"],
.anim.is-visible[data-anim="rotate-in"],
.anim.is-visible[data-anim="skew-in"]{ transform: none; }
.anim.is-visible[data-anim="blur-up"]{ filter: blur(0); transform: translate3d(0,0,0); }

/* Responsive */
@media (max-width: 576px){
  .hero-slide,
  .hero-slide .container{
    min-height: 86vh;
  }
  .hero-carousel .carousel-control-prev{ left: .3rem; }
  .hero-carousel .carousel-control-next{ right: .3rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .anim{ transition:none; opacity:1; transform:none; filter:none; }
  .hero-grid{ animation:none; }
  .hero-bokeh{ animation:none; }
  .wa-float:hover{ transform:none; }
}
