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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e5e7eb;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero {
    padding: 8rem 0 0rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-enhanced {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about p {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(31, 41, 55, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

/* Analysis Section - Custom for Code Scanner */
.analysis-section {
    padding: 4rem 0;
}

.analysis-header {
    text-align: center;
    margin-bottom: 3rem;
}

.analysis-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.analysis-header p {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Analysis Form Card */
.analysis-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #6b7280;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    color: #9ca3af;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.form-text {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
    accent-color: #3b82f6;
}

.form-check-label {
    color: #d1d5db;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* Progress and Loading */
.loading-spinner {
    text-align: center;
    padding: 2rem 0;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid rgba(59, 130, 246, 0.25);
    border-right-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.progress-container {
    margin-top: 1.5rem;
}

.progress {
    height: 8px;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Results Section */
.results-section {
    margin-top: 3rem;
}

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

.stat-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.text-primary { color: #3b82f6; }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }
.text-success { color: #10b981; }

/* Tree View Styles */
.tree-view {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.tree-node {
    margin: 2px 0;
    padding: 4px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.tree-node:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.tree-node .node-header {
    display: flex;
    align-items: center;
}

.tree-node .node-content {
    margin-left: 20px;
    display: none;
}

.tree-node.expanded > .node-content {
    display: block;
}

.tree-node .node-icon {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #9ca3af;
}

.tree-node .node-name {
    flex-grow: 1;
    color: #e5e7eb;
}

.tree-node .node-indicators {
    margin-left: 8px;
}

.tree-node .expander {
    width: 16px;
    text-align: center;
    margin-right: 4px;
    color: #6b7280;
    font-size: 0.8rem;
}

.severity-indicator {
    margin-left: 4px;
    font-size: 0.9em;
}

.severity-high { color: #ef4444; }
.severity-medium { color: #f59e0b; }
.severity-low { color: #06b6d4; }
.severity-none { color: #10b981; }

/* Details Panel */
.details-panel {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    color: #9ca3af;
}

.breadcrumb-item.active {
    color: #e5e7eb;
}

.breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Filter Controls */
.filter-controls {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* List Groups for Analysis Results */
.list-group {
    margin-bottom: 1rem;
}

.list-group-item {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.list-group-item-danger {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

.list-group-item-warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}

.list-group-item-info {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.1);
}

.list-group-item-success {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
}

/* Utility Classes */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.ms-2 { margin-left: 0.5rem; }
.text-center { text-align: center; }

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-lg-6, .col-lg-8 {
    padding: 0 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333333%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.666667%; }
}

@media (min-width: 992px) {
    .col-lg-6 { width: 50%; }
    .col-lg-8 { width: 66.666667%; }
}

/* Server Grid Styles - from Intentiv */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.server-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.server-card:hover::before {
    opacity: 1;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.server-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.server-author {
    font-size: 0.9rem;
    color: #9ca3af;
}

.trust-score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.trust-score {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.trust-score-label {
    font-size: 0.8rem;
    color: #e8e8ea;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    padding-top: 5px;
}

.trust-score.excellent { background: #059669; }
.trust-score.good { background: #d97706; }
.trust-score.average { background: #dc2626; }
.trust-score.poor { background: #7c2d12; }

.server-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.server-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.server-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #9ca3af;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.server-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.server-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.server-category {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.server-language {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.8rem;
}

.server-stars {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    white-space: nowrap;
    z-index: 10;
}

.server-updated {
    color: #9ca3af;
    font-size: 0.85rem;
    white-space: nowrap;
}

.server-card-updated {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

/* Filter Styles */
.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: transparent;
}

/* Catalog Section */
.mcp-catalog {
    padding: 0rem 0;
}

.catalog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.catalog-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.catalog-header p {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .row {
        flex-direction: column;
    }

    .tree-view, .details-panel {
        max-height: 400px;
    }

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

    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}

/* Login Link Styles */
.login-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem; /* Add some padding to make it clickable */
    border-radius: 8px; /* Optional: for a slightly softer look */
    cursor: pointer;
}

.login-link:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1); /* Optional: subtle hover background */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: rgba(17, 24, 39, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #6b7280;
}

/* Search Container Styles */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-box:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.search-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    color: #9ca3af;
    margin-right: 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #3b82f6;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-clear {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.search-clear:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.search-results-count {
    text-align: center;
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.search-results-count #resultCount {
    color: #3b82f6;
    font-weight: 600;
}

/* Enhanced Animation */
@keyframes searchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.search-box.searching {
    animation: searchPulse 1s ease-in-out infinite;
}

/* No Results State */
.no-search-results {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-search-results h3 {
    color: #e5e7eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-search-results p {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.search-suggestions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-suggestion {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-suggestion:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* Search highlighting in server cards */
.search-highlight {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

/* Responsive Design for Search */
@media (max-width: 768px) {
    .search-container {
        margin: 0 1rem 2rem 1rem;
    }
    
    .search-box {
        padding: 0.625rem 1.25rem;
    }
    
    .search-input {
        font-size: 0.95rem;
    }
    
    .search-input::placeholder {
        font-size: 0.9rem;
    }
}

/* Additional CSS for Tab Interface and Upload Features */

/* Tab Interface Styles */
.analysis-tabs {
    display: flex;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 12px 12px 0 0;
    margin: -2rem -2rem 2rem -2rem;
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #e5e7eb;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.tab-content {
    display: none;
}

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

/* Upload Area Styles */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(17, 24, 39, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 1rem;
}

.upload-area:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.upload-area.drag-over {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: #3b82f6;
    transform: scale(1.1);
}

.upload-content h3 {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.upload-content p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.upload-types {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.upload-type {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.upload-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d5db;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #e5e7eb;
    transform: translateY(-1px);
}

/* File List Styles */
.file-list {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.file-list h4 {
    color: #e5e7eb;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(31, 41, 55, 0.8);
    transform: translateX(4px);
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-item i {
    margin-right: 0.5rem;
    color: #9ca3af;
    width: 16px;
    text-align: center;
}

.file-name {
    flex: 1;
    color: #d1d5db;
    font-size: 0.9rem;
    word-break: break-word;
}

.file-size {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Enhanced Button Styles */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Security Token Input Styling */
input[type="password"] {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.5px;
}

/* Animation Enhancements */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tab-content.active {
    animation: fadeInScale 0.3s ease forwards;
}

/* Focus Management */
.tab-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.upload-area:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading and Error States for Dynamic Catalog */
.loading-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
    font-size: 1.1rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-placeholder::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

.no-servers-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-servers-message h3 {
    color: #e5e7eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-servers-message p {
    color: #9ca3af;
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
}

.error-message h3 {
    color: #f87171;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-message p {
    color: #fca5a5;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.retry-button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Enhanced trust score styling */
.trust-score {
    position: relative;
    overflow: hidden;
}

.trust-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 8px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-card:hover .trust-score::before {
    opacity: 1;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .loading-placeholder,
    .no-servers-message,
    .error-message {
        padding: 2rem 1rem;
    }
    
    .loading-placeholder::before {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .error-message h3,
    .no-servers-message h3 {
        font-size: 1.25rem;
    }
    
    .error-message p,
    .no-servers-message p {
        font-size: 0.9rem;
    }
}

/* File type icons color coding */
.file-item .fab.fa-js-square { color: #f7df1e; }
.file-item .fab.fa-python { color: #3776ab; }
.file-item .fab.fa-java { color: #ed8b00; }
.file-item .fab.fa-html5 { color: #e34f26; }

/* Enhanced Dropdown Styles */
.enhanced-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(17, 24, 39, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e5e7eb;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.dropdown-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.dropdown-selected:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.dropdown-selected:hover::before {
    opacity: 1;
}

.dropdown-selected.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-selected.active::before {
    opacity: 1;
}

.dropdown-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

.dropdown-info {
    flex: 1;
    min-width: 0;
}

.dropdown-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.dropdown-description {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.3;
}

.dropdown-chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.dropdown-selected.active .dropdown-chevron {
    transform: translateY(-50%) rotate(180deg);
    color: #3b82f6;
}

/* Dropdown Options Container */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dropdown-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-option:hover::before {
    opacity: 1;
}

.dropdown-option:hover {
    transform: translateX(4px);
}

.dropdown-option.selected {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
}

.dropdown-option-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.option-info {
    flex: 1;
}

.option-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pro-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
}

.option-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.3;
}

.option-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.option-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.option-time {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Custom Scrollbar for Options */
.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 3px;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Animation for options appearing */
.dropdown-option {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInOption 0.3s ease forwards;
}

.dropdown-option:nth-child(1) { animation-delay: 0.1s; }
.dropdown-option:nth-child(2) { animation-delay: 0.15s; }
.dropdown-option:nth-child(3) { animation-delay: 0.2s; }
.dropdown-option:nth-child(4) { animation-delay: 0.25s; }

@keyframes fadeInOption {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus and Accessibility */
.dropdown-selected:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-option:focus {
    outline: none;
    background: rgba(59, 130, 246, 0.1);
}

/* Enhanced Catalog Title Styles - MCP Page Only */
.enhanced-catalog-header {
    position: relative;
    margin-bottom: 0rem;
    margin-top: 6rem;
    padding: 1rem 0;
    text-align: center;
}

/* Particle Background Effect */
.enhanced-catalog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: catalogPulse 4s ease-in-out infinite;
    z-index: -1;
}

/* Enhanced Catalog Title with Animated Gradient */
.enhanced-catalog-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #3b82f6 25%,
        #8b5cf6 50%,
        #ffffff 75%,
        #3b82f6 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: catalogGradientFlow 3s ease-in-out 1;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    animation-fill-mode: forwards;
}

/* Final state after animation */
.enhanced-catalog-title.animation-complete {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
}

/* Glow Effect */
.enhanced-catalog-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
    animation: catalogGlow 3s ease-in-out infinite alternate;
}

/* Enhanced Subtitle */
.enhanced-catalog-subtitle {
    font-size: 1.2rem;
    color: #bbbdc5;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

/* Decorative Lines */
.catalog-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.catalog-decoration-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 0 1rem;
}

/* Floating Particles for Catalog */
.catalog-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0.6;
    animation: catalogFloat 6s ease-in-out infinite;
}

.catalog-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.catalog-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.catalog-particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.catalog-particle:nth-child(4) {
    bottom: 40%;
    right: 25%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.catalog-particle:nth-child(5) {
    top: 70%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 5s;
}

/* Catalog Animations */
@keyframes catalogGradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 50% 50%;
    }
}

@keyframes catalogPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

@keyframes catalogGlow {
    0% {
        opacity: 0.2;
        filter: blur(10px);
    }
    100% {
        opacity: 0.4;
        filter: blur(15px);
    }
}

@keyframes catalogFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.4;
    }
}

/* Responsive Design for Enhanced Catalog Title */
@media (max-width: 768px) {
    .enhanced-catalog-title {
        font-size: 2.5rem;
    }
    
    .enhanced-catalog-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Enhanced Dropdown Mobile Styles */
    .dropdown-selected {
        padding: 0.875rem 2.5rem 0.875rem 0.875rem;
        min-height: 56px;
    }

    .dropdown-title {
        font-size: 0.95rem;
    }

    .dropdown-description {
        font-size: 0.8rem;
    }

    .dropdown-option {
        padding: 0.875rem;
    }

    .option-details {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-button:hover {
    background: rgba(31, 41, 55, 1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.user-email {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.user-button.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.dropdown-user-details .user-name {
    font-size: 16px;
    font-weight: 600;
    color: #f8fafc;
}

.dropdown-user-details .user-email {
    font-size: 14px;
    color: #94a3b8;
}

.dropdown-menu {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
}

.dropdown-item i {
    width: 16px;
    font-size: 14px;
    color: #94a3b8;
}

.dropdown-item:hover i {
    color: #3b82f6;
}

.dropdown-item.logout {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 0.5rem;
    color: #f87171;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ffffff;
}

.dropdown-item.logout i {
    color: #f87171;
}

/* Right Side Navigation Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #3b82f6 !important;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #3b82f6 !important;
}

.hamburger i {
    color: inherit;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    display: block;
    color: #e5e7eb;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.mobile-nav-links a i {
    width: 20px;
    margin-right: 0.75rem;
    color: #9ca3af;
}

.mobile-nav-links a:hover i {
    color: #3b82f6;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive User Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .user-info {
        display: none;
    }

    .user-button {
        padding: 0.5rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .dropdown-arrow {
        display: none;
    }

    .user-dropdown {
        right: -10px;
        width: 200px;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* Home Page Specific Styles */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.value-prop-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-prop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-prop-card:hover::before {
    opacity: 1;
}

/* Enhanced Intentiv-Branded Value Prop Icons */
.value-prop-icon {
    position: relative;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Intent Alignment - Magnifying Glass with Code */
.value-prop-icon.intent-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border: 3px solid rgba(59, 130, 246, 0.3);
}

.intent-icon::before {
    content: '\f002'; /* fa-search */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* Security - Shield with Lock */
.value-prop-icon.security-icon {
    background: linear-gradient(135deg, #059669, #047857);
    border: 3px solid rgba(5, 150, 105, 0.3);
}

.security-icon::before {
    content: '\f3ed'; /* fa-shield-halved */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.security-icon::after {
    content: '\f023'; /* fa-lock */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #fbbf24;
}

/* Quality - Medal with Check */
.value-prop-icon.quality-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 3px solid rgba(139, 92, 246, 0.3);
}

.quality-icon::before {
    content: '\f5a2'; /* fa-medal */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.quality-icon::after {
    content: '\f00c'; /* fa-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: #10b981;
}

/* Enhanced Hover Effects for Branded Icons */
.value-prop-card:hover .value-prop-icon.intent-icon,
.value-prop-card:hover .value-prop-icon.security-icon,
.value-prop-card:hover .value-prop-icon.quality-icon {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.value-prop-card:hover .intent-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-color: rgba(59, 130, 246, 0.6);
}

.value-prop-card:hover .security-icon {
    background: linear-gradient(135deg, #047857, #059669);
    border-color: rgba(5, 150, 105, 0.6);
}

.value-prop-card:hover .quality-icon {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    border-color: rgba(139, 92, 246, 0.6);
}

/* Legacy hover for non-branded icons (fallback) */
.value-prop-card:hover .value-prop-icon:not(.intent-icon):not(.security-icon):not(.quality-icon) {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

/* Enhanced Intentiv-Branded Result Icons for "What You Get" Section */

/* Trust Score Icon - Animated Counter */
.result-icon.trust-score-icon {
    position: relative;
    background: #059669; /* Will change via animation */
    border: 3px solid rgba(5, 150, 105, 0.3);
    border-radius: 12px; /* More square like MCP cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.trust-score-icon::before {
    content: '95'; /* Final score */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.trust-score-icon::after {
    content: 'Trust Score';
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    position: relative;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1;
    letter-spacing: 0.02em;
    z-index: 2;
}

/* Summary Icon - Document with Analysis - Dark with colored border default */
.result-icon.summary-icon {
    position: relative;
    background: rgba(31, 41, 55, 0.8); /* Dark background */
    border: 3px solid #3b82f6; /* Blue border */
}

.summary-icon::before {
    content: '\f15c'; /* fa-file-text */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fcfcfc; /* Blue icon */
    position: relative;
    z-index: 2;
}

.summary-icon::after {
    content: ''; /* fa-chart-line */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 25%;
    right: 25%;
    font-size: 0.9rem;
    color: #06b6d4;
}

/* Issues Icon - Warning with Exclamation - Dark with colored border default */
.result-icon.issues-icon {
    position: relative;
    background: rgba(31, 41, 55, 0.8); /* Dark background */
    border: 3px solid #ef4444; /* Red border */
}

.issues-icon::before {
    content: '\f071'; /* fa-exclamation-triangle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fafafa; /* Red icon */
    position: relative;
    z-index: 2;
}

.issues-icon::after {
    content: ''; /* fa-bug */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 60%;
    right: 20%;
    font-size: 0.8rem;
    color: #fbbf24;
}


/* Enhanced Hover Effects for Result Icons */
.result-item:hover .result-icon.trust-score-icon,
.result-item:hover .result-icon.summary-icon,
.result-item:hover .result-icon.issues-icon {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.result-item:hover .trust-score-icon {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.4);
    border-color: rgba(5, 150, 105, 0.6);
}

.result-item:hover .summary-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-color: rgba(59, 130, 246, 0.6);
}

.result-item:hover .issues-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-color: rgba(239, 68, 68, 0.6);
}

.value-prop-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.value-prop-card p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
}

.hero-cta-section {
    margin-top: 3rem;
}

.hero-cta-text {
    font-size: 1.2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button-outline:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.highlight-text {
    color: #ffffff;
    font-weight: 600;
}

.what-you-get-subtitle {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: #d1d5db;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.result-item {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-item:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.result-item:hover::before {
    opacity: 1;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.result-item:hover .result-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.result-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.result-item p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
}

/* Perfect For  Section */
.perfect-for {
    padding: 4rem 0;
}

/* MCP Catalog Section */
.mcp-catalog-section {
    padding: 4rem 0;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.catalog-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.catalog-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d1d5db;
    margin: 1.5rem 0;
}

.catalog-actions {
    margin-top: 2rem;
}

.catalog-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.preview-card:hover::before {
    opacity: 1;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-icon {
    font-size: 1.5rem;
}

.preview-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Quick Start Section */
.quick-start {
    padding: 4rem 0;
}

.start-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.start-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step:hover::before {
    opacity: 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.step-content h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
}

.start-action {
    margin-top: 3rem;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed to 2 half-width columns */
    gap: 2rem;
    margin: 3rem 0;
}

.use-case-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.use-case-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.use-case-card p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #d1d5db;
}

.cta-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* MCP Catalog Preview Server Cards - Match actual server card styling */
.catalog-preview-servers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preview-server-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.preview-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-server-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preview-server-card:hover::before {
    opacity: 1;
}

.preview-server-card .server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.preview-server-card .server-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.preview-server-card .server-author {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1;
}

.preview-server-card .trust-score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.preview-server-card .trust-score {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.preview-server-card .trust-score-label {
    font-size: 0.75rem;
    color: #e8e8ea;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}

.preview-server-card .server-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.preview-server-card .server-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.preview-server-card .server-updated {
    color: #9ca3af;
    font-size: 0.85rem;
}

.preview-server-card .server-stars {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Background elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bg-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Wide Results Grid - 2x2 Layout */
.results-grid-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.result-card-wide {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.result-card-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card-wide:hover::before {
    opacity: 1;
}

/* Extended Summary Preview */
.summary-preview-extended {
    background: rgba(17, 24, 39, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #3b82f6;
}

.summary-content-extended {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.6;
    text-align: justify;
}

.analysis-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-weight: 500;
    color: #d1d5db;
    font-size: 0.95rem;
}

.metric-status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.metric-status.status-good {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.metric-status.status-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* Trust Score Breakdown */
.trust-breakdown {
    margin-bottom: 1.5rem;
}

.breakdown-category {
    margin-bottom: 1.5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.category-name {
    font-weight: 500;
    color: #d1d5db;
    font-size: 0.95rem;
}

.category-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-status i {
    font-size: 1rem;
    cursor: help;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 4px;
    transition: width 2s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.progress-ai {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.progress-docs {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.trust-summary {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    font-style: italic;
}

/* Issue Detail Card */
.issue-detail-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.issue-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.issue-severity {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.moderate-severity {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.issue-info {
    flex: 1;
}

.issue-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.issue-confidence {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.issue-confidence i {
    cursor: help;
}

.issue-description {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.code-preview-compact {
    background: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.code-file-info {
    background: rgba(17, 24, 39, 0.8);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.code-content {
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Analysis Categories */
.analysis-categories {
    margin-bottom: 1.5rem;
}

.analysis-category {
    margin-bottom: 1.5rem;
}

.analysis-icon {
    color: #3b82f6;
    margin-right: 0.5rem;
    cursor: help;
}

.category-percentage {
    font-weight: 600;
    color: #3b82f6;
    font-size: 0.9rem;
}

.category-description {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Analysis Stats Grid */
.analysis-stats {
    margin-bottom: 1rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: rgba(17, 24, 39, 0.8);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analysis-summary {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    font-style: italic;
}

/* Floating Badge Updates */
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.floating-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Issue Pills in Header */
.result-header .issue-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-header .issue-pill {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Responsive Design for Wide Grid */
@media (max-width: 1024px) {
    .results-grid-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .result-card-wide {
        min-height: auto;
    }
    
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .result-card-wide {
        padding: 1.5rem;
    }
    
    .summary-content-extended {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .issue-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .code-content {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .result-card-wide {
        padding: 1.25rem;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .trust-score {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-badge {
        align-self: flex-end;
    }
}

/* Legacy result-card styles for compatibility */
.result-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover::before {
    opacity: 1;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.trust-score {
    width: 60px;
    height: 60px;
    background: #059669;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    animation: scoreCounter 2s ease-out;
}

.trust-score.rotating {
    animation: scoreRotate 4s ease-in-out infinite;
}

@keyframes scoreCounter {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes scoreRotate {
    0%, 100% { background: #059669; }
    33% { background: #d97706; }
    66% { background: #dc2626; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.status-good { color: #10b981; }
.status-warning { color: #f59e0b; }

.metric-value {
    color: #3b82f6;
    font-weight: 600;
}

.issue-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.issue-pill {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.issue-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.critical { 
    background: rgba(239, 68, 68, 0.2); 
    color: #fca5a5; 
    border: 1px solid rgba(239, 68, 68, 0.3); 
}

.high { 
    background: rgba(245, 158, 11, 0.2); 
    color: #fbbf24; 
    border: 1px solid rgba(245, 158, 11, 0.3); 
}

.moderate { 
    background: rgba(59, 130, 246, 0.2); 
    color: #93c5fd; 
    border: 1px solid rgba(59, 130, 246, 0.3); 
}

.minor { 
    background: rgba(156, 163, 175, 0.2); 
    color: #d1d5db; 
    border: 1px solid rgba(156, 163, 175, 0.3); 
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animated-counter {
    display: inline-block;
    animation: countUp 2s ease-out;
}

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

.code-line {
    color: #d1d5db;
}

.code-keyword { color: #8b5cf6; }
.code-string { color: #10b981; }
.code-comment { color: #6b7280; }
.code-function { color: #3b82f6; }

/* Report Example Image Container */
.report-example-container {
    text-align: center;
    position: relative;
}

.report-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-example-image {
    width: 100%;
    height: auto;
    max-width: 900px;
    display: block;
    border-radius: 16px;
}

/* Mobile Responsive Design for Image */
@media (max-width: 768px) {
    .report-example-container {
        padding: 1rem;
    }
    
    .report-image-wrapper {
        border-radius: 12px;
    }
    
    .report-example-image {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .report-example-container {
        padding: 0.5rem;
    }
    
    .report-image-wrapper {
        border-radius: 8px;
    }
    
    .report-example-image {
        border-radius: 8px;
    }
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .value-props-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .catalog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .preview-server-card {
        padding: 1.25rem;
        min-height: auto;
    }

    .preview-server-card .server-header {
        margin-bottom: 0.75rem;
    }

    .preview-server-card .trust-score {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .preview-server-card .trust-score-label {
        font-size: 0.7rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button,
    .cta-button-secondary,
    .cta-button-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-header h2,
    .start-content h2,
    .catalog-text h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .value-prop-card,
    .result-card,
    .step,
    .use-case-card {
        padding: 1.5rem;
    }

    .value-prop-icon,
    .result-icon,
    .step-icon,
    .use-case-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    /* Adjust enhanced icon overlays for mobile */
    .security-icon::after {
        font-size: 1rem;
    }

    .quality-icon::after {
        font-size: 0.8rem;
    }

    /* Adjust result icon overlays for mobile */
    .trust-score-icon::before {
        font-size: 1.8rem;
    }

    .trust-score-icon::after {
        font-size: 0.65rem;
    }

    .summary-icon::after {
        font-size: 0.7rem;
        top: 30%;
        right: 20%;
    }

    .issues-icon::after {
        font-size: 0.7rem;
        top: 65%;
        right: 15%;
    }

    .result-card {
        min-height: auto;
    }

    .issue-pills {
        gap: 0.3rem;
    }

    .issue-pill {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .code-preview {
        font-size: 0.8rem;
        padding: 0.75rem;
    }

    .trust-score {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .value-prop-card,
    .result-card,
    .step,
    .use-case-card {
        padding: 1.25rem;
    }

    .cta-button,
    .cta-button-secondary,
    .cta-button-outline {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .trust-score {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .floating-badge {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }

    /* Further adjust enhanced icon overlays for small mobile */
    .security-icon::after {
        font-size: 0.9rem !important;
    }

    .quality-icon::after {
        font-size: 0.7rem !important;
    }

    /* Further adjust result icon overlays for small mobile */
    .trust-score-icon::before {
        font-size: 1.6rem !important;
    }

    .trust-score-icon::after {
        font-size: 0.6rem !important;
    }

    .summary-icon::after {
        font-size: 0.6rem !important;
        top: 35% !important;
        right: 15% !important;
    }

    .issues-icon::after {
        font-size: 0.6rem !important;
        top: 70% !important;
        right: 10% !important;
    }
}
