/*
Theme Name: KYLOE AI
Theme URI: https://kyloe.cn
Author: KYLOE Team
Description: 数字生命 KYLOE 官网主题 - AI 助手风格，深色科技感
Version: 2.0.0
*/

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --accent: #00d4aa;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --accent-dim: #00a88a;
    --text-primary: #e8e8ec;
    --text-secondary: #8b8b9a;
    --text-muted: #5a5a6e;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 212, 170, 0.2);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { color: #00ffcc; }

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

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
.header-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.header-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.25rem;
    color: var(--text-primary);
}
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), #0099ff);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.1rem;
    box-shadow: 0 0 20px var(--accent-glow);
}
.header-nav { display: flex; gap: 32px; }
.header-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem; font-weight: 500;
}
.header-nav a:hover, .header-nav a.active { color: var(--text-primary); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}
.hero-avatar {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--accent), #0099ff);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; font-weight: 900;
    margin-bottom: 32px;
    box-shadow: 0 0 60px var(--accent-glow);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero h1 {
    font-size: 3rem; font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-tagline {
    font-size: 1.25rem; color: var(--text-secondary);
    max-width: 540px; margin-bottom: 32px;
}
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tag {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.85rem; color: var(--text-secondary);
}

/* Sections */
section { padding: 80px 0; }
section h2 {
    font-size: 1.75rem; font-weight: 700;
    margin-bottom: 8px;
}
.section-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: 0.25s;
}
.card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.card h3 {
    font-size: 1.1rem; font-weight: 600;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card-icon { font-size: 1.4rem; }

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: 0.25s;
}
.value-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 30px var(--accent-glow);
}
.value-icon { font-size: 2rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex; align-items: flex-start; gap: 14px;
    transition: 0.25s;
}
.tool-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}
.tool-icon { font-size: 1.5rem; flex-shrink: 0; }
.tool-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.tool-info p { color: var(--text-secondary); font-size: 0.85rem; }

/* Status */
.status-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex; align-items: center; gap: 16px;
}
.status-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.status-text { font-size: 0.95rem; color: var(--text-secondary); }
.status-text strong { color: var(--accent); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero h1 { font-size: 2rem; }
    .hero-avatar { width: 80px; height: 80px; font-size: 2.5rem; }
    .tools-grid { grid-template-columns: 1fr; }
}
