* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

.login-btn {
  background: #fff;
  color: #1e40af;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  padding: 80px 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.primary-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.secondary-btn {
  background: #e0e7ff;
  color: #1e40af;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
}

/* ================= FEATURES ================= */
.features {
  background: #fff;
  padding: 70px 60px;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card i {
  font-size: 30px;
  color: #2563eb;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: #64748b;
  font-size: 15px;
}

/* ================= FOOTER ================= */
footer {
  background: #0f172a;
  color: #cbd5f5;
  text-align: center;
  padding: 22px;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* ================= MOBILE RESPONSIVE (Realme C25y) ================= */
@media (max-width: 768px) {

  /* HEADER */
  .navbar {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .logo {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .login-btn {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }

  /* HERO SECTION */
  .hero {
    flex-direction: column-reverse;
    padding: 30px 16px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-top: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .hero-image img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px;
  }

  /* FEATURES */
  .features {
    padding: 40px 16px;
  }

  .features h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card i {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .feature-card h3 {
    font-size: 1.05rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* FOOTER */
  footer {
    font-size: 0.8rem;
    padding: 14px 10px;
    text-align: center;
  }
}