:root {
    --color-primary: #B8D65F;
    /* Lime/Green */
    --color-secondary: #1D3A89;
    /* Deep Blue */
    --color-bg: #FFFFFF;
    --color-text: #1D3A89;
    /* Dark Blue for readability */
    --color-text-light: #4A5568;
    --font-header: 'Inter', sans-serif;
    /* Clean sans-serif like the logo */
    --font-body: 'Inter', sans-serif;
}


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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-header);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 3rem 0;
}

.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-primary);
}

.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.options {
    display: grid;
    gap: 1rem;
}

.option-item {
    position: relative;
}

.option-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    display: block;
    padding: 1rem 1.5rem;
    background: #f8f8f8;
    border: 2px solid #eeeeee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item input:checked+.option-label {
    border-color: var(--color-primary);
    background: #f8fceb;
    color: var(--color-primary);
}

.form-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    border: 2px solid #eeeeee;
    border-radius: 12px;
    background-color: #fbfbfb;
    color: var(--color-text);
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    margin-bottom: 1.5rem;
}

.form-input:focus {
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(184, 214, 95, 0.1);
}

.form-input::placeholder {
    color: #cbd5e0;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    margin-top: 2rem;
}

.btn:hover {
    background-color: #9CBF3F;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.progress-bar {
    height: 4px;
    background: #eee;
    margin-bottom: 3rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-secondary);
    width: 0%;
    transition: width 0.5s ease;
}

/* Success Screen Styles */
.success-screen {
    text-align: center;
}

.discount-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-top: 2rem;
    text-transform: uppercase;
}

.discount-code {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-secondary);
    letter-spacing: 5px;
    margin: 1.5rem 0;
    padding: 1rem;
    border: 3px dashed var(--color-secondary);
    display: inline-block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    height: 3em;
    overflow: hidden;
}

.discount-tag {
    color: var(--color-primary);
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
}

footer {
    margin-top: 5rem;
    padding-bottom: 3rem;
    text-align: center;
}

footer hr {
    border: none;
    border-top: 1px solid #eee;
    margin-bottom: 2rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    font-size: 11px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .question {
        font-size: 18px;
    }
}