/* ========================= */
/* RESET */
/* ========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#0b0f14;
  color:white;
  overflow-x:hidden;
}

/* ========================= */
/* GLOBAL */
/* ========================= */

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

section{
  padding:120px 0;
}

.section-title{
  font-size:2.7rem;
  margin-bottom:20px;
  line-height:1.1;
}

.section-subtitle{
  color:#aeb7c2;
  max-width:760px;
  line-height:1.8;
  margin-bottom:60px;
  font-size:1.05rem;
}

/* ========================= */
/* HEADER */
/* ========================= */

header{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:999;
  backdrop-filter:blur(10px);
  background:rgba(11,15,20,0.72);
  border-bottom:1px solid rgba(255,255,255,0.05);
  transition:0.3s ease;
}

header.scrolled{
  background:#0b0f14;
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
}

.logo{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:1px;
}

.nav-links{
  display:flex;
  gap:30px;
  color:#aeb7c2;
}

.nav-links a{
  transition:0.3s;
  position:relative;
}

.nav-links a:hover{
  color:#00ff9d;
}

.nav-links a.active{
  color:#00ff9d;
}

.nav-links a.active::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:#00ff9d;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;
  width:700px;
  height:700px;
  background:#00ff9d10;
  filter:blur(120px);
  top:-200px;
  right:-200px;
}

.hero-wrapper{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  align-items:center;
  gap:70px;
  position:relative;
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:2;
  transition:0.3s;
}

.tag{
  display:inline-block;
  padding:8px 16px;
  border:1px solid rgba(0,255,157,0.3);
  border-radius:100px;
  color:#00ff9d;
  margin-bottom:25px;
  font-size:0.9rem;
  backdrop-filter:blur(10px);
}

h1{
  font-size:5rem;
  line-height:1;
  max-width:850px;
  margin-bottom:30px;
}

.hero p{
  max-width:720px;
  color:#aeb7c2;
  line-height:1.8;
  font-size:1.1rem;
  margin-bottom:40px;
}

/* ========================= */
/* HERO IMAGE */
/* ========================= */

.hero-image{
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
}

.hero-image::before{
  content:'';
  position:absolute;
  width:420px;
  height:420px;
  background:#00ff9d15;
  filter:blur(90px);
  border-radius:50%;
  z-index:-1;
}

.hero-image img{
  width:100%;
  max-width:420px;
  border-radius:32px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 25px 70px rgba(0,0,0,0.5);
  transition:0.4s ease;
}

.hero-image img:hover{
  transform:scale(1.02);
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  position:relative;
  overflow:hidden;
  padding:16px 30px;
  border-radius:14px;
  font-weight:600;
  transition:0.3s;
}

.btn::before{
  content:'';
  position:absolute;
  top:var(--y);
  left:var(--x);
  transform:translate(-50%, -50%);
  width:0;
  height:0;
  background:rgba(255,255,255,0.15);
  border-radius:50%;
  transition:width 0.4s,height 0.4s;
}

.btn:hover::before{
  width:300px;
  height:300px;
}

.btn-primary{
  background:#00ff9d;
  color:#07110d;
}

.btn-primary:hover{
  transform:translateY(-3px);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover{
  border-color:#00ff9d50;
  color:#00ff9d;
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.card{
  background:#11161d;
  padding:35px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.05);
  transition:0.5s ease;
  opacity:0;
  transform:translateY(30px);
}

.card.show{
  opacity:1;
  transform:translateY(0);
}

.card:hover{
  transform:translateY(-8px);
  border-color:#00ff9d50;
  box-shadow:0 15px 40px rgba(0,0,0,0.35);
}

.card h3{
  margin-bottom:15px;
  font-size:1.3rem;
}

.card p{
  color:#aeb7c2;
  line-height:1.8;
}

/* ========================= */
/* SEO TEXT */
/* ========================= */

.seo-text{
  max-width:950px;
}

.seo-text p{
  color:#aeb7c2;
  line-height:1.9;
  margin-bottom:25px;
  font-size:1.05rem;
  opacity:0;
  transform:translateY(20px);
  transition:0.5s ease;
}

.seo-text p.show{
  opacity:1;
  transform:translateY(0);
}

/* ========================= */
/* PORTFOLIO */
/* ========================= */

.portfolio{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:25px;
}

.portfolio-item{
  height:260px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  background:#161d26;
  border:1px solid rgba(255,255,255,0.05);
  opacity:0;
  transform:translateY(30px);
  transition:0.5s ease;
}

.portfolio-item.show{
  opacity:1;
  transform:translateY(0);
}

.portfolio-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.55;
  transition:0.5s ease;
}

.portfolio-item:hover img{
  transform:scale(1.08);
}

.portfolio-item.active{
  border-color:#00ff9d50;
}

.portfolio-overlay{
  position:absolute;
  inset:0;
  padding:30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.portfolio-overlay h4{
  font-size:1.4rem;
  margin-bottom:10px;
}

.portfolio-overlay p{
  color:#d0d5dc;
  line-height:1.6;
}

/* ========================= */
/* ABOUT */
/* ========================= */

.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.about img{
  border-radius:30px;
  object-fit:cover;
  height:100%;
  opacity:0;
  transform:translateY(30px);
  transition:0.6s ease;
}

.about img.show{
  opacity:1;
  transform:translateY(0);
}

.about div{
  opacity:0;
  transform:translateY(30px);
  transition:0.6s ease;
}

.about div.show{
  opacity:1;
  transform:translateY(0);
}

.about p{
  color:#aeb7c2;
  line-height:1.9;
  margin-bottom:20px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{
  border-top:1px solid rgba(255,255,255,0.06);
  padding:60px 0;
  text-align:center;
  color:#8b95a3;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:950px){

  .hero-wrapper{
    grid-template-columns:1fr;
    padding-top:140px;
    text-align:center;
  }

  .hero-content{
    order:2;
  }

  .hero-image{
    order:1;
  }

  .buttons{
    justify-content:center;
  }

  .hero-image img{
    max-width:300px;
  }

  .about{
    grid-template-columns:1fr;
  }

  h1{
    font-size:3.2rem;
  }

  .nav-links{
    display:none;
  }

}

@media(max-width:600px){

  section{
    padding:90px 0;
  }

  h1{
    font-size:2.5rem;
  }

  .section-title{
    font-size:2rem;
  }

  .btn{
    width:100%;
    text-align:center;
  }

}




.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:1px;
}

.logo img{
  width:42px;
  height:42px;
  object-fit:contain;
}