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

body {
    font-family: 'Open Sans', sans-serif;
    background: #5290da;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Background Patterns */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Container */
.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    min-height: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Left Side - Quiz Container */
.quiz-container {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #ebedf5;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #f0f0f0;
}

.progress-bar {
    height: 100%;
    background: rgb(207, 90, 33);
    width: 0%;
    transition: width 0.5s ease;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 60px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    color: #435b97;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.logo span {
    color: #cf5a21
}

.logo p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Quiz Content */
.quiz-content {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

/* Screen Styles */
.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

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

/* Question Styles */
.question {
    text-align: center;
    margin-bottom: 40px;
}

.question h2 {
    color: #424242;
    text-align: center;
    font-size: 32px;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.question p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Answer Buttons */
.answer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.answer-btn {
    padding: 20px 30px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    position: relative;
    text-align: left;
    overflow: hidden;
}

.answer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 90, 33, 0.1), transparent);
    transition: left 0.5s ease;
}

.answer-btn:hover::before {
    left: 100%;
}

.answer-btn:hover {
    border-color: #cf5a21;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

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

.answer-btn i {
    margin-right: 15px;
    font-size: 20px;
    color: #cf5a21;
}

.visual {
    text-align: center;
    margin-bottom: 30px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.visual.active {
    display: block;
}
/* Right Side - Visual Container */
.visual-container {
    width: 500px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaf6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative Shapes */
.visual-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.visual-container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Icons */
.icon {
    font-size: 100px;
    margin-bottom: 10px;
    color: #435b97;
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Inbox Messages (Screen 2) */
.inbox {
    width: 100%;
    max-width: 350px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.inbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.inbox-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.inbox-count {
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.message {
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid #435b97;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.message:hover {
    background: #e8eaf6;
    transform: translateX(5px);
}

.message.unread::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
}

.message-sender {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.message-preview {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-time {
    color: #999;
    font-size: 12px;
}

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

.success-screen h2 {
    font-size: 36px;
    color: #435b97;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-screen p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: #cf5a20;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

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

/* Nudge Text */
.nudge {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 20px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        flex-direction: column;
        min-height: auto;
    }

    .visual-container {
        width: 100%;
        padding: 40px 20px;
    }

    .quiz-container {
        padding: 40px 20px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .question h2 {
        font-size: 24px;
    }

    .answer-btn {
        font-size: 16px;
        padding: 18px 25px;
    }

    .icon {
        font-size: 80px;
    }

    .inbox {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }

    .question h2 {
        font-size: 20px;
    }

    .answer-btn {
        font-size: 14px;
        padding: 15px 20px;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 18px;
    }

    .icon {
        font-size: 60px;
    }
}