:root {
    --primary-color: #d88a99;
    --primary-dark: #b86a79;
    --secondary-color: #f7d6db;
    --accent-color: #e5b05c; /* gold */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: linear-gradient(135deg, #fdfbfb 0%, #f6e6e8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

.background-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 214, 219, 0.4) 0%, rgba(253, 251, 251, 0) 70%);
    animation: rotateBg 30s linear infinite;
    z-index: -1;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

main {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

/* Glassmorphism Container */
.quiz-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(255, 255, 255, 0.5) inset;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-out {
    animation: fadeOut 0.4s ease forwards !important;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Header & Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 span {
    color: var(--primary-dark);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-image, .question-image {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: rgba(0,0,0,0.05);
    border-radius: 10px;
    height: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.5s ease-in-out;
    border-radius: 10px;
}

/* Question Title */
.question-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

/* Options */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 18px 25px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.option-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(216, 138, 153, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.transition-message {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-style: italic;
    padding: 40px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Result Page */
.result-page {
    text-align: left;
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-header h2 {
    color: #27ae60;
    font-size: 2rem;
    margin-bottom: 15px;
}

.result-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.math-box {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--accent-color);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(229, 176, 92, 0.1);
}

.math-box h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Infographic Section */
.infographic {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.infographic h3 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 25px;
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.module-item {
    background: #fdfbfb;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
}

.module-item h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bonus-item {
    background: #fffcf2;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 8px;
}

.bonus-item h4 {
    color: #b8860b; /* dark gold */
    margin-bottom: 5px;
}

/* Mentor Section */
.mentor-section {
    display: flex;
    gap: 25px;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mentor-photo {
    width: 250px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.mentor-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.mentor-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Image Grid */
.images-section h3 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: scale(1.03);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Payment Section */
.payment-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    border: 2px dashed #27ae60;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #27ae60;
    margin-bottom: 10px;
}

.price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.payment-methods {
    width: 100%;
    max-width: 400px;
    margin: 15px auto 0;
    display: block;
}

/* Super Bonus Section */
.super-bonus-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.super-bonus-section h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.super-bonus-section p {
    color: #eeeeee;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

/* Testimonial Page */
.testimonial-page {
    text-align: center;
}
.testimonial-page h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.testimonial-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    font-weight: 600;
    color: var(--text-dark);
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #a5d6a7;
}

.guarantee-icon {
    font-size: 2.5rem;
}

/* CTA Button */
.cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 22px 30px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(216, 138, 153, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(216, 138, 153, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .mentor-section {
        flex-direction: column;
        text-align: center;
    }
    
    .mentor-photo {
        width: 100%;
        max-width: 300px;
    }

    .image-grid, .bonus-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.6rem;
    }

    .question-title {
        font-size: 1.4rem;
    }
}
