:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

#progress-bar {
    height: 6px;
    background: var(--bg-light);
    position: relative;
}

#progress-fill {
    height: 100%;
    background: var(--success-color);
    width: 0%;
    transition: width 0.3s ease;
}

form {
    padding: 40px 30px;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

h2 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.radio-group label:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.radio-group input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-group label:has(input:checked) {
    border-color: var(--primary-color);
    background: #eff6ff;
    font-weight: 600;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next,
.btn-submit {
    background: var(--primary-color);
    color: white;
    flex: 1;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-prev {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-prev:hover {
    background: var(--bg-light);
    border-color: var(--text-light);
}

.btn-submit {
    background: var(--success-color);
}

.btn-submit:hover {
    background: #059669;
}

/* Result Section */
#result-content {
    text-align: center;
}

.result-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
}

.level-badge {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.result-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.result-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.use-cases {
    text-align: left;
    margin-top: 30px;
}

.use-cases h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.use-cases ul {
    list-style: none;
    padding: 0;
}

.use-cases li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.use-cases li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    form {
        padding: 30px 20px;
    }

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

    .radio-group label {
        font-size: 0.95rem;
    }
}
