 *,
*::before,
*::after{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --purple:#7c3aed;
  --pink:#ec4899;
  --gradient:linear-gradient(135deg,#7c3aed,#ec4899);
  --light-bg:#f8f7ff;
  --text-dark:#1a1a2e;
  --text-gray:#6b7280;
  --white:#ffffff;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text-dark);
  background:#fff;
  overflow-x:hidden;
}

/* NAVBAR */

 *,
*::before,
*::after{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --purple:#7c3aed;
  --pink:#ec4899;
  --gradient:linear-gradient(135deg,#7c3aed,#ec4899);
  --light-bg:#f8f7ff;
  --text-dark:#1a1a2e;
  --text-gray:#6b7280;
  --white:#ffffff;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text-dark);
  background:#fff;
  overflow-x:hidden;
  padding-top:90px;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:99999;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:18px 6%;

  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(10px);

  box-shadow:0 2px 20px rgba(124,58,237,0.08);
}

.logo{
  display:flex;
  align-items:center;
  gap:8px;

  text-decoration:none;

  color:var(--text-dark);

  font-size:1.4rem;
  font-weight:700;
}

.logo-icon{
  width:38px;
  height:38px;

  border-radius:10px;

  background:var(--gradient);

  display:flex;
  align-items:center;
  justify-content:center;

  color:#fff;

  font-weight:900;
  font-size:1.1rem;
  font-style:italic;
}

/* NAV LINKS */

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;

  list-style:none;
}

.nav-links li{
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:var(--text-dark);

  font-weight:500;
  font-size:0.95rem;

  transition:0.3s;
}

.nav-links a:hover{
  color:var(--purple);
}

/* ========================= */
/* HAMBURGER */
/* ========================= */

.menu-toggle{
  display:none;

  flex-direction:column;
  justify-content:center;

  gap:5px;

  cursor:pointer;
}

.menu-toggle span{
  width:28px;
  height:3px;

  background:var(--text-dark);

  border-radius:10px;

  transition:0.3s;
}

/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */

@media (max-width:768px){

  nav{
    padding:16px 5%;
  }

  .menu-toggle{
    display:flex;
  }

  .nav-links{
    position:absolute;

    top:100%;
    left:0;

    width:100%;

    background:#fff;

    flex-direction:column;
    align-items:center;

    gap:22px;

    padding:30px 0;

    display:none;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);
  }

  .nav-links.active{
    display:flex;
  }

}

/* HERO */

.hero{
  min-height:88vh;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;

  padding:70px 6% 60px;

  background:linear-gradient(
    135deg,
    #f0ecff 0%,
    #fce7f3 40%,
    #ede9fe 100%
  );

  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;

  top:-100px;
  right:-100px;

  width:600px;
  height:600px;

  border-radius:50%;

  background:radial-gradient(
    circle,
    rgba(124,58,237,0.12) 0%,
    transparent 70%
  );
}

.hero-content{
  flex:1;
  max-width:560px;
  z-index:2;
}

.hero-badge{
  display:inline-block;

  background:#ffffffcc;
  color:var(--purple);

  padding:10px 18px;

  border-radius:30px;

  font-size:0.85rem;
  font-weight:600;

  margin-bottom:22px;
}

.hero h1{
  font-size:3.4rem;
  font-weight:800;
  line-height:1.15;

  margin-bottom:20px;
}

.hero h1 span{
  background:var(--gradient);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  color:var(--text-gray);

  font-size:1rem;
  line-height:1.8;

  margin-bottom:36px;

  max-width:500px;
}

.hero-btns{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.btn-primary{
  padding:14px 32px;

  border-radius:30px;
  border:none;

  background:var(--gradient);
  color:#fff;

  text-decoration:none;

  font-weight:600;
  font-size:0.95rem;

  transition:0.3s;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(124,58,237,0.35);
}

.btn-outline{
  padding:14px 32px;

  border-radius:30px;
  border:2px solid #d1d5db;

  color:var(--text-dark);
  background:transparent;

  text-decoration:none;

  font-weight:600;
  font-size:0.95rem;

  transition:0.3s;
}

.btn-outline:hover{
  border-color:var(--purple);
  color:var(--purple);
}

.heropic{
  flex:1;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:2;
}

.heropic img{
  width:100%;
  max-width:620px;
  height:auto;
  object-fit:contain;
}

/* SECTION COMMON */

.section{
  padding:90px 6%;
}

.section-label{
  font-size:0.8rem;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;

  margin-bottom:12px;

  background:var(--gradient);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.section-title{
  font-size:2.2rem;
  font-weight:800;

  margin-bottom:16px;
}

.section-subtitle{
  color:var(--text-gray);

  font-size:1rem;
  line-height:1.8;

  max-width:700px;
}

/* ABOUT */

.about{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:70px;

  background:#fff;
}

.about-hero{
  flex:1;

  display:flex;
  justify-content:center;
}

.about-hero img{
  width:100%;
  max-width:520px;
  height:auto;
  object-fit:contain;
}

.about-content{
  flex:1;
}

.stats{
  display:flex;
  flex-wrap:wrap;
  gap:40px;

  margin-top:35px;
}

.stat-item .num{
  font-size:2rem;
  font-weight:800;
}

.stat-item .lbl{
  font-size:0.85rem;
  color:var(--text-gray);
}

/* SERVICES */

.services{
  background:#fff;
  text-align:center;
}

.services .section-subtitle{
  margin:0 auto 50px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.service-card{
  position:relative;

  background:#fce7f3;

  padding:32px 24px;

  border-radius:20px;

  text-align:left;

  transition:0.4s;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 60px rgba(124,58,237,0.2);
}

.service-card::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:20px;
  padding:2px;

  background:linear-gradient(
    135deg,
    #7c3aed,
    #3b82f6,
    #ec4899
  );

  -webkit-mask:
  linear-gradient(#000 0 0) content-box,
  linear-gradient(#000 0 0);

  -webkit-mask-composite:xor;

  opacity:0;
  transition:0.4s;
}

.service-card:hover::before{
  opacity:1;
}

.service-icon{
  width:56px;
  height:56px;

  border-radius:16px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:1.5rem;

  margin-bottom:20px;
}

.icon-blue{
  background:#eff6ff;
}

.icon-pink{
  background:#fdf2f8;
}

.icon-teal{
  background:#f0fdf4;
}

.icon-orange{
  background:#fff7ed;
}

.service-card h3{
  font-size:1.05rem;
  font-weight:700;

  margin-bottom:10px;
}

.service-card p{
  color:var(--text-gray);

  font-size:0.88rem;
  line-height:1.7;
}

/* PRODUCTS */

.products{
  background:#fff;
  text-align:center;
}

.products .section-subtitle{
  margin:0 auto 50px;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.product-card{
  position:relative;

  background:#ebe8f8;

  border-radius:20px;

  padding:28px;

  text-align:left;

  transition:0.4s;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 60px rgba(124,58,237,0.2);
}

.product-card::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:20px;
  padding:2px;

  background:linear-gradient(
    135deg,
    #7c3aed,
    #3b82f6,
    #ec4899
  );

  -webkit-mask:
  linear-gradient(#000 0 0) content-box,
  linear-gradient(#000 0 0);

  -webkit-mask-composite:xor;

  opacity:0;
  transition:0.4s;
}

.product-card:hover::before{
  opacity:1;
}

.product-header{
  display:flex;
  align-items:center;
  gap:16px;

  margin-bottom:14px;
}

.product-icon{
  width:50px;
  height:50px;

  border-radius:14px;

  background:linear-gradient(
    135deg,
    #ede9fe,
    #fce7f3
  );

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:1.3rem;

  flex-shrink:0;
}

.product-card h3{
  font-size:1.05rem;
  font-weight:700;
}

.product-card p{
  color:var(--text-gray);

  font-size:0.88rem;
  line-height:1.7;
}

/* FOOTER */

footer{
  margin-top:60px;

  background:#fff;

  border-top:1px solid #eccef5;

  padding:60px 0 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr 1.4fr;

  gap:40px;

  padding:0 6%;

  margin-bottom:50px;
}

.footer-brand p{
  color:var(--text-gray);

  font-size:0.88rem;
  line-height:1.7;

  margin:14px 0 20px;

  max-width:240px;
}

.footer-col h4{
  font-size:0.95rem;
  font-weight:700;

  margin-bottom:18px;
}

.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul li a{
  text-decoration:none;
  color:var(--text-gray);

  font-size:0.88rem;

  transition:0.3s;
}

.footer-col ul li a:hover{
  color:rgb(90,7,90);
}

.contact-item{
  display:flex;
  align-items:flex-start;
  gap:10px;

  margin-bottom:12px;

  color:var(--text-gray);

  font-size:0.88rem;
}

.newsletter-text{
  color:var(--text-gray);

  font-size:0.85rem;
  line-height:1.7;

  margin-bottom:10px;
}

.newsletter-form{
  display:flex;
  gap:8px;
}

.newsletter-form input{
  flex:1;

  padding:11px 16px;

  border-radius:30px;
  border:1px solid #e5e7eb;

  outline:none;

  font-size:0.85rem;
  font-family:'Poppins',sans-serif;
}

.newsletter-form input:focus{
  border-color:var(--purple);
}

.newsletter-form button{
  width:42px;
  height:42px;

  border:none;
  border-radius:50%;

  background:var(--gradient);
  color:#fff;

  cursor:pointer;

  transition:0.3s;
}

.newsletter-form button:hover{
  transform:scale(1.1);
}

.footer-bottom{
  width:100%;

  padding:20px 0;

  text-align:center;

  background:linear-gradient(
    135deg,
    #7c3aed,
    #3b82f6,
    #ec4899
  );
}

.footer-bottom p{
  color:#fff;
  font-size:0.85rem;
}

/* SCROLL */

#home,
#services,
#products,
#about,
#contact{
  scroll-margin-top:90px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width:1200px){

  .services-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .products-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:3rem;
  }

}

@media (max-width:992px){

  .hero{
    flex-direction:column;
    text-align:center;
    padding-top:60px;
  }

  .hero-content{
    max-width:100%;
  }

  .hero p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-btns{
    justify-content:center;
  }

  .about{
    flex-direction:column;
    text-align:center;
  }

  .section-subtitle{
    margin-left:auto;
    margin-right:auto;
  }

  .stats{
    justify-content:center;
  }

}

@media (max-width:768px){

  nav{
    padding:16px 5%;
  }

  .nav-links{
    display:none;
  }

  .hero{
    padding:50px 5% 40px;
    gap:40px;
  }

  .hero h1{
    font-size:2.4rem;
  }

  .hero p{
    font-size:0.95rem;
  }

  .heropic img{
    max-width:100%;
  }

  .section{
    padding:70px 5%;
  }

  .section-title{
    font-size:1.9rem;
  }

  .services-grid,
  .products-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .service-card,
  .product-card{
    width:100%;
  }

  .stats{
    gap:24px;
  }

  .newsletter-form{
    flex-direction:column;
  }

  .newsletter-form button{
    width:100%;
    border-radius:30px;
  }

}

@media (max-width:480px){

  .hero h1{
    font-size:2rem;
    line-height:1.25;
  }

  .section-title{
    font-size:1.7rem;
  }

  .btn-primary,
  .btn-outline{
    width:100%;
    text-align:center;
  }

  .hero-btns{
    flex-direction:column;
  }

  .stats{
    flex-direction:column;
    align-items:center;
  }

  .stat-item{
    text-align:center;
  }

  .footer-grid{
    gap:30px;
  }

}