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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    color: #2c3e50;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

header {
    background: #172c87;
    color: white;
    padding: 48px 40px;
    text-align: center;
}

.logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 24px;
}

header h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.credits-display {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.credits-label {
    font-size: 13px;
    opacity: 0.9;
    margin-right: 8px;
    font-weight: 400;
}

.credits-amount {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.progress-bar {
    height: 4px;
    background: #e9ecef;
    position: relative;
}

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

main {
    padding: 48px 40px;
}

.form-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-section.active {
    display: block;
}

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

h2 {
    color: #1a202c;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.reward-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f9ff;
    padding: 14px 18px;
    margin-bottom: 32px;
    border-radius: 10px;
    color: #0c4a6e;
    font-size: 14px;
    border: 1px solid #e0f2fe;
}

.reward-info i {
    font-size: 18px;
    color: #172c87;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

label i {
    color: #6b7280;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fafafa;
    font-family: inherit;
}

input[type="text"]:hover,
input[type="email"]:hover,
select:hover {
    border-color: #d1d5db;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #172c87;
    background: white;
    box-shadow: 0 0 0 3px rgba(23, 44, 135, 0.1);
}

input::placeholder {
    color: #9ca3af;
}

.business-email-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 14px;
    background: #dcfce7;
    color: #166534;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.business-email-badge i {
    font-size: 14px;
}

.personal-email-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 14px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid #fde68a;
}

.personal-email-hint i {
    font-size: 14px;
}

.scale-container {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6b7280;
}

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

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #172c87;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(23, 44, 135, 0.3);
}

.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #172c87;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(23, 44, 135, 0.3);
}

.scale-value {
    text-align: center;
    margin-top: 12px;
    font-weight: 600;
    color: #172c87;
    font-size: 15px;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fafafa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid #e5e7eb;
    font-weight: 400;
}

.checkbox-group label:hover,
.radio-group label:hover {
    background: white;
    border-color: #172c87;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #172c87;
}

.other-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-input input[type="text"] {
    flex: 1;
    margin: 0;
}

.other-input input[type="text"]:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #172c87;
    color: white;
}

.btn-primary:hover {
    background: #0f1f5e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 44, 135, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: #172c87;
    border: 1.5px solid #172c87;
}

.btn-secondary:hover {
    background: #f8f9fa;
}

.upsell-box {
    text-align: center;
    padding: 48px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
}

.upsell-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #172c87 0%, #0f1f5e 100%);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.upsell-box h2 {
    margin-bottom: 12px;
    color: #1a202c;
}

.upsell-box > p {
    font-size: 16px;
    margin-bottom: 24px;
    color: #64748b;
    line-height: 1.6;
}

.total-potential {
    margin: 32px 0;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
}

.total-potential > span {
    display: block;
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.total-potential .amount {
    font-size: 48px;
    font-weight: 700;
    color: #172c87;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.button-group .btn {
    flex: 1;
}

.success-box {
    text-align: center;
    padding: 48px 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-box h2 {
    color: #1a202c;
    margin-bottom: 12px;
}

.success-box > p {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 16px;
}

.final-credits {
    margin: 32px 0;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
}

.final-credits .credits-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.final-amount {
    font-size: 56px;
    font-weight: 700;
    color: #172c87;
}

.success-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.detail-item i {
    font-size: 20px;
    color: #172c87;
    margin-top: 2px;
}

.detail-item p {
    flex: 1;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.detail-item strong {
    color: #1a202c;
}

footer {
    background: #f8f9fa;
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        border-radius: 0;
        box-shadow: none;
    }

    main {
        padding: 32px 24px;
    }

    header {
        padding: 40px 24px;
    }

    header h1 {
        font-size: 22px;
    }

    .button-group {
        flex-direction: column;
    }

    .upsell-box {
        padding: 40px 24px;
    }

    .success-box {
        padding: 40px 24px;
    }

    .total-potential .amount {
        font-size: 40px;
    }

    .final-amount {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 24px 20px;
    }

    header {
        padding: 32px 20px;
    }

    h2 {
        font-size: 20px;
    }

    .upsell-box {
        padding: 32px 20px;
    }

    .success-box {
        padding: 32px 20px;
    }
}
