:root{
  --azul:#0d6efd;
  --azul2:#6aa7ff;
  --azul-osc:#0b5ed7;

  --texto:#0b1220;
  --muted:#5b6b84;

  --radius: 22px;
  --radius-sm: 16px;

  --shadow: 0 30px 90px rgba(13,37,86,.18);
  --shadow-soft: 0 18px 50px rgba(23,42,79,.12);
  --ring: 0 0 0 .25rem rgba(13,110,253,.18);

  --glass: rgba(255,255,255,.62);
  --glass-strong: rgba(255,255,255,.80);
  --line: rgba(13,110,253,.14);

  --ease: cubic-bezier(.2,.9,.2,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--texto);
  margin:0;
  min-height:100svh;
  overflow-x:hidden;
  background:
    radial-gradient(1200px 520px at 10% -20%, #dcebff 0%, transparent 60%),
    radial-gradient(900px 520px at 110% 10%, #e6f1ff 0%, transparent 60%),
    radial-gradient(900px 520px at 50% 120%, #f0f7ff 0%, transparent 55%),
    #ffffff;
}

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 12px; top: 12px;
  width:auto; height:auto;
  padding:.6rem .9rem;
  background:#fff;
  border:1px solid rgba(13,110,253,.16);
  border-radius:12px;
  box-shadow: var(--shadow-soft);
  z-index: 9999;
}

/* FX Layers */
.aurora{
  position: fixed;
  inset: -22%;
  z-index: -6;
  pointer-events:none;
  background:
    radial-gradient(55% 55% at 10% 20%, rgba(13,110,253,.22), transparent 58%),
    radial-gradient(60% 50% at 92% 10%, rgba(106,167,255,.18), transparent 60%),
    radial-gradient(55% 55% at 70% 98%, rgba(13,110,253,.14), transparent 60%),
    radial-gradient(65% 55% at 30% 85%, rgba(106,167,255,.12), transparent 60%);
  filter: blur(16px) saturate(1.2);
  animation: auroraShift 12s var(--ease) infinite alternate;
  opacity: .95;
  transform: translateZ(0);
}
@keyframes auroraShift{
  0%   { transform: translate3d(-1.6%, 1.0%, 0) scale(1.02) rotate(-1deg); }
  50%  { transform: translate3d(1.0%, -1.4%, 0) scale(1.06) rotate(1deg); }
  100% { transform: translate3d(2.2%, 1.8%, 0) scale(1.07) rotate(.6deg); }
}

.grain{
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events:none;
  opacity: .10;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='210'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='210' height='210' filter='url(%23n)' opacity='.60'/%3E%3C/svg%3E");
  background-size: 210px 210px;
}

#particles{
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events:none;
  opacity: .66;
}

/* Gooey liquid */
.goo-wrap{
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events:none;
  filter: url(#goo);
  opacity: .96;
}
.goo{
  position:absolute;
  width: clamp(260px, 28vw, 560px);
  height: clamp(260px, 28vw, 560px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(13,110,253,.30), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(106,167,255,.22), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.92), transparent 62%);
  transform: translateZ(0);
  animation: blobFloat 10s var(--ease) infinite;
}
.goo.g1{ left: -10%; bottom: -14%; animation-duration: 12s; }
.goo.g2{
  right: -12%;
  top: -14%;
  width: clamp(320px, 34vw, 680px);
  height: clamp(320px, 34vw, 680px);
  opacity: .92;
  animation-duration: 14s;
  animation-delay: -2s;
}
.goo.g3{
  left: 46%;
  top: 62%;
  width: clamp(220px, 22vw, 480px);
  height: clamp(220px, 22vw, 480px);
  opacity: .55;
  animation-duration: 16s;
  animation-delay: -4s;
}
@keyframes blobFloat{
  0%   { transform: translate3d(0,0,0) scale(1); }
  35%  { transform: translate3d(18px,-14px,0) scale(1.06); }
  70%  { transform: translate3d(-12px,10px,0) scale(1.03); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

/* Navbar */
.navbar{
  background: rgba(255,255,255,.70);
  backdrop-filter: saturate(170%) blur(12px);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid rgba(13,110,253,.08);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.navbar.scrolled{
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 46px rgba(13,110,253,.10);
}
.navbar-brand{
  font-weight: 900;
  letter-spacing: .2px;
  display:flex; align-items:center; gap:.6rem;
}
.brand-badge{
  width: 36px; height: 36px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(13,110,253,.20), rgba(13,110,253,.06));
  border: 1px solid rgba(13,110,253,.20);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow:hidden;
}
.brand-badge::after{
  content:"";
  position:absolute; inset:-50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 55%);
  opacity: .28;
  transform: rotate(18deg);
  pointer-events:none;
}
.nav-link{
  color: rgba(11,18,32,.78);
  font-weight: 700;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover{
  color: rgba(11,18,32,.95);
  transform: translateY(-1px);
}

/* Buttons */
.btn{
  border-radius: 16px !important;
  padding: .9rem 1.1rem !important;
  font-weight: 900 !important;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), filter .22s var(--ease);
  position: relative;
  overflow:hidden;
  will-change: transform;
}
.btn-primary{
  --bs-btn-bg: var(--azul);
  --bs-btn-border-color: var(--azul);
  --bs-btn-hover-bg: var(--azul-osc);
  --bs-btn-hover-border-color: var(--azul-osc);
  box-shadow: 0 16px 34px rgba(13,110,253,.22);
}
.btn-primary::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(220px 80px at 20% 0%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(120deg, rgba(255,255,255,.28), transparent 40%, rgba(255,255,255,.12));
  opacity:.0;
  transition: opacity .22s var(--ease);
  pointer-events:none;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(13,110,253,.26);
  filter: saturate(1.05);
}
.btn-primary:hover::before{ opacity: .65; }
.btn-primary:active{ transform: translateY(1px) scale(.99); }

.btn-outline-primary{
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 28px rgba(23,42,79,.10);
}
.btn-outline-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(23,42,79,.12);
}
.btn:focus{ box-shadow: var(--ring) !important; }

/* Helpers */
.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: rgba(13,110,253,.08);
  border: 1px solid rgba(13,110,253,.14);
  color: var(--azul-osc);
  font-weight: 900;
  font-size: .88rem;
  box-shadow: 0 14px 26px rgba(13,110,253,.08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(13,110,253,.12);
}
.helper-text{ color: var(--muted); }
.divider{ height:1px; background: rgba(13,110,253,.15); }

/* Hero */
.hero{
  position: relative;
  padding: clamp(78px, 8.8vw, 132px) 0;
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(13,110,253,.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.70) 0%, rgba(247,251,255,.72) 55%, rgba(255,255,255,.70) 100%);
  overflow:hidden;
}
.hero h1{
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.hero p{
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-media{
  position: relative;
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(13,110,253,.14);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px) saturate(150%);
  transform: translateZ(0);
  will-change: transform;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero-media::before{
  content:"";
  position:absolute; inset:-2px;
  background: conic-gradient(from var(--spin, 0deg), rgba(13,110,253,.18), rgba(106,167,255,.10), rgba(13,110,253,.16), rgba(255,255,255,.10), rgba(13,110,253,.18));
  filter: blur(18px);
  opacity: .55;
  z-index: 0;
  pointer-events:none;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.hero-media::after{
  content:"";
  position:absolute; inset:-120% -80%;
  background: linear-gradient(90deg, transparent 45%, rgba(255,255,255,.55) 50%, transparent 55%);
  transform: rotate(18deg);
  opacity: .12;
  animation: sheen 10s var(--ease) infinite;
  pointer-events:none;
  z-index: 2;
}
@keyframes sheen{
  0%,55%{ transform: translateX(-38%) rotate(18deg); opacity: 0; }
  62%{ opacity: .14; }
  100%{ transform: translateX(40%) rotate(18deg); opacity: 0; }
}
.hero-media img{
  position: relative;
  z-index: 1;
  width:100%;
  height:auto;
  display:block;
  transform: scale(1.02);
}

/* Stats */
.stats{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.stat{
  padding: .75rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(13,110,253,.12);
  box-shadow: 0 14px 30px rgba(23,42,79,.06);
  min-width: 210px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.stat:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(23,42,79,.10);
}
.stat .num{ font-weight: 950; letter-spacing:-.02em; }
.stat .lbl{ color: var(--muted); font-size: .92rem; }

/* Section titles */
.section-kicker{
  font-weight: 900;
  color: rgba(11,18,32,.70);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
.section-title{
  font-weight: 950;
  letter-spacing: -.03em;
  position: relative;
  display: inline-block;
  margin-bottom: .25rem;
}
.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  height:3px;
  width:64px;
  border-radius:99px;
  background: linear-gradient(90deg, var(--azul), rgba(106,167,255,.85));
}

/* Band */
.band{
  border-top: 1px solid rgba(13,110,253,.10);
  border-bottom: 1px solid rgba(13,110,253,.10);
  background: rgba(255,255,255,.65);
  position: relative;
  overflow:hidden;
}

/* Cards */
.cardx{
  border: 1px solid rgba(13,110,253,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow:hidden;
  transform: translateZ(0);
}
.cardx::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(820px 280px at 8% 0%, rgba(13,110,253,.14), transparent 60%);
  opacity:.55;
  pointer-events:none;
}
.cardx:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(23,42,79,.14);
  border-color: rgba(13,110,253,.18);
}

.icon-bubble{
  width: 56px; height: 56px;
  border-radius: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.08);
  border: 1px solid rgba(13,110,253,.14);
  box-shadow: 0 16px 34px rgba(13,110,253,.10);
  position: relative;
  overflow:hidden;
  flex: 0 0 auto;
}

/* Marquee */
.marquee{
  display:flex;
  gap: 16px;
  align-items:center;
  overflow:hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex;
  gap: 16px;
  align-items:center;
  animation: marquee 18s linear infinite;
  will-change: transform;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.logo-chip{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(13,110,253,.12);
  box-shadow: 0 12px 24px rgba(23,42,79,.06);
  white-space: nowrap;
  font-weight: 900;
  color: rgba(11,18,32,.84);
}
.logo-chip i{ color: var(--azul-osc); }

/* Testimonials */
.stars{ color: #ffb300; }
.avatar{
  width:44px;height:44px;border-radius:14px;
  background: linear-gradient(180deg, rgba(13,110,253,.16), rgba(13,110,253,.06));
  border: 1px solid rgba(13,110,253,.18);
  display:grid; place-items:center;
  font-weight: 950;
  color: rgba(11,18,32,.85);
  box-shadow: 0 12px 26px rgba(23,42,79,.10);
  flex: 0 0 auto;
}

/* FAQ accordion */
.accordion-button{
  font-weight: 900;
  border-radius: 16px !important;
}
.accordion-item{
  border: 1px solid rgba(13,110,253,.12);
  border-radius: 18px !important;
  overflow:hidden;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 30px rgba(23,42,79,.06);
}
.accordion-button:not(.collapsed){
  background: rgba(13,110,253,.08);
  color: rgba(11,18,32,.92);
  box-shadow: none;
}

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(18px) scale(.99);
  filter: blur(6px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.is-in{
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Footer */
footer{
  background:#0b1220;
  color:#e6edf7;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer a{ color:#cfe0ff; text-decoration:none }
footer a:hover{ text-decoration:underline }

/* WhatsApp floating */
.wa-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding: .9rem 1rem;
  border-radius: 999px;
  background: #25D366;
  color: #06210f;
  font-weight: 950;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  text-decoration:none;
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.wa-fab:hover{ filter: brightness(.98); transform: translateY(-2px); text-decoration:none; }
.wa-fab i{ font-size: 1.2rem; }
.wa-fab span{ display:none; }
@media (min-width: 576px){ .wa-fab span{ display:inline; } }

@media (max-width: 575.98px){
  .stat{ min-width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .aurora, .goo, .hero-media::before, .hero-media::after, .marquee-track{ animation:none !important; }
  #particles{ display:none !important; }
  .cardx:hover, .stat:hover, .pill:hover, .btn:hover{ transform:none !important; }
  .reveal{ opacity:1; transform:none; filter:none; transition:none; }
}