* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-green: #16a34a;
    --accent-orange: #ea580c;
    --accent-orange-hover: #c2410c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.cta-button:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;

}

/* How It Works */
.how-it-works {
    padding: 1rem;
    background: var(--bg-light);

}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);

}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* About Creator */
.about-creator {
    padding: 1rem;
    background: var(--bg-light);

}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    padding: 0.5rem ;
    background-color: rgb(226, 226, 226);
}

.faq h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 1rem;
    padding: 0rem;
    background: rgb(226, 226, 226);
    text-align: center;
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-answer {
    font-size: 0.8rem;
    background-color: rgb(226, 226, 226);
}

/* Footer */
footer {
    padding: 1.5rem 1rem;
    background: var(--text-dark);
    color: white;
    text-align: center;

}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover, .footer-links a:focus {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    outline: none;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 1001;
    border-top: 3px solid #4facfe;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #28a745;
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Mind Gym Dropdown Styles */
.mind-gym-dropdown-container {
    position: relative;
    overflow: visible;
}

.mind-gym-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% - 5px);
    left: 10px;
    right: 10px;
    z-index: 1000;
    padding: 15px 10px 10px 10px;
    background: rgba(102, 126, 234, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    pointer-events: none;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.mind-gym-dropdown-container:hover .mind-gym-dropdown-menu,
.mind-gym-dropdown-menu:hover {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: slideDown 0.3s ease-out;
}

.mind-gym-dropdown-menu a:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 2rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

/* Style for e-scholar.net text in paragraphs */
p .escholar-brand,
p .escholar-brand a {
    font-weight: bold;
    font-size: calc(1em + 2px);
}

