/* ======================
   GLOBAL RESET & BASE
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Generic Button */
.btn {
  background: #4f9fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn:hover { background:#357ae8; transform: scale(1.05); }

/* ======================
   NAVBAR
====================== */
header {
  background: #0d0d0d;
  color: #fff;
  padding: 15px 50px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4f9fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a.active { color: #4f9fff; font-weight: 700; }

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

/* Mobile off-canvas menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -240px;
    width: 220px; height: 100%;
    background: #0d0d0d;
    flex-direction: column;
    padding-top: 70px;
    padding-left: 20px;
    gap: 18px;
    transition: right .3s ease-in-out;
    z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .menu-toggle { display: block; }
}

/* ======================
   HERO (Home + reusable)
====================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 50px;
  background: #f5f7fa;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.5rem; color:#222; }
.hero-text p { margin: 20px 0; font-size: 1.05rem; color:#555; }
.hero-img img { width: 400px; max-width: 100%; }

/* ======================
   TRUSTED (Home)
====================== */
.trusted { text-align: center; padding: 40px 20px; }
.trusted p { margin-bottom: 18px; font-size: 1.1rem; }
.logos img { width: 100px; margin: 0 14px; transition: transform .3s; }
.logos img:hover { transform: scale(1.08); }

/* ======================
   STATS (Home)
====================== */
.stats {
  display: flex; justify-content: center; gap: 50px;
  background: #f5f7fa; padding: 50px 20px; text-align: center;
}
.stat h2 { font-size: 2rem; color:#357ae8; font-weight:700; }
.stat p { margin-top: 6px; color:#555; }

/* ======================
   WHY (Home + Features cards reuse)
====================== */
.why { padding: 60px 20px; text-align: center; }
.why h2 { font-size: 2rem; margin-bottom: 35px; }
.why-cards {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.why-card {
  background:#fff; width: 260px; padding: 22px;
  border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.08);
  transition: transform .25s ease;
}
.why-card:hover { transform: translateY(-8px); }

/* ======================
   HOW (Home + About values)
====================== */
.how { padding: 60px 20px; text-align: center; background:#f9fbfd; }
.how h2 { font-size: 2rem; margin-bottom: 28px; }
.steps {
  display:flex; justify-content:center; gap:30px; flex-wrap:wrap;
}
.step {
  background:#fff; width:260px; padding:20px; border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.08); transition: transform .25s ease;
}
.step:hover { transform: translateY(-8px); }

/* ======================
   TESTIMONIALS (Home + About)
====================== */
.testimonials { background:#f5f7fa; padding: 60px 20px; text-align:center; }
.testimonial-cards {
  display:flex; gap:20px; justify-content:center; flex-wrap:wrap;
}
.testimonial {
  background:#fff; width:280px; padding:20px; border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.1); font-style: italic; transition:.25s;
}
.testimonial:hover { transform: scale(1.05); }
.testimonial h4 { margin-top:12px; font-size:.95rem; font-weight:600; color:#444; }

/* ======================
   CTA (Home + reuse)
====================== */
.cta {
  padding: 60px 20px; text-align:center;
  background: linear-gradient(135deg, #4f9fff, #357ae8);
  color:#fff;
}
.cta h2 { font-size:2rem; margin-bottom:12px; }
.cta p  { font-size:1.05rem; margin-bottom:22px; }
.cta .btn { background:#fff; color:#357ae8; font-weight:600; }
.cta .btn:hover { background:#f0f0f0; }

/* =========================================================
   >>> MISSING BEFORE (caused other pages to look unstyled) <<<
   FEATURES, ABOUT, PRICING, CONTACT
========================================================= */

/* FEATURES */
.features { padding: 60px 20px; text-align: center; }
.features h2 { font-size: 2rem; }
.feature-cards {
  margin-top: 28px;
  display:flex; justify-content:center; gap:30px; flex-wrap:wrap;
}
.card {
  width: 260px; padding: 22px; background:#fff; border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.08); transition:.25s;
  text-align: left;
}
.card img { width: 60px; height: 60px; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p  { color:#555; }
.card:hover { transform: translateY(-8px); box-shadow:0 6px 14px rgba(0,0,0,.16); }

/* ABOUT */
.about {
  display:flex; align-items:center; gap:30px;
  padding: 60px 50px; background:#eef3f8;
}
.about-text { flex:1; }
.about-text h2 { font-size:2rem; margin-bottom: 10px; }
.about-text p  { color:#444; }
.about-img img { width: 360px; max-width: 100%; border-radius: 12px; }

/* PRICING */
.pricing { padding: 60px 20px; text-align:center; }
.pricing h2 { font-size:2rem; }
.pricing-cards {
  margin-top: 28px;
  display:flex; justify-content:center; gap:26px; flex-wrap:wrap;
}
.price-card {
  width: 260px; padding: 22px; background:#fff; border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  transition:.25s; text-align:left;
}
.price-card h3 { margin-bottom: 6px; }
.price-card p  { margin: 6px 0 12px; }
.price-card ul { list-style:none; margin: 0 0 14px; padding-left: 0; }
.price-card li { margin-bottom: 8px; }
.price-card.highlight { border: 2px solid #4f9fff; }
.price-card:hover { transform: scale(1.04); box-shadow:0 6px 14px rgba(0,0,0,.16); }

/* CONTACT */
.contact {
  padding: 60px 20px; text-align: center; background:#f5f7fa;
}
.contact h2 { font-size: 2rem; margin-bottom: 10px; }
.contact p  { color:#555; margin-bottom: 16px; }
.contact form {
  max-width: 420px; margin: 0 auto; display:flex; flex-direction:column;
  gap: 12px;
}
.contact input, .contact textarea {
  padding: 12px; border:1px solid #ddd; border-radius:8px; font: inherit;
}
.contact button {
  padding: 12px; border:none; border-radius:8px; cursor:pointer;
  background:#4f9fff; color:#fff; font-weight:600; transition:.25s;
}
.contact button:hover { background:#357ae8; transform: translateY(-1px); }

/* ======================
   FOOTER
====================== */
footer {
  text-align: center; padding: 15px; background:#0d0d0d; color:#fff; margin-top: 20px;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 992px) {
  .hero { padding: 50px 30px; }
  header { padding: 15px 30px; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-img img { width: 300px; }

  .about { flex-direction: column; text-align: center; padding: 50px 24px; }
  .about-img img { width: 280px; }

  .stats { flex-direction: column; gap: 18px; }
  .why-cards, .steps, .testimonial-cards,
  .feature-cards, .pricing-cards { flex-direction: column; align-items: center; }
}
