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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border-radius: 15px;
    padding: 30px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.logo-icon::before {
    content: "MCP";
    color: white;
    font-weight: bold;
    font-size: 24px;
}

h1 {
    color: #2d3748;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.tagline {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.intro-text {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 24px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab.active, .tab:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.content-section {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.content-section.active {
    display: block;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    min-width: 120px;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}

.docker-highlight {
    background: linear-gradient(135deg, #0db7ed 0%, #2496ed 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.docker-highlight h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.search-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    min-width: 300px;
}

.search-bar:focus {
    outline: none;
    border-color: #667eea;
}

.category-filter {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-filter.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.category-section {
    margin: 30px 0;
}

.category-title {
    font-size: 1.8em;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.server-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f7fafc;
    transition: all 0.3s ease;
    position: relative;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.server-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
}

.server-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.server-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.server-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #e6fffa;
    color: #00695c;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.server-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.server-link:hover {
    background: #5a67d8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f7fafc;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.tool-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-weight: bold;
    color: white;
    font-size: 12px;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.platform-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

.course-section {
    margin: 30px 0;
}

.course-section h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 2em;
    text-align: center;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #667eea;
}

.course-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.course-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.course-card li {
    margin-bottom: 8px;
    color: #555;
}

.course-card p {
    margin-bottom: 15px;
    color: #666;
}

.difficulty {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.beginner {
    background: #c6f6d5;
    color: #2f855a;
}

.intermediate {
    background: #fed7d7;
    color: #c53030;
}

.advanced {
    background: #e9d8fd;
    color: #6b46c1;
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .server-grid {
        grid-template-columns: 1fr;
    }

    .search-filter-bar {
        flex-direction: column;
    }

    .search-bar {
        min-width: unset;
    }

    .stats {
        gap: 15px;
    }

    .stat {
        min-width: 100px;
        padding: 10px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    header {
        margin: 10px;
        padding: 20px;
    }

    .content-section {
        margin: 10px;
        padding: 20px;
    }
}