/* ========================================
   NEXUS AI - Introduction Webpage
   Style Reference: AEGIS Webpage
   Dark Glassmorphism + Particle Background
   ======================================== */

/* CSS Variables */
:root {
    --clr-cyan: #00b4d8;
    --clr-purple: #8b5cf6;
    --clr-pink: #f472b6;
    --clr-green: #10b981;
    --clr-amber: #f59e0b;
    --clr-red: #ef4444;

    --bg-dark: #050608;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);

    --text-main: #e8eaed;
    --text-muted: #9aa0a6;
    --text-dim: #6b7280;

    --glow-cyan: rgba(0, 180, 216, 0.4);
    --glow-purple: rgba(139, 92, 246, 0.4);
    --glow-pink: rgba(244, 114, 182, 0.4);
    --glow-green: rgba(16, 185, 129, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Courier New', monospace;

    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 6, 8, 0.95);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.brand-accent {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--clr-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    border-radius: var(--radius-xs);
    padding: 3px;
    border: 1px solid var(--border-glass);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--clr-cyan);
    color: var(--bg-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 24px;
    font-size: 0.8rem;
    color: var(--clr-cyan);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-gradient {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-cyan), #0096c7);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--clr-cyan);
    border: 1px solid rgba(0, 180, 216, 0.4);
}

.btn-outline:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: var(--clr-cyan);
    transform: translateY(-3px);
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-cyan);
    display: inline;
}

.stat-plus, .stat-slash {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-purple);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Architecture Mini Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.arch-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: float 6s ease-in-out infinite;
}

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

.arch-mini-layer {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    min-width: 300px;
    border-left: 3px solid var(--layer-color);
    transition: var(--transition);
}

.arch-mini-layer:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateX(8px);
}

.arch-mini-layer span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.arch-mini-layer small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 1.2rem;
    color: var(--clr-cyan);
    opacity: 0.6;
}

/* ========== SECTIONS ========== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.01);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 60px;
}

/* ========== ARCHITECTURE ========== */
.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arch-row {
    display: grid;
    grid-template-columns: 60px 160px 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--row-color);
    transition: var(--transition);
}

.arch-row:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateX(6px);
}

.arch-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--row-color, var(--clr-cyan));
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    text-align: center;
}

.arch-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.arch-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arch-chip {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.arch-chip:hover {
    border-color: var(--row-color);
    color: var(--text-main);
}

/* ========== FRAMEWORKS ========== */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.fw-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fw-color), transparent);
    opacity: 0;
    transition: var(--transition);
}

.fw-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.fw-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    filter: grayscale(0.3);
}

.fw-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.fw-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.fw-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-size: 0.65rem;
    color: var(--fw-color);
    font-weight: 500;
}

.fw-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fw-feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.fw-feature-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
}

.fw-feature-card h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-cyan);
    margin-bottom: 6px;
}

.fw-feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== AI TOOLS ========== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.tool-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: var(--transition);
    border-top: 3px solid var(--tool-color);
}

.tool-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.tool-count {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tool-color);
}

.tool-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.tool-card ul {
    list-style: none;
    padding: 0;
}

.tool-card li {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 3px 0;
    padding-left: 14px;
    position: relative;
}

.tool-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tool-color);
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Tools Security */
.tools-security {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
}

.tools-security h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.badge-cyan {
    color: var(--clr-cyan);
    border-color: rgba(0, 180, 216, 0.3);
    background: rgba(0, 180, 216, 0.08);
}

.badge-purple {
    color: var(--clr-purple);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
}

.badge-pink {
    color: var(--clr-pink);
    border-color: rgba(244, 114, 182, 0.3);
    background: rgba(244, 114, 182, 0.08);
}

.badge-green {
    color: var(--clr-green);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
}

.badge-amber {
    color: var(--clr-amber);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-purple));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

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

/* ========== ADVANCED MODULES ========== */
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.adv-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 32px;
    border-left: 4px solid var(--adv-color);
    transition: var(--transition);
}

.adv-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
}

.adv-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.adv-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adv-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.adv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* MCP Section */
.mcp-section {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
}

.mcp-section h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
}

.mcp-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mcp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.mcp-item:hover {
    border-color: var(--clr-cyan);
    color: var(--text-main);
}

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

/* ========== TECH STACK ========== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-category {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.tech-category:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
}

.tech-category h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-name {
    font-size: 0.85rem;
    color: var(--text-main);
}

.tech-ver {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ========== IMPLEMENTATION STATUS ========== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.status-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.status-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-phase {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--status-color);
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-xs);
}

.status-check {
    color: var(--clr-green);
    font-size: 1.2rem;
    font-weight: 700;
}

.status-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.status-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-green));
    border-radius: 2px;
    transition: width 1.5s ease;
}

.status-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ========== STATISTICS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--clr-cyan);
    margin-bottom: 6px;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Server Info */
.server-info {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 32px;
}

.server-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.server-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.server-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.server-item code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--clr-cyan);
    background: rgba(0, 180, 216, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(0, 180, 216, 0.15);
}

/* ========== VERSION HISTORY ========== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-cyan), var(--clr-purple), var(--clr-pink));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.timeline-content {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: var(--transition);
}

.timeline-content:hover {
    background: var(--bg-glass-hover);
    transform: translateX(6px);
}

.timeline-date {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.timeline-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    background: rgba(0, 180, 216, 0.15);
    color: var(--clr-cyan);
    border-radius: 8px;
    margin-left: 6px;
}

.timeline-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links h5,
.footer-tech h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-cyan);
}

.footer-tech span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 4px 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .framework-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        max-width: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .arch-row {
        grid-template-columns: 50px 130px 1fr;
    }

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-glass);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .arch-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .arch-label {
        display: inline-block;
        width: auto;
    }

    .framework-grid,
    .tools-grid,
    .features-grid,
    .fw-features,
    .tech-grid,
    .status-grid,
    .stats-grid,
    .server-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }
}
