/* MCP-EDA - Stable Performance CSS */

/* Custom Fonts - Removed import to avoid conflicts with HTML link */

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

:root {
    /* Premium Color Palette */
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    --accent-400: #06b6d4;
    --accent-500: #0891b2;
    
    /* Simplified Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    
    /* Background Colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #1a1a1e;
    --bg-card: rgba(26, 26, 30, 0.8);
    --bg-card-hover: rgba(31, 31, 35, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-accent: #6366f1;
    
    /* Border & Shadows */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(99, 102, 241, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    
    /* Spacing */
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Container Widths */
    --container-2xl: 1400px;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Simplified Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Simplified Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Removed animation for stability */
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    /* Removed complex animations */
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    bottom: -150px;
    left: -150px;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #06b6d4, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Section Container */
.section-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 var(--space-lg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-xl);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-lg);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
}

.brand-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.brand-icon:hover {
    transform: scale(1.05);
}

.brand-logo-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1;
}

/* Duke University Badge */
.duke-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.duke-logo {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.duke-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 2px;
}

.duke-text {
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link.nav-github {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.nav-link.nav-github:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.nav-link.nav-arxiv {
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
}

.nav-link.nav-arxiv:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}



/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    position: relative;
    cursor: pointer;
}

.dropdown-trigger .dropdown-icon {
    transition: var(--transition-fast);
    font-size: 0.75rem;
    margin-left: var(--space-xs);
}

.nav-dropdown:hover .dropdown-trigger .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-sm));
    left: 0;
    background: rgba(17, 17, 19, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    width: 100%;
    box-sizing: border-box;
}

.dropdown-item:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.dropdown-item i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dropdown-item span {
    flex: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .duke-badge {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-primary);
        flex-direction: column;
        padding: var(--space-lg) 0;
        gap: var(--space-sm);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: var(--space-md);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
        flex-direction: column;
    }
    
    .dropdown-trigger {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(26, 26, 30, 0.8);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: var(--space-sm);
        backdrop-filter: none;
    }
    
    .dropdown-item {
        justify-content: center;
        padding: var(--space-md);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) 0 var(--space-xs);
    position: relative;
}

.hero-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: -webkit-box;
    display: -ms-flexbox;
    display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    grid-template-columns: 1fr 550px;
    gap: var(--space-3xl);
    min-height: 80vh;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        min-height: auto;
    }
    
    .demo-container {
        transform: scale(1.0);
        max-width: 100%;
    }
    
    .demo-content {
        height: 460px;
    }
    
    .demo-pane {
        height: 390px;
        padding: 0;
    }

    .chat-interface {
        padding: var(--space-md);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-accent);
    width: fit-content;
    backdrop-filter: blur(10px);
}

.badge-icon {
    animation: pulseGlow 2.5s ease-in-out infinite;
    font-size: 1rem;
    line-height: 1;
}

@keyframes pulseGlow {
    0% {
        color: #4338ca;
        text-shadow: 0 0 4px rgba(67, 56, 202, 0.3);
    }
    25% {
        color: #7c3aed;
        text-shadow: 0 0 6px rgba(124, 58, 237, 0.4);
    }
    50% {
        color: #8b5cf6;
        text-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
    }
    75% {
        color: #06b6d4;
        text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
    }
    100% {
        color: #4338ca;
        text-shadow: 0 0 4px rgba(67, 56, 202, 0.3);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
}

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

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-1px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    flex-shrink: 0;
}

.demo-container {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    transform-origin: center;
    width: 100%;
    max-width: 650px;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.demo-controls {
    display: flex;
    gap: var(--space-xs);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-red { background: #ef4444; }
.control-yellow { background: #f59e0b; }
.control-green { background: #10b981; }

.demo-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-content {
    height: 520px;
}

.demo-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-primary);
}

.demo-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.demo-tab.active,
.demo-tab:hover {
    color: var(--text-accent);
    background: var(--bg-glass);
    border-bottom-color: var(--primary-500);
}

.demo-pane {
    display: none;
    padding: 0;
    height: 450px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.demo-pane.active {
    display: block;
}

/* Chat Interface */
.chat-interface {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: var(--space-lg);
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    width: 100%;
    max-width: 100%;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-avatar {
    background: var(--gradient-primary);
}

.ai-avatar {
    background: var(--gradient-accent);
}

.message-content {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%;
    flex: 1;
}

.chat-message.user .message-content {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    margin-left: 0;
    margin-right: 0;
}

.chat-message.ai .message-content {
    background: var(--bg-glass);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.code-preview {
    height: 100%;
    background: #1e1e1e;
    border-radius: var(--radius-md);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.code-preview pre {
    padding: var(--space-lg);
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    height: 100%;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.result-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.metric-image:hover {
    transform: scale(1.05);
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-accent);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    border-top: 1px solid var(--border-primary);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-lg);
}

.stats-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 640px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.stat-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Section Styles */
section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
    position: relative;
}

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

.feature-card.primary {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag {
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-accent);
    backdrop-filter: blur(10px);
}

/* Architecture Section */
.architecture-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .architecture-flow {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .arrow-line {
        width: 40px;
        height: 2px;
    }
}

.flow-step {
    text-align: center;
    transition: var(--transition-normal);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.flow-step:hover {
    background: var(--bg-glass);
    transform: translateY(-4px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.arrow-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    border-radius: 1px;
}

.flow-arrow i {
    position: absolute;
    color: var(--primary-500);
    font-size: 1.25rem;
    background: var(--bg-primary);
    padding: var(--space-xs);
}

@media (max-width: 1024px) {
    .flow-arrow {
        transform: rotate(90deg);
        margin: var(--space-sm) 0;
    }
    
    .arrow-line {
        width: 40px;
        height: 2px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.service-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.service-icon {
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    color: var(--text-accent);
    padding: var(--space-sm);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.service-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.service-port {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-accent);
    background: var(--bg-glass);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-accent);
}

.service-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    animation: pulse 2s infinite;
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Documentation Section */
.documentation {
    background: var(--bg-secondary);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-2xl);
}

.doc-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    text-decoration: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(20px);
    min-height: 140px;
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.doc-card.featured {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.doc-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.doc-content {
    flex: 1;
}

.doc-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.doc-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    word-break: break-word;
    hyphens: auto;
}

.doc-meta {
    display: flex;
    gap: var(--space-sm);
}

.doc-type,
.doc-status {
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-accent);
}

.doc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.doc-card:hover .doc-arrow {
    color: var(--text-accent);
    transform: translateX(4px);
}

/* MCP-EDA Tools Section */
.mcp-eda {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.mcp-eda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mcp-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.mcp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.mcp-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.mcp-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mcp-title i {
    font-size: 2.5rem;
    color: #10b981;
}

.mcp-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.mcp-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.mcp-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.mcp-feature:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    transform: translateY(-2px);
}

.mcp-feature i {
    font-size: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

.mcp-feature span {
    font-weight: 500;
    color: var(--text-primary);
}

.mcp-actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.mcp-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mcp-demo-container {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 500px;
}

.mcp-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-primary);
}

.demo-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }

.demo-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.mcp-demo-content {
    padding: var(--space-lg);
}

.chat-example {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.user-message, .ai-response {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.user-message span {
    background: #10b981;
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-weight: 500;
    max-width: 80%;
}

.user-message i {
    color: #10b981;
    margin-top: var(--space-xs);
}

.ai-response i {
    color: var(--text-secondary);
    margin-top: var(--space-xs);
    flex-shrink: 0;
}

.response-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    max-width: 85%;
}

.response-content > span {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--space-sm);
}

.response-progress {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.progress-step {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.progress-step.completed {
    color: #10b981;
    opacity: 1;
    font-weight: 500;
}

.mcp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mcp-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.mcp-stats .stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mcp-stats .stat-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* MCP-EDA Section Overrides */
.mcp-eda .section-badge {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    color: white;
    border: none;
}

.mcp-eda .section-title {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mcp-eda .btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.mcp-eda .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
}

.mcp-eda .user-message {
    justify-content: flex-start;
}

/* About Us Section Overrides */
.about .section-badge {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: white;
    border: none;
}

.about .section-title {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about .member-email {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

.about .member-email:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.about .cta-button {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: white;
}

.member-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.member-website {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, #10b981 0%, #06d6a0 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.member-website:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Research Team Compact Layout */
.research-team-compact {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.researcher-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.researcher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.researcher-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 var(--space-xs) 0;
}

.researcher-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 var(--space-xs) 0;
    font-weight: 500;
}

.researcher-affiliation {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .research-team-compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .research-team-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .researcher-card {
        padding: var(--space-md);
    }
}

.about .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.about .category-title {
    color: #2563eb;
}

.about .category-title i {
    color: #2563eb;
}

.about .member-avatar {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.about .member-avatar::after {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.about .avatar-image {
    border: 2px solid rgba(37, 99, 235, 0.3);
}

.about .collaboration-title {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about .collaboration-title i {
    color: #2563eb;
}

.about .collab-area {
    border-color: rgba(37, 99, 235, 0.3);
}

.about .collab-area:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
    transform: translateY(-4px);
}

.about .collab-area i {
    color: #2563eb;
}

/* Community Resources in About Us */
.community-resources {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-primary);
}

.resources-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: var(--space-xl);
}

.resources-title i {
    color: #2563eb;
}

/* Adjust About Us team member card height */
.about .team-member {
    padding: var(--space-xl) var(--space-2xl);
}

/* Beautiful Syntax Highlighting - VS Code Dark+ inspired */
.language-bash .token.comment,
.language-bash .token.prolog,
.language-bash .token.doctype,
.language-bash .token.cdata,
.language-tcl .token.comment {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.language-bash .token.string,
.language-bash .token.attr-value,
.language-tcl .token.string {
    color: #ce9178;
}

.language-bash .token.punctuation,
.language-bash .token.operator,
.language-tcl .token.punctuation,
.language-tcl .token.operator {
    color: #d4d4d4;
}

.language-bash .token.number,
.language-bash .token.boolean,
.language-tcl .token.number,
.language-tcl .token.boolean {
    color: #b5cea8;
}

.language-bash .token.keyword,
.language-bash .token.atrule,
.language-tcl .token.keyword {
    color: #569cd6;
    font-weight: 500;
}

.language-bash .token.function,
.language-bash .token.function-name,
.language-tcl .token.function {
    color: #dcdcaa;
}

.language-bash .token.variable,
.language-bash .token.constant,
.language-tcl .token.variable {
    color: #9cdcfe;
}

.language-bash .token.property,
.language-tcl .token.property {
    color: #9cdcfe;
}

/* Enhanced bash commands */
.language-bash .token.command {
    color: #569cd6;
    font-weight: 500;
}

.language-bash .token.parameter {
    color: #ce9178;
}

/* TCL-specific tokens */
.language-tcl .token.command {
    color: #569cd6;
    font-weight: 500;
}

.language-tcl .token.option {
    color: #ce9178;
}

/* Force syntax highlighting when Prism fails */
code.language-bash,
code.language-tcl {
    color: #d4d4d4;
    background: transparent !important;
}

/* Basic syntax patterns */
code.language-bash:not(.token),
code.language-tcl:not(.token) {
    background: transparent !important;
}

/* Ensure code blocks have proper styling */
.code-content pre code {
    background: transparent;
    color: inherit;
    font-size: inherit;
    padding: 0;
    border: none;
}

/* Manual highlighting for common bash patterns */
.language-bash::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.mcp-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition-normal);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #10b981, #059669);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: #10b981;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.tool-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.tool-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.tool-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design for MCP-EDA */
@media (max-width: 1024px) {
    .mcp-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mcp-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .mcp-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mcp-features {
        grid-template-columns: 1fr;
    }
    
    .mcp-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .mcp-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .mcp-actions {
        justify-content: center;
    }
    
    .mcp-title {
        font-size: 1.875rem;
    }
    
    .user-message span,
    .response-content {
        max-width: 95%;
    }
}

/* About Us Section */
.about {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.team-category {
    margin-bottom: var(--space-4xl);
}

.category-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2xl);
    text-align: center;
    justify-content: center;
}

.category-title i {
    font-size: 2rem;
    color: var(--color-primary);
}

.team-grid {
    display: grid;
    gap: var(--space-2xl);
}

.advisors-grid {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

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

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    transition: var(--transition-normal);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.team-member.advisor {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.member-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.member-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.member-affiliation {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    text-align: left;
}

.member-email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.member-email:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.member-email-placeholder {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    opacity: 0.7;
}

.collaboration-section {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collaboration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.collaboration-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.collaboration-title i {
    font-size: 2.25rem;
    color: var(--color-primary);
}

.collaboration-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.collaboration-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.collab-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.collab-area:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.collab-area i {
    font-size: 2rem;
    color: var(--color-primary);
}

.collab-area span {
    font-weight: 600;
    color: var(--text-primary);
}

.collaboration-cta {
    margin-top: var(--space-xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.cta-button i {
    font-size: 1.25rem;
}

/* Responsive Design for About Us */
@media (max-width: 1024px) {
    .advisors-grid {
        grid-template-columns: 1fr;
    }
    
    .researchers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .collaboration-areas {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-category {
        margin-bottom: var(--space-3xl);
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .avatar-image {
        object-position: center 20%;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .collaboration-title {
        font-size: 1.75rem;
    }
    
    .collaboration-text {
        font-size: 1rem;
    }
    
    .researchers-grid {
        grid-template-columns: 1fr;
    }
    
    .collaboration-areas {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: var(--space-lg);
    }
    
    .collaboration-section {
        padding: var(--space-2xl);
    }
    
    .cta-button {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
    
    .collaboration-areas {
        grid-template-columns: 1fr;
    }
}

/* Installation Section */
.install-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    margin-bottom: var(--space-4xl);
}

.install-step {
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .install-step {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.code-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.code-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.code-lang {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.code-content pre {
    padding: var(--space-xl);
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.install-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.resource-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
    min-height: 120px;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.resource-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.resource-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    line-height: 1.3;
}

.resource-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.resource-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

.resource-link:hover {
    color: var(--primary-600);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

.footer-brand {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.brand-logo {
    flex-shrink: 0;
}

.footer-logo-image {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.brand-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.brand-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-md);
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.link-group a:hover {
    color: var(--text-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-primary);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}

.footer-copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 640px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
        --space-4xl: 5rem;
    }
    
    .hero-container {
        padding: 0 var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-flow {
        grid-template-columns: 1fr;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .install-resources {
        grid-template-columns: 1fr;
    }
}