:root {
    --bg-color: #0d0d0f;
    --card-bg: rgba(26, 26, 30, 0.7);
    --accent-color: #00f2ff; /* 霓虹青 */
    --accent-secondary: #ff007b; /* 霓虹粉 */
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

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

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 动态背景装饰 */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

header {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 搜索框样式 */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

#search-input:focus {
    border-color: var(--accent-color);
    box-shadow: var(--glow-shadow);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* 主内容区 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

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

/* 服务卡片 */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
}

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

.service-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* 底部 */
footer {
    text-align: center;
    padding: 4rem 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

/* 搜索无结果 */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
