/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-tertiary: #141b2d;
    --bg-card: rgba(20, 27, 45, 0.7);
    --bg-card-hover: rgba(30, 40, 65, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-color: rgba(99, 102, 241, 0.15);
    --border-hover: rgba(99, 102, 241, 0.35);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-pink: #ec4899;
    --accent-teal: #14b8a6;
    --accent-orange: #f97316;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #22d3ee 50%, #a78bfa 100%);
    --glow-indigo: 0 0 20px rgba(99, 102, 241, 0.3);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --nav-height: 64px;
    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--accent-indigo);
    color: white;
    font-size: 14px;
}
.skip-link:focus {
    top: 0;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-version {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
}

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

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

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

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(6, 182, 212, 0.2);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

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

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

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-emerald);
    margin-bottom: 24px;
    grid-column: 1;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    grid-column: 1;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    grid-column: 1;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    grid-column: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 12px;
    grid-column: 1;
}

.hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Mockup */
.dashboard-mockup {
    width: 100%;
    max-width: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), var(--glow-indigo);
    animation: float 6s ease-in-out infinite;
}

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

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

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

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

.mockup-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mockup-body {
    display: flex;
    height: 280px;
}

.mockup-sidebar {
    width: 140px;
    padding: 12px 8px;
    border-right: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}

.mock-nav-item {
    padding: 6px 10px;
    font-size: 11px;
    color: var(--text-muted);
    border-radius: 6px;
    margin-bottom: 2px;
    font-weight: 500;
}

.mock-nav-item.active {
    color: white;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.mockup-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-card-row {
    display: flex;
    gap: 8px;
}

.mock-stat-card {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.mock-stat-card.c1 { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.2); }
.mock-stat-card.c2 { background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.2); }
.mock-stat-card.c3 { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); }

.mock-stat-val {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.mock-stat-lbl {
    font-size: 10px;
    color: var(--text-muted);
}

.mock-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.1);
}

.mock-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    opacity: 0.7;
    animation: bar-grow 2s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

@keyframes bar-grow {
    to { transform: scaleY(1); }
}

.mock-bar:nth-child(1) { animation-delay: 0.1s; }
.mock-bar:nth-child(2) { animation-delay: 0.2s; }
.mock-bar:nth-child(3) { animation-delay: 0.3s; }
.mock-bar:nth-child(4) { animation-delay: 0.4s; }
.mock-bar:nth-child(5) { animation-delay: 0.5s; }
.mock-bar:nth-child(6) { animation-delay: 0.6s; }
.mock-bar:nth-child(7) { animation-delay: 0.7s; }

/* ===== Sections ===== */
.section {
    padding: var(--section-padding) 24px;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent, #6366f1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent, #6366f1);
    background: color-mix(in srgb, var(--accent, #6366f1) 10%, transparent);
    border-color: color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

/* ===== Agents Grid ===== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.agent-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.agent-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-mono);
    color: rgba(99, 102, 241, 0.1);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.agent-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent-indigo);
}

.agent-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.agent-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.agent-capabilities {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agent-capabilities li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}

.agent-capabilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

/* ===== Architecture Diagram ===== */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.arch-layer-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.arch-nodes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
    transition: transform 0.2s ease;
}

.arch-node:hover {
    transform: scale(1.05);
}

.arch-node.frontend {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.arch-node.backend {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.arch-node.infra {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.arch-node-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.arch-connector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
}

.connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.connector-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* ===== API Status Grid ===== */
.api-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.api-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    transition: all 0.2s ease;
}

.api-category:hover {
    border-color: var(--border-hover);
}

.api-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.api-cat-name {
    font-size: 13px;
    font-weight: 600;
}

.api-cat-count {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--accent-emerald);
    font-weight: 600;
}

.api-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.api-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1.5s ease-out;
}

.api-summary {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.api-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.summary-icon.pass {
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
}

.summary-icon.fail {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.summary-icon.fixed {
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.1);
}

.summary-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-text strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* ===== Tech Stack ===== */
.tech-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-column {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.tech-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.tech-col-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frontend-icon { background: var(--accent-indigo); }
.backend-icon { background: var(--accent-emerald); }
.infra-icon { background: var(--accent-amber); }

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

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.tech-item:hover {
    background: var(--bg-glass);
}

.tech-name {
    font-size: 14px;
    font-weight: 500;
}

.tech-ver {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ===== Pages Grid ===== */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.page-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.page-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-icon {
    color: var(--accent-indigo);
}

.page-name {
    font-size: 14px;
    font-weight: 600;
}

.page-route {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
}

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

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-indigo), var(--accent-cyan), transparent);
}

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

.update-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-indigo);
    border-radius: 50%;
    z-index: 1;
}

.update-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.update-content:hover {
    border-color: var(--border-hover);
}

.update-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 8px;
}

.update-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.update-badge.feature {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

.update-badge.improvement {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

.update-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.update-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Links Grid ===== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.link-icon {
    color: var(--accent-indigo);
    flex-shrink: 0;
}

.link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-name {
    font-size: 14px;
    font-weight: 600;
}

.link-url {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.link-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

.link-status.online {
    background: var(--accent-emerald);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-version {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 12px !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        grid-column: 1;
        grid-row: auto;
    }
    .hero-badge, .hero-title, .hero-description, .hero-stats, .hero-actions {
        grid-column: 1;
    }
    .tech-columns {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .api-status-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-links-group {
        flex-direction: column;
        gap: 24px;
    }

    .api-summary {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .arch-nodes {
        gap: 8px;
    }

    .arch-node {
        padding: 8px 12px;
        font-size: 12px;
    }
}

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

    .dashboard-mockup {
        display: none;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle styles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}
