@import url('/fonts/fonts.css');400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-primary: #06080f;
    --bg-secondary: #0a0e1a;
    --glass-bg: rgba(15, 20, 40, 0.45);
    --glass-border: rgba(100, 140, 255, 0.12);
    --glass-hover: rgba(100, 140, 255, 0.08);
    --accent: #4f7df7;
    --accent-light: #7ba1ff;
    --accent-glow: rgba(79, 125, 247, 0.3);
    --accent-secondary: #a78bfa;
    --text-primary: #e8ecf4;
    --text-secondary: rgba(200, 210, 230, 0.65);
    --text-dim: rgba(160, 175, 200, 0.4);
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --positive: #34d399;
    --negative: #f87171;
    --neutral: #60a5fa;
    --intent: #a78bfa;
    --energy: #f59e0b;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

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

.scan-line {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(100, 140, 255, 0.015) 2px,
        rgba(100, 140, 255, 0.015) 4px
    );
}

.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 60px;
    background: rgba(6, 8, 15, 0.7);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.nav-bar.scrolled {
    background: rgba(6, 8, 15, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.logo-icon {
    font-size: 1.4rem;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 0.2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
    background: var(--glass-hover);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--accent-glow);
}

.nav-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.indicator-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

.indicator-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.main-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section:first-of-type { padding-top: 2rem; }

.section-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.section-index {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: rgba(79, 125, 247, 0.1);
    border: 1px solid rgba(79, 125, 247, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 60px;
}

.hero-content { flex: 1; max-width: 600px; }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.title-line { display: block; }

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-light);
    font-family: var(--font-mono);
}

.stat-unit {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    background: var(--glass-border);
    margin: 0.3rem 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--accent), rgba(79, 125, 247, 0.8));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.hero-btn svg { transition: transform 0.3s ease; }
.hero-btn:hover svg { transform: translate(2px, -2px); }

.orb-container {
    position: relative;
    width: 360px; height: 360px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.orb-outer {
    width: 360px; height: 360px;
    border-color: rgba(79, 125, 247, 0.15);
    animation: orb-rotate 20s linear infinite;
}

.orb-middle {
    width: 260px; height: 260px;
    border-color: rgba(167, 139, 250, 0.2);
    animation: orb-rotate 15s linear infinite reverse;
}

.orb-inner {
    width: 160px; height: 160px;
    border-color: rgba(79, 125, 247, 0.25);
    animation: orb-rotate 10s linear infinite;
}

.orb-core {
    position: absolute;
    width: 60px; height: 60px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), rgba(79, 125, 247, 0.3));
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(79, 125, 247, 0.15);
    animation: core-pulse 3s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(79, 125, 247, 0.1);
}

.ring-1 { width: 200px; height: 200px; animation: orb-rotate 25s linear infinite; }
.ring-2 { width: 300px; height: 300px; animation: orb-rotate 30s linear infinite reverse; }
.ring-3 { width: 340px; height: 340px; animation: orb-rotate 35s linear infinite; }

@keyframes orb-rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

@keyframes core-pulse {
    0%, 100% { box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(79, 125, 247, 0.15); }
    50% { box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(79, 125, 247, 0.25); }
}

.glass-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    transition: all 0.4s ease;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(79, 125, 247, 0.05);
}

.card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 125, 247, 0.06), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover .card-glow { opacity: 1; }

.glass-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.glass-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.card-lead {
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    margin-bottom: 0.8rem !important;
}

.card-wide { grid-column: 1 / -1; }

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}

.feature-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-row {
    display: flex;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(100, 140, 255, 0.06);
    gap: 1.2rem;
}

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

.feature-key {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    white-space: nowrap;
    min-width: 80px;
}

.feature-val {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.paradigm-compare {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.paradigm-box {
    flex: 1;
    min-width: 220px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.paradigm-old {
    background: rgba(248, 113, 113, 0.05);
    border-color: rgba(248, 113, 113, 0.15);
}

.paradigm-new {
    background: rgba(79, 125, 247, 0.05);
    border-color: rgba(79, 125, 247, 0.15);
}

.paradigm-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.paradigm-old .paradigm-label { color: var(--danger); }
.paradigm-new .paradigm-label { color: var(--accent); }

.paradigm-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

.paradigm-arrow {
    color: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
}

.cognition-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cognition-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    min-width: 140px;
    transition: all 0.3s ease;
    cursor: default;
}

.cognition-node:hover {
    border-color: rgba(100, 140, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cognition-node[data-level="short"] .node-core { background: var(--success); box-shadow: 0 0 12px rgba(52, 211, 153, 0.4); }
.cognition-node[data-level="mid"] .node-core { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.cognition-node[data-level="long"] .node-core { background: var(--accent-secondary); box-shadow: 0 0 12px rgba(167, 139, 250, 0.4); }
.cognition-node[data-level="core"] .node-core { background: var(--warning); box-shadow: 0 0 12px rgba(251, 191, 36, 0.4); }

.node-core {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-bottom: 0.6rem;
}

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

.node-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
}

.node-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    line-height: 1.4;
}

.cognition-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.4;
}

.agent-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.agent-box {
    flex: 1;
    min-width: 240px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.agent-main {
    background: rgba(79, 125, 247, 0.06);
    border-color: rgba(79, 125, 247, 0.2);
}

.agent-memory {
    background: rgba(167, 139, 250, 0.06);
    border-color: rgba(167, 139, 250, 0.2);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.agent-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.agent-main .agent-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.agent-memory .agent-dot { background: var(--accent-secondary); box-shadow: 0 0 8px rgba(167, 139, 250, 0.4); }

.agent-model {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    margin-bottom: 0.8rem;
}

.agent-tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.agent-tasks span {
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(100, 140, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(100, 140, 255, 0.1);
}

.agent-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.agent-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.link-line {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
}

.link-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    white-space: nowrap;
}

.card-note {
    text-align: center;
    font-size: 0.82rem !important;
    color: var(--text-dim) !important;
    margin-top: 1rem;
    font-style: italic;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
}

.capability-card { text-align: center; }

.cap-icon {
    margin-bottom: 0.8rem;
    color: var(--accent-light);
}

.cap-bar {
    height: 3px;
    background: rgba(100, 140, 255, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.cap-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cap-fill.animated { transform: scaleX(1); }

.memory-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.memory-level {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.memory-level:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: translateX(6px);
}

.memory-level[data-level="1"] { border-left: 3px solid var(--success); }
.memory-level[data-level="2"] { border-left: 3px solid var(--accent); }
.memory-level[data-level="3"] { border-left: 3px solid var(--accent-secondary); }
.memory-level[data-level="4"] { border-left: 3px solid var(--warning); }

.level-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.level-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(79, 125, 247, 0.15);
    color: var(--accent-light);
    font-family: var(--font-mono);
}

.level-header h4 {
    margin-bottom: 0;
    flex: 1;
}

.level-precision {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.level-body p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.level-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.level-tags span {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(100, 140, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(100, 140, 255, 0.1);
}

.level-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(100, 140, 255, 0.06);
}

.trigger-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.level-trigger span:last-child {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.connector-line {
    width: 1px;
    height: 16px;
    background: var(--glass-border);
}

.connector-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    padding: 0.15rem 0.6rem;
    border: 1px solid rgba(79, 125, 247, 0.2);
    border-radius: 4px;
    background: rgba(79, 125, 247, 0.06);
}

.emotion-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.emotion-dim { }

.dim-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
}

.dim-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.etag {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    border: 1px solid;
    font-weight: 500;
}

.etag.positive { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.2); color: var(--positive); }
.etag.negative { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.2); color: var(--negative); }
.etag.neutral { background: rgba(96, 165, 250, 0.08); border-color: rgba(96, 165, 250, 0.2); color: var(--neutral); }
.etag.intent { background: rgba(167, 139, 250, 0.08); border-color: rgba(167, 139, 250, 0.2); color: var(--intent); }
.etag.energy { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.2); color: var(--energy); }

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.tech-layer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.tech-layer:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: scale(1.01);
}

.layer-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    min-width: 60px;
    text-align: right;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid;
}

.tag-cognitive { background: rgba(79, 125, 247, 0.1); border-color: rgba(79, 125, 247, 0.2); color: var(--accent-light); }
.tag-arch { background: rgba(167, 139, 250, 0.1); border-color: rgba(167, 139, 250, 0.2); color: var(--accent-secondary); }
.tag-data { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.2); color: var(--success); }
.tag-ops { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); color: var(--energy); }

.tech-layer-connector {
    width: 1px;
    height: 12px;
    background: var(--glass-border);
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.arch-layer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.arch-layer:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: scale(1.01);
}

.arch-layer-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    min-width: 72px;
    text-align: right;
}

.arch-input .arch-layer-label { color: var(--accent-light); }
.arch-route .arch-layer-label { color: var(--accent-secondary); }
.arch-core .arch-layer-label { color: var(--success); }
.arch-system .arch-layer-label { color: var(--energy); }

.arch-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.arch-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.arch-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    border: 1px solid;
    transition: all 0.2s ease;
}

.arch-tag:hover {
    transform: translateY(-1px);
}

.arch-in { background: rgba(79, 125, 247, 0.1); border-color: rgba(79, 125, 247, 0.2); color: var(--accent-light); }
.arch-rt { background: rgba(167, 139, 250, 0.1); border-color: rgba(167, 139, 250, 0.2); color: var(--accent-secondary); }
.arch-cg { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.2); color: var(--success); }
.arch-sys { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); color: var(--energy); }

.arch-layer-connector {
    width: 1px;
    height: 10px;
    background: var(--glass-border);
    margin-left: 72px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(15, 20, 40, 0.3);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-light);
}

.skill-desc {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.memory-six-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.memory-six-layer {
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--layer-color);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.memory-six-layer:hover {
    border-color: rgba(100, 140, 255, 0.25);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.memory-six-layer[data-layer="persona"] { border-left-color: #a78bfa; }
.memory-six-layer[data-layer="active"] { border-left-color: #60a5fa; }
.memory-six-layer[data-layer="continuous"] { border-left-color: #34d399; }
.memory-six-layer[data-layer="archive"] { border-left-color: #f59e0b; }
.memory-six-layer[data-layer="database"] { border-left-color: #f87171; }
.memory-six-layer[data-layer="knowledge"] { border-left-color: #ec4899; }

.six-layer-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.six-layer-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    background: rgba(79, 125, 247, 0.15);
    color: var(--accent-light);
    font-family: var(--font-mono);
}

.six-layer-header h4 {
    margin-bottom: 0;
    flex: 1;
    font-size: 0.95rem;
}

.six-layer-precision {
    font-size: 0.68rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.six-layer-body p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.six-layer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.six-layer-tags span {
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    background: rgba(100, 140, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(100, 140, 255, 0.1);
}

.six-layer-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(100, 140, 255, 0.06);
    font-size: 0.72rem;
}

.meta-key {
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.06em;
}

.meta-val {
    color: var(--text-secondary);
}

.meta-div {
    color: var(--text-dim);
    opacity: 0.3;
}

.six-layer-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.sc-line {
    width: 1px;
    height: 14px;
    background: var(--glass-border);
}

.sc-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    padding: 0.1rem 0.5rem;
    border: 1px solid rgba(79, 125, 247, 0.2);
    border-radius: 3px;
    background: rgba(79, 125, 247, 0.06);
}

.flow-chain {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flow-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(100, 140, 255, 0.06);
    background: rgba(15, 20, 40, 0.15);
    transition: all 0.2s ease;
}

.flow-row:hover {
    background: rgba(15, 20, 40, 0.25);
    border-color: rgba(100, 140, 255, 0.12);
}

.flow-node {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.4;
}

.flow-source {
    background: rgba(79, 125, 247, 0.1);
    border: 1px solid rgba(79, 125, 247, 0.18);
    color: var(--accent-light);
}

.flow-target {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.18);
    color: var(--success);
}

.flow-action {
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.15);
    color: var(--accent-secondary);
}

.flow-node-arrow {
    flex-shrink: 0;
    color: var(--text-dim);
    font-size: 0.8rem;
    opacity: 0.4;
    font-weight: 300;
    width: 1.2rem;
    text-align: center;
}

@media (max-width: 640px) {
    .flow-row {
        flex-wrap: wrap;
        gap: 0.3rem;
        justify-content: center;
    }
    .flow-node-arrow {
        width: auto;
    }
}

.weight-chain {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.weight-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(100, 140, 255, 0.1);
    background: rgba(100, 140, 255, 0.05);
}

.weight-arrow {
    font-size: 0.8rem;
    color: var(--text-dim);
    opacity: 0.4;
}

@media (max-width: 900px) {
    .main-content {
        padding: 0 16px;
    }
    .arch-core-grid {
        grid-template-columns: 1fr;
    }
    .arch-layer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .arch-layer-connector {
        margin-left: 0;
    }
    .skill-grid {
        grid-template-columns: 1fr 1fr;
    }
    .weight-chain {
        flex-direction: column;
        align-items: flex-start;
    }
}

.api-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.api-row {
    display: flex;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(100, 140, 255, 0.06);
    gap: 1rem;
}

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

.api-header-row {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.api-endpoint {
    flex: 2;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.api-method { flex: 0.8; }

.method-post {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: rgba(79, 125, 247, 0.15);
    color: var(--accent-light);
    letter-spacing: 0.06em;
}

.method-get {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: rgba(52, 211, 153, 0.15);
    color: var(--success);
    letter-spacing: 0.06em;
}

.method-ws {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: rgba(167, 139, 250, 0.15);
    color: var(--accent-secondary);
    letter-spacing: 0.06em;
}

.api-desc {
    flex: 2;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary), var(--glass-border));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.3rem;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-item.active .timeline-dot {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-item.pending .timeline-dot {
    border-color: var(--text-dim);
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(12px);
}

.timeline-phase {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.timeline-content h4 {
    font-size: 1rem;
    margin: 0.3rem 0 0.5rem;
}

.timeline-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.timeline-date {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    font-family: var(--font-mono);
}

.deliver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.deliver-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(100, 140, 255, 0.1);
}

.deliver-items {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 2;
}

.deliver-check {
    color: var(--success);
    font-weight: 600;
    margin-right: 0.3rem;
}

.experience-compare {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.exp-box {
    flex: 1;
    min-width: 260px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.exp-old {
    background: rgba(248, 113, 113, 0.03);
    border-color: rgba(248, 113, 113, 0.12);
}

.exp-new {
    background: rgba(79, 125, 247, 0.03);
    border-color: rgba(79, 125, 247, 0.12);
}

.exp-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.exp-old .exp-label { color: var(--danger); }
.exp-new .exp-label { color: var(--accent); }

.exp-dialog {
    margin-bottom: 0.8rem;
}

.dialog-line {
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.dialog-line.user {
    background: rgba(100, 140, 255, 0.06);
    color: var(--text-secondary);
}

.dialog-line.ai {
    background: rgba(79, 125, 247, 0.08);
    color: var(--accent-light);
}

.exp-result {
    display: block;
    font-size: 0.78rem;
    font-style: italic;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(100, 140, 255, 0.1);
}

.exp-old .exp-result { color: var(--danger); opacity: 0.7; }
.exp-new .exp-result { color: var(--accent); }

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.vision-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.vision-final {
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 125, 247, 0.06), rgba(167, 139, 250, 0.06));
    border-color: rgba(100, 140, 255, 0.15);
}

.vision-questions {
    max-width: 600px;
    margin: 0 auto;
}

.vision-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.q-mark {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(79, 125, 247, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(79, 125, 247, 0.25);
}

.vision-end {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 1rem;
}

.footer {
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(6, 8, 15, 0.5);
    backdrop-filter: blur(12px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-version {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

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

.footer-disclaimer .disclaimer-text {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 3px;
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-content { max-width: 100%; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; }
    .nav-links { display: none; }
    .orb-container { width: 260px; height: 260px; }
    .orb-outer { width: 260px; height: 260px; }
    .orb-middle { width: 190px; height: 190px; }
    .orb-inner { width: 120px; height: 120px; }
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 250px; height: 250px; }
    .cognition-map { flex-direction: column; }
    .cognition-arrow { transform: rotate(90deg); }
    .agent-diagram { flex-direction: column; }
    .agent-link { flex-direction: row; }
    .link-line { width: 20px; height: 1px; }
    .paradigm-compare { flex-direction: column; }
    .paradigm-arrow { transform: rotate(90deg); }
    .experience-compare { flex-direction: column; }
    .section { padding: 4rem 0; min-height: auto; }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 12px;
    }

    .nav-bar {
        padding: 0 16px;
    }

    .hero {
        padding-top: 40px;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .orb-container {
        width: 200px;
        height: 200px;
    }

    .orb-outer { width: 200px; height: 200px; }
    .orb-middle { width: 150px; height: 150px; }
    .orb-inner { width: 100px; height: 100px; }
    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 170px; height: 170px; }
    .ring-3 { width: 190px; height: 190px; }

    .section {
        padding: 3rem 0;
    }

    .glass-card {
        padding: 1.2rem;
    }

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