/* ==========================================================================
   Quantum Apollo Star - React Luxury Design System & Aesthetics
   ========================================================================== */

:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Palette - Luxury Celestial Gold & Warm Sand */
  --bg-tone: #d9c4a4;
  --text-dark: #1e1d17;
  --text-muted: #6b675b;
  --text-subtle: #8e897e;
  --brand-olive: #56533a;
  --brand-olive-dark: #3f3d28;
  --brand-olive-light: #6d6a4c;
  --gold-accent: #d4af37;
  --gold-glow: rgba(235, 198, 126, 0.45);
  
  /* Card Design Tokens */
  --card-bg: linear-gradient(180deg, rgba(247, 243, 234, 0.12) 0%, rgba(241, 235, 222, 0.2) 100%);
  --card-border: rgba(255, 255, 255, 0.5);
  --card-shadow: 0 24px 60px rgba(45, 38, 22, 0.16), 0 4px 12px rgba(45, 38, 22, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.75);
  --card-radius: 28px;
  
  /* Button Design Tokens */
  --btn-bg: linear-gradient(180deg, #646244 0%, #4c4931 100%);
  --btn-bg-hover: linear-gradient(180deg, #716e4d 0%, #565338 100%);
  --btn-shadow: 0 8px 20px rgba(60, 57, 36, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  
  /* Input Design Tokens */
  --input-bg: rgba(255, 255, 255, 0.45);
  --input-border: rgba(86, 83, 58, 0.38);
  --input-border-focus: #56533a;
  --input-radius: 14px;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #242017;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

#root {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Background Atmosphere */
body {
  background-image: url('../assets/bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
}

/* Page Outer Container */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  min-height: 100vh;
  padding: 38px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

/* ==========================================================================
   1. Brand Header Section
   ========================================================================== */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 650px;
  margin-bottom: 22px;
  user-select: none;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brand-logo-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.brand-circuit-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: brightness(0) opacity(0.85);
}

.brand-divider {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(180deg, rgba(120, 100, 65, 0.15), rgba(120, 100, 65, 0.55), rgba(120, 100, 65, 0.15));
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.brand-sub {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #5a4e38;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  line-height: 1;
  margin-bottom: 4px;
}

.brand-main {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #2b2517;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
  line-height: 1.05;
}

.brand-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #6b5e47;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-top: 10px;
  width: 100%;
}

/* ==========================================================================
   2. Main Glass Card Container
   ========================================================================== */
.form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto 0;
}

.glass-card {
  width: 100%;
  max-width: 650px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 34px 44px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  box-shadow: none;
}

/* Top Progress Bar */
.progress-bar-container {
  width: 100%;
  margin-bottom: 16px;
}

.progress-track {
  width: 100%;
  height: 4.5px;
  background: rgba(105, 100, 80, 0.18);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #646244, #4a4731);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 10px rgba(100, 98, 68, 0.45);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: progressSweep 2.4s ease-in-out infinite;
}

@keyframes progressSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Step Counter (1 OF 5) */
.step-counter {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #6a6658;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ==========================================================================
   3. Step Panels & Inner Visual Badges
   ========================================================================== */
.step-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.step-panel.slide-in-right {
  animation: slideInRight 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-panel.slide-in-left {
  animation: slideInLeft 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-panel.pop-in-animation {
  animation: popInPanel 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes popInPanel {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Badge Row (Chevrons + Central Circle Icon) */
.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.chevron-group {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #8c8672;
  font-size: 10px;
  user-select: none;
}

.chevron-group .guide-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(140, 134, 114, 0.4);
}

.chevron-group .guide-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(140, 134, 114, 0.7);
  margin: 0 2px;
}

.chevron-group .chev {
  animation: chevronWave 2.4s ease-in-out infinite;
  display: inline-block;
  transition: all 0.2s ease;
}

.chevron-group.left .chev:nth-child(2) { animation-delay: 0s; }
.chevron-group.left .chev:nth-child(3) { animation-delay: 0.2s; }
.chevron-group.left .chev:nth-child(4) { animation-delay: 0.4s; }

.chevron-group.right .chev:nth-child(2) { animation-delay: 0.4s; }
.chevron-group.right .chev:nth-child(3) { animation-delay: 0.2s; }
.chevron-group.right .chev:nth-child(4) { animation-delay: 0s; }

@keyframes chevronWave {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
  }
}

.step-icon-badge {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid rgba(135, 126, 100, 0.45);
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b291d;
  box-shadow: 0 6px 18px rgba(75, 70, 48, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: badgeAura 3.6s ease-in-out infinite;
}

@keyframes badgeAura {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(75, 70, 48, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.85);
    border-color: rgba(135, 126, 100, 0.45);
  }
  50% {
    box-shadow: 0 8px 26px rgba(212, 175, 55, 0.35), 0 0 14px rgba(212, 175, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 175, 55, 0.7);
  }
}

.step-icon-badge svg {
  width: 30px;
  height: 30px;
  stroke: #2b291d;
  transition: transform 0.3s ease;
}

.step-panel:hover .step-icon-badge {
  transform: scale(1.06);
  border-color: rgba(90, 85, 58, 0.75);
}

.step-panel:hover .step-icon-badge svg {
  transform: scale(1.08);
}

/* Step Headings */
.step-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: #1a1913;
  margin-bottom: 8px;
  line-height: 1.22;
  letter-spacing: -0.3px;
}

.step-subtitle {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 400;
  color: #6e695c;
  margin-bottom: 28px;
  line-height: 1.4;
}

/* Input Styles with Tactile Hover & Focus Animations */
.input-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 12px;
}

.form-input {
  width: 100%;
  height: 60px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 0 22px;
  font-family: var(--font-sans);
  font-size: 16.5px;
  color: var(--text-dark);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-input:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(190, 165, 105, 0.85);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(86, 83, 58, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.form-textarea {
  height: auto;
  min-height: 130px;
  padding: 18px 22px;
  resize: vertical;
  line-height: 1.5;
  font-size: 16px;
}

.form-textarea:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(190, 165, 105, 0.85);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(86, 83, 58, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.country-prefix {
  height: 60px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.country-prefix:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(190, 165, 105, 0.85);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(86, 83, 58, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.form-input::placeholder {
  color: var(--text-subtle);
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.form-input:focus::placeholder {
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: #d4af37;
  transform: scale(1.025);
  box-shadow: 0 10px 28px rgba(86, 83, 58, 0.16), 0 0 0 3.5px rgba(212, 175, 55, 0.25);
}

.country-prefix:focus-within {
  background: rgba(255, 255, 255, 0.95);
  border-color: #d4af37;
  transform: scale(1.025);
  box-shadow: 0 10px 28px rgba(86, 83, 58, 0.16), 0 0 0 3.5px rgba(212, 175, 55, 0.25);
}

.form-input.has-error {
  border-color: #c0392b !important;
  background: rgba(255, 240, 240, 0.6) !important;
}

.input-error-msg {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #b33927;
  text-align: left;
  margin-top: 6px;
  padding-left: 6px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Phone Input with Country Code Selector */
.phone-input-row {
  display: flex;
  gap: 12px;
}

.country-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 16px;
  padding: 0 16px;
  height: 60px;
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-prefix:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(180, 160, 110, 0.6);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(86, 83, 58, 0.1);
}

.country-flag {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.country-prefix:hover .country-flag {
  transform: scale(1.15);
}

.prefix-select {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  padding-right: 4px;
}

/* Step 5: Multi-Choice Solutions Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
}

.option-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid var(--input-border);
  border-radius: var(--input-radius);
  padding: 13px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: left;
}

.option-pill input[type="checkbox"] {
  display: none;
}

.pill-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--brand-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: transparent;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.option-pill.selected {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--brand-olive);
  box-shadow: 0 4px 12px rgba(86, 83, 58, 0.1);
}

.option-pill.selected .pill-check {
  background: var(--brand-olive);
  color: #fff;
}

.pill-text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================================
   4. Step 6: Confirmation Screen
   ========================================================================== */
.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #646244, #4a4731);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(74, 71, 49, 0.35);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-badge svg {
  width: 32px;
  height: 32px;
}

@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-summary-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(86, 83, 58, 0.25);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0 22px;
  text-align: left;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(86, 83, 58, 0.2);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-val {
  font-weight: 700;
  color: var(--text-dark);
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-action-primary {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: var(--btn-bg);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--btn-shadow);
}

.btn-action-primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
}

.btn-action-outline {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--brand-olive);
  border: 1.5px solid var(--brand-olive);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* ==========================================================================
   5. Step Dots Track & Action Navigation Bar
   ========================================================================== */
.step-dots-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 26px;
  position: relative;
}

.step-dots-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 88%;
  max-width: 380px;
  padding: 0 6px;
}

.dot-connector-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: rgba(120, 114, 95, 0.32);
  z-index: 1;
}

.dot-item {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 105, 88, 0.55);
  background: #ede6d8;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.dot-item:hover {
  border-color: var(--brand-olive);
  transform: scale(1.3);
}

.dot-item.active {
  width: 14px;
  height: 14px;
  border: 2px solid var(--brand-olive);
  background: #ede6d8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(86, 83, 58, 0.45);
  position: relative;
}

.dot-item.active::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-olive);
  animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.dot-item.active::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-olive);
}

.dot-item.completed {
  border-color: var(--brand-olive);
  background: var(--brand-olive);
}

.card-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

/* Back Button */
.nav-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-back-btn:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.05);
}

/* Next > Button with Dynamic Sheen */
.nav-next-btn {
  height: 56px;
  min-width: 154px;
  padding: 0 32px;
  border-radius: 16px;
  background: var(--btn-bg);
  color: #faf6ee;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.nav-next-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  animation: btnSheen 3.6s ease-in-out infinite;
}

@keyframes btnSheen {
  0%, 65% { left: -100%; }
  100% { left: 150%; }
}

.nav-next-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--btn-bg-hover);
  box-shadow: 0 16px 32px rgba(60, 57, 36, 0.45), 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.nav-next-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-next-btn:hover .btn-arrow {
  transform: translateX(6px) scale(1.15);
}

/* ==========================================================================
   6. Bottom Feature Highlights (3 Columns with Hover Glow)
   ========================================================================== */
.bottom-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 560px;
  margin-top: 26px;
  margin-bottom: 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

.feature-col {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-col:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfc27c;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.feature-col:hover .feature-icon {
  transform: scale(1.2) rotate(6deg);
  filter: drop-shadow(0 0 12px rgba(245, 215, 127, 0.9));
  color: #fff;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.feature-col:hover .feature-text {
  transform: translateX(2px);
}

.feat-top, .feat-bot {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #f1e4ce;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.feature-col:hover .feat-top,
.feature-col:hover .feat-bot {
  color: #fff;
}

.feature-divider {
  width: 1px;
  height: 28px;
  background: rgba(220, 190, 130, 0.4);
}

/* ==========================================================================
   7. Footer Tagline & Copyright Section
   ========================================================================== */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 530px;
  margin-top: 10px;
  user-select: none;
}

.footer-tagline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
}

.footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 100, 65, 0.35), transparent);
}

.tagline-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.2px;
  color: #5a4e38;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #7a6d55;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  opacity: 0.9;
}

/* ==========================================================================
   8. Admin Leads Drawer & Modal
   ========================================================================== */
.leads-toggle-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: rgba(36, 34, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #ede6d8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.leads-toggle-btn:hover {
  background: rgba(50, 47, 32, 0.95);
  transform: translateY(-2px);
}

.leads-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 14, 10, 0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.leads-modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 80vh;
  background: #fbf8f2;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.leads-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.leads-modal-header h3 {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.leads-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.leads-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.lead-item-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lead-item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--brand-olive);
}

.lead-item-date {
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: normal;
}

.lead-detail-row {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.lead-detail-row strong {
  color: var(--text-dark);
}

.empty-leads {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

.leads-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f4eee2;
}

.btn-secondary {
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #eae3d5;
}

/* ==========================================================================
   9. Bootstrap-Style Responsive Layout (Google Forms Standard)
   ========================================================================== */

/* ==========================================================================
   9. Google Forms Standard Mobile & Desktop Responsive Architecture
   ========================================================================== */

/* ==========================================================================
   9. Mobile Responsive Layout (Matching Reference Screenshot Exactly)
   Desktop layout (>= 769px) is 100% untouched.
   ========================================================================== */

@media (max-width: 768px) {
  html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
  }

  body {
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .page-container {
    width: 100%;
    max-width: 440px;
    min-height: 100vh;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    gap: 0;
    box-sizing: border-box;
  }

  /* 1. Brand Header Stack */
  .brand-header {
    width: 100%;
    margin-bottom: 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
  }

  .brand-top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .brand-logo-wrapper {
    width: 58px;
    height: 58px;
    background: transparent;
    margin-bottom: 2px;
  }

  .brand-circuit-logo {
    width: 100%;
    height: 100%;
    filter: brightness(0) opacity(0.92);
  }

  .brand-divider {
    display: none;
  }

  .brand-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .brand-sub {
    font-family: var(--font-brand);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #1a1610;
    margin: 0;
    text-shadow: none;
    line-height: 1;
  }

  .brand-main {
    font-family: var(--font-brand);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1a1610;
    margin: 0;
    text-shadow: none;
    line-height: 1.1;
  }

  .brand-tagline {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #4a4030;
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
    max-width: 290px;
    text-shadow: none;
    text-transform: uppercase;
  }

  /* 2. Seamless Form Card */
  .form-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .glass-card {
    width: 100%;
    max-width: 390px;
    padding: 0;
    margin: 0 auto;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Progress Bar */
  .progress-bar-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 14px;
    padding: 0;
  }

  .progress-track {
    height: 5.5px;
    background: rgba(180, 165, 140, 0.45);
    border-radius: 99px;
    overflow: hidden;
  }

  .progress-fill {
    background: #524f36;
    border-radius: 99px;
  }

  /* Step Counter (1 OF 5) */
  .step-counter {
    font-family: var(--font-brand);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #3a3224;
    margin-bottom: 18px;
    text-align: center;
    text-transform: uppercase;
  }

  /* Step Panel & Icon Badge with Gold Halo */
  .step-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    width: 100%;
  }

  .chevron-group {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a89a80;
    font-size: 10px;
  }

  .chevron-group .guide-line {
    width: 30px;
    height: 1px;
    background: rgba(160, 145, 120, 0.5);
  }

  .chevron-group .guide-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(160, 145, 120, 0.8);
  }

  .step-icon-badge {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.45), 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-icon-badge svg {
    width: 28px;
    height: 28px;
    stroke: #1a1610;
    stroke-width: 2;
  }

  /* Serif Title & Subtitle */
  .step-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: #1a1610;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .step-subtitle {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: #5a4e3a;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.4;
  }

  /* Crisp Form Inputs with Gold Accent */
  .input-wrapper {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 22px;
  }

  .form-input {
    width: 100%;
    height: 56px;
    background: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 16px;
    color: #1a1610;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .form-input::placeholder {
    color: #8c8270;
    font-size: 16px;
    font-weight: 400;
  }

  .form-textarea {
    width: 100%;
    min-height: 110px;
    background: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 16px;
    color: #1a1610;
  }

  .phone-input-row {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .country-prefix {
    height: 56px;
    background: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 14px;
    padding: 0 12px;
  }

  .prefix-select {
    font-size: 14.5px;
    color: #1a1610;
    font-weight: 600;
  }

  /* Step Timeline Dots */
  .step-dots-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
  }

  .step-dots-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
  }

  .dot-connector-line {
    position: absolute;
    top: 50%;
    left: 8px;
    right: 8px;
    height: 1.5px;
    background: #cfc4b0;
    z-index: 1;
    transform: translateY(-50%);
  }

  .dot-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ede3d2;
    border: 1.5px solid #9c8e76;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .dot-item.active {
    width: 22px;
    height: 22px;
    background: #ede3d2;
    border: 1.5px solid #2e2b1f;
    box-shadow: inset 0 0 0 3.5px #ede3d2, inset 0 0 0 8px #2e2b1f;
  }

  .dot-item.completed {
    background: #524f36;
    border-color: #524f36;
  }

  /* Action Navigation Buttons */
  .card-footer-nav {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-next-btn {
    width: 100%;
    height: 54px;
    background: linear-gradient(180deg, #4d4a32 0%, #3a3721 100%);
    color: #ffffff;
    border-radius: 16px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(45, 40, 25, 0.28);
    order: 1;
  }

  .nav-back-btn {
    width: 100%;
    height: 46px;
    background: transparent;
    border: 1px solid rgba(140, 125, 95, 0.4);
    border-radius: 14px;
    color: #4a4030;
    font-size: 14.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    order: 2;
  }

  /* Bottom Footer */
  .footer-container {
    width: 100%;
    padding: 0 16px 20px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: transparent;
    flex-shrink: 0;
  }

  .footer-tagline-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-line {
    display: none;
  }

  .tagline-text {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #1a1610;
    text-align: center;
    margin: 0;
    text-shadow: none;
  }

  .footer-copyright {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #6a604b;
    text-align: center;
    margin: 0;
    text-shadow: none;
  }

  .bottom-features {
    display: none !important;
  }
}




