/* Global Styles */
:root {
    --primary-color: #7C3AED;
    --secondary-color: #4F46E5;
    --accent-color: #F472B6;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --gradient-1: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
    --gradient-2: linear-gradient(135deg, #F472B6 0%, #9333EA 100%);
    --gradient-3: linear-gradient(45deg, rgba(124, 58, 237, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    margin: 0 0.3rem;
}

.nav-link:hover {
    background: var(--gradient-3);
    transform: translateY(-1px);
}

.nav-link.active {
    background: var(--gradient-1);
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-3);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%237C3AED" opacity="0.1"/></svg>') repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-section h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-section .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--dark-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.start-quiz-btn {
    background: var(--gradient-1);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.feature-box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.feature-box p {
    color: var(--dark-color);
    opacity: 0.8;
    position: relative;
}

/* Quiz Styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.quiz-wrapper {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.quiz-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.question-number {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.quiz-question {
    text-align: center;
    margin-bottom: 3rem;
}

.quiz-question h3 {
    font-size: 2rem;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.quiz-options {
    display: grid;
    gap: 1.5rem;
}

.option-wrapper {
    position: relative;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: var(--primary-color);
    background: var(--gradient-3);
}

.option-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 1rem;
}

.custom-radio {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.checkmark::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.3s ease;
}

.custom-radio:checked + .option-label {
    border-color: var(--primary-color);
    background: var(--gradient-3);
}

.custom-radio:checked + .option-label .checkmark {
    border-color: var(--primary-color);
}

.custom-radio:checked + .option-label .checkmark::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Progress Bar */
.progress {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    margin: 2rem 0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-1);
    height: 100%;
    border-radius: 100px;
    transition: width 0.4s ease;
}

/* Results Section */
.results-wrapper {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.benefit-item span {
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.get-product-btn {
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.get-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section img {
        margin-top: 2rem;
    }

    .feature-box {
        margin-bottom: 1.5rem;
    }

    .quiz-wrapper {
        padding: 2rem;
    }

    .quiz-question h3 {
        font-size: 1.5rem;
    }

    .option-label {
        padding: 1rem;
    }
}

/* Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--primary-color));
}

/* Quiz Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wellness Score Circle */
.wellness-score {
    text-align: center;
    margin: 2rem 0;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
}

.score-circle span {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Enhanced Quiz Options */
.option-wrapper {
    opacity: 0;
    transform: translateY(10px);
}

.option-label {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.option-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-label:hover::before {
    opacity: 1;
}

.option-text {
    position: relative;
    font-weight: 500;
    margin-left: 1rem;
    z-index: 1;
}

/* Enhanced Benefits Section */
.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.benefit-item:hover i {
    transform: scale(1.1);
}

.benefit-item span {
    font-weight: 500;
    color: var(--dark-color);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.get-product-btn, .restart-btn {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.get-product-btn {
    background: var(--gradient-1);
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.get-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

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

.restart-btn:hover {
    background: var(--gradient-3);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .score-circle {
        width: 120px;
        height: 120px;
    }

    .score-circle::before {
        width: 100px;
        height: 100px;
    }

    .score-circle span {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .get-product-btn, .restart-btn {
        width: 100%;
        justify-content: center;
    }
} 