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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0e1a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #e1e5e9;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00f5ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #0099cc);
    transition: width 0.3s ease;
}

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

.contact-btn {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    color: white !important;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.contact-btn::after {
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    margin-left: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a0a9b8;
    padding: 8px 16px;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.lang-btn:hover {
    color: #e1e5e9;
}

.lang-btn.active {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

.lang-btn.active:hover {
    transform: scale(1.05);
}

/* Hero Section - Enterprise Dark Theme */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #0a0d14;
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
}

.neural-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #e1e5e9;
}

.gradient-text {
    background: linear-gradient(135deg, #00f5ff, #0099cc, #66ccff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    color: #a0a9b8;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00f5ff;
    border: 2px solid #00f5ff;
}

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-3px);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Agent Network Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-network {
    position: relative;
    width: min(400px, 90vmin);
    height: min(400px, 90vmin);
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
    color: white;
    transform-origin: center center;
    will-change: transform, filter;
    backdrop-filter: blur(8px);
}

.agent-node:focus {
    outline: 2px solid rgba(0, 245, 255, 0.8);
    outline-offset: 4px;
}

.agent-node:focus-visible {
    outline: 2px solid rgba(0, 245, 255, 1);
    outline-offset: 4px;
}

.agent-node::before {
    content: attr(data-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    color: #94a3b8;
    white-space: normal;
    max-width: 90px;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}

/* TIER 1: Core Orchestration - Center - ENTERPRISE TEAL WITH BREATHING GLOW */
.agent-node.core {
    background: linear-gradient(135deg, #0d3d3d, #115e59, #14b8a6);
    width: 80px;
    height: 80px;
    z-index: 10;
    /* Deep shadow for premium depth */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(20, 184, 166, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.4);
    animation: breathingCore 3s ease-in-out infinite;
}

@keyframes breathingCore {
    0%, 100% {
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.5),
            0 4px 12px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(20, 184, 166, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.5),
            0 4px 12px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(20, 184, 166, 0.3),
            0 0 80px rgba(20, 184, 166, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.15);
    }
}

.agent-node.core svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

/* TIER 2: Integration Fabric - Inner Ring - GRAPHITE WITH DEPTH */
.agent-node.infrastructure {
    width: 60px;
    height: 60px;
    z-index: 8;
}

.agent-node.infrastructure[data-agent-id="data-agent"] {
    background: linear-gradient(135deg, #1e293b, #334155, #475569);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(71, 85, 105, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.agent-node.infrastructure[data-agent-id="devs-agent"] {
    background: linear-gradient(135deg, #164e63, #0e7490, #0891b2);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(14, 116, 144, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(8, 145, 178, 0.35);
}

.agent-node.infrastructure[data-agent-id="enrich-agent"] {
    background: linear-gradient(135deg, #334155, #475569, #64748b);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(71, 85, 105, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(71, 85, 105, 0.3);
}

/* TIER 3: Governance Layer - Middle Ring - NAVY WITH REFINED SHADOWS */
.agent-node.development {
    width: 60px;
    height: 60px;
    z-index: 9;
}

.agent-node.development[data-agent-id="backend-agent"] {
    background: linear-gradient(135deg, #0c4a6e, #075985, #0369a1);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(7, 89, 133, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(3, 105, 161, 0.35);
}

.agent-node.development[data-agent-id="frontend-agent"] {
    background: linear-gradient(135deg, #1e3a5f, #1e40af, #3b82f6);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(30, 64, 175, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.agent-node.development[data-agent-id="qa-agent"] {
    background: linear-gradient(135deg, #172554, #1e3a8a, #1e40af);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(30, 58, 138, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.35);
}

/* TIER 4: Production Output - Edge - TEAL WITH GLOW */
.agent-node.application {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #115e59, #0d9488, #14b8a6);
    z-index: 9;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(20, 184, 166, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.4);
}

.agent-node.application svg {
    width: 20px;
    height: 24px;
}

.agent-node svg {
    flex-shrink: 0;
}

/* Positioning will be handled by JavaScript for dynamic orbital rings */

/* Agent Network Tooltip - Enhanced with Metrics */
.agent-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    min-width: 280px;
}

.agent-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.agent-tooltip-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.agent-tooltip-metrics {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.4;
    flex-wrap: wrap;
}

.agent-tooltip-description {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.tooltip-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.agent-tooltip-last-action {
    color: rgba(59, 130, 246, 0.9);
    font-weight: 500;
}

.agent-tooltip-key-metric {
    color: rgba(16, 185, 129, 0.9);
    font-weight: 600;
}

/* Agent Legend - Enterprise Visual Guide */
.agent-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    padding: 16px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 280px;
}

.agent-legend-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.agent-legend-section {
    margin-bottom: 12px;
}

.agent-legend-section:last-child {
    margin-bottom: 0;
}

.agent-legend-label {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.agent-legend-items {
    display: flex;
    gap: 16px;
}

.agent-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.agent-legend-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* Legend node examples */
.legend-node {
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.legend-node-core {
    width: 20px;
    height: 20px;
}

.legend-node-functional {
    width: 16px;
    height: 16px;
}

.legend-node-edge {
    width: 12px;
    height: 12px;
}

/* Responsive legend */
@media (max-width: 768px) {
    .agent-legend {
        display: none; /* Hide on mobile to save space */
    }
}

/* Agent Info Panel (Click) */
.agent-info-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    border-left: 1px solid rgba(0, 245, 255, 0.3);
    backdrop-filter: blur(20px);
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.agent-info-panel.visible {
    right: 0;
}

.agent-info-panel-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.agent-info-panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #a0a9b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.agent-info-panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00f5ff;
    border-color: rgba(0, 245, 255, 0.5);
}

.agent-info-panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e1e5e9;
    margin-bottom: 0.5rem;
}

.agent-info-panel-type {
    font-size: 0.85rem;
    color: #00f5ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Tab Navigation */
.agent-info-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
    position: sticky;
    top: 119px;
    z-index: 1;
}

.agent-info-tab {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.agent-info-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}

.agent-info-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.agent-info-tab-panel {
    display: none;
}

.agent-info-tab-panel.active {
    display: block;
}

.agent-info-panel-content {
    padding: 2rem;
}

/* Metrics Tab Styles */
.agent-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.agent-metric-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    padding: 16px;
}

.agent-metric-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.agent-metric-value {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.agent-status-healthy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Docs Tab Styles */
.agent-docs-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.agent-docs-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 24px;
    margin-bottom: 12px;
}

.agent-docs-content h4:first-child {
    margin-top: 0;
}

.agent-docs-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.agent-docs-content ul {
    list-style: none;
    padding-left: 0;
}

.agent-docs-content li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0 8px 24px;
    position: relative;
}

.agent-docs-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Actions Tab Styles */
.agent-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agent-action-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agent-action-button:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(4px);
}

.agent-action-button.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.agent-action-button.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
}

.agent-info-section {
    margin-bottom: 2rem;
}

.agent-info-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #e1e5e9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-info-section-title svg {
    color: #00f5ff;
}

.agent-info-description {
    font-size: 0.95rem;
    color: #a0a9b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.agent-info-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.agent-tech-badge {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    color: #00f5ff;
    font-weight: 500;
}

.agent-connections-list {
    list-style: none;
}

.agent-connections-list li {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    color: #a0a9b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-connections-list li::before {
    content: '→';
    color: #00f5ff;
    font-weight: bold;
}

/* Interactive Discovery/Chat Section */
.chat-demo {
    padding: 4rem 0;
    background: #0f1419;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 245, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

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

.chat-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.chat-interface {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.3);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
    animation: messageSlide 0.3s ease-out;
}

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

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.agent-message {
    align-self: flex-start;
}

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

.agent-avatar {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    color: white;
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.user-avatar {
    background: linear-gradient(135deg, #666, #333);
    color: white;
    font-size: 14px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-color: rgba(0, 245, 255, 0.2);
}

.message-content p {
    color: #e1e5e9;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

/* n8n Metadata Styles */
.message-metadata {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #a0a9b8;
}

.metadata-source {
    background: rgba(0, 245, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.metadata-confidence {
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #00f5ff;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.chat-input-container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #e1e5e9;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.chat-input::placeholder {
    color: #a0a9b8;
}

.send-button {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.send-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    color: #666;
}

.chat-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #a0a9b8;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f5ff;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-indicator.disconnected {
    background: #ff4757;
    animation: none;
}

.status-indicator.connecting {
    background: #ffa502;
    animation: statusPulse 1s infinite;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #a0a9b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00f5ff;
    border-color: rgba(0, 245, 255, 0.3);
}

.chat-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    color: #e1e5e9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card ul {
    list-style: none;
    color: #a0a9b8;
}

.info-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.info-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00f5ff;
    font-weight: bold;
}

.example-prompts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    color: #e1e5e9;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.3s ease;
}

.example-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateX(4px);
}

/* Simple Discovery CTA */
.discovery-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.discovery-simple {
    text-align: center;
    max-width: 500px;
    padding: 3rem 2rem;
}

.discovery-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.xophia-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #00f5ff;
}

.xophia-logo svg {
    width: 24px;
    height: 24px;
}

.discovery-simple h2 {
    font-size: 1.8rem;
    color: #e1e5e9;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.3;
}

.start-chat-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #e1e5e9;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.start-chat-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-2px);
}

.start-chat-btn svg {
    transition: transform 0.2s ease;
}

.start-chat-btn:hover svg {
    transform: translateY(-1px);
}

/* Chat Expanded State */
.chat-expanded {
    animation: expandIn 0.5s ease-out;
}

@keyframes expandIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.chat-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.collapse-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #a0a9b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.collapse-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00f5ff;
    border-color: rgba(0, 245, 255, 0.3);
    transform: scale(1.1);
}

/* ChatGPT-style Interface */
.chatgpt-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chatgpt-interface .chat-container {
    width: 90%;
    max-width: 800px;
    height: 85vh;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Chat Header */
.chatgpt-interface .chat-header {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e1e5e9;
    font-weight: 600;
    font-size: 1rem;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 0.8rem;
    color: #a0a9b8;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.status-indicator.connected {
    background-color: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

.status-indicator.connecting {
    background-color: #ff9800;
    animation: statusPulse 1s infinite;
}

.status-indicator.disconnected {
    background-color: #f44336;
}

.chat-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: #a0a9b8;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e1e5e9;
}

.chat-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.minimize-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #a0a9b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.minimize-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e1e5e9;
}

/* Chat Body */
.chat-body {
    flex: 1;
    overflow: hidden;
}

.chatgpt-interface .chat-messages {
    height: 100%;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chatgpt-interface .chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chatgpt-interface .chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatgpt-interface .chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* Message Groups */
.message-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message-group.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-group.assistant .message-avatar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-group.user .message-avatar {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    border-radius: 50%;
}

.avatar-icon {
    color: #00f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon svg {
    width: 20px;
    height: 20px;
}

.message-content {
    flex: 1;
    max-width: calc(100% - 48px);
}

.message-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    color: #e1e5e9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.message-group.user .message-text {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.2);
    margin-left: auto;
    max-width: 85%;
}

.message-group.assistant .message-text {
    background: transparent;
    border: none;
    padding: 0;
    max-width: 100%;
}

/* Chat Footer */
.chat-footer {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container {
    position: relative;
}

.input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 3rem 0.75rem 1rem;
    display: flex;
    align-items: flex-end;
    transition: all 0.2s ease;
}

.input-wrapper:focus-within {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.chat-textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: #e1e5e9;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.5;
    min-height: 20px;
    max-height: 120px;
    overflow-y: auto;
}

.chat-textarea::placeholder {
    color: #a0a9b8;
}

.send-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 245, 255, 0.8);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
}

.send-btn:not(:disabled) {
    opacity: 1;
    transform: scale(1);
}

.send-btn:hover:not(:disabled) {
    background: rgba(0, 245, 255, 1);
    transform: scale(1.05);
}

.send-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    cursor: not-allowed;
}

.input-footer {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #a0a9b8;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f5ff;
    animation: statusPulse 2s infinite;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    color: #a0a9b8;
    font-size: 0.9rem;
}

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

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #00f5ff;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.agent-node:hover {
    /* Enterprise subtle elevation on hover */
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16),
                0 4px 8px rgba(15, 23, 42, 0.12);
    transform: scale(1.05);
}

/* Keyboard focus indicator - Enterprise professional style */
.agent-node:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16),
                0 4px 8px rgba(15, 23, 42, 0.12),
                0 0 0 4px rgba(59, 130, 246, 0.4); /* Blue focus ring */
    transform: scale(1.05);
}

.agent-node:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 4px;
}

/* Removed float animation - JS handles all transforms for orbital positioning */

/* Value Proposition Section */
.value-proposition {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 100%);
}

.value-content {
    max-width: 900px;
    margin: 0 auto;
}

.value-lead {
    font-size: 1.3rem;
    color: #e1e5e9;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.value-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.2rem;
    color: #e1e5e9;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-item p {
    color: #a0a9b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #0f1419;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #e1e5e9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a0a9b8;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    border-radius: 20px;
    position: relative;
}

.icon-neural, .icon-graph, .icon-agents {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1f2e;
}

.icon-neural svg, .icon-graph svg, .icon-agents svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #e1e5e9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #a0a9b8;
    line-height: 1.6;
}

/* Efficiency Banner Section */
.efficiency-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, #00f5ff15 0%, #0099cc15 100%);
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    text-align: center;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00f5ff, #0099cc, #00f5ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    letter-spacing: -0.02em;
    margin: 0;
}

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

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    color: #a0a9b8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.cta-subtext {
    font-size: 0.95rem;
    color: #a0a9b8;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Footer */
.footer {
    background: #0a0e1a;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 65px;
    width: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

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

.footer-logo p {
    color: #a0a9b8;
}

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

.footer-column h4 {
    color: #e1e5e9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #a0a9b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00f5ff;
}

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

.footer-bottom p {
    color: #a0a9b8;
    font-size: 0.9rem;
}

/* Social Links in Footer */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    color: #a0a9b8;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 255, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Security & Compliance Section */
.security-compliance {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.security-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.security-icon {
    margin-bottom: 1.5rem;
    color: #00f5ff;
}

.security-item h4 {
    font-size: 1.3rem;
    color: #e1e5e9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.security-item p {
    color: #a0a9b8;
    line-height: 1.6;
}

/* Use Cases / Industry Solutions Section */
.use-cases {
    padding: 6rem 0;
    background: #0a0e1a;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.industry-card {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(0, 153, 204, 0.05) 100%);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.2);
}

.industry-icon {
    margin-bottom: 1.5rem;
    color: #00f5ff;
}

.industry-card h3 {
    font-size: 1.5rem;
    color: #e1e5e9;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.industry-list {
    list-style: none;
}

.industry-list li {
    color: #a0a9b8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.industry-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00f5ff;
    font-weight: bold;
}

/* Our Technology Section */
.technology {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e1a 50%, #1a1f2e 100%);
}

.tech-content {
    margin-top: 3rem;
}

.tech-lead {
    font-size: 1.2rem;
    color: #a0a9b8;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

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

.tech-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 245, 255, 0.2);
}

.tech-icon {
    margin-bottom: 1.2rem;
    color: #00f5ff;
}

.tech-item h4 {
    font-size: 1.1rem;
    color: #e1e5e9;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.tech-item p {
    color: #a0a9b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #00f5ff, #0099cc);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-toggle:hover .hamburger-line {
    background: linear-gradient(135deg, #66ccff, #00f5ff);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        gap: 3rem;
    }

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

    .agent-network {
        width: min(350px, 85vmin);
        height: min(350px, 85vmin);
    }

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

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

    .chatgpt-interface .chat-container {
        width: 85%;
        max-width: 700px;
    }

    /* New sections responsive - Tablet */
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

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

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

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
        position: relative;
    }

    .nav-logo .logo {
        height: 50px;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 1px solid rgba(0, 245, 255, 0.2);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .contact-btn {
        margin-top: 1rem;
        text-align: center;
        border-radius: 12px;
        border-bottom: none;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 110px;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .agent-network {
        width: min(300px, 80vmin);
        height: min(300px, 80vmin);
    }

    /* Mobile: Scale down all agent node types */
    .agent-node.core {
        width: clamp(70px, 18vw, 100px);
        height: clamp(70px, 18vw, 100px);
    }

    .agent-node.infrastructure,
    .agent-node.development {
        width: clamp(55px, 14vw, 70px);
        height: clamp(55px, 14vw, 70px);
    }

    .agent-node.application {
        width: clamp(60px, 16vw, 80px);
        height: clamp(60px, 16vw, 80px);
    }

    .agent-node::before {
        font-size: clamp(0.65rem, 2vw, 0.7rem);
        bottom: -25px;
        max-width: 80px;
    }

    /* Mobile info panel: full width */
    .agent-info-panel {
        width: 100%;
        right: -100%;
    }

    .agent-info-panel.visible {
        right: 0;
    }

    /* Mobile tooltip: bottom of screen */
    .agent-tooltip {
        position: fixed;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        max-width: 90%;
    }

    .agent-tooltip.visible {
        transform: translateX(-50%) translateY(0) !important;
    }

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

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .chat-demo {
        padding: 3rem 0;
        min-height: 60vh;
    }

    .chatgpt-interface .chat-container {
        width: 95%;
        height: 90vh;
        max-width: none;
    }

    .chat-header {
        padding: 1rem !important;
    }

    .chat-title {
        font-size: 0.9rem;
    }

    .connection-status {
        margin-left: 0.5rem;
    }

    .status-text {
        display: none;
    }

    .discovery-simple {
        padding: 2rem 1rem;
    }

    .discovery-simple h2 {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .value-proposition,
    .features,
    .cta {
        padding: 4rem 0;
    }

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

    .value-lead {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .efficiency-banner {
        padding: 3rem 0;
    }

    .banner-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* New sections responsive - Mobile */
    .security-grid,
    .industries-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .security-compliance,
    .use-cases,
    .technology {
        padding: 4rem 0;
    }

    .tech-lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .industry-card,
    .security-item,
    .tech-item {
        padding: 1.5rem;
    }

    /* Mobile optimizations for chat interface */
    .message-text {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    .input-wrapper {
        padding: 0.6rem 2.5rem 0.6rem 0.9rem;
    }

    .chat-textarea {
        font-size: 0.9rem;
    }

    /* Reduce animations on mobile for better performance */
    /* Removed float animation - JS handles all transforms */

    /* Respect reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        /* Motion handled by JS config */
    }

    .gradient-text {
        animation: none;
        background-position: 0% 50%;
    }

    /* Improve touch targets */
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .control-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 1rem;
    }

    .agent-network {
        width: min(260px, 75vmin);
        height: min(260px, 75vmin);
    }

    /* Hide labels on very small screens or show only on interaction */
    .agent-node::before {
        display: none;
    }

    .agent-node:hover::before,
    .agent-node:active::before {
        display: block;
    }

    /* Small mobile: further reduce agent sizes */
    .agent-node.core {
        width: 60px;
        height: 60px;
    }

    .agent-node.infrastructure,
    .agent-node.development {
        width: 50px;
        height: 50px;
    }

    .agent-node.application {
        width: 55px;
        height: 55px;
    }

    /* Smaller icons on small mobile */
    .agent-node.core svg {
        width: 20px;
        height: 20px;
    }

    .agent-node svg {
        width: 16px;
        height: 16px;
    }

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

    .chatgpt-interface .chat-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}
