@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Emerald Green & Gold Luxury Brand Colors */
    --primary-emerald: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-gold: #f59e0b;
    --accent-gold-dark: #d97706;
    --accent-gold-light: #fbbf24;
    --bg-white: #ffffff;
    --bg-light: #f0fdf4;
    --bg-gray: #ecfdf5;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border-light: #d1fae5;
    --shadow-sm: 0 1px 3px rgba(16, 185, 129, 0.08);
    --shadow-md: 0 4px 6px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 10px 25px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 40px rgba(16, 185, 129, 0.18);
    
    /* Legacy aliases for backwards compatibility */
    --primary-blue: #10b981;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Professional Navigation Header */
.professional-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    gap: 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-height: 72px;
    flex-shrink: 0;
    margin-right: 20px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-gray);
    display: block;
    font-weight: 500;
    margin-top: -4px;
}

.nav-menu {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-cta {
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-cta-ico {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 14px !important;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: var(--bg-gray);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    margin-top: 8px;
    z-index: 1001;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.lang-dropdown-content.show {
    display: block;
}

.lang-dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.lang-dropdown-content a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-blue);
}

/* Educational Notice Banner */
.educational-banner {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 12px 24px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.banner-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banner-icon {
    font-size: 1.2rem;
}

.banner-subscribe-btn {
    background: white;
    color: var(--accent-orange);
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 16px;
}

.banner-subscribe-btn:hover {
    background: #fef3c7;
    transform: translateY(-1px);
}

.banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.3rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 16px;
    transition: all 0.2s;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Crypto Ticker - Simplified Professional Style */
.crypto-ticker {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    z-index: 10;
    height: 40px;
    margin-bottom: 20px;
}

.crypto-ticker-bottom {
    position: fixed;
    bottom: 0;
    top: auto;
    margin-bottom: 0;
    border-bottom: none;
    border-top: 1px solid var(--border-light);
    z-index: 1000;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scroll-ticker 120s linear infinite;
    gap: 40px;
    padding-right: 40px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0 16px;
    border-right: 1px solid var(--border-light);
}

.ticker-label {
    font-weight: 600;
    color: var(--text-gray);
}

.ticker-value {
    font-weight: 700;
    color: var(--text-dark);
}

.ticker-up {
    color: var(--accent-green);
    font-weight: 600;
}

.ticker-down {
    color: #dc2626;
    font-weight: 600;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* Main Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 0 24px;
}

/* Professional Hero Section */
header {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: 24px;
    margin-bottom: 60px;
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

h1 .highlight {
    color: var(--primary-blue);
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 820px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
}

.badge {
    background: white;
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 40px 0 0;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--bg-light);
}

/* Stats Panel */
.stats-panel {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
}

.stats-panel h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.875rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 60px 0;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Success Banner */
.success-banner {
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
    border: 2px solid var(--primary-light);
    border-radius: 16px;
    padding: 32px;
    margin: 60px 0;
    text-align: center;
}

.success-banner h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-weight: 700;
}

.success-banner p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 60px 0;
    box-shadow: var(--shadow-md);
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 48px 32px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    border: 2px solid var(--primary-light);
}

.cta-section h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Courses Section */
.courses-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #faf5ff 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 60px 0;
    box-shadow: var(--shadow-xl);
}

.courses-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.35rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 16px;
}

.courses-intro {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.course-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.featured-course {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 2px solid var(--accent-orange);
}

.featured-course:hover {
    border-color: #d97706;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.course-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.course-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.course-description {
    font-size: 0.98rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

.course-description strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.course-use-case {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 8px;
}

.course-use-case strong {
    color: var(--accent-green);
    font-weight: 600;
}

.course-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.featured-course .skill-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.courses-cta {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-blue);
}

.courses-cta h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.courses-cta p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 28px;
}

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

/* Responsive Design for Courses */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 40px 24px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        padding: 24px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .course-header h3 {
        font-size: 1.15rem;
    }
    
    .courses-cta {
        padding: 32px 20px;
    }
    
    .courses-cta h3 {
        font-size: 1.5rem;
    }
}

/* Graduate Mining Program Banner */
.graduate-program-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    padding: 48px;
    margin: 60px 0;
    box-shadow: var(--shadow-xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.graduate-program-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.graduate-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.graduate-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.graduate-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.graduate-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
}

.graduate-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.graduate-cta {
    text-align: center;
    margin-top: 40px;
}

.graduate-note {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-style: italic;
}

.btn-graduate {
    background: white;
    color: var(--accent-green);
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-graduate:hover {
    background: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--bg-light);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    background: transparent;
    color: var(--text-gray);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    background: white;
    color: var(--text-dark);
}

.tab-btn.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.tab-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.section:hover {
    box-shadow: var(--shadow-sm);
}

.section h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.375rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-field, select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Inter', monospace;
    transition: all 0.2s;
}

.input-field:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Results */
.result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    animation: slideIn 0.3s ease;
}

.result.success {
    background: #ecfdf5;
    border-color: var(--accent-green);
}

.result.error {
    background: #fef2f2;
    border-color: #dc2626;
}

.result h4 {
    margin-bottom: 12px;
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
}

.result code {
    background: var(--bg-gray);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--text-dark);
}

/* Blockchain Display */
.blockchain-display {
    margin-top: 20px;
}

.block-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.block-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.block-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.transaction-item {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-blue);
}

/* Governance Info */
.governance-info ul {
    list-style: none;
    padding: 0;
}

.governance-info li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-gray);
}

.governance-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Warning & Success Banners */
.warning-banner {
    background: #fef2f2;
    border: 1px solid #dc2626;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.warning-banner strong {
    color: #dc2626;
    font-size: 1.1rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--primary-blue);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    background: white;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 12px 0;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu .nav-link:hover {
    color: var(--primary-blue);
}

.mobile-menu .nav-cta {
    width: 100%;
    margin-top: 12px;
}

.mobile-language-section {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.mobile-lang-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.mobile-lang-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-lang-options a {
    display: block;
    padding: 10px 12px;
    background: var(--bg-gray);
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-lang-options a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .educational-banner {
        top: 60px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .crypto-ticker {
        top: 100px;
    }
    
    .container {
        margin-top: 24px;
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    header {
        padding: 60px 20px 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        min-width: 100%;
    }
    
    .stats-panel, .tab-content, .section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Pricing Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--text-dark);
    background: var(--bg-gray);
    transform: rotate(90deg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.pricing-card .price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 20px 0;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-gray);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li strong {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
        width: 98%;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
    
    .pricing-card .price {
        font-size: 2.5rem;
    }
}

/* Kenostod Definition Banner */
.kenostod-definition {
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 50%, #fef3c7 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.kenostod-definition::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.definition-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.definition-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}

.definition-text {
    flex: 1;
}

.definition-word {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.definition-word strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-emerald);
    letter-spacing: 1px;
}

.pronunciation {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-style: italic;
}

.part-of-speech {
    font-size: 1rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
    font-style: italic;
}

.definition-meaning {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 500;
}

.definition-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.definition-link:hover {
    color: var(--primary-emerald);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .kenostod-definition {
        padding: 24px;
        margin: 40px 0;
    }

    .definition-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .definition-logo {
        width: 80px;
        height: 80px;
    }

    .definition-word {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .definition-word strong {
        font-size: 1.8rem;
    }

    .definition-meaning {
        font-size: 1.05rem;
    }
}
