/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(116, 235, 213, 0.1) 0%, rgba(159, 172, 230, 0.1) 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #74ebd5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 400;
}



/* Quiz Section */
.quiz-section {
    padding: 4rem 0;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.progress-bar {
    background: #e9ecef;
    border-radius: 50px;
    height: 8px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    height: 100%;
    border-radius: 50px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 500;
}

.quiz-content {
    margin-bottom: 3rem;
}

.question {
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-option {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #2c3e50;
}

.answer-option:hover {
    border-color: #74ebd5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 235, 213, 0.15);
}

.answer-option.selected {
    border-color: #74ebd5;
    background: linear-gradient(135deg, rgba(116, 235, 213, 0.1), rgba(172, 182, 229, 0.1));
    box-shadow: 0 8px 25px rgba(116, 235, 213, 0.2);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.privacy-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(116, 235, 213, 0.05);
    border-radius: 8px;
    border-left: 3px solid #74ebd5;
    text-align: center;
}

.privacy-notice p {
    margin: 0;
    color: #5a6c7d;
    font-size: 0.85rem;
}

.privacy-notice a {
    color: #74ebd5;
    text-decoration: none;
    font-weight: 500;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    color: white;
    box-shadow: 0 4px 15px rgba(116, 235, 213, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 235, 213, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #5a6c7d;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    border-color: #74ebd5;
    color: #2c3e50;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results-section {
    padding: 4rem 0;
}

.results-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #74ebd5, #acb6e5);
    color: white;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(116, 235, 213, 0.3);
}

.score-number {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.results-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.tips-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tip-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tip-description {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-article h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.content-article h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.content-article p {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-article ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-article li {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #74ebd5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .quiz-container,
    .results-container,
    .content-article {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .quiz-navigation {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .question-title {
        font-size: 1.25rem;
    }
    
    .results-title {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question {
    animation: fadeInUp 0.5s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.answer-option:focus {
    outline: 2px solid #74ebd5;
    outline-offset: 2px;
} 