@font-face {
    font-family: 'Tesco Modern';
    src: url('TESCOModern-Bold/TESCOModern-Bold.woff2') format('woff2'),
         url('TESCOModern-Bold/TESCOModern-Bold.woff') format('woff'),
         url('TESCOModern-Bold/TESCOModern-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Tesco Modern';
    src: url('TESCOModern-Regular/TESCOModern-Regular.woff2') format('woff2'),
         url('TESCOModern-Regular/TESCOModern-Regular.woff') format('woff'),
         url('TESCOModern-Regular/TESCOModern-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

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

body {
    font-family: 'Tesco Modern', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(to bottom, #E8F1F8 0%, #FFFFFF 100%);
    color: #1A1A1A;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Winter snowflakes animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%, 40% 60%, 80% 20%, 20% 80%, 60% 40%, 90% 70%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
    0% {
        background-position: 0% 0%, 40% 60%, 80% 20%, 20% 80%, 60% 40%, 90% 70%;
    }
    100% {
        background-position: 0% 100%, 40% 160%, 80% 120%, 20% 180%, 60% 140%, 90% 170%;
    }
}

.container {
    max-width: 440px;
    margin: 0 auto;
    padding: 0 24px 32px;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 60px rgba(0, 83, 159, 0.12);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 24px;
    background: white;
    margin: 0 -24px 24px -24px;
    padding: 20px;
    border-bottom: 2px solid #00539F;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}

.tesco-logo {
    width: 110px;
    height: auto;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: #E0E6EB;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #00539F 0%, #003D7A 100%);
    width: 25%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 12px;
    color: #5A5A5A;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Question Screens */
.question-screen {
    display: none;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.4s ease;
}

.question-screen.active {
    display: block;
}

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

.question-content {
    text-align: center;
}

.question-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.question-subtitle {
    font-size: 11px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.answer-btn {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFB 100%);
    border: 2px solid #D8E2E9;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 83, 159, 0.08);
}

.answer-btn:hover {
    border-color: #00539F;
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 83, 159, 0.15);
}

.answer-btn:active {
    transform: translateY(0);
}

.answer-text {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    display: block;
    line-height: 1.4;
}

/* Results Screen */
.results-content {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
    color: white;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 18px rgba(0, 200, 81, 0.3);
}

.results-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.results-subtitle {
    font-size: 11px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Benefits Box */
.benefits-box {
    background: linear-gradient(135deg, #EBF4FF 0%, #F5F9FF 100%);
    border: 1px solid #C8DDEE;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 22px;
    text-align: left;
}

.benefits-title {
    font-size: 13px;
    font-weight: 700;
    color: #00539F;
    margin-bottom: 12px;
    letter-spacing: -0.1px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-size: 13px;
    color: #1A1A1A;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00C851;
    font-weight: 700;
    font-size: 14px;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #00539F 0%, #003D7A 100%);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 83, 159, 0.25);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 83, 159, 0.35);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:visited {
    color: white;
}

/* Urgency Text */
.urgency-text {
    font-size: 10px;
    color: #666666;
    font-weight: 500;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E8EDF2;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    .container {
        max-width: 396px;
    }

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

    .results-title {
        font-size: 20px;
    }
}
