@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#020617;
  color:#fff;
  overflow-x:hidden;
}

/* =========================
   HEADER
========================= */

.header{
  height:88px;
  padding:0 7%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;

  background:rgba(2,6,23,.82);
  backdrop-filter:blur(12px);

  border-bottom:1px solid rgba(59,130,246,.12);
}

.logo{
  height:56px;
}

nav{
  display:flex;
  gap:55px;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:18px;
  position:relative;
  transition:.3s;
}

nav a:hover,
nav a.active{
  color:#3b82f6;
}

nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-12px;
  width:100%;
  height:4px;
  border-radius:10px;

  background:#3b82f6;
  box-shadow:0 0 18px #3b82f6;
}

/* =========================
   BUTTONS
========================= */

.btn-header,
.btn-main{
  background:linear-gradient(135deg,#2563eb,#0ea5e9);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  border-radius:14px;
  transition:.3s;

  box-shadow:
  0 0 30px rgba(37,99,235,.35),
  inset 0 0 18px rgba(255,255,255,.08);
}

.btn-header{
  padding:18px 34px;
  font-size:17px;
}

.btn-main{
  display:inline-flex;
  align-items:center;
  gap:12px;

  margin-top:12px;
  padding:20px 38px;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.btn-header:hover,
.btn-main:hover{
  transform:translateY(-3px);

  filter:brightness(1.08);

  box-shadow:
  0 0 40px rgba(59,130,246,.55),
  inset 0 0 20px rgba(255,255,255,.1);
}

/* =========================
   HERO
========================= */

.hero{
  min-height:930px;

  padding:
  180px
  7%
  120px;

  display:flex;
  align-items:center;

  position:relative;
  overflow:hidden;

  background:
  linear-gradient(
    90deg,
    rgba(2,6,23,.96) 0%,
    rgba(2,6,23,.82) 35%,
    rgba(2,6,23,.35) 70%
  ),
  url("assets/server.png");

  background-size:cover;
  background-position:center;
}

/* GRID LINES */

.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background-image:
  linear-gradient(rgba(59,130,246,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(59,130,246,.06) 1px, transparent 1px);

  background-size:60px 60px;

  opacity:.2;
}

/* BLUE GLOW */

.hero::after{
  content:"";
  position:absolute;

  width:900px;
  height:900px;

  background:radial-gradient(circle, rgba(37,99,235,.18), transparent 70%);

  left:-250px;
  top:50px;

  z-index:1;
}

.hero-content{
  position:relative;
  z-index:5;
  max-width:760px;
}

/* =========================
   TAG
========================= */

.tag{
  color:#38bdf8;
  font-size:16px;
  font-weight:800;
  letter-spacing:6px;
}

/* =========================
   TITLES
========================= */

.hero h1{
  margin-top:0;

  font-size:68px;
  line-height:1.08;
  font-weight:300;

  letter-spacing:-3px;
}

.hero h1 strong{
  display:block;

  color:#3b82f6;

  font-weight:300;

  text-shadow:
  0 0 14px rgba(59,130,246,.22);
}
.hero p{
  margin-top:24px;
  max-width:620px;
  color:#dbeafe;
  font-size:19px;
  line-height:1.8;
}

/* =========================
   FEATURES
========================= */

.features{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:42px;
  margin:42px 0 42px;
  flex-wrap:nowrap;
}

.feature{
  min-width:190px;
}

.feature{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

.feature-icon{
  width:44px;
  height:44px;

  color:#3b82f6;

  filter:drop-shadow(0 0 12px rgba(59,130,246,.55));

  flex-shrink:0;
}

.feature h4{
  color:#fff;
  font-size:15px;
  font-weight:800;
  margin-bottom:6px;
}

.feature span{
  color:#dbeafe;
  font-size:16px;
  line-height:1.6;
}

/* =========================
   SERVICES
========================= */

.services{
  padding:110px 7%;
  position:relative;

  background:
  radial-gradient(circle at top, rgba(37,99,235,.15), transparent 30%),
  #020617;
}

.section-title{
  text-align:center;
}

.section-tag{
  color:#38bdf8;
  font-weight:800;
  letter-spacing:5px;
}

.services h2{
  margin-top:16px;

  font-size:58px;
  line-height:1.15;
  font-weight:300;
}

.services h2 strong{
  color:#3b82f6;
}

.cards{
  margin-top:70px;

  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:28px;
}

.card{
  position:relative;

  padding:45px 30px;

  border-radius:26px;

  background:
  linear-gradient(
    180deg,
    rgba(15,23,42,.92),
    rgba(2,6,23,.88)
  );

  border:1px solid rgba(59,130,246,.18);

  overflow:hidden;

  transition:.4s;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;

  background:
  radial-gradient(circle at top, rgba(59,130,246,.12), transparent 70%);
}

.card:hover{
  transform:
  translateY(-10px)
  scale(1.02);

  border-color:#3b82f6;

  box-shadow:
  0 0 50px rgba(59,130,246,.22),
  inset 0 0 25px rgba(59,130,246,.08);
}

.icon{
  width:86px;
  height:86px;

  margin:0 auto 28px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
  radial-gradient(circle, rgba(59,130,246,.18), transparent 70%);

  border:1px solid rgba(59,130,246,.2);
}

.icon svg{
  width:42px;
  height:42px;
  color:#3b82f6;

  filter:drop-shadow(0 0 12px rgba(59,130,246,.55));
}

.card h3{
  font-size:31px;
  margin-bottom:16px;
  text-align:center;
}

.card p{
  color:#cbd5e1;
  line-height:1.8;
  text-align:center;
}

/* =========================
   BENEFITS
========================= */

.benefits{
  padding:110px 7%;
  background:#020617;
  text-align:center;
}

.benefits h2{
  font-size:54px;
  margin-bottom:40px;
}

.benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.benefit-grid div{
  padding:36px;

  background:
  linear-gradient(
    180deg,
    rgba(15,23,42,.9),
    rgba(2,6,23,.9)
  );

  border-radius:20px;

  border:1px solid rgba(59,130,246,.16);

  text-align:left;
}

.benefit-grid h3{
  color:#38bdf8;
  margin-bottom:14px;
}

.benefit-grid p{
  color:#dbeafe;
  line-height:1.7;
}

/* =========================
   CONTACT
========================= */

.contact{
  padding:110px 7%;
  text-align:center;
}

.contact h2{
  font-size:54px;
}

.contact > p{
  margin-top:18px;
  color:#cbd5e1;
  font-size:20px;
}

.contact-box{
  max-width:700px;

  margin:50px auto 0;

  padding:40px;

  border-radius:24px;

  background:
  linear-gradient(
    180deg,
    rgba(15,23,42,.9),
    rgba(2,6,23,.95)
  );

  border:1px solid rgba(59,130,246,.18);

  text-align:left;
}

.contact-box p{
  margin:18px 0;
  font-size:18px;
}

/* =========================
   FOOTER
========================= */

footer{
  padding:32px;
  text-align:center;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,.06);
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  text-decoration:none;
}

.whatsapp-button{
  display:flex;
  align-items:center;
  gap:16px;

  padding:14px 24px 14px 14px;

  border-radius:80px;

  background:rgba(5,5,5,.95);

  border:1px solid rgba(255,255,255,.06);

  box-shadow:
  0 0 40px rgba(37,211,102,.28);
}

.whatsapp-icon{
  width:62px;
  height:62px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
  linear-gradient(
    135deg,
    #25d366,
    #16a34a
  );

  box-shadow:
  0 0 25px rgba(37,211,102,.55);
}

.whatsapp-icon svg{
  width:32px;
  height:32px;
}

.whatsapp-text span{
  display:block;
  color:#fff;
  font-size:30px;
  font-weight:800;
}

.whatsapp-text small{
  color:#25d366;
  font-size:18px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

  .cards,
  .benefit-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:68px;
  }

}

@media(max-width:768px){

  .header{
    height:auto;
    padding:24px 6%;
    transition:.4s;

    flex-direction:column;
    gap:20px;
  }

  nav{
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .btn-header{
    display:none;
  }

  .hero{
    padding:140px 6% 90px;
    min-height:auto;
    background-position:center;
  }

  .hero h1{
    font-size:48px;
  }

  .hero p{
    font-size:18px;
  }

  .features{
    flex-direction:column;
  }

  .cards,
  .benefit-grid{
    grid-template-columns:1fr;
  }

  .services h2,
  .benefits h2,
  .contact h2{
    font-size:38px;
  }

  .whatsapp-text span{
    font-size:20px;
  }

  .whatsapp-text small{
    font-size:14px;
  }

  .whatsapp-icon{
    width:50px;
    height:50px;
  }

  .header.scrolled{
  background:rgba(2,6,23,.96);

  box-shadow:
  0 8px 30px rgba(0,0,0,.35);
  }

}
/* =========================
   HERO EFFECTS
========================= */

.hero{
  background-attachment: fixed;
}

.hero-content{
  animation: fadeUp 1s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* LIGHT GLOW */

.hero-glow{
  position:absolute;

  width:700px;
  height:700px;

  background:
  radial-gradient(circle,
  rgba(37,99,235,.18),
  transparent 70%);

  top:-120px;
  left:-150px;

  z-index:1;
  pointer-events:none;
}

/* FLOATING DOTS */

.hero-dots{
  position:absolute;
  right:9%;
  top:180px;

  width:220px;
  height:220px;

  background-image: radial-gradient(#3b82f6 1.5px, transparent 1.5px);
  background-size:22px 22px;

  opacity:.35;

  z-index:1;
}

.card::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  width:52px;
  height:3px;
  border-radius:10px;
  background:#0ea5e9;
  box-shadow:0 0 14px rgba(14,165,233,.8);
}

.card{
  min-height:300px;
}

.card p{
  padding-bottom:28px;
}

.icon{
  margin-bottom:24px;
}

.card{
  animation: cardFade .8s ease both;
}

.card:nth-child(1){ animation-delay:.1s; }
.card:nth-child(2){ animation-delay:.2s; }
.card:nth-child(3){ animation-delay:.3s; }
.card:nth-child(4){ animation-delay:.4s; }

@keyframes cardFade{
  from{
    opacity:0;
    transform:translateY(35px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

.benefit-grid div{
  position:relative;
  overflow:hidden;
  transition:.35s;
}

.benefit-grid div::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 55%);
  opacity:0;
  transition:.35s;
}

.benefit-grid div:hover{
  transform:translateY(-8px);
  border-color:#3b82f6;
  box-shadow:0 0 35px rgba(59,130,246,.22);
}

.benefit-grid div:hover::before{
  opacity:1;
}

.benefit-grid h3,
.benefit-grid p{
  position:relative;
  z-index:2;
}

/* =========================
   SECTION DIVIDERS
========================= */

.services,
.benefits,
.contact{
  position:relative;
}

/* LINEA SUPERIOR */

.services::before,
.benefits::before,
.contact::before{
  content:"";

  position:absolute;

  top:0;
  left:50%;

  transform:translateX(-50%);

  width:82%;
  height:1px;

  background:
  linear-gradient(
    90deg,
    transparent,
    rgba(59,130,246,.45),
    transparent
  );
}

/* GLOW AMBIENT */

.services::after,
.benefits::after{
  content:"";

  position:absolute;

  width:700px;
  height:700px;

  border-radius:50%;

  background:
  radial-gradient(
    circle,
    rgba(37,99,235,.08),
    transparent 70%
  );

  pointer-events:none;

  z-index:0;
}

.services::after{
  top:-220px;
  right:-180px;
}

.benefits::after{
  bottom:-280px;
  left:-220px;
}

/* CONTENIDO ARRIBA DEL GLOW */

.services > *,
.benefits > *,
.contact > *{
  position:relative;
  z-index:2;
}

/* =========================
   STATS
========================= */

.stats{
  position:relative;

  margin-top:-70px;

  z-index:5;

  padding:0 7%;

  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:24px;
}

.stat{
  padding:38px 24px;

  border-radius:24px;

  background:
  linear-gradient(
    180deg,
    rgba(15,23,42,.92),
    rgba(2,6,23,.95)
  );

  border:1px solid rgba(59,130,246,.18);

  text-align:center;

  backdrop-filter:blur(12px);

  transition:.35s;

  box-shadow:
  0 0 30px rgba(37,99,235,.08);
}

.stat:hover{
  transform:translateY(-8px);

  border-color:#3b82f6;

  box-shadow:
  0 0 45px rgba(37,99,235,.22);
}

.stat h3{
  font-size:54px;

  color:#3b82f6;

  font-weight:800;

  text-shadow:
  0 0 20px rgba(59,130,246,.35);
}

.stat p{
  margin-top:10px;

  color:#dbeafe;

  font-size:17px;
}

/* RESPONSIVE */

@media(max-width:900px){

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:768px){

  .stats{
    margin-top:40px;

    grid-template-columns:1fr;
  }

}

/* =========================
   ABOUT
========================= */

.about{
  padding:110px 7%;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  align-items:center;
  position:relative;
  background:#020617;
}

.about::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:82%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(59,130,246,.45), transparent);
}

.about-content h2{
  margin-top:16px;
  font-size:54px;
  line-height:1.15;
}

.about-content p{
  margin-top:24px;
  color:#cbd5e1;
  font-size:19px;
  line-height:1.8;
  max-width:760px;
}

.about-box{
  padding:42px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(15,23,42,.92), rgba(2,6,23,.96));
  border:1px solid rgba(59,130,246,.2);
  box-shadow:0 0 45px rgba(37,99,235,.12);
}

.about-box h3{
  font-size:30px;
  margin-bottom:24px;
  color:#38bdf8;
}

.about-box ul{
  list-style:none;
}

.about-box li{
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#dbeafe;
  font-size:18px;
}

.about-box li::before{
  content:"✓";
  color:#38bdf8;
  margin-right:12px;
  font-weight:900;
}

@media(max-width:900px){
  .about{
    grid-template-columns:1fr;
  }

  .about-content h2{
    font-size:38px;
  }
}

/* =========================
   MOBILE PREMIUM
========================= */

@media(max-width:768px){

  .header{
    position:fixed;
    padding:16px 5%;
  }

  .logo{
    height:46px;
  }

  nav{
    display:none;
  }

  .hero{
    padding:130px 6% 80px;
    min-height:780px;
    background-position:center right;
  }

  .hero h1{
    font-size:42px;
    line-height:1.12;
    letter-spacing:-1px;
  }

  .hero p{
    font-size:17px;
    line-height:1.65;
    max-width:100%;
  }

  .features{
    flex-direction:column;
    gap:24px;
  }

  .feature{
    max-width:100%;
  }

  .btn-main{
    width:100%;
    justify-content:center;
    text-align:center;
    padding:18px 24px;
  }

  .stats{
    margin-top:0;
    grid-template-columns:1fr;
    padding:40px 6%;
  }

  .stat h3{
    font-size:40px;
  }

  .about,
  .services,
  .benefits,
  .contact{
    padding:80px 6%;
  }

  .about{
    grid-template-columns:1fr;
  }

  .about-content h2,
  .services h2,
  .benefits h2,
  .contact h2{
    font-size:34px;
  }

  .cards,
  .benefit-grid{
    grid-template-columns:1fr;
  }

  .whatsapp{
    right:14px;
    bottom:14px;
  }

  .whatsapp-text{
    display:none;
  }

  .whatsapp-button{
    padding:10px;
  }
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:white;
  font-size:34px;
  cursor:pointer;
  z-index:1001;
}

@media(max-width:768px){

  .header{
    flex-wrap:nowrap;
  }

  .menu-toggle{
    display:block;
  }

  .header nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:center;
    gap:18px;
    padding:18px 0 8px;
    transition:.3s;
    animation: menuFade .3s ease;
  }

  .header nav.open{
  display:flex;

  position:absolute;
  top:88px;
  left:0;

  width:100%;

  background:rgba(2,6,23,.98);

  padding:30px 0;

  border-top:1px solid rgba(255,255,255,.08);

  box-shadow:
  0 20px 40px rgba(0,0,0,.45);
}

@keyframes menuFade{
  from{
    opacity:0;
    transform:translateY(-10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}
.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:all .8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
}