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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #374151;
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
}

.phone {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E3A8A;
    font-weight: 600;
    font-size: 18px;
}

.phone::before {
    content: "📞";
    margin-right: 8px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.progress-bar {
    background: #E5E7EB;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #10B981, #2563EB);
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 20%;
}

.step {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

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

.step-title {
    font-size: 32px;
    font-weight: bold;
    color: #1E3A8A;
    margin-bottom: 15px;
    line-height: 1.2;
}

.step-subtitle {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 40px;
}

.debt-slider-container {
    margin: 40px 0;
}

.debt-amount-display {
    font-size: 48px;
    font-weight: bold;
    color: #2563EB;
    margin-bottom: 20px;
}

.slider-container {
    position: relative;
    margin: 40px 0;
}

.debt-slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #E5E7EB;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.debt-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563EB;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.debt-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563EB;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
    color: #6B7280;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.debt-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.debt-type-option {
    padding: 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #374151;
}

.debt-type-option:hover {
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.debt-type-option.selected {
    border-color: #10B981;
    background: #A7F3D0;
    color: #065F46;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-primary {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

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

.trust-elements {
    text-align: center;
    margin-top: 30px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    color: #2563EB;
    font-size: 14px;
}

.security-badge::before {
    content: "🔒";
    margin-right: 8px;
}

.encryption-text {
    font-size: 14px;
    color: #6B7280;
}

.features-list {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #374151;
}

.feature-item::before {
    content: "✅";
    margin-right: 12px;
    font-size: 18px;
}

.tcpa-text {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.5;
    color: #6B7280;
    text-align: left;
}

.address-help {
    font-size: 14px;
    color: #6B7280;
    margin-top: 8px;
}

.address-help a {
    color: #2563EB;
    text-decoration: none;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .step-title {
        font-size: 24px;
    }

    .debt-amount-display {
        font-size: 36px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .debt-type-grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 15px 20px;
    }

    .logo img {
        height: 55px;
        max-width: 280px;
    }
}

.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #10B981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
