/* Santelix — styles.css
   Modern dark / glassmorphism theme aligned to cyan→violet gradient
   Works with Bootstrap 5 + Bootstrap Icons
*/

:root{
  --bg0:#070a14;
  --bg1:#0a1022;
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --border-2: rgba(255,255,255,.14);
  --text:#eef2ff;
  --muted: rgba(238,242,255,.72);

  --cyan:#32d8ff;
  --blue:#4f8cff;
  --violet:#b067ff;
  --pink:#ff63d6;

  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 35%, var(--violet) 70%, var(--pink) 100%);
  --grad-soft: linear-gradient(135deg, rgba(50,216,255,.18) 0%, rgba(79,140,255,.14) 35%, rgba(176,103,255,.16) 70%, rgba(255,99,214,.10) 100%);

  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* Base */
html, body{
  height:100%;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(79,140,255,.16), transparent 55%),
              radial-gradient(900px 700px at 85% 15%, rgba(176,103,255,.12), transparent 60%),
              radial-gradient(900px 700px at 55% 85%, rgba(50,216,255,.10), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior:smooth;
}

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

::selection{
  background: rgba(176,103,255,.35);
}

.text-soft{ color: var(--muted) !important; }
.fw-700{ font-weight: 700; }
.fw-800{ font-weight: 800; }

/* Background ornaments */
.bg-grid{
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .42;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), rgba(0,0,0,.2) 55%, transparent 80%);
  z-index: -3;
}

.bg-blobs{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: -2;
  filter: blur(24px);
  opacity: .9;
}

.blob{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: var(--grad);
  opacity: .20;
  transform: translate3d(0,0,0);
  animation: floaty 14s var(--ease) infinite;
}

.blob.b1{ top: -160px; left: -140px; animation-delay: 0s; }
.blob.b2{ top: 8%; right: -220px; width: 620px; height: 620px; opacity: .16; animation-delay: -4s; }
.blob.b3{ bottom: -240px; left: 35%; width: 680px; height: 680px; opacity: .12; animation-delay: -8s; }

@keyframes floaty{
  0%   { transform: translate(0,0) scale(1); }
  40%  { transform: translate(18px, -22px) scale(1.03); }
  70%  { transform: translate(-16px, 14px) scale(.98); }
  100% { transform: translate(0,0) scale(1); }
}

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Glass container */
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

/* NAV */
.nav-glass{
  background: rgba(7,10,20,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.navbar .nav-link{
  color: rgba(238,242,255,.80);
  padding: .55rem .85rem;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.navbar .nav-link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.navbar .nav-link.active{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.08);
}

.navbar-toggler{
  border-color: rgba(255,255,255,.14) !important;
}
.navbar-toggler:focus{
  box-shadow: 0 0 0 .18rem rgba(176,103,255,.25);
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(238,242,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.brand-name{
  font-weight: 900;
  letter-spacing: .2px;
}

/* Language pill */
.lang-pill{
  display:flex;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.btn-lang{
  color: rgba(238,242,255,.72);
  border-radius: 999px !important;
  padding: .35rem .7rem;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: .78rem;
  border: 0 !important;
}
.btn-lang:hover{ color: var(--text); background: rgba(255,255,255,.06); }
.btn-lang.active{
  color: var(--text);
  background: rgba(255,255,255,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.25) inset;
}

/* Buttons */
.btn-glow{
  color: #070a14 !important;
  font-weight: 900;
  border: 0 !important;
  background: var(--grad);
  box-shadow: 0 16px 40px rgba(79,140,255,.22), 0 12px 30px rgba(176,103,255,.16);
  transition: transform .2s var(--ease), filter .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-glow:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(79,140,255,.26), 0 14px 35px rgba(176,103,255,.20);
}
.btn-glow:active{ transform: translateY(0); }

.btn-outline-soft{
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.btn-outline-soft:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.24) !important;
}

/* HERO */
.hero{
  padding: 6.5rem 0 3.6rem;
  position: relative;
}
.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(238,242,255,.86);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero .lead{
  max-width: 56ch;
}

.mini-metrics .mini-metric{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem;
  backdrop-filter: blur(10px);
}
.mm-kpi{
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: .2px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mm-label{
  color: rgba(238,242,255,.70);
  font-size: .9rem;
  margin-top: .2rem;
}

/* Scroll hint */
.scroll-hint{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-top: 1.25rem;
  opacity: .85;
}
.scroll-hint .mouse{
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  position: relative;
}
.scroll-hint .mouse:after{
  content:"";
  position:absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 99px;
  background: rgba(255,255,255,.60);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel{
  0%{ transform: translateY(0); opacity: .9; }
  70%{ transform: translateY(10px); opacity: .2; }
  100%{ transform: translateY(0); opacity: .9; }
}
.scroll-hint .text{
  color: rgba(238,242,255,.68);
  font-size: .92rem;
}

/* Hero card */
.hero-card{
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow:hidden;
}

.hero-card-top{
  padding: .9rem 1rem;
  background: rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot{
  width: 10px; height: 10px; border-radius: 999px;
  display:inline-block;
  opacity:.95;
}
.dot-a{ background: rgba(255,99,214,.75); }
.dot-b{ background: rgba(176,103,255,.75); }
.dot-c{ background: rgba(50,216,255,.75); }

.chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(238,242,255,.78);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .2px;
}

.hero-card-body{
  padding: 1.1rem 1.1rem 1.2rem;
}
.stack-list{
  display:flex;
  flex-direction:column;
  gap: .75rem;
}
.stack-item{
  display:flex;
  gap: .8rem;
  align-items:flex-start;
  padding: .85rem .9rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.stack-item i{
  font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.stack-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.16);
}
.stack-title{
  font-weight: 900;
  line-height: 1.1;
}
.stack-desc{
  color: rgba(238,242,255,.70);
  font-size: .92rem;
  margin-top: .1rem;
}

.hero-card-cta{
  margin-top: 1rem;
  padding: .9rem .9rem;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.08);
}

.floating-note{
  margin-top: .65rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  padding: .55rem .7rem;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(255,255,255,.12);
}
.floating-note i{
  color: rgba(238,242,255,.92);
}

/* Sections */
.section{
  padding: 4.6rem 0;
}
.section-alt{
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-head .eyebrow{
  display:inline-block;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  color: rgba(238,242,255,.65);
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  margin-bottom: .9rem;
}

/* Icon badges */
.icon-badge{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.icon-badge i{
  font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Checklist */
.list-check{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.list-check li{
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: rgba(238,242,255,.74);
}
.list-check li:last-child{ margin-bottom: 0; }
.list-check li:before{
  content:"✓";
  position:absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: rgba(50,216,255,.95);
  text-shadow: 0 10px 22px rgba(50,216,255,.20);
}

/* Step cards */
.step-card{
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.step-num{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: #070a14;
  background: var(--grad);
  margin-bottom: .75rem;
  box-shadow: 0 14px 34px rgba(79,140,255,.22);
}

/* KPIs / outcomes */
.kpi{
  padding: .85rem .9rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: .75rem;
}
.kpi-num{
  font-weight: 900;
  font-size: 1.25rem;
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.kpi-label{
  color: rgba(238,242,255,.70);
  font-size: .92rem;
}

.quote{
  padding: 1rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(238,242,255,.82);
  font-weight: 700;
  line-height: 1.35;
}

.pill-grid{
  display:flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(238,242,255,.78);
  font-weight: 800;
  font-size: .82rem;
}
.pill i{
  color: rgba(238,242,255,.82);
}

/* CTA band */
.cta-band{
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 450px at 20% 20%, rgba(50,216,255,.18), transparent 60%),
    radial-gradient(900px 450px at 80% 30%, rgba(176,103,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

/* Chips wrapper inside cards */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top: .75rem;
}

/* Forms */
.form-label{ color: rgba(238,242,255,.82); }
.form-control, .form-select, textarea{
  background: rgba(0,0,0,.18) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
  padding: .75rem .9rem !important;
  backdrop-filter: blur(10px);
}
.form-control::placeholder, textarea::placeholder{
  color: rgba(238,242,255,.45) !important;
}
.form-control:focus, .form-select:focus, textarea:focus{
  border-color: rgba(176,103,255,.45) !important;
  box-shadow: 0 0 0 .2rem rgba(176,103,255,.18) !important;
}
.form-select option{
  background: #0a1022;
  color: var(--text);
}

/* Footer */
footer{
  padding: 3.2rem 0 2.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}
.footer-links a{
  color: rgba(238,242,255,.72);
  font-weight: 700;
}
.footer-links a:hover{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(176,103,255,.55);
  text-underline-offset: 3px;
}

/* Small responsive tweaks */
@media (max-width: 991.98px){
  .hero{ padding: 5.4rem 0 3.2rem; }
  .navbar .nav-link{ margin: .12rem 0; }
}

@media (max-width: 575.98px){
  .brand-name{ font-size: 1.02rem; }
  .badge-soft{ font-size: .88rem; }
  .hero .lead{ font-size: 1.02rem; }
  .section{ padding: 4rem 0; }
}

/* Improve Bootstrap card shadows on dark */
hr{
  opacity: 1;
}

/* Optional: reduce motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; transform:none; opacity: 1; }
  .blob{ animation: none; }
  .scroll-hint .mouse:after{ animation: none; }
  .btn-glow, .stack-item{ transition: none; }
}

/* =============== NAVBAR FIXES =============== */

.nav-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(6, 10, 25, 0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar .navbar-brand {
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1;
  /* fuerza el color claro (en su screenshot quedó negro) */
  color: rgba(235, 245, 255, 0.98) !important;

  /* si quiere look premium: texto con gradiente */
  background: linear-gradient(90deg, #7be0ff 0%, #b9b6ff 45%, #f0b3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar .nav-link {
  color: rgba(235, 245, 255, 0.78) !important;
  font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: rgba(235, 245, 255, 0.98) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.18) !important;
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

/* Evita que el HERO quede “pegado” debajo del sticky-top */
.hero {
  padding-top: 72px; /* ajuste fino: 64–92 según su gusto */
}

/* Para que los anchors no queden debajo del navbar al hacer click */
section[id] {
  scroll-margin-top: 90px;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  max-width: 420px;
}

.hero-logo .logo-icon {
  width: 235px;
  height: auto;
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 35px rgba(120,180,255,.55));
}

.hero-logo .logo-text {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(120,180,255,.35));
}



@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
