body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: white;
}

.logo {
  font-size: 22px;
  font-weight: 600;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/hero.jpg") center/cover no-repeat;
  z-index: 1;
}

/* GRADIENT OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.9) 20%,
    rgba(255,255,255,0.7) 40%,
    rgba(255,255,255,0.2) 70%,
    rgba(255,255,255,0.0) 100%
  );
  z-index: 2;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1e3a8a;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
  color: #334155;
}

.cta-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

/* 🔥 PHONE UI */
.phone-container {
  position: absolute;
  right: 6%;
  top: 120px;
  z-index: 5;
}

.phone {
  width: 260px;
  max-width: 30vw;   /* 🔥 prevents overflow */
  height: 520px;
  background: black;
  border-radius: 30px;
  padding: 10px;
  border: 4px solid #0f172a;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* FEATURES */
.features {
  margin-top: 120px; /* overlap effect */
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px;
  background: white;
  position: relative;
  z-index: 2;
}

.feature {
  text-align: center;
  color: #1e3a8a;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 60px;
  background: #f1f5f9;
}

/* 📱 RESPONSIVE FIX */
@media (max-width: 1000px) {

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    height: auto;
  }

  .phone-container {
    position: relative;   /* 🔥 no overlap */
    top: auto;
    right: auto;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .phone {
    width: 220px;
    height: 440px;
  }

  .features {
    margin-top: 40px; /* remove overlap on small */
    flex-direction: column;
    gap: 30px;
  }

}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    height: auto;
    text-align: left;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 14px;
  }

  .cta-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* PHONE */
  .phone-container {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .phone {
    width: 200px;
    height: 400px;
  }

  /* FEATURES */
  .features {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    padding: 30px 20px;
  }

  .feature {
    font-size: 14px;
  }

  /* NAVBAR */
  .navbar {
    padding: 12px 20px;
  }

  .logo-text {
    font-size: 18px;
  }

}