/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #e1e1e1;
  min-height: 100vh;
}

/* ===== Page Container ===== */
.page {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.ob-header {
  background-color: #e1e1e1;
  padding: 40px 30px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ob-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.door-icon {
  width: 42px;
  height: 60px;
  overflow: hidden;
}

.door-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(83, 54, 209, 0.5);
  border-radius: 10px;
  text-decoration: none;
  height: 40px;
  transition: background-color 0.2s ease;
}

.support-btn:hover {
  background-color: rgba(83, 54, 209, 0.05);
}

.support-icon {
  width: 23px;
  height: 23px;
  display: block;
}

.support-btn span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #060606;
}

/* ===== Main Content ===== */
.ob-content {
  flex: 1;
  padding: 30px 30px 0;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.ob-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #000;
  line-height: normal;
  margin-bottom: 16px;
}

.ob-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #000;
  line-height: normal;
  width: 260px;
  margin-bottom: 40px;
}

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #d9d9d9;
}

.step-text {
  flex: 1;
}

.step-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  line-height: normal;
  margin-bottom: 10px;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.step-desc {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #000;
  line-height: normal;
  max-width: 230px;
}

.step-img {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Footer ===== */
.ob-footer {
  background-color: #e1e1e1;
  padding: 30px;
  display: flex;
  justify-content: center;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.btn-comencemos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: 40px;
  background-color: #5336d1;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-comencemos:hover {
  opacity: 0.9;
}

.btn-comencemos:active {
  transform: scale(0.98);
}

/* ===== Desktop (768px+) ===== */
@media (min-width: 768px) {
  .ob-header {
    padding: 40px 60px 30px;
  }

  .ob-content {
    padding: 50px 60px 0;
  }

  .ob-title {
    font-size: 34px;
    max-width: 500px;
    margin-bottom: 20px;
  }

  .ob-subtitle {
    font-size: 14px;
    width: 400px;
    margin-bottom: 48px;
  }

  .steps {
    flex-direction: row;
    gap: 32px;
  }

  .step {
    flex-direction: column;
    flex: 1;
    border-bottom: none;
    border-right: 1px solid #d9d9d9;
    padding: 0 32px 0 0;
    gap: 16px;
  }

  .step:last-child {
    border-right: none;
    padding-right: 0;
  }

  .step-text {
    order: 1;
  }

  .step-img {
    order: 0;
    width: 100%;
    height: 140px;
    min-width: unset;
  }

  .step-heading {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .step-desc {
    font-size: 13px;
    max-width: none;
    line-height: 1.5;
  }

  .support-btn span {
    font-size: 13px;
  }

  .ob-footer {
    padding: 36px 60px;
  }

  .btn-comencemos {
    max-width: 400px;
    height: 48px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* ===== Large Desktop (1024px+) ===== */
@media (min-width: 1024px) {
  .ob-header-inner {
    max-width: 1100px;
  }

  .ob-content {
    max-width: 1100px;
    padding: 60px 80px 0;
  }

  .ob-title {
    font-size: 38px;
    max-width: 550px;
  }

  .ob-subtitle {
    font-size: 15px;
    width: 450px;
  }

  .steps {
    gap: 40px;
  }

  .step {
    padding: 0 40px 0 0;
  }

  .step-img {
    height: 160px;
  }

  .step-heading {
    font-size: 20px;
  }

  .step-desc {
    font-size: 14px;
  }
}

/* ===== Modal inicial ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 10px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 320px;
  padding: 44px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  text-align: center;
  line-height: normal;
  max-width: 220px;
}

.modal-dropdown-wrap {
  width: 100%;
}

.modal-dropdown {
  width: 100%;
  height: 38px;
  border: 0.5px solid rgba(98, 98, 98, 0.52);
  border-radius: 3px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  padding: 0 10px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23626262' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.modal-btn {
  width: 100%;
  height: 40px;
  background-color: #5336d1;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-btn:hover {
  opacity: 0.9;
}

.modal-footer-text {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 9px;
  color: #777;
  text-align: center;
  line-height: normal;
  max-width: 220px;
}

/* ===== Toast Notifications ===== */
.ligo-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #333;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 90%;
  text-align: center;
}
.ligo-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.ligo-toast.error { background: #d32f2f; }
.ligo-toast.success { background: #2e7d32; }
