@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --mickey: #E63033;
  --patolino: #231F20;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-highlight: rgba(255, 255, 255, 0.95);
  --text-primary: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-light: #ffffff;
  --accent: #0071e3;
  --success: #34c759;
  --error: #ff3b30;
  --shine-color: rgba(0, 0, 0, 0.15);
  --shine-size: 200%;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Satoshi-Variable', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-variation-settings: 'wght' 450;
  background: #fafafa;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Background effects */
.dot-bg {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--text-secondary) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
  z-index: -2;
}

.spotlight {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(235, 65, 40, 0.09) 0%, rgba(235, 65, 40, 0.02) 40%, transparent 100%);
  top: -9999px; /* Initial hidden position */
  left: -9999px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wizard-container {
  width: 100%;
  max-width: 580px;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.wizard-header {
  text-align: center;
  margin-bottom: 32px;
}

.wizard-header .logo img {
  display: inline-block;
  margin-bottom: 16px;
}

.wizard-title {
  font-variation-settings: 'wght' 700;
  font-size: 1.5rem;
  color: var(--patolino);
  margin-bottom: 4px;
}

.wizard-subtitle {
  font-variation-settings: 'wght' 500;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px var(--glass-border);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(60deg, transparent 20%, var(--mickey) 50%, transparent 80%);
  background-size: 300% 300%;
  animation: borderMove 4s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Progress bar */
.progress-container {
  margin-bottom: 32px;
}

.progress-track {
  height: 6px;
  background: rgba(0,0,0,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--mickey);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Steps */
.step {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.step.active {
  display: block;
}

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

.step-title {
  font-variation-settings: 'wght' 700;
  font-size: 1.25rem;
  color: var(--patolino);
  margin-bottom: 12px;
}

.step-description {
  font-variation-settings: 'wght' 450;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-variation-settings: 'wght' 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-variation-settings: 'wght' 450;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all 0.2s ease;
  outline: none;
}

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

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

.mt-4 {
  margin-top: 24px;
}

/* Options */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  position: relative;
}

.option-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-label {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.option-label:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.2);
}

.option-input:checked + .option-label {
  background: #fff;
  border-color: var(--mickey);
  box-shadow: 0 4px 12px rgba(230, 48, 51, 0.1);
}

.radio-indicator, .checkbox-indicator {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  margin-right: 12px;
  margin-top: 2px;
  transition: all 0.2s;
  position: relative;
}

.radio-indicator {
  border-radius: 50%;
}

.checkbox-indicator {
  border-radius: 6px;
}

.option-input:checked + .option-label .radio-indicator {
  border-color: var(--mickey);
}
.option-input:checked + .option-label .radio-indicator::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--mickey);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.option-input:checked + .option-label .checkbox-indicator {
  background: var(--mickey);
  border-color: var(--mickey);
}
.option-input:checked + .option-label .checkbox-indicator::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  top: 3px; left: 6px;
  transform: rotate(45deg);
}

.option-input:disabled + .option-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.option-text strong {
  display: block;
  font-variation-settings: 'wght' 600;
  font-size: 0.95rem;
  color: var(--patolino);
  margin-bottom: 2px;
}

.option-text small {
  display: block;
  font-variation-settings: 'wght' 450;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.options-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .options-cards {
    grid-template-columns: 1fr;
  }
}

.conditional-fields {
  display: none;
  background: rgba(0, 0, 0, 0.02);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: -8px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.context-box {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.context-box h3 {
  font-variation-settings: 'wght' 700;
  font-size: 0.8rem;
  color: var(--mickey);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.context-box ul {
  list-style: none;
  font-size: 0.95rem;
}
.context-box ul li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.context-box ul li::before {
  content: "•";
  color: var(--mickey);
  position: absolute;
  left: 0;
}

/* Nav */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn {
  padding: 12px 24px;
  font-family: inherit;
  font-variation-settings: 'wght' 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--patolino);
  color: #fff;
  border: none;
}
.btn-primary:hover:not(:disabled) {
  background: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0,0,0,0.1);
}
.btn-secondary:hover {
  background: rgba(0,0,0,0.05);
  color: var(--patolino);
}

.btn-full {
  width: 100%;
}

.step-indicator {
  font-variation-settings: 'wght' 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.error-message {
  color: var(--error);
  font-variation-settings: 'wght' 500;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Footer */
.footer {
  margin-top: 40px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-variation-settings: 'wght' 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--patolino);
}
.footer-links svg {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* Success Step */
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--success);
  stroke-width: 3;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

/* Loader */
.loader {
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
