/* Crypto Education - Learning Platform Theme */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #0F1419;
    color: #F8FAFC;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
.education-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CRITICAL FOOTER STYLES - MOVED UP FOR PRIORITY */
footer.education-footer {
    background: linear-gradient(135deg, #0F1419 0%, #1E293B 100%) !important;
    border-top: 1px solid rgba(59, 130, 246, 0.1) !important;
    padding: 60px 0 30px !important;
    margin-top: 80px !important;
    width: 100% !important;
    display: block !important;
}

footer.education-footer .footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 60px !important;
    align-items: start !important;
}

footer.education-footer .footer-section {
    max-width: 400px !important;
}

footer.education-footer .footer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #F8FAFC !important;
    margin-bottom: 20px !important;
}

footer.education-footer .footer-section p {
    color: #94A3B8 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

footer.education-footer .footer-links {
    display: flex !important;
    gap: 60px !important;
}

footer.education-footer .footer-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

footer.education-footer .footer-column h4 {
    color: #F8FAFC !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

footer.education-footer .footer-column a {
    color: #94A3B8 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-size: 0.95rem !important;
}

footer.education-footer .footer-column a:hover {
    color: #3B82F6 !important;
}

footer.education-footer .footer-bottom {
    grid-column: 1 / -1 !important;
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(71, 85, 105, 0.3) !important;
    text-align: center !important;
}

footer.education-footer .footer-bottom p {
    color: #64748B !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* Header Navigation */
.education-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.education-header .education-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
}

.education-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.education-nav-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.education-nav-link:hover {
    color: #3B82F6;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: #CBD5E1;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.lang-btn.active {
    color: #3B82F6;
}

.lang-btn:hover {
    color: #3B82F6;
}

.lang-divider {
    color: #475569;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 2px;
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.mobile-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    color: #CBD5E1;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(71, 85, 105, 0.2);
}

.mobile-nav-link:hover {
    color: #3B82F6;
}

.mobile-cta {
    margin-top: 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 50%, #F59E0B 100%);
    color: #0F1419;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .education-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .education-header .education-container {
        padding: 0 15px;
    }
    
    .nav-actions {
        gap: 12px;
    }
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #F8FAFC 0%, #CBD5E1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 50%, #F59E0B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    font-family: 'Fira Code', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 4px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.learning-grid {
    width: 300px;
    height: 300px;
    background: 
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 20px;
    position: relative;
    animation: learningPulse 4s ease-in-out infinite;
}

.floating-badges {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.badge-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #3B82F6;
    margin: 8px;
    animation: badgeFloat 6s ease-in-out infinite;
    font-family: 'Fira Code', monospace;
}

.badge-card:nth-child(1) { animation-delay: 0s; }
.badge-card:nth-child(2) { animation-delay: 2s; }
.badge-card:nth-child(3) { animation-delay: 4s; }

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #F8FAFC 0%, #CBD5E1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-content {
    text-align: center;
    padding: 0 20px;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card.featured {
    border-color: #10B981;
    transform: scale(1.02);
}

.course-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 16px;
    right: 16px;
    background: #10B981;
    color: #0F1419;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.course-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.course-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.course-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #F8FAFC;
}

.course-description {
    color: #94A3B8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    padding-top: 16px;
}

.course-duration {
    font-size: 0.9rem;
    color: #64748B;
}

.course-price {
    font-weight: 600;
    color: #10B981;
    font-size: 1.1rem;
}

.course-students {
    font-size: 0.8rem;
    color: #64748B;
}

/* Learning Section */
.learning-section {
    padding: 80px 0;
    background: rgba(30, 41, 59, 0.5);
}

.learning-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.learning-card {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
}

.learning-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #F8FAFC;
}

.learning-metric {
    font-size: 3rem;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 16px;
    font-family: 'Fira Code', monospace;
}

.learning-card p {
    color: #94A3B8;
    line-height: 1.6;
}

/* Responsive and other sections follow similar patterns but condensed for space */
/* Modal Styles */
.learning-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.learning-modal.active {
    opacity: 1;
    visibility: visible;
}

.learning-form {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

/* Animations */
@keyframes learningPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
}

.cookie-banner:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* Rest of styles similar to other builds but with education theme colors */