body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f5f5f5);
  color: #111;
}

/* subtle background lines */
body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(#eaeaea 1px, transparent 1px),
                    linear-gradient(90deg, #eaeaea 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: white;
  border-bottom: 1px solid #eee;
}

.navbar a {
  text-decoration: none;
  margin-left: 20px;
  color: black;
}

/* FIX: force button text to stay white */
.btn {
  background: black;
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
}

.hero p {
  color: #555;
  margin: 20px 0;
}

.btn {
  background: black;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.features, .how {
  padding: 80px 60px;
  max-width: 800px;
  margin: auto;
}

.features ul, .how ol {
  margin-top: 20px;
  line-height: 2;
  color: #333;
}

.features, .how {
  padding: 100px 60px;
  max-width: 1100px;
  margin: auto;
}

/* row layout */
.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

/* alternate layout */
.feature-row.reverse {
  flex-direction: row-reverse;
}

/* text block */
.text {
  flex: 1;
}

.text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.text p {
  color: #555;
  line-height: 1.6;
  max-width: 420px;
}

/* visual placeholder */
.visual {
  flex: 1;
  height: 200px;
  background: linear-gradient(to bottom, #fafafa, #f0f0f0);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* smaller visual for how-it-works */
.visual.small {
  height: 150px;
}

.cta {
  text-align: center;
  padding: 100px 20px;
}

/* section header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  color: #666;
}

/* better spacing */
.features, .how {
  padding: 100px 40px;
  max-width: 1000px;
  margin: auto;
}

/* fix empty feel */
.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
  gap: 60px;
}

/* icon container */
.visual {
  flex: 1;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 16px;
  border: 1px solid #eee;
}

.visual img {
  width: 60px;
  opacity: 0.8;
}

/* smaller visuals */
.visual.small {
  height: 130px;
}

footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eee;
  background: white;
}

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

  .navbar {
    padding: 15px 20px;
  }

  .hero {
    padding: 80px 20px;
  }

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

  .features, .how {
    padding: 60px 20px;
  }

  /* stack layout vertically */
  .feature-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }

  .feature-row.reverse {
    flex-direction: column;
  }

  .text p {
    max-width: 100%;
  }

  .visual {
    width: 100%;
    height: 140px;
  }

  .section-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar div {
    display: flex;
    gap: 10px;
  }
}
