/* Global Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --gradient-1: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
    --gradient-2: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: var(--dark-color);
    font-size: 3.5rem;
    line-height: 1.2;
}

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

.start-quiz-btn {
    background: var(--gradient-1);
    border: none;
    padding: 15px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.start-quiz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-30deg);
    transition: all 0.6s ease;
}

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

.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-image-container {
    position: relative;
    padding: 2rem;
}

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

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

.shape-1, .shape-2 {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: -50px;
    right: -50px;
    opacity: 0.1;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    bottom: -30px;
    left: -30px;
    opacity: 0.1;
}

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

.feature-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

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

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

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-box h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.quiz-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    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 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

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

.quiz-options {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.option-wrapper {
    position: relative;
}

.custom-radio {
    display: none;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.option-text {
    flex-grow: 1;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-left: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.custom-radio:checked + .option-label .option-text {
    color: white;
}

.custom-radio:checked + .option-label .checkmark {
    border-color: white;
}

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

.option-label:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.custom-radio:checked + .option-label:hover {
    transform: translateX(5px);
    background: var(--gradient-1);
}

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

.progress-bar {
    background: var(--gradient-1);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Results Styles */
.results-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    animation: scaleIn 0.5s ease;
}

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

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

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

.benefit-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

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

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

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.get-product-btn {
    background: var(--gradient-1);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.get-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-30deg);
    transition: all 0.6s ease;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsiveness for Quiz */
@media (max-width: 768px) {
    .quiz-container {
        padding: 1rem;
    }

    .quiz-wrapper {
        padding: 1.5rem;
    }

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

    .option-label {
        padding: 1rem;
    }

    .option-text {
        font-size: 1rem;
    }

    .product-benefits {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 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::after {
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 80%;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }
    
    .shape-1, .shape-2 {
        width: 150px;
        height: 150px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 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));
} 