:root {
            --primary: #2c3e50;
            --accent: #3498db;
            --success: #27ae60;
            --warning: #f39c12;
            --danger: #e74c3c;
            --gray-100: #f8f9fa;
            --gray-200: #e9ecef;
            --gray-500: #6c757d;
            --gray-800: #343a40;
        }
        
        * { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
        body { margin: 0; background: var(--gray-100); color: var(--gray-800); line-height: 1.5; }
        .container { max-width: 700px; margin: 0 auto; padding: 20px; }
        
        .header { text-align: center; padding: 30px 20px; background: var(--primary); color: white; }
        .header h1 { margin: 0; font-size: 28px; }
        .header p { margin: 8px 0 0; opacity: 0.9; }
        
        .progress { display: flex; justify-content: center; gap: 8px; padding: 20px; background: white; border-bottom: 1px solid var(--gray-200); }
        .progress-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gray-200); }
        .progress-dot.active { background: var(--accent); }
        .progress-dot.done { background: var(--success); }
        
        .card { background: white; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
        .card h2 { margin: 0 0 16px; font-size: 18px; color: var(--primary); }
        
        .step { display: none; }
        .step.active { display: block; }
        
        .guitar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
        .guitar-card { border: 2px solid var(--gray-200); border-radius: 8px; padding: 16px; cursor: pointer; transition: all 0.15s; }
        .guitar-card:hover { border-color: var(--accent); }
        .guitar-card.selected { border-color: var(--success); background: #f0fff4; }
        .guitar-card .tag { background: var(--primary); color: white; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; }
        .guitar-card h3 { margin: 8px 0 4px; font-size: 15px; }
        .guitar-card .meta { font-size: 13px; color: var(--gray-500); }
        .guitar-card .value { font-weight: 600; color: var(--success); margin-top: 8px; }
        
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        @media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
        .form-group { margin-bottom: 16px; }
        .form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
        .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: 16px; }
        .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15); }
        
        .pricing-result { background: var(--gray-100); border-radius: 8px; padding: 20px; margin: 20px 0; }
        .pricing-result h3 { margin: 0 0 12px; }
        .pricing-result .tier { font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }
        .pricing-result .price { font-size: 32px; font-weight: 700; color: var(--success); }
        .pricing-result .price span { font-size: 16px; font-weight: 400; }
        .pricing-result .deposit { margin-top: 8px; font-size: 14px; }
        .pricing-result .deposit.none { color: var(--success); }
        .pricing-result .note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-500); }
        
        .tier-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
        .tier-badge.non-student { background: #ffeaa7; color: #d68910; }
        .tier-badge.new-student { background: #dfe6e9; color: #2d3436; }
        .tier-badge.established { background: #d5f5e3; color: #1e8449; }
        
        .agreement-box { max-height: 250px; overflow-y: auto; padding: 16px; background: var(--gray-100); border-radius: 6px; font-size: 13px; margin-bottom: 20px; }
        .agreement-box h4 { margin: 16px 0 8px; }
        .agreement-box h4:first-child { margin-top: 0; }
        
        .signature-pad { border: 2px dashed var(--gray-200); border-radius: 6px; background: white; margin-bottom: 8px; }
        .signature-pad canvas { display: block; width: 100%; cursor: crosshair; touch-action: none; }
        .signature-pad .hint { text-align: center; padding: 8px; font-size: 12px; color: var(--gray-500); border-top: 1px solid var(--gray-200); }
        
        .checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
        .checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
        .checkbox-row label { font-size: 14px; cursor: pointer; }
        
        .guardian-section { display: none; background: #fff9e6; padding: 20px; border-radius: 8px; margin-top: 20px; }
        .guardian-section.visible { display: block; }
        .guardian-section h3 { margin: 0 0 16px; color: var(--warning); }
        
        .summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
        .summary-row:last-child { border: none; }
        .summary-row .label { color: var(--gray-500); }
        .summary-row .value { font-weight: 600; }
        .summary-row.total { font-size: 18px; }
        .summary-row.total .value { color: var(--success); }
        
        .btn { padding: 14px 24px; font-size: 16px; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; transition: all 0.15s; }
        .btn-primary { background: var(--success); color: white; }
        .btn-primary:hover { background: #219a52; }
        .btn-primary:disabled { background: var(--gray-500); cursor: not-allowed; }
        .btn-secondary { background: var(--gray-200); color: var(--gray-800); }
        .btn-secondary:hover { background: #dde1e5; }
        .btn-row { display: flex; justify-content: space-between; margin-top: 24px; }
        
        .error-msg { background: #fce4ec; color: var(--danger); padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; display: none; }
        .error-msg.visible { display: block; }
        
        .success-state { text-align: center; padding: 40px 20px; }
        .success-state .icon { font-size: 64px; margin-bottom: 16px; }
        .success-state h2 { margin: 0 0 8px; }
        .success-state p { color: var(--gray-500); }
        
        .loading { position: fixed; inset: 0; background: rgba(255,255,255,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; }
        .loading.visible { display: flex; }
        .spinner { width: 40px; height: 40px; border: 3px solid var(--gray-200); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }
        
        .email-lookup { display: flex; gap: 8px; }
        .email-lookup input { flex: 1; }
        .email-lookup button { white-space: nowrap; }
        
        .info-box { background: #e3f2fd; border-radius: 6px; padding: 12px 16px; font-size: 13px; color: #1565c0; margin-top: 12px; }
        .info-box.warning { background: #fff3e0; color: #ef6c00; }