/* ======================================================
   SIGNUP PAGES — SHARED CSS
   Digunakan oleh: signup-expert.html & signup-client.html
   Prefix: .su-  (sign-up)
   Color theming: via CSS custom properties per halaman
     --su-color        : warna utama (green / primary-400)
     --su-color-soft   : warna ringan (green-100 / primary-100)
     --su-color-xsoft  : warna sangat ringan (green-50 / primary-50)
     --su-color-hover  : warna hover (green-600 / primary-500)
     --su-color-glow   : rgba glow untuk button shadow
   ====================================================== */


/* ======================================================
   SECTION 1: HERO
   ====================================================== */

.su-hero {
  position: relative;
  padding: 90px 0 75px;
  overflow: hidden;
  text-align: center;
}

.su-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Per-page hero gradients — set in <style> block per page */
.su-hero--expert {
  background: linear-gradient(135deg, var(--primary-900) 0%, #062B20 50%, var(--green-700) 100%);
}

.su-hero--client {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-600) 100%);
}

.su-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.su-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 7px 22px;
  margin-bottom: 22px;
}

.su-hero__badge span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--su-color);
  letter-spacing: 0.3px;
}

.su-hero__title {
  font-family: var(--font-heading);
  font-size: 44px;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.15;
}

.su-hero__sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.su-hero__cta {
  display: inline-block;
  background: var(--su-color);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 34px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--su-color-glow);
  transition: background 0.3s, transform 0.2s;
}

.su-hero__cta:hover {
  background: var(--su-color-hover);
  transform: translateY(-2px);
}


/* ======================================================
   SECTION 2: BENEFITS (3-col)
   ====================================================== */

.su-benefits {
  padding: 80px 0;
  background: var(--white);
}

.su-benefits__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.su-section-head {
  text-align: center;
  margin-bottom: 44px;
}

.su-section-head h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--neutral-900);
  margin: 0 0 10px;
}

.su-section-head p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--neutral-500);
  max-width: 560px;
  margin: 0 auto;
}

.su-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.su-benefit-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.su-benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.su-benefit-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--su-color-xsoft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}

.su-benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--neutral-900);
  margin: 0 0 10px;
}

.su-benefit-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.65;
  margin: 0;
}


/* ======================================================
   SECTION 3: HOW IT WORKS (4-step track)
   ====================================================== */

.su-steps {
  padding: 80px 0;
  background: var(--neutral-100);
}

.su-steps__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.su-steps__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

/* Connecting line (background) */
.su-steps__track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--neutral-300);
  z-index: 0;
}

/* Colored partial line (progress) */
.su-steps__track::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  width: 25%;
  height: 3px;
  background: var(--su-color);
  z-index: 1;
}

.su-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.su-step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  transition: all 0.3s;
}

.su-step__circle--active {
  background: var(--su-color);
  border: 3px solid var(--su-color);
  color: var(--white);
}

.su-step__circle--inactive {
  background: var(--white);
  border: 3px solid var(--neutral-300);
  color: var(--neutral-400);
}

.su-step h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--neutral-900);
  margin: 0 0 8px;
}

.su-step p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.55;
  margin: 0;
}


/* ======================================================
   SECTION 4: FORM + SIDEBAR
   ====================================================== */

.su-form-section {
  padding: 80px 0;
  background: var(--white);
}

.su-form-section__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.su-form-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* --- Form card --- */
.su-form-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.su-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.su-form-group {
  margin-bottom: 18px;
}

.su-form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 7px;
}

.su-form-group label .su-optional {
  font-weight: 400;
  color: var(--neutral-400);
}

.su-form-input,
.su-form-textarea,
.su-form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--neutral-900);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.su-form-input::placeholder,
.su-form-textarea::placeholder {
  color: var(--neutral-400);
}

.su-form-input:focus,
.su-form-textarea:focus,
.su-form-select:focus {
  outline: none;
  border-color: var(--su-color);
  box-shadow: 0 0 0 3px var(--su-color-glow);
}

.su-form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Radio pills */
.su-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.su-radio-pill {
  position: relative;
}

.su-radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.su-radio-pill .su-pill-label {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-300);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--neutral-500);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}

.su-radio-pill input[type="radio"]:checked + .su-pill-label {
  background: var(--su-color-xsoft);
  border-color: var(--su-color);
  color: var(--su-color-hover);
  font-weight: 600;
}

.su-radio-pill input[type="radio"]:checked + .su-pill-label::before {
  content: '● ';
  font-size: 8px;
  vertical-align: middle;
}

/* Checkbox pills */
.su-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.su-checkbox-pill {
  position: relative;
}

.su-checkbox-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.su-checkbox-pill .su-pill-label {
  display: inline-block;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-300);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--neutral-500);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}

.su-checkbox-pill input[type="checkbox"]:checked + .su-pill-label {
  background: var(--su-color-xsoft);
  border-color: var(--su-color);
  color: var(--su-color-hover);
  font-weight: 600;
}

.su-checkbox-pill input[type="checkbox"]:checked + .su-pill-label::before {
  content: '✓ ';
}

/* Submit button */
.su-submit-btn {
  display: block;
  width: 100%;
  padding: 15px 28px;
  background: var(--su-color);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 16px var(--su-color-glow);
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}

.su-submit-btn:hover {
  background: var(--su-color-hover);
  transform: translateY(-2px);
}

.su-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.su-form-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--neutral-400);
  text-align: center;
  margin-top: 14px;
}

/* Success message */
.su-success-msg {
  display: none;
  margin-top: 18px;
  padding: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-600);
}

.su-success-msg.show {
  display: block;
}

/* Error message */
.su-error-msg {
  display: none;
  margin-top: 18px;
  padding: 14px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #DC2626;
}

.su-error-msg.show {
  display: block;
}


/* --- Sidebar --- */
.su-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar: dark card */
.su-sidebar-dark {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--white);
}

.su-sidebar-dark h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  margin: 0 0 18px;
}

.su-sidebar-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.su-sidebar-step:last-child {
  margin-bottom: 0;
}

.su-sidebar-step__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--su-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--su-color);
}

.su-sidebar-step__text strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.su-sidebar-step__text span {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

/* Sidebar: white card */
.su-sidebar-white {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.su-sidebar-white h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--neutral-900);
  margin: 0 0 16px;
}

.su-sidebar-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.su-sidebar-check:last-child {
  margin-bottom: 0;
}

.su-sidebar-check__icon {
  color: var(--su-color);
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.su-sidebar-check span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--neutral-700);
  line-height: 1.55;
}

/* Sidebar: tinted card */
.su-sidebar-tinted {
  background: var(--su-color-xsoft);
  border: 1px solid var(--su-color-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}

.su-sidebar-tinted__icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.su-sidebar-tinted h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--neutral-900);
  margin: 0 0 8px;
}

.su-sidebar-tinted p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--neutral-500);
  margin: 0 0 14px;
}

.su-sidebar-email {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--su-color);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--su-color-hover);
  text-decoration: none;
  transition: background 0.2s;
}

.su-sidebar-email:hover {
  background: var(--su-color-xsoft);
}


/* ======================================================
   SECTION 5: BOTTOM CTA
   ====================================================== */

.su-cta-bottom {
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
}

.su-cta-bottom__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  /* color set inline per page */
}

.su-cta-bottom__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.su-cta-bottom h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--white);
  margin: 0 0 12px;
}

.su-cta-bottom p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.su-cta-bottom__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.su-cta-btn-primary {
  display: inline-block;
  background: var(--su-color);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.su-cta-btn-primary:hover {
  background: var(--su-color-hover);
}

.su-cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.su-cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}


/* ======================================================
   RESPONSIVE — TABLET (≤992px)
   ====================================================== */

@media (max-width: 992px) {

  .su-hero__title {
    font-size: 34px;
  }

  .su-benefits__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .su-benefits__grid .su-benefit-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .su-steps__track {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .su-form-grid {
    grid-template-columns: 1fr;
  }

  .su-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .su-sidebar > * {
    flex: 1 1 calc(50% - 10px);
    min-width: 260px;
  }

  .su-cta-bottom h2 {
    font-size: 28px;
  }
}


/* ======================================================
   RESPONSIVE — MOBILE (≤576px)
   ====================================================== */

@media (max-width: 576px) {

  .su-hero {
    padding: 60px 0 50px;
  }

  .su-hero__title {
    font-size: 28px;
  }

  .su-hero__sub {
    font-size: 15px;
  }

  .su-benefits,
  .su-steps,
  .su-form-section {
    padding: 50px 0;
  }

  .su-section-head h2 {
    font-size: 26px;
  }

  .su-benefits__grid {
    grid-template-columns: 1fr;
  }

  .su-benefits__grid .su-benefit-card:last-child {
    max-width: none;
  }

  .su-steps__track {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .su-steps__track::before,
  .su-steps__track::after {
    display: none;
  }

  .su-step__circle {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .su-form-row {
    grid-template-columns: 1fr;
  }

  .su-form-card {
    padding: 24px;
  }

  .su-sidebar {
    flex-direction: column;
  }

  .su-sidebar > * {
    flex: 1 1 100%;
    min-width: auto;
  }

  .su-cta-bottom {
    padding: 50px 0;
  }

  .su-cta-bottom h2 {
    font-size: 24px;
  }

  .su-cta-bottom__actions {
    flex-direction: column;
    align-items: center;
  }
}
