@import url('https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@400;500;600;700&family=Montserrat:wght@500;700;800&display=swap');

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

body {
  margin: 0;
  padding: 0;
  background: #000000 url('../core/landing/glitter.png') no-repeat center center fixed;
  background-size: cover;
  color: #FFFFFF;
  font-family: 'Hepta Slab', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ====== Navbar (Figma NavBar / Nav Bar) ====== */
.navbar-wrapper {
  width: 100%;
  max-width: 1442px;
  padding: 20px 45px 32px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.nav-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 7px 16px;
  width: 1352px;
  max-width: 100%;
  height: 51px;
  background: rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 12px;
  box-sizing: border-box;
}

.nav-brand .brand-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #FFFFFF;
}

.nav-brand .brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand-alcheringa {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.brand-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
}

.nav-links a {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FD8F28;
}

.nav-register-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  width: 103px;
  height: 37px;
  background: #FFFFFF;
  border-radius: 6px;
  font-family: 'Hepta Slab', serif;
  font-weight: 500;
  font-size: 16px;
  color: #161616;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.nav-register-btn:hover {
  opacity: 0.9;
}

/* ====== Stepper / Progress Bar (Figma Container 707x97) ====== */
.steps-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 707px;
  max-width: 95%;
  margin: 30px auto 40px auto;
  position: relative;
}

.step-track-line {
  position: absolute;
  top: 30px;
  height: 0px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  z-index: 1;
  transition: border-color 0.3s ease;
}

.step-track-line.line-1 {
  left: 72.5px;
  width: calc(50% - 72.5px);
}

.step-track-line.line-2 {
  left: 50%;
  width: calc(50% - 72.5px);
}

.step-track-line.completed {
  border-color: #FD8F28;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-item.step-1 {
  width: 145px;
}

.step-item.step-2 {
  width: 240px;
}

.step-item.step-3 {
  width: 145px;
}

.step-box {
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  background: #2A2A2A;
  border: 2px solid #FD8F28;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-num {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 42px;
  color: #FD8F28;
  user-select: none;
}

.check-icon {
  display: none;
}

.step-item.completed .step-box {
  background: #FD8F28;
  border-color: #FD8F28;
}

.step-item.completed .step-num {
  display: none;
}

.step-item.completed .check-icon {
  display: block;
}

.step-title {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}


/* ====== Form Container (Figma Container 1080x581 / 687 / 568) ====== */
.form-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 48px;
  width: 1080px;
  max-width: 95%;
  margin: 0 auto 60px auto;
  background: #161616;
  border-radius: 12px;
  position: relative;
}

/* Back Link */
.back-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 24px;
  width: max-content;
  color: #FFFFFF;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.8;
}

.back-link span {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
}

/* Form Title */
.form-title {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 105.46%;
  letter-spacing: -0.01em;
  color: #FD8F28;
  margin: 0 0 28px 0;
}

/* Form Grid (2 Columns, 484px each, gap 12px x 24px) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  row-gap: 24px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  display: block;
}

.form-group input,
.form-group textarea {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px 30px;
  height: 54px;
  background: #2A2A2A;
  border-radius: 12px;
  border: 1px solid transparent;
  width: 100%;
  color: #FFFFFF;
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Hepta Slab', serif;
  font-weight: 400;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #FD8F28;
}

.form-group input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Error messages */
.errorlist {
  list-style: none;
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

/* Step 3 Radio Options (Yes / No) */
.radio-options-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.radio-btn-label {
  cursor: pointer;
  margin: 0;
}

.radio-btn-label input[type="radio"] {
  display: none;
}

.radio-pill {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  height: 41px;
  min-width: 48px;
  background: rgba(42, 42, 42, 0.5);
  border: 1px solid rgba(127, 127, 127, 0.5);
  border-radius: 6px;
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
  transition: all 0.2s ease;
}

.radio-btn-label input[type="radio"]:checked + .radio-pill {
  border-color: #FD8F28;
  color: #FD8F28;
  background: rgba(42, 42, 42, 0.5);
}

/* Form Footer & Next / Submit Button */
.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
  width: 100%;
}

.next-btn, .submit-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 24px;
  gap: 8px;
  height: 50px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 23px;
  color: #FD8F28;
  font-family: 'Hepta Slab', serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.next-btn:hover, .submit-btn:hover {
  background: #222222;
  border-color: #FD8F28;
  transform: translateY(-1px);
}

.next-btn svg, .submit-btn svg {
  display: inline-block;
  transition: transform 0.2s ease;
}

.next-btn:hover svg, .submit-btn:hover svg {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .nav-links {
    gap: 24px;
  }
  .form-container {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .steps-container {
    width: 100%;
    margin: 20px auto;
  }
  .step-item.step-1, .step-item.step-3 {
    width: 90px;
  }
  .step-item.step-2 {
    width: 140px;
  }
  .step-item {
    gap: 8px;
  }
  .step-track-line.line-1 {
    left: 45px;
    width: calc(50% - 45px);
    top: 24px;
  }
  .step-track-line.line-2 {
    left: 50%;
    width: calc(50% - 45px);
    top: 24px;
  }
  .step-box {
    width: 48px;
    height: 48px;
  }
  .step-num {
    font-size: 28px;
    line-height: 32px;
  }
  .step-title {
    font-size: 11px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .form-group input,
  .form-group textarea {
    padding: 14px 20px;
    height: 48px;
  }
}