:root {
  --font: "Poppins", sans-serif;
  --white: #ffffff;
  --text-dark: #1e1515;
  --text-muted: #4a5565;
  --border: #e3e9f0;
  --badge-bg: #f7f7f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  overflow-x: hidden;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: var(--white);
  background: url("/how-it-works/bg.png") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  max-width: 900px;
  z-index: 1;
}

.hero h1 {
  font-size: 50.9px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero p {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
}

.desktop-break {
  display: inline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

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

  .desktop-break {
    display: none;
  }
}

/* ================= STEPS ================= */
.steps {
  padding: 140px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 57px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 57px;
}

.step-left {
  display: flex;
  gap: 60px;
  flex: 1;
}

.number {
  width: 72px;
  height: 72px;
  border-radius: 36px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);
  flex-shrink: 0;
}

.text-content h3 {
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.text-content p {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

.step-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-placeholder {
  width: 180px;
  height: 100%;
  background: #f2f2f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .step {
    flex-direction: column;
  }

  .step-left {
    flex-direction: row;
  }

  .svg-placeholder {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .step-left {
    gap: 20px;
    flex-direction: column;
  }
  .navbar-wrapper {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .text-content h3 {
    font-size: 28px;
  }

  .text-content p {
    font-size: 16px;
  }

  .number {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}
