  :root {
    --bg: #f8fafc;
    --card: #ffffff;
    --muted: #475569;
    --text: #0f172a;
    --ok: #16a34a;
    --warn: #ca8a04;
    --accent: #2563eb;
    --border: #e2e8f0;
    --purple: #7c3aed;
  }
  
  * { box-sizing: border-box; margin: 0; padding: 0; }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
  }
  
  /* Header */
  header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 2px solid var(--border);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  
  .logo {
    max-width: 140px;
    height: auto;
  }
  
  .timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
  }
  
  .timer.warning {
    background: #fecaca;
    color: #991b1b;
    animation: pulse 1s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
  }
  
  /* Stepper */
  .stepper {
    position: sticky;
    top: 72px;
    background: #fff;
    border-bottom: 2px solid var(--border);
    z-index: 90;
  }
  
  .stepper-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .stepper-wrap::-webkit-scrollbar { display: none; }
  
  .step {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .step:hover {
    border-color: var(--accent);
    background: #f0f9ff;
  }
  
  .step.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  
  .step.completed {
    background: var(--ok);
    color: #fff;
    border-color: var(--ok);
  }
  
  .progress {
    height: 4px;
    background: var(--border);
  }
  
  .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    width: 0%;
    transition: width 0.3s ease;
  }
  
  /* Main content */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 100px;
  }
  
  section {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    display: none;
  }
  
  section.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text);
  }
  
  .section-subtitle {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .hint {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
    font-style: italic;
  }
  
  /* Forms */
  .form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
  }
  
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s;
  }
  
  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
  }
  
  /* Questions */
  .question {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .question h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
  }
  
  .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .option:hover {
    border-color: var(--accent);
    background: #f0f9ff;
  }
  
  .option input[type="radio"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
  }
  
  /* Buttons */
  .nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
  }
  
  .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn-primary {
    background: var(--accent);
    color: #fff;
  }
  
  .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  }
  
  .btn-secondary {
    background: var(--border);
    color: var(--text);
  }
  
  .btn-secondary:hover {
    background: #cbd5e1;
  }
  
  .btn-danger {
    background: #dc2626;
    color: #fff;
  }
  
  .btn-danger:hover {
    background: #b91c1c;
  }
  
  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
  }
  
  .step-indicator {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
  }
  
  /* Welcome screen */
  .welcome-screen {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .welcome-screen h1 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text);
  }
  
  .welcome-screen .subtitle {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 40px;
  }
  
  .welcome-screen .logo-large {
    max-width: 200px;
    margin-bottom: 32px;
  }
  
  /* Instructions */
  .instructions {
    text-align: left;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
  }
  
  .instructions h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text);
  }
  
  .instructions ul {
    list-style: none;
    padding: 0;
  }
  
  .instructions li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  
  .instructions li:last-child {
    border-bottom: none;
  }
  
  .instructions .icon {
    font-size: 20px;
    flex-shrink: 0;
  }
  
  .alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid;
  }
  
  .alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
  }
  
  .alert-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
  }
  
  .alert-success {
    background: #dcfce7;
    border-color: #16a34a;
    color: #166534;
  }
  
  .alert-danger {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
  }
  
  /* Completion */
  .completion-screen {
    text-align: center;
    padding: 48px 0;
  }
  
  .completion-icon {
    font-size: 80px;
    margin-bottom: 24px;
  }
  
  .completion-screen h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .spinner {
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 30px auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Modal Overlay */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.2s ease;
  }
  
  .modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  /* Modal */
  .modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
    z-index: 9999;
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .modal-header {
    padding: 24px 32px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .modal-icon {
    font-size: 40px;
    flex-shrink: 0;
  }
  
  .modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
  }
  
  .modal-body {
    padding: 32px;
  }
  
  .modal-body p {
    margin-bottom: 24px;
    line-height: 1.6;
    color: var(--text);
  }
  
  .missing-items {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
  }
  
  .missing-items h4 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .missing-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .missing-list li {
    padding: 8px 0;
    color: #92400e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .missing-list li:before {
    content: "⚠️";
    flex-shrink: 0;
  }
  
  .modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
  }
  
  .stat-card {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
  }
  
  .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
  }
  
  .stat-label {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  
  .modal-footer {
    padding: 24px 32px;
    border-top: 2px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }
  
  .modal-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: 16px;
    padding: 14px 24px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .header-wrap {
      flex-direction: column;
      align-items: flex-start;
    }
    
    main {
      padding: 24px 16px 100px;
    }
  
    section {
      padding: 24px;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .nav-buttons {
      flex-direction: column;
    }
  
    .modal {
      margin: 20px;
    }
  
    .modal-header {
      padding: 20px;
    }
  
    .modal-body {
      padding: 20px;
    }
  
    .modal-footer {
      padding: 20px;
      flex-direction: column-reverse;
    }
  
    .modal-footer .btn {
      width: 100%;
    }
  
    .modal-stats {
      grid-template-columns: 1fr;
    }
  }
  
  .hidden {
    display: none !important;
  }


