/* ==========================================================
   AVANTHY SITES — HERO CONSOLIDADO
   ========================================================== */

:root{
  --hero-bg:#06111f;
  --hero-bg-deep:#09192b;
  --hero-blue:#008cff;
  --hero-blue-light:#6ec8ff;
  --hero-orange:#ff6600;
  --hero-orange-light:#ffa726;
  --hero-text:#ffffff;
  --hero-muted:#b8c7d9;
  --hero-border:rgba(255,255,255,.10);
  --hero-card:rgba(255,255,255,.055);
}

.hero-premium,
.hero-premium *{
  box-sizing:border-box;
}

.hero-premium{
  position:relative;
  overflow:hidden;
  padding:92px 0 76px;
  color:var(--hero-text);
  font-family:"Poppins",Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 88% 16%,rgba(0,140,255,.18),transparent 33%),
    radial-gradient(circle at 10% 90%,rgba(255,102,0,.10),transparent 30%),
    linear-gradient(145deg,var(--hero-bg) 0%,var(--hero-bg-deep) 100%);
}

.hero-premium::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom,#000,transparent 92%);
}

.hero-container{
  position:relative;
  z-index:2;
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(480px,.95fr);
  align-items:center;
  gap:70px;
}

.hero-content{
  max-width:650px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 15px;
  margin-bottom:24px;
  border:1px solid rgba(110,200,255,.22);
  border-radius:999px;
  background:rgba(0,101,163,.12);
  color:#a8dcff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.2px;
  backdrop-filter:blur(12px);
}

.hero-badge span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--hero-orange);
  box-shadow:0 0 16px rgba(255,102,0,.8);
}

.hero-title{
  max-width:720px;
  margin:0 0 24px;
  color:#fff;
  font-size:clamp(44px,5vw,70px);
  font-weight:800;
  line-height:1.06;
  letter-spacing:-2.2px;
}

.hero-title span{
  display:block;
  color:transparent;
  background:linear-gradient(
    100deg,
    var(--hero-blue) 0%,
    var(--hero-blue-light) 55%,
    #dff3ff 100%
  );
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-description{
  max-width:620px;
  margin:0 0 34px;
  color:var(--hero-muted);
  font-size:18px;
  line-height:1.75;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}

.hero-btn{
  min-height:54px;
  padding:15px 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.hero-btn::after{
  display:none;
}

.hero-btn-primary{
  color:#fff;
  border:1px solid transparent;
  background:linear-gradient(
    135deg,
    var(--hero-orange),
    var(--hero-orange-light)
  );
  box-shadow:0 16px 38px rgba(255,102,0,.28);
}

.hero-btn-primary:hover{
  color:#fff;
  transform:translateY(-3px);
  box-shadow:0 22px 48px rgba(255,102,0,.38);
}

.hero-btn-secondary{
  color:#fff;
  border:1px solid var(--hero-border);
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(12px);
}

.hero-btn-secondary:hover{
  color:#fff;
  transform:translateY(-3px);
  border-color:rgba(110,200,255,.42);
  background:rgba(255,255,255,.09);
}

.hero-btn:focus-visible{
  outline:3px solid rgba(110,200,255,.75);
  outline-offset:4px;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.hero-stat{
  min-width:0;
  padding:17px 16px;
  border:1px solid var(--hero-border);
  border-radius:16px;
  background:var(--hero-card);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(12px);
  transition:transform .25s ease,border-color .25s ease;
}

.hero-stat:hover{
  transform:translateY(-4px);
  border-color:rgba(110,200,255,.30);
}

.hero-stat strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
  font-size:21px;
  font-weight:700;
  line-height:1.2;
}

.hero-stat span{
  display:block;
  color:#9fb1c5;
  font-size:11px;
  line-height:1.45;
}

.hero-visual{
  position:relative;
  min-height:570px;
}

.hero-glow{
  position:absolute;
  width:520px;
  height:520px;
  top:50%;
  left:52%;
  border-radius:50%;
  opacity:.6;
  filter:blur(65px);
  transform:translate(-50%,-50%);
  background:
    radial-gradient(circle,rgba(0,140,255,.32),transparent 62%),
    radial-gradient(circle at 70% 70%,rgba(255,102,0,.20),transparent 45%);
  animation:heroGlow 8s ease-in-out infinite;
}

.hero-device{
  position:absolute;
  overflow:hidden;
}

.hero-laptop{
  width:min(100%,620px);
  aspect-ratio:3/2;
  top:50%;
  left:50%;
  padding:9px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:linear-gradient(160deg,#263142,#0d1520);
  box-shadow:
    0 42px 90px rgba(0,0,0,.42),
    0 0 0 1px rgba(0,140,255,.05);
  transform:translate(-50%,-50%);
  animation:laptopFloat 7s ease-in-out infinite;
}

.hero-laptop img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:top center;
  border-radius:13px;
}

.hero-phone{
  width:166px;
  height:340px;
  left:-6px;
  bottom:6px;
  padding:6px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:32px;
  background:linear-gradient(160deg,#252f3d,#090e15);
  box-shadow:
    0 28px 60px rgba(0,0,0,.48),
    0 0 30px rgba(0,140,255,.10);
  animation:phoneFloat 6s ease-in-out infinite;
}

.hero-phone::before{
  content:"";
  position:absolute;
  z-index:2;
  width:56px;
  height:9px;
  top:11px;
  left:50%;
  border-radius:999px;
  background:#080b10;
  transform:translateX(-50%);
}

.hero-phone img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:48% top;
  border-radius:26px;
}

.hero-premium img:hover{
  transform:none;
}

.floating-card{
  position:absolute;
  z-index:20;
  min-width:190px;
  padding:13px 15px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:rgba(8,18,33,.88);
  box-shadow:0 18px 45px rgba(0,0,0,.34);
  backdrop-filter:blur(16px);
  animation:cardFloat 6s ease-in-out infinite;
}

.floating-card i{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#0077e6,#26a8ff);
  box-shadow:0 9px 22px rgba(0,119,230,.28);
}

.floating-card svg{
  width:21px;
  height:21px;
  fill:currentColor;
}

.floating-card strong{
  display:block;
  margin-bottom:2px;
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.floating-card span{
  display:block;
  color:#a9b9ca;
  font-size:11px;
  line-height:1.35;
}

.card-one{
  top:44px;
  left:-18px;
  right:auto;
  bottom:auto;
}

.card-two{
  top:148px;
  right:-22px;
  left:auto;
  bottom:auto;
  animation-delay:1.5s;
}

.card-three{
  right:18px;
  bottom:20px;
  top:auto;
  left:auto;
  animation-delay:3s;
}

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

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

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

@keyframes heroGlow{
  0%,100%{
    opacity:.50;
    transform:translate(-50%,-50%) scale(1);
  }
  50%{
    opacity:.75;
    transform:translate(-50%,-50%) scale(1.08);
  }
}

@media (max-width:1120px){
  .hero-container{
    grid-template-columns:1fr;
    gap:44px;
  }

  .hero-content{
    max-width:780px;
  }

  .hero-visual{
    width:min(100%,760px);
    min-height:510px;
    margin:0 auto;
  }

  .hero-laptop{
    width:min(90%,650px);
  }

  .hero-phone{
    left:2%;
  }
}

@media (max-width:900px){
  .floating-card{
    display:none;
  }
}

@media (max-width:768px){
  .hero-premium{
    padding:72px 0 48px !important;
  }

  .hero-container{
    width:min(100% - 28px,1320px);
    gap:30px !important;
  }

  .hero-content{
    text-align:center;
  }

  .hero-badge{
    justify-content:center;
    margin-bottom:20px;
    font-size:11px;
  }

  .hero-title{
    margin-bottom:20px;
    font-size:clamp(36px,10.5vw,48px);
    line-height:1.08;
    letter-spacing:-1.3px;
  }

  .hero-description{
    margin:0 auto 28px;
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    margin-bottom:28px;
  }

  .hero-btn{
    width:100%;
    min-height:56px;
  }

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

  .hero-stat:last-child{
    grid-column:1 / -1;
  }

  .hero-stat{
    padding:15px 12px;
  }

  .hero-stat strong{
    font-size:18px;
  }

  .hero-visual{
    min-height:330px !important;
    height:330px !important;
    margin:0 !important;
  }

  .hero-laptop{
    width:calc(100% - 24px);
    padding:6px;
    border-radius:15px;
  }

  .hero-laptop img{
    border-radius:10px;
  }

  .hero-phone{
    width:96px;
    height:202px;
    left:0;
    bottom:4px;
    padding:4px;
    border-radius:21px;
  }

  .hero-phone::before{
    width:35px;
    height:6px;
    top:7px;
  }

  .hero-phone img{
    border-radius:17px;
  }

  .hero-glow{
    width:320px;
    height:320px;
  }
}

@media (max-width:420px){
  .hero-badge{
    width:100%;
    padding:9px 10px;
  }

  .hero-stats{
    gap:9px;
  }

  .hero-stat strong{
    font-size:16px;
  }

  .hero-visual{
    min-height:285px !important;
    height:285px !important;
  }

  .hero-phone{
    width:84px;
    height:178px;
  }
}

@media (prefers-reduced-motion:reduce){
  .hero-glow,
  .hero-laptop,
  .hero-phone,
  .floating-card{
    animation:none;
  }

  .hero-btn,
  .hero-stat{
    transition:none;
  }
}
