/* ========================================
   FORMULAIRE 7 ÉTAPES - TOMORROW.ONLINE
   ======================================== */

/* === PAYMENT CLOSE BUTTON === */
.payment-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* === MODAL CONTAINER === */
.modal {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
  /* S'assurer que la modal s'affiche TOUJOURS en haut de viewport */
  margin: 0 !important;
  padding: 0 !important;
}

/* Cacher WhatsApp quand le modal est ouvert */
body:has(.modal:not(.hidden)) .whatsapp-float {
  display: none !important;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  z-index: 10;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  height: 100vh;
  background: var(--white);
  color: var(--void);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
  position: relative;
  z-index: 20;
  overflow: hidden;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* === HEADER === */
.modal-header {
  flex-shrink: 0;
  background: var(--white);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md);
  z-index: 10;
}

.modal-header-content {
  max-width: 1400px;
  margin: 0 auto;
}

.step-indicator {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
}

.progress-bar {
  height: 4px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  transition: width 0.5s ease;
}

/* === BODY === */
.modal-body {
  flex: 1;
  overflow: hidden;
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* Step 7 has NO padding in modal-body */
.modal-body:has(.step-7) {
  padding: 0;
  overflow: hidden;
}

/* Step 8 - Force BLACK background on modal-body */
.modal-body:has(.step-8) {
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #0A0A0A !important;
}

/* === FORM STEP === */
.form-step {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease-out;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Step 7 : fond BLANC pour lisibilité formulaire CB */
.step-7 {
  background: var(--white) !important;
  color: var(--void) !important;
  overflow-y: hidden;
}

.step-header {
  margin-bottom: 2rem;
  border-left: 4px solid;
  border-image: linear-gradient(to right, #FF5500 0%, #FF0000 60%, #660000 100%) 1;
  padding-left: 1.5rem;
}

.step-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.step-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-grid-4 .form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.step-grid-4 .vibe-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--void);
}

.form-label-small {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.required {
  color: var(--gradient-rose);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.02);
  border: 2px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--void);
  background: rgba(0, 0, 0, 0.05);
}

.form-textarea {
  resize: none;
  font-family: inherit;
}

/* === ARCHETYPE GRID === */
.archetype-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .archetype-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .archetype-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.archetype-card {
  padding: 1rem 0.75rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.archetype-card:hover {
  background: var(--void);
  color: var(--white);
  border-color: var(--void);
}

.archetype-card.selected {
  background: var(--void);
  color: var(--white);
  border-color: var(--void);
  box-shadow: 6px 6px 0 0 var(--gradient-rose);
}

.archetype-icon {
  font-size: 1.75rem;
  transition: transform var(--transition-base);
}

.archetype-card:hover .archetype-icon {
  transform: scale(1.1);
}

.archetype-name {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.archetype-desc {
  font-size: 0.6rem;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1.2;
}

/* === VIBE BOX === */
.vibe-box {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.range-group {
  position: relative;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.range-input {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  appearance: none;
  cursor: pointer;
  outline: none;
  border-radius: 100px;
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gradient-main);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--gradient-main);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast);
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-value {
  position: absolute;
  top: -1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--void);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

/* === COPYWRITING === */
.copywriting-group {
  margin-top: 1.5rem;
}

.copy-buttons {
  display: flex;
  gap: 1rem;
}

.copy-btn {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.copy-btn:hover {
  border-color: var(--void);
}

.copy-btn.selected {
  background: var(--void);
  color: var(--white);
  border-color: var(--void);
  box-shadow: 4px 4px 0 0 var(--gradient-rose);
}

.copy-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--gradient-rose);
  color: var(--white);
  font-size: 0.625rem;
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(12deg);
}

/* === FILE UPLOAD === */
.file-upload {
  position: relative;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  background: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.file-upload:hover {
  border-color: var(--gradient-rose);
  background: rgba(180, 7, 254, 0.02);
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Cacher le texte "Aucun fichier choisi" */
.file-input::file-selector-button {
  display: none;
}

.file-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.5;
  pointer-events: none;
}

.file-sublabel {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
  opacity: 0.6;
}

.file-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  max-height: 60px;
  overflow-y: auto;
}

.file-item {
  background: var(--void);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.file-remove {
  background: none;
  border: none;
  color: var(--gradient-rose);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* === PACK SELECTION === */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pack-card {
  text-align: left;
  padding: 2rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.pack-card:hover {
  border-color: var(--void);
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
}

.pack-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.pack-name {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pack-card:hover .pack-name {
  color: var(--gradient-rose);
}

.pack-price {
  background: var(--void);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  transform: skewX(-12deg);
}

.pack-desc {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pack-action {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}

/* Pack Selected */
.pack-selected {
  margin-bottom: 3rem;
}

.pack-selected-header {
  background: var(--void);
  color: var(--white);
  padding: 2rem;
  box-shadow: 8px 8px 0 0 var(--gradient-rose);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pack-selected-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
}

.pack-selected-name {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pack-change {
  background: none;
  border: none;
  color: var(--gradient-rose);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.pack-change:hover {
  color: var(--white);
}

/* === UPSELLS === */
.upsells-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.upsells-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient-main);
}

.upsells-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1200px) {
  .upsells-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .upsells-list {
    grid-template-columns: 1fr;
  }
}

.upsell-card {
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 4px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

.upsell-info {
  position: relative;
  z-index: 100;
}

.upsell-info:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.upsell-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: all var(--transition-base);
}

.upsell-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 240, 1) 100%);
  border-color: rgba(255, 85, 0, 0.3);
  transform: translateX(4px);
  box-shadow: -4px 4px 16px rgba(255, 85, 0, 0.1);
}

.upsell-card:hover::before {
  background: var(--gradient-main);
}

.upsell-card.selected {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.08) 0%, rgba(255, 0, 0, 0.05) 100%);
  border-color: #FF5500;
  transform: translateX(8px);
  box-shadow: -8px 8px 24px rgba(255, 85, 0, 0.2);
}

.upsell-card.selected::before {
  background: var(--gradient-main);
  width: 6px;
}

.upsell-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.upsell-check {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
}

.upsell-card:hover .upsell-check {
  border-color: rgba(255, 85, 0, 0.5);
  transform: scale(1.1);
}

.upsell-card.selected .upsell-check {
  background: var(--gradient-main);
  border-color: #FF5500;
  color: var(--white);
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.upsell-content {
  flex: 1;
}

.upsell-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.upsell-name {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--void);
}

.upsell-card.selected .upsell-name {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.upsell-info {
  font-size: 0.875rem;
  opacity: 0.6;
  cursor: help;
  transition: opacity var(--transition-fast);
  position: relative;
}

.upsell-info:hover {
  opacity: 1;
}

.upsell-info::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--void);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  white-space: normal;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 100;
}

.upsell-info::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  border: 6px solid transparent;
  border-top-color: var(--void);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 100;
}

.upsell-info:hover::after,
.upsell-info:hover::before {
  opacity: 1;
}

.upsell-info:hover::after {
  transform: translateX(-50%) translateY(-12px);
}

.upsell-desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
  color: var(--void);
}

.upsell-price {
  font-size: 1.25rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
  flex-shrink: 0;
  border-radius: 4px;
  transition: all var(--transition-base);
}

.upsell-card.selected .upsell-price {
  background: var(--gradient-main);
  color: var(--white);
  transform: scale(1.1);
}

/* Upsell Extras */
.upsell-extra {
  margin-left: 3rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--void);
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
}

.upsell-extra-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.upsell-icon {
  font-size: 1.5rem;
}

.upsell-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.upsell-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  outline: none;
}

.upsell-input:focus {
  border-color: var(--gradient-rose);
}

.upsell-input-number {
  width: 80px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.upsell-extra-divider {
  border-top: 2px solid rgba(0, 0, 0, 0.05);
  margin: 1.5rem 0;
}

.upsell-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Language Grid */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.lang-option.selected {
  border-color: var(--void);
  background: rgba(0, 0, 0, 0.03);
}

.lang-icon {
  font-size: 1.25rem;
}

.lang-name {
  font-size: 0.75rem;
  font-weight: 700;
}

/* === VALIDATION (Step 6) === */
.step-6 .step-grid {
  gap: 1rem;
  max-height: 450px;
}

.step-6 .form-group {
  gap: 0.75rem;
}

.domain-box,
.care-box,
.contact-box {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
}

.care-box {
  background: rgba(0, 0, 0, 0.02);
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 4px;
}

.care-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--void);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.care-desc {
  font-size: 0.75rem;
  color: var(--void);
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0.8;
}

.care-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.care-toggle:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.3);
}

.care-price {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--void);
  letter-spacing: 0.05em;
}

.care-switch {
  position: relative;
  width: 48px;
  height: 28px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 100px;
  transition: background var(--transition-base);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.care-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition-base);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.care-switch.active {
  background: var(--void);
}

.care-switch.active::after {
  transform: translateX(20px);
}

.domain-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.domain-btn {
  flex: 1;
  padding: 0.65rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
}

.domain-btn:hover {
  border-color: var(--void);
}

.domain-btn.selected {
  background: var(--void);
  color: var(--white);
  border-color: var(--void);
}

.domain-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--void);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  outline: none;
  margin-bottom: 0.5rem;
}

.domain-note {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: fadeIn 0.3s ease-out;
}

.domain-note-success {
  color: #16a34a;
}

.domain-note-warning {
  color: var(--gradient-rose);
}

.contact-box {
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.btn-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--gradient-rose);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 6px 6px 0 0 #000;
  margin-top: 0.75rem;
}

.btn-submit:hover {
  background: var(--void);
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 0 #000;
}

.submit-note {
  text-align: center;
  margin-top: 0.75rem;
}

.submit-note-small {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.submit-note-highlight {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gradient-rose);
}

/* === STEP 7 - PAYMENT === */
.payment-container {
  display: flex;
  gap: 2rem;
  height: 100%;
  max-height: calc(100vh - 180px);
  overflow: hidden;
}

.payment-summary {
  flex: 0 0 280px;
  background: rgba(0, 0, 0, 0.05);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: fit-content;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.payment-summary-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--void);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.875rem;
}

.summary-line-small {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
}

.summary-line-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--void);
  border-bottom: none;
  margin-top: 0.5rem;
}

.summary-ttc {
  font-size: 1.25rem;
  color: #FF5500;
  padding-top: 0.75rem;
  border-top: 2px solid rgba(255, 85, 0, 0.3);
  margin-top: 0.75rem;
}

.summary-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

.summary-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin: 0.75rem 0 0.5rem 0;
  letter-spacing: 0.05em;
}

.payment-reassurance {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 6px;
}

.reassurance-text {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.reassurance-icon {
  flex-shrink: 0;
}

.payment-form {
  flex: 1;
  overflow-y: auto;
  padding-right: 1rem;
}

.payment-form-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--void);
  margin-bottom: 1.5rem;
}

.billing-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.billing-info .form-group {
  margin-bottom: 0;
}

.billing-info .form-label-small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--void);
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.billing-info .form-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--void);
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  width: 100%;
  transition: all 0.2s ease;
}

.billing-info .form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.billing-info .form-input:focus {
  background: rgba(0, 0, 0, 0.08);
  border-color: #FF5500;
  outline: none;
}

/* Code promo */
.promo-wrapper {
  margin-bottom: 1.5rem;
}

.promo-wrapper .form-label-small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--void);
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.promo-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--void);
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.promo-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  text-transform: none;
}

.promo-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-apply-promo {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--void);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-apply-promo:hover {
  background: rgba(255, 85, 0, 0.2);
  border-color: #FF5500;
  color: #FF5500;
}

.promo-message {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.promo-success {
  color: #22c55e;
}

.promo-error {
  color: #ef4444;
}

.care-checkbox-wrapper {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.care-checkbox-wrapper:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(255, 85, 0, 0.5);
}

.care-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.care-checkbox-input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.care-checkbox-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--void);
}

.care-checkbox-text strong {
  font-weight: 700;
  color: #FF5500;
}

.care-checkbox-text small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  line-height: 1.4;
}

.stripe-element {
  margin-bottom: 1rem;
  min-height: 40px;
}

.payment-error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.payment-error.hidden {
  display: none;
}

.btn-submit-payment {
  width: 100%;
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 85, 0, 0.4);
}

.btn-submit-payment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.payment-loader {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}

/* === SUCCESS UPSELLS (Step 7) === */
.step-7 {
  background: var(--white);
  color: var(--void);
  margin: 0;
  padding: 2rem;
  width: 100%;
  height: 100%;
  overflow-y: hidden; /* Pas de scroll sur step 7 */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.step-7 .step-title {
  color: var(--void);
}

.step-7 .step-header {
  border-image: linear-gradient(to right, #FF5500 0%, #FF0000 60%, #660000 100%) 1;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.success-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.success-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.countdown-box {
  text-align: right;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.countdown {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.success-grid-bundle {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  flex-shrink: 0;
}

.success-card {
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.success-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.success-card.selected {
  background: rgba(255, 85, 0, 0.15);
  border-color: #FF5500;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.3);
  transition: all 0.2s ease;
}

.success-card.bundle {
  border: 3px solid;
  border-image: linear-gradient(135deg, #FF5500 0%, #FF0000 50%, #660000 100%) 1;
  background: rgba(255, 85, 0, 0.1);
  box-shadow: 0 8px 32px rgba(255, 85, 0, 0.3), inset 0 0 30px rgba(255, 85, 0, 0.1);
  transform: scale(1.02);
}

.success-card.bundle:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 48px rgba(255, 85, 0, 0.5), inset 0 0 40px rgba(255, 85, 0, 0.15);
}

.success-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: linear-gradient(135deg, #FF5500 0%, #FF0000 100%);
  color: var(--white);
  font-size: 0.65rem;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.4);
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
  animation: pulse-opacity 2s ease-in-out infinite;
}

.success-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.success-check {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.3);
}

.success-card.selected .success-check {
  background: var(--gradient-main);
  border-color: #FF5500;
  color: var(--white);
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.6);
  transition: all 0.2s ease;
}

.success-content {
  flex: 1;
}

.success-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.success-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.success-info {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: help;
}

.success-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.success-price,
.success-price-bundle {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
}

.success-price-old {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.success-price-new {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 1.25rem;
}

.success-extra {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.network-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.network-option,
.network-extra {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.success-total {
  background: rgba(255, 85, 0, 0.1);
  border: 2px solid rgba(255, 85, 0, 0.3);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.success-total-label {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.success-total-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 2rem;
  flex-shrink: 0;
}

/* === SUCCESS SCREEN === */
.success-screen {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 2rem 2rem 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
  background: var(--void);
  color: var(--white);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 1.5rem;
}

.success-check-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  animation: scaleIn 0.5s ease-out, pulse-glow 2s ease-in-out infinite 0.5s;
  box-shadow: 0 8px 32px rgba(255, 85, 0, 0.5);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: braise-heat 3s ease-in-out infinite;
  flex-shrink: 0;
}

.success-subtitle {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.success-report {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 85, 0, 0.3);
  padding: 1.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 85, 0, 0.2);
  flex-shrink: 0;
}

.report-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF5500 0%, #FF0000 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.4);
  letter-spacing: 0.1em;
}

.report-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.report-item.done .report-text {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
}

.report-item.done .report-icon {
  color: #10b981;
}

.report-item.active {
  background: rgba(251, 191, 36, 0.15);
  padding: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-weight: 700;
  border-radius: 4px;
}

.report-item.active .report-icon {
  color: #fbbf24;
  animation: pulse-opacity 1.5s ease-in-out infinite;
}

.success-next {
  flex-shrink: 0;
}

.success-next-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.success-next-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.success-next-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* === FOOTER === */
.modal-footer {
  flex-shrink: 0;
  z-index: 10;
}

/* Hide footer in Step 7 */
.modal-content:has(.step-7) .modal-footer {
  display: none;
}

/* Hide footer AND header in Step 8 */
.modal-content:has(.step-8) .modal-footer,
.modal-content:has(.step-8) .modal-header {
  display: none !important;
}

/* Step 8 - Force modal-content to be fullscreen black centered */
.modal-content:has(.step-8) {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  background: #0A0A0A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: none !important;
  transform: none !important;
}

.modal-console {
  background: var(--void);
  color: var(--white);
  padding: 1rem var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.console-left,
.console-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.console-slot {
  font-size: 0.625rem;
  opacity: 0.5;
}

.console-brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.console-totals {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.console-delay {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  opacity: 0.5;
}

.console-value {
  font-size: 0.75rem;
  font-weight: 700;
}

.console-price {
  background: var(--gradient-rose);
  color: var(--void);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
}

.console-output {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.7;
  min-width: 200px;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  animation: pulse-opacity 2s ease-in-out infinite;
}

.modal-actions {
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem var(--spacing-md);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.btn-back:hover {
  color: #FF5500;
  border-color: #FF5500;
  background: rgba(255, 85, 0, 0.05);
}

.back-arrow {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.btn-back:hover .back-arrow {
  transform: translateX(-4px);
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.modal .btn-outline {
  background: none;
  border: 2px solid var(--void);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--void);
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.modal .btn-outline:hover {
  background: var(--void);
  color: var(--white);
}

.modal .btn-primary {
  background: var(--void);
  border: 2px solid var(--void);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.modal .btn-primary:hover {
  background: transparent;
  color: var(--void);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
  
  .archetype-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .pack-grid {
    grid-template-columns: 1fr;
  }
  
  .success-grid {
    grid-template-columns: 1fr;
  }
  
  .success-grid-bundle {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .modal-body {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .step-header {
    margin-bottom: 2rem;
  }
  
  .archetype-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .archetype-card {
    padding: 1rem 0.5rem;
  }
  
  .archetype-icon {
    font-size: 1.5rem;
  }
  
  .console-output {
    display: none;
  }
  
  .modal-console {
    font-size: 0.75rem;
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .modal-actions > div {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
  }
  
  .nav-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-buttons button,
  .modal-actions .btn {
    width: 100%;
    margin: 0;
  }
  
  .success-header {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .countdown-box {
    text-align: left;
  }
  
  .success-actions {
    flex-direction: column;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .modal-footer .btn {
    width: 100%;
    margin: 0;
  }
}

/* === STEP 8 SUCCESS FULLSCREEN === */
.success-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  padding: 2rem;
}

.success-container {
  max-width: 700px;
  text-align: center;
}

.success-icon-large {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.success-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #FF5500, #FF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.success-intro {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.success-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
  text-align: left;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.timeline-step.completed,
.timeline-step.active {
  opacity: 1;
}

.timeline-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.3s;
}

.timeline-step.completed .timeline-icon {
  background: rgba(0, 255, 0, 0.2);
  border-color: #00FF00;
}

.timeline-step.active .timeline-icon {
  background: rgba(255, 85, 0, 0.2);
  border-color: #FF5500;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7); }
  50% { box-shadow: 0 0 0 20px rgba(255, 85, 0, 0); }
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.timeline-text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.timeline-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0;
}

.timeline-text small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 0.5rem;
}

.timeline-connector {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: calc(1.5rem + 29px);
}

.timeline-connector.active {
  background: linear-gradient(to bottom, #FF5500, rgba(255, 85, 0, 0.2));
}

.success-note-box {
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.success-note-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FF5500;
  margin-bottom: 0.5rem;
}

.success-note-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-success-home,
.btn-success-close {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-success-home {
  background: linear-gradient(135deg, #FF5500, #FF0000);
  color: var(--white);
}

.btn-success-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 85, 0, 0.4);
}

.btn-success-close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-success-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.success-footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .success-timeline {
    gap: 0;
  }
  
  .timeline-step {
    padding: 1rem;
  }
  
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .timeline-connector {
    margin-left: calc(1rem + 24px);
    height: 30px;
  }
  
  .success-actions {
    flex-direction: column;
  }

/* === STEP 8 SUCCESS FULLSCREEN - OVERRIDE FORCE === */
.step-8.success-fullscreen,
.form-step.step-8.success-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  background: #0A0A0A !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem !important;
  margin: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  animation: fadeIn 0.3s ease-out !important;
}

.step-8 .success-container,
.success-fullscreen .success-container {
  max-width: 700px !important;
  width: 100% !important;
  text-align: center !important;
  color: #FFFFFF !important;
}

.step-8 .success-icon-large,
.success-fullscreen .success-icon-large {
  font-size: 5rem !important;
  margin-bottom: 1.5rem !important;
}

.step-8 .success-title,
.success-fullscreen .success-title {
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #FF5500, #FF0000) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase !important;
}

.step-8 .success-intro,
.success-fullscreen .success-intro {
  font-size: 1.125rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 3rem !important;
}

.step-8 .timeline-step,
.success-fullscreen .timeline-step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.5rem !important;
  padding: 1.5rem !important;
}

.step-8 .timeline-icon,
.success-fullscreen .timeline-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.75rem !important;
}

.step-8 .timeline-step.completed .timeline-icon,
.success-fullscreen .timeline-step.completed .timeline-icon {
  background: rgba(0, 255, 0, 0.2) !important;
  border-color: #00FF00 !important;
}

.step-8 .timeline-step.active .timeline-icon,
.success-fullscreen .timeline-step.active .timeline-icon {
  background: rgba(255, 85, 0, 0.2) !important;
  border-color: #FF5500 !important;
}

.step-8 .timeline-text h3,
.success-fullscreen .timeline-text h3 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.25rem !important;
}

.step-8 .timeline-text p,
.success-fullscreen .timeline-text p {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0.25rem 0 !important;
}

.step-8 .timeline-text strong,
.success-fullscreen .timeline-text strong {
  color: #FFFFFF !important;
}

.step-8 .timeline-text small,
.success-fullscreen .timeline-text small {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  display: block !important;
  margin-top: 0.5rem !important;
}

.step-8 .timeline-connector,
.success-fullscreen .timeline-connector {
  width: 2px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  margin-left: calc(1.5rem + 29px) !important;
}

.step-8 .timeline-connector.active,
.success-fullscreen .timeline-connector.active {
  background: linear-gradient(to bottom, #FF5500, rgba(255, 85, 0, 0.2)) !important;
}

.step-8 .success-note-box,
.success-fullscreen .success-note-box {
  background: rgba(255, 85, 0, 0.1) !important;
  border: 1px solid rgba(255, 85, 0, 0.3) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.step-8 .success-note-title,
.success-fullscreen .success-note-title {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #FF5500 !important;
  margin-bottom: 0.5rem !important;
}

.step-8 .success-note-text,
.success-fullscreen .success-note-text {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 !important;
}

.step-8 .success-actions,
.success-fullscreen .success-actions {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
  margin-bottom: 2rem !important;
}

.step-8 .btn-success-home,
.step-8 .btn-success-close,
.success-fullscreen .btn-success-home,
.success-fullscreen .btn-success-close {
  padding: 1rem 2rem !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.step-8 .btn-success-home,
.success-fullscreen .btn-success-home {
  background: linear-gradient(135deg, #FF5500, #FF0000) !important;
  color: #FFFFFF !important;
}

.step-8 .btn-success-close,
.success-fullscreen .btn-success-close {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.step-8 .success-footer-text,
.success-fullscreen .success-footer-text {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Success container positioning for close button */
.step-8 .success-container,
.success-fullscreen .success-container {
  position: relative !important;
  padding-top: 3rem !important;
  max-width: 1200px !important;
  width: 100% !important;
}

/* Desktop 2-column layout for step 8 */
@media (min-width: 768px) {
  .success-grid-desktop {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    align-items: start !important;
  }
  
  .step-8 .success-timeline {
    margin-bottom: 0 !important;
  }
  
  .step-8 .success-intro {
    margin-bottom: 2rem !important;
  }
}

/* Mobile keep vertical */
@media (max-width: 767px) {
  .success-grid-desktop {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
}
