:root {
    --primary: #2166f5;
    --primary-dark: #1a52d4;
    --dark: #111827;
    --muted: #6b7280;
    --bg: #f4f6fb;
    --white: #ffffff;
    --border: rgba(15, 23, 42, 0.1);
    --radius: 18px;
    --font: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--dark);
}

.eyebrow {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.hero-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-weight: 500;
    color: var(--dark);
}

.hero-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(19, 48, 130, 0.1);
    border: 1px solid var(--border);
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.hero-card ul li {
    margin-bottom: 12px;
}

.hero-card ul li a {
    color: var(--primary);
    font-weight: 600;
}

.hero-card .card-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.hero-card .card-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.section-intro h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(19, 48, 130, 0.1);
}

.benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit-card p {
    color: var(--muted);
    margin: 0;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: var(--bg);
}

.quiz-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(19, 48, 130, 0.08);
    border: 1px solid var(--border);
}

.quiz-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 12px;
}

.quiz-progress {
    width: 100%;
    height: 6px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 32px;
}

.quiz-progress__bar {
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.3s ease;
    border-radius: 999px;
}

.steps {
    display: flex;
    flex-direction: column;
}

.step {
    display: none;
    animation: fade 0.3s ease;
}

.step.active {
    display: block;
}

.step-label {
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--dark);
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.option {
    position: relative;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: var(--white);
    transition: all 0.2s ease;
}

.option:hover {
    border-color: var(--primary);
    background: rgba(33, 102, 245, 0.05);
}

.option input {
    display: none;
}

.option span {
    font-weight: 500;
    color: var(--dark);
}

.option input:checked + span {
    color: var(--primary);
}

.option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(33, 102, 245, 0.08);
}

.form-control,
.form-select {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--dark);
    font-size: 1rem;
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 102, 245, 0.1);
}

.form-control::placeholder {
    color: rgba(107, 114, 128, 0.5);
}

.form-label {
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    display: block;
}

.contact-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(33, 102, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(33, 102, 245, 0.4);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--dark);
}

.btn-outline-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(33, 102, 245, 0.05);
}

.btn-link {
    color: var(--muted);
    text-decoration: none;
    background: none;
    padding: 14px 0;
}

.btn-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.footnote {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 16px;
    line-height: 1.5;
}

.alert {
    border-radius: 12px;
    padding: 16px 20px;
    border: none;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    background: var(--dark);
    color: #9ca3af;
}

.site-footer a {
    color: #e5e7ff;
}

.site-footer a:hover {
    color: var(--white);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-md-end {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.g-4 {
    gap: 1.5rem;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.d-none {
    display: none;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-card {
        margin-top: 40px;
    }

    .quiz-wrapper {
        padding: 32px 24px;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .text-md-end {
        text-align: left;
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .benefits {
        padding: 60px 0;
    }

    .quiz-section {
        padding: 60px 0;
    }

    .quiz-wrapper {
        padding: 24px 20px;
    }

    .step-actions {
        flex-direction: column;
        gap: 12px;
    }

    .step-actions .btn {
        width: 100%;
    }
}
