/* ================== RESET ================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

/* ================== HTML / BODY ================== */
html{
  width:100%;
}

body{
  min-height:100vh;
  background:#020617;
  color:#e5e7eb;
  overflow-x:hidden;
  overflow-y:auto;
  position:relative;
}

/* ================== GLOBAL ANIMATED BACKGROUND ================== */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(37,99,235,.22), transparent 50%);
  animation:heroColors 18s ease-in-out infinite alternate;
  z-index:-1;
  pointer-events:none;
}

@keyframes heroColors{
  0%{filter:hue-rotate(0deg);}
  50%{filter:hue-rotate(80deg);}
  100%{filter:hue-rotate(160deg);}
}

/* ================== LANGUAGE SWITCH ================== */
.lang{
  position:fixed;
  top:20px;
  left:20px;
  z-index:1000;
}
.lang a{
  margin:0 6px;
  color:#fff;
  text-decoration:none;
  opacity:.7;
  font-weight:600;
}
.lang a:hover{opacity:1}

/* ================== GLOBAL ================== */
section{
  position:relative;
  overflow:visible;
}

/* ================== HERO ================== */
.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  padding:120px 8% 80px;
  position:relative;
}

.hero-text{
  position:relative;
  z-index:2;
  animation:fadeUp .9s ease-out both;
}

.hero-text h1{
  font-size:56px;
  font-weight:800;
  line-height:1.1;
  background:linear-gradient(90deg,#fff,#38bdf8,#fff);
  background-size:200%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:textGlow 6s ease infinite;
}

@keyframes textGlow{
  0%{background-position:0%}
  50%{background-position:100%}
  100%{background-position:0%}
}

.hero-text p{
  margin-top:22px;
  color:#94a3b8;
  max-width:480px;
  line-height:1.8;
}

/* ================== ACTIONS ================== */
.actions{
  margin-top:42px;
}

.btn{
  padding:16px 36px;
  border-radius:14px;
  text-decoration:none;
  font-weight:600;
  margin-right:12px;
  display:inline-block;
  transition:.3s;
  position:relative;
  overflow:hidden;
}

.btn::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.25),transparent);
  transform:translateX(-100%);
  transition:.6s;
}
.btn:hover::after{transform:translateX(100%);}
.btn:hover{transform:translateY(-2px);}

.primary{
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  color:#fff;
}
.secondary{
  border:1px solid rgba(255,255,255,.2);
  color:#fff;
}

/* ================== HERO MOCKUP ================== */
.hero-mockup{
  position:relative;
  z-index:2;
  animation:scaleIn 1.1s ease-out both;
}

.hero-mockup img{
  width:100%;
  border-radius:24px;
  background:rgba(255,255,255,.08);
  padding:20px;
  animation:floatMockup 8s ease-in-out infinite;
}

@keyframes floatMockup{
  0%{transform:translateY(0)}
  50%{transform:translateY(-16px)}
  100%{transform:translateY(0)}
}

/* ================== GLOW ================== */
.glow{
  position:absolute;
  inset:-40px;
  background:radial-gradient(circle,#38bdf8,transparent 70%);
  filter:blur(90px);
  opacity:.35;
  z-index:0;
}

/* ================== DIVIDER ================== */
.section-divider{
  height:120px;
  background:linear-gradient(
    to bottom,
    rgba(2,6,23,0),
    rgba(2,6,23,1)
  );
}

/* ================== SERVICES (CINEMATIC) ================== */
.service{
  padding:180px 8%;
  perspective:1200px;
}

.service.alt{
  background:rgba(255,255,255,.03);
}

.service-inner{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center;
}

.service-inner.right{
  direction:rtl;
}
.service-inner.right > *{
  direction:ltr;
}

.service-tag{
  display:inline-block;
  margin-bottom:14px;
  padding:6px 14px;
  border-radius:20px;
  background:rgba(56,189,248,.15);
  color:#38bdf8;
  font-size:13px;
  letter-spacing:.5px;
}

.service-text h2{
  font-size:46px;
  margin-bottom:22px;
}

.service-text p{
  font-size:18px;
  color:#94a3b8;
  line-height:1.8;
  max-width:520px;
}

/* ===== MEDIA ===== */
.service-media{
  position:relative;
  transform-style:preserve-3d;
}

.service-media img{
  width:100%;
  border-radius:26px;
  background:rgba(255,255,255,.08);
  padding:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  transform:translateZ(40px);
}

/* Glow */
.media-glow{
  position:absolute;
  inset:-60px;
  background:radial-gradient(circle,rgba(56,189,248,.35),transparent 70%);
  filter:blur(100px);
  opacity:.45;
  z-index:-1;
}

/* ================== FOOTER ================== */
.footer{
  background:#020617;
  border-top:1px solid rgba(255,255,255,.08);
  padding:80px 8% 40px;
}

.footer-inner{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
}

.footer-brand h3{
  font-size:26px;
  margin-bottom:14px;
}

.footer-brand p{
  max-width:420px;
  color:#94a3b8;
  line-height:1.7;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(2,auto);
  gap:14px 40px;
  justify-content:end;
}

.footer-links a{
  color:#e5e7eb;
  text-decoration:none;
  opacity:.8;
  transition:.3s;
}
.footer-links a:hover{
  opacity:1;
  color:#38bdf8;
}

.footer-bottom{
  margin-top:60px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:14px;
  color:#94a3b8;
}

/* ================== ANIMATIONS ================== */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(40px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes scaleIn{
  from{opacity:0;transform:scale(.95)}
  to{opacity:1;transform:scale(1)}
}

/* ================== RESPONSIVE ================== */
@media(max-width:900px){
  .hero,
  .service-inner{
    grid-template-columns:1fr;
    gap:60px;
  }

  .hero-text h1{
    font-size:42px;
  }

  .service-text h2{
    font-size:34px;
  }

  .service-inner.right{
    direction:ltr;
  }

  .footer-inner{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-links{
    justify-content:center;
  }
}

/* ================== HIDE SCROLLBAR ================== */
::-webkit-scrollbar{width:0;height:0;}
html{scrollbar-width:none;}
body{-ms-overflow-style:none;}
