/* -------------------------
   RESET & BASICS
   ------------------------- */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #0D0D0D; color:#f5f5f5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

/* -------------------------
   PRELOADER
   ------------------------- */
#preloader{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #0D0D0D;
  z-index:9999;
  transition:opacity .6s ease, visibility .6s ease;
}
#preloader.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.preloader-wrap{
  text-align:center;
  transform-origin:center;
}
#preloader-logo{
  width:140px;
  height:auto;
  display:block;
  margin:0 auto 14px auto;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,.6));
  animation:preloader-pulse 1400ms cubic-bezier(.2,.9,.3,1) infinite;
}
.preloader-text{
  color:#e6e6e6;
  font-weight:600;
  margin-top:6px;
  letter-spacing:.02em;
  opacity:.95;
  font-size:14px;
}

/* pulse */
@keyframes preloader-pulse{
  0%{transform:scale(.98);filter:drop-shadow(0 6px 20px rgba(0,0,0,.45))}
  50%{transform:scale(1.05);filter:drop-shadow(0 20px 40px rgba(34,197,94,.25))}
  100%{transform:scale(.98)}
}

/* hide site while preloader active */
.site-hidden{visibility:hidden;opacity:0;transform:none;transition:none}
.site-visible{visibility:visible;opacity:1;transition:opacity .45s ease .05s}

/* -------------------------
   Layout / HERO
   ------------------------- */
.site-header{padding:36px 48px}
.brand-logo{width:130px;height:auto}

.hero{
  max-width:1200px;
  margin:60px auto;
  padding:40px 24px;
  text-align:center;
}
.hero-title{
  font-family: "Poppins", system-ui, sans-serif;
  font-weight:800;
  color:#fff;
  font-size:64px;
  line-height:1;
  margin-bottom:18px;
}
.hero-sub{
  color:#cfcfcf;
  font-size:18px;
  margin-bottom:34px;
}

/* CTA buttons */
.ctas{display:flex;gap:20px;justify-content:center;align-items:center;margin-top:14px}
.btn{
  display:inline-block;padding:18px 34px;border-radius:14px;font-weight:700;text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.btn.primary{
  background: linear-gradient(180deg,#0fb37e,#08a46b);
  color:#06251b;
  box-shadow:0 12px 36px rgba(11,179,126,.12);
}
.btn.outline{
  border:2px solid rgba(11,179,126,.7);
  color:#08f5a2;background:transparent;
}
.btn:hover{transform:translateY(-3px)}

/* -------------------------
   Animated Gradient Line (animated across)
   ------------------------- */
.gradient-line{
  width:85%;
  max-width:820px;
  height:10px;
  margin: 0 auto 28px auto;
  border-radius: 8px;
  background: linear-gradient(90deg,#F2C94C 0%, #A84FD4 35%, #00C7C1 100%);
  position:relative;
  overflow:visible;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.55));
  /* animated sweep of gradient */
  background-size: 300% 100%;
  animation:slide-gradient 6s linear infinite;
}

/* subtle glow - pseudo element */
.gradient-line::before{
  content:"";
  position:absolute; left:0; right:0; top:-8px; bottom:-10px; z-index:-1;
  border-radius:10px;
  background: radial-gradient(circle at 10% 50%, rgba(242,201,76,.16) 0%, transparent 12%),
              radial-gradient(circle at 50% 50%, rgba(168,79,212,.12) 0%, transparent 12%),
              radial-gradient(circle at 90% 50%, rgba(0,199,193,.12) 0%, transparent 12%);
  filter: blur(14px);
  opacity:.9;
  transform: translateZ(0);
}

/* gradient animation */
@keyframes slide-gradient{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

/* small screens */
@media (max-width:780px){
  .hero-title{font-size:38px}
  .gradient-line{width:92%}
  .ctas{flex-direction:column}
}

/* -------------------------
   Floating WhatsApp (bouncing)
   ------------------------- */
#floating-whatsapp{
  position:fixed;right:28px;bottom:28px;width:68px;height:68px;border-radius:50%;
  background:linear-gradient(180deg,#0fb37e,#07b677);border:none;box-shadow:0 18px 48px rgba(7,182,119,.22);
  display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:999;
  transition:transform .22s cubic-bezier(.2,.9,.3,1),box-shadow .15s ease;
  animation:wh-bounce 2800ms cubic-bezier(.2,.9,.3,1) infinite;
}
#floating-whatsapp img{width:40px;height:40px;display:block;filter:drop-shadow(0 6px 20px rgba(0,0,0,.35))}

/* smaller initial/hover effect */
#floating-whatsapp:active{transform:scale(.98)}
#floating-whatsapp:hover{transform:translateY(-6px);box-shadow:0 22px 60px rgba(7,182,119,.28)}

/* bounce */
@keyframes wh-bounce{
  0%{transform:translateY(0) scale(1)}
  20%{transform:translateY(-6px) scale(1.02)}
  40%{transform:translateY(0) scale(1)}
  60%{transform:translateY(-3px) scale(1.01)}
  100%{transform:translateY(0) scale(1)}
}
