/* ========================================
   交铁数字员工 - 全局样式
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-elevated: #0f172a;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border: #334155;
    --border-light: #475569;
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-cta .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

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

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:last-child { background: #10b981; }

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

.preview-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 300px;
}

.preview-sidebar {
    padding: 16px;
    border-right: 1px solid var(--border);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.preview-main {
    padding: 20px;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.p-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.p-card-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.p-card-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.p-card-trend {
    font-size: 0.75rem;
    margin-top: 4px;
}

.p-card-trend.up { color: var(--success); }

.preview-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 0 8px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-1);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    opacity: 0.8;
}

/* ========================================
   Sections
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.capabilities,
.employees-preview,
.workflow-demo,
.cta-section {
    padding: 100px 0;
}

/* ========================================
   Capability Cards
   ======================================== */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

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

.cap-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cap-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.cap-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cap-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ========================================
   Employee Cards
   ======================================== */
.employee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.employee-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.employee-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.employee-avatar {
    font-size: 3rem;
    margin-bottom: 16px;
}

.employee-info h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.employee-info .role {
    display: block;
    color: var(--primary-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.employee-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.center-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Workflow Demo
   ======================================== */
.workflow-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.workflow-code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-dark);
}

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

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

.code-title {
    margin-left: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.code-body {
    padding: 20px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.8;
}

.code-body code {
    font-family: 'Fira Code', 'SF Mono', monospace;
}

.code-k { color: var(--primary-light); }
.code-s { color: var(--success); }
.code-n { color: var(--accent); }

.workflow-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.flow-step.completed {
    border-color: var(--success);
}

.flow-step.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.flow-step.completed .flow-dot {
    background: var(--success);
}

.flow-step.active .flow-dot {
    background: var(--primary);
    animation: pulse 2s infinite;
}

.flow-label {
    flex: 1;
    font-weight: 500;
}

.flow-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.flow-arrow {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 8px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.page-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Employee Detail Page
   ======================================== */
.employees-detail {
    padding: 60px 0;
}

.employee-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.employee-detail-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.employee-detail-card:hover {
    border-color: var(--primary-light);
}

.employee-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.employee-avatar-large {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
}

.employee-title h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.role-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
}

.employee-section {
    margin-bottom: 28px;
}

.employee-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.employee-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cap-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.cap-item .cap-icon {
    font-size: 1.5rem;
}

.cap-item strong {
    display: block;
    margin-bottom: 4px;
}

.cap-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
}

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

.skill-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list strong {
    color: var(--text-primary);
}

.trigger-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trigger {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.employee-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ========================================
   Skills Page
   ======================================== */
.skills-overview {
    padding: 40px 0;
}

.skills-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.skill-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.skill-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-detail {
    padding: 60px 0;
}

.skill-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    font-size: 2rem;
}

.category-header h2 {
    flex: 1;
    font-size: 1.5rem;
}

.category-count {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.skill-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

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

.skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.skill-header h3 {
    font-size: 1.1rem;
}

.skill-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
}

.new-badge {
    background: var(--gradient-3);
    color: white;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

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

.skill-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feature {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.skill-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.skill-trigger,
.skill-owner {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Workflow Page
   ======================================== */
.workflow-features {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.feature-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.workflow-example {
    padding: 80px 0;
}

.example-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.flow-visualization {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.flow-visualization h3 {
    margin-bottom: 24px;
    text-align: center;
}

.flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

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

.node-dot.completed {
    background: var(--success);
}

.node-dot.active {
    background: var(--primary);
    animation: pulse 2s infinite;
}

.node-label {
    flex: 1;
    font-weight: 500;
}

.node-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cli-usage {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.cli-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cli-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cli-card h4 {
    margin-bottom: 12px;
    color: var(--primary-light);
}

.cli-card pre {
    overflow-x: auto;
}

.cli-card code {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.web-dashboard {
    padding: 80px 0;
}

.dashboard-preview-large {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 40px;
}

.preview-body-large {
    padding: 24px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.dash-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.dash-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

.dash-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

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

.dash-status.running {
    background: var(--primary);
    animation: pulse 2s infinite;
}

.dash-status.completed {
    background: var(--success);
}

.dash-name {
    flex: 1;
    font-weight: 500;
}

.dash-stage {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.dash-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
}

/* ========================================
   Architecture Page
   ======================================== */
.architecture-overview {
    padding: 60px 0;
}

.arch-diagram {
    max-width: 800px;
    margin: 0 auto;
}

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

.layer-label {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.arch-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: var(--transition);
}

.arch-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.arch-item.highlight {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.arch-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin: 8px 0;
}

.user-layer {
    border-color: var(--secondary);
}

.engine-layer {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.employee-layer {
    border-color: var(--accent);
}

.resource-layer {
    border-color: var(--success);
}

.tech-stack {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

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

.tech-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tech-card h3 {
    margin-bottom: 8px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.data-flow {
    padding: 80px 0;
}

.flow-steps {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.flow-step-card {
    flex: 1;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.flow-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.flow-step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.flow-step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.flow-arrow-h {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.evolution {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-light);
    border: 3px solid var(--bg-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
}

.timeline-item.active .timeline-dot {
    background: var(--primary);
    animation: pulse 2s infinite;
}

.timeline-content {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.timeline-status {
    font-size: 0.85rem;
    font-weight: 500;
}

.timeline-item.completed .timeline-status {
    color: var(--success);
}

.timeline-item.active .timeline-status {
    color: var(--primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .cap-grid,
    .employee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-showcase,
    .example-content {
        grid-template-columns: 1fr;
    }
    
    .employee-grid-detailed,
    .skill-cards,
    .cli-examples {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cap-grid,
    .employee-grid,
    .features-grid,
    .tech-grid,
    .skills-stats {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow-h {
        transform: rotate(90deg);
        justify-content: center;
    }
    
    .capability-list {
        grid-template-columns: 1fr;
    }
}

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

.section-header,
.cap-card,
.employee-card,
.skill-card,
.feature-card,
.tech-card,
.cli-card,
.flow-step-card,
.timeline-item {
    animation: fadeIn 0.6s ease forwards;
}
