.intro {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#introText {
    text-align: center;
    margin-bottom: 48px;
}

#introText h1 {
    font-weight: 700;
    font-size: 32px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

#introText h2 {
    font-weight: 400;
    font-size: 18px;
    color: var(--text-secondary);
}

#leadGenerator {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

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

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 20px 16px 8px 16px;
    font-size: 16px;
    border: 1px solid #e5e5e7;
    border-radius: var(--border-radius-md);
    background: #fbfbfd;
    transition: all 0.2s ease;
    outline: none;
    height: 64px;
    color: var(--text-main);
    display: block;
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 16px;
    font-size: 16px;
    color: #86868b;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Floating label logic */
input:focus ~ label,
input:not(:placeholder-shown) ~ label,
select:focus ~ label,
select:not([value=""]) ~ label {
    top: 8px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

input:focus,
select:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

input[type="submit"], #submitQuiz {
    width: 100%;
    padding: 18px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

@media (min-width: 1024px) {
    #leadGenerator {
        max-width: 600px;
    }
}
