* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #f0fdf4, #f6f7fb);
    color: #1f2937;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: linear-gradient(180deg, #ffffff, #f0fdf4);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ---------- HEADER ---------- */

.header {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    cursor: pointer;
}

.header img {
    height: 40px;
}

/* ---------- TEXT ---------- */

h1 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px;
    text-align: center;
}

.subtitle {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 24px;
    text-align: center;
}

/* ---------- QUESTIONS ---------- */

.question {
    margin-bottom: 20px;
    display: none;
}

.question.active {
    display: block;
}

.question-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.options button {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

.options button:hover {
    background: #f3f4f6;
}

.options button.active {
    border-color: #16a34a;
    background: #ecfdf5;
    color: #166534;
}

/* ---------- FORM ---------- */

.lead-form {
    display: none;
    margin-top: 10px;
}

.dynamic-text {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 500;
}

label {
    font-size: 13px;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

input,
select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    margin-bottom: 14px;
}

input.error {
    border-color: #ef4444;
}

.error-text {
    font-size: 12px;
    color: #ef4444;
    display: none;
    margin-top: -10px;
    margin-bottom: 10px;
}

.btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    opacity: 0.95;
}

.trust {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 14px;
}

/* ---------- THANKS ---------- */

.thanks {
    display: none;
    text-align: center;
}

.thanks.show {
    display: block;
}

.thanks h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.thanks p {
    font-size: 15px;
    color: #4b5563;
}

/* ---------- FOOTER ---------- */

footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    padding-bottom: 20px;
}