/* ==========================================================================
   VUDAVI BUSINESS PRE-ONBOARDING STYLES (onboarding.css)
   Palette:
     - Deep Green: #005F3B / Dark Green: #073B2D / Deep Pine: #0E3B2E
     - Warm Gold: #D5A52E / Gold Hover: #BF9222 / Light Gold: #F8ECD1
     - Cream Background: #FAF8F5 / Soft Tint: #F4FAF6 / Pale Green: #EBF6F0
     - Border: #E2E8F0 / Light Border: rgba(0, 95, 59, 0.08)
   ========================================================================== */

.v-page--onboarding {
  background-color: #FAF8F5;
  color: #2D4A3E;
  font-family: var(--v-font-body, "Inter", sans-serif);
  overflow-x: clip;
}

/* ==========================================================================
   HERO / MAIN ONBOARDING SECTION
   ========================================================================== */
.hero--onboarding {
  position: relative;
  padding: 44px 0 70px;
  background-color: #FAF8F5;
  overflow: hidden;
}

/* Background botanical decoration corners - natural, subtle floating accents */
.ob-leaf-accent,
.ob-botanical-corner {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  filter: drop-shadow(0 4px 12px rgba(7, 59, 45, 0.05));
}

.ob-leaf--tl,
.ob-botanical--tl {
  top: -15px;
  left: -20px;
  width: 140px;
  max-width: 18vw;
  opacity: 0.52;
}

.ob-leaf--tr,
.ob-botanical--tr {
  top: 15px;
  right: -25px;
  width: 135px;
  max-width: 18vw;
  opacity: 0.44;
}

.ob-leaf--bl,
.ob-botanical--bl {
  bottom: 15px;
  left: -20px;
  width: 125px;
  max-width: 16vw;
  opacity: 0.40;
}

.ob-leaf--br,
.ob-botanical--br {
  bottom: 15px;
  right: -20px;
  width: 120px;
  max-width: 16vw;
  opacity: 0.38;
}

/* Main Grid */
.onboarding-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN CONTENT
   ========================================================================== */
.onboarding-left {
  display: flex;
  flex-direction: column;
}

.ob-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(213, 165, 46, 0.12);
  border: 1px solid rgba(213, 165, 46, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #005F3B;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.ob-eyebrow svg {
  color: #D5A52E;
  fill: #D5A52E;
}

.ob-hero-title {
  font-family: var(--v-font-display, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(34px, 4.3vw, 48px);
  font-weight: 800;
  color: #0E3B2E;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.ob-hero-title .gold-accent {
  color: #D5A52E;
  position: relative;
  display: inline-block;
}

.ob-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4A6B5D;
  margin-bottom: 34px;
  max-width: 530px;
}

/* 3 Benefits Points */
.ob-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.ob-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ob-benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #EBF6F0;
  color: #005F3B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 95, 59, 0.08);
}

.ob-benefit-text h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #0E3B2E;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ob-benefit-text p {
  font-size: 14px;
  line-height: 1.5;
  color: #4A6B5D;
  margin: 0;
}

/* Info Box */
.ob-info-box {
  background: #FFF9ED;
  border: 1px solid #F5E2B3;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
  max-width: 540px;
}

.ob-info-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #D5A52E;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ob-info-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #2A2518;
  margin-bottom: 3px;
}

.ob-info-content p {
  font-size: 13px;
  line-height: 1.45;
  color: #6E5C36;
  margin: 0;
}

/* Mini Dashboard Card Mockup */
.ob-mini-preview {
  background: #FFFFFF;
  border: 1px solid rgba(0, 95, 59, 0.1);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(14, 59, 46, 0.08);
  overflow: hidden;
  display: flex;
  position: relative;
  max-width: 530px;
  margin-top: 6px;
}

.ob-preview-sidebar {
  width: 104px;
  background: #073B2D;
  color: #FFFFFF;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.ob-preview-logo {
  font-size: 11px;
  font-weight: 800;
  color: #D5A52E;
  letter-spacing: 0.06em;
  padding: 0 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
}

.ob-preview-nav-item {
  font-size: 9.5px;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.ob-preview-nav-item.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-weight: 600;
}

.ob-preview-nav-item svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.ob-preview-main {
  padding: 16px 18px;
  flex: 1;
  background: #FAF9F6;
  position: relative;
  overflow: hidden;
}

.ob-preview-bg-leaf {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 76px;
  opacity: 0.22;
  pointer-events: none;
}

.ob-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ob-preview-header-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #EBF6F0;
  color: #005F3B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-preview-header-icon svg {
  width: 12px;
  height: 12px;
}

.ob-preview-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0E3B2E;
  margin: 0;
}

.ob-preview-sub {
  font-size: 10px;
  color: #64748B;
  margin: 0 0 14px 30px;
}

.ob-preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ob-preview-kpi-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 95, 59, 0.08);
  border-radius: 10px;
  padding: 10px 8px;
}

.ob-preview-kpi-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ob-preview-kpi-badge--green {
  background: #EBF6F0;
  color: #005F3B;
}

.ob-preview-kpi-badge--blue {
  background: #E0F2FE;
  color: #0284C7;
}

.ob-preview-kpi-badge--gold {
  background: #FFFBEB;
  color: #D97706;
}

.ob-preview-kpi-val {
  font-size: 14px;
  font-weight: 800;
  color: #0E3B2E;
  line-height: 1.1;
}

.ob-preview-kpi-lbl {
  font-size: 8.5px;
  color: #64748B;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   RIGHT COLUMN: PRE-ONBOARDING FORM CARD
   ========================================================================== */
.onboarding-right {
  position: relative;
}

.ob-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 95, 59, 0.08);
  border-radius: 28px;
  padding: 40px 38px;
  box-shadow: 0 20px 50px rgba(14, 59, 46, 0.07);
  position: relative;
  overflow: hidden;
}

/* Botanical sprig in top-right corner of the card */
.ob-form-corner-leaf {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 70px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

.ob-form-header {
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.ob-form-title {
  font-family: var(--v-font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #0E3B2E;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.ob-form-sub {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

/* Form Groups and Inputs */
.ob-form {
  position: relative;
  z-index: 1;
}

.ob-form-group {
  margin-bottom: 16px;
}

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

.ob-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}

.ob-form-label .req {
  color: #EF4444;
  margin-left: 2px;
}

.ob-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.ob-input-wrap:focus-within {
  border-color: #005F3B;
  box-shadow: 0 0 0 3px rgba(0, 95, 59, 0.12);
}

.ob-input-icon {
  position: absolute;
  left: 14px;
  color: #005F3B;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  color: #0E3B2E;
  font-family: inherit;
}

.ob-input::placeholder {
  color: #94A3B8;
}

.ob-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 38px;
}

.ob-select-arrow {
  position: absolute;
  right: 14px;
  color: #64748B;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone Number Combo */
.ob-phone-combo {
  display: flex;
  gap: 10px;
}

.ob-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ob-phone-prefix svg {
  color: #005F3B;
}

.ob-phone-prefix .chevron {
  color: #64748B;
}

.ob-phone-combo .ob-input-wrap {
  flex: 1;
}

/* Submit Button */
.btn-ob-submit {
  margin-top: 10px;
  width: 100%;
  background: #005F3B;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 95, 59, 0.22);
}

.btn-ob-submit:hover {
  background: #073B2D;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 95, 59, 0.3);
}

.btn-ob-submit:active {
  transform: translateY(0);
}

/* Privacy Note */
.ob-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #64748B;
  text-align: center;
}

.ob-privacy-note svg {
  color: #005F3B;
  flex-shrink: 0;
}

/* Success Message Box */
.ob-success-msg {
  display: none;
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: 14px;
  padding: 18px 20px;
  color: #065F46;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.ob-success-msg h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #065F46;
}

.ob-success-msg p {
  margin: 0;
  font-size: 13.5px;
  color: #047857;
}

.ob-form-alert {
  margin-bottom: 16px;
  font-size: 13.5px;
}

.ob-form-alert[hidden] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ob-form-group.has-error .ob-input,
.ob-form-group.has-error .ob-select {
  border-color: #b42318;
  background-color: #fffbfa;
}

.ob-field-error {
  font-size: 12px;
  color: #b42318;
  margin: 6px 0 0;
  padding-left: 2px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LOWER TRUST / WHY VUDAVI SECTION
   ========================================================================== */
.section-why--onboarding {
  padding: 84px 0 96px;
  position: relative;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.6) 0%, rgba(244, 250, 246, 0.85) 100%);
  border-top: 1px solid rgba(0, 95, 59, 0.06);
  overflow: hidden;
}

.ob-why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.ob-why-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(213, 165, 46, 0.12);
  border: 1px solid rgba(213, 165, 46, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: #005F3B;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ob-why-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D5A52E;
}

.ob-why-title {
  font-family: var(--v-font-display, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  color: #0E3B2E;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ob-why-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4A6B5D;
  margin: 0;
}

.ob-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.ob-why-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 95, 59, 0.08);
  border-radius: 22px;
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(14, 59, 46, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ob-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 59, 46, 0.09);
}

.ob-why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EBF6F0;
  color: #005F3B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background-color 0.2s, transform 0.2s;
}

.ob-why-card:hover .ob-why-icon-wrap {
  background: #005F3B;
  color: #FFFFFF;
  transform: scale(1.05);
}

.ob-why-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0E3B2E;
  margin-bottom: 10px;
  line-height: 1.3;
}

.ob-why-card-desc {
  font-size: 14px;
  color: #4A6B5D;
  line-height: 1.55;
  margin: 0;
}

/* Shared footer styles are inherited directly from customer-home.css */

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .onboarding-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .onboarding-left {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .onboarding-right {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .ob-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero--onboarding {
    padding: 30px 0 50px;
  }

  .ob-form-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

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

  .ob-why-grid {
    grid-template-columns: 1fr;
  }


  .ob-leaf-accent,
  .ob-botanical-corner {
    display: none;
  }
}

@media (max-width: 480px) {
  .ob-preview-kpis {
    grid-template-columns: 1fr;
  }

  .ob-preview-sidebar {
    width: 85px;
  }

  .ob-preview-nav-item {
    font-size: 8.5px;
  }
}
