/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary: #00a0ff;
    --primary-dark: #004f9d;
    --primary-light: #e8f4ff;
    --primary-50: rgba(0,160,255,0.05);
    --primary-100: rgba(0,160,255,0.1);
    --primary-200: rgba(0,160,255,0.2);
    
    /* 渐变 */
    --grad: linear-gradient(135deg, #00a0ff 0%, #004f9d 100%);
    --grad-reverse: linear-gradient(135deg, #004f9d 0%, #00a0ff 100%);
    --grad-hero: linear-gradient(135deg, #004f9d 0%, #00a0ff 50%, #00c8ff 100%);
    
    /* 文本颜色 */
    --text: #1a1a2e;
    --text-light: #555;
    --text-muted: #888;
    --text-inverse: #ffffff;
    
    /* 背景色 */
    --bg: #f8f9fc;
    --bg-card: #ffffff;
    --bg-hover: #f0f4f8;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(0,160,255,0.15);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* 过渡动画 */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* 字体大小 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-hero: clamp(2.5rem, 6vw, 5rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Han Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    overflow-x: hidden;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta .btn-nav {
    padding: 10px 24px;
    background: var(--grad);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform var(--transition), box-shadow var(--transition);
    display: inline-block;
}

.nav-cta .btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,160,255,0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--bg);
}

.nav-toggle span {
    width: 24px; height: 2.5px;
    background: var(--text);
    transition: all var(--transition);
    display: block;
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--grad-hero, var(--grad));
    z-index: 1;
    will-change: transform;
}

.particles {
    position: absolute;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 24px;
    max-width: 900px;
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: var(--text-hero, clamp(2.5rem, 6vw, 5rem));
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.title-line { 
    display: block;
    will-change: transform;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #cce7ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #cce7ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin-bottom: 48px;
    opacity: 0.88;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.btn-primary {
    padding: 16px 44px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.btn-secondary {
    padding: 16px 44px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: 1.5px solid rgba(255,255,255,0.5);
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: bounce 2.5s ease-in-out infinite;
}

.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, white, transparent);
    margin: 12px auto 0;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

/* ===== 通用板块 ===== */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: var(--grad);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 首页：关于预览 ===== */
.about-preview {
    padding: 120px 0;
    background: var(--bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition);
    margin-top: 12px;
}

.btn-text:hover { gap: 14px; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== 首页：核心服务 ===== */
.services-preview {
    padding: 120px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    padding: 48px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-card .service-icon {
    transition: all var(--transition);
    will-change: transform;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    width: 72px; height: 72px;
    margin: 0 auto 28px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--grad);
    color: white;
    transform: scale(1.08);
}

.service-card h3 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== 首页：作品展示 ===== */
.works-preview {
    padding: 120px 0;
    background: var(--bg);
}

.works-cta { text-align: center; margin-top: 48px; }

/* ===== 页脚 ===== */
.footer {
    background: #0a1628;
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* 第一栏：Logo + 简介 */
.footer-brand p {
    margin-top: 16px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* 第二栏：快速导航 */
.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.02em;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: white;
}

/* 第三栏：联系方式 */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

/* 第四栏：社交图标 */
.footer-social-links {
    display: flex;
    gap: 14px;
}

.footer-social-links a {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    transition: all var(--transition);
}

.footer-social-links a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

/* Logo 通用 */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-logo .logo-img {
    height: 32px;
    border-radius: 6px;
}

.footer-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-icp {
    margin-top: 12px;
    font-size: 0.82rem;
}

.footer-icp a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-icp a:hover {
    color: rgba(255,255,255,0.8);
}

/* ===== 页面加载进度条 ===== */
.page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    background: transparent;
    pointer-events: none;
}

.page-loader .loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #00c8ff, var(--primary));
    background-size: 200% 100%;
    animation: loaderStripes 2s linear infinite;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0,160,255,0.5);
}

@keyframes loaderStripes {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.page-loader.loaded {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* ===== 返回顶端按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a0ff 0%, #004f9d 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.back-to-top:hover {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.back-to-top:active {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 子页面通用 ===== */
.page-header {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
}

.page-header-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--grad);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 24px;
}

.page-header-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-header-content p {
    font-size: 1.15rem;
    opacity: 0.85;
    font-weight: 400;
}

/* ===== about/index.html ===== */
.about-intro {
    padding: 120px 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 24px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-intro-text p {
    margin-bottom: 18px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.values-section {
    padding: 120px 0;
    background: var(--bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.value-card {
    padding: 48px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all var(--transition);
}

.value-card:hover .value-icon {
    background: var(--grad);
    color: white;
    transform: scale(1.08);
}

.value-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.team-section {
    padding: 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    padding: 48px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 120px; height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

.team-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== servers/index.php（作品展示）===== */

/* ===== servers/index.php（作品展示）===== */
.works-grid-section { padding: 120px 0; }

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* --- 作品卡片 --- */
.work-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 卡片顶部彩色条纹 */
.work-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}



.work-card:hover::before {
    transform: scaleX(1);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* --- 卡片图片 --- */
.work-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图片上方渐变遮罩 */
.work-card-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover .work-card-image img {
    transform: scale(1.08);
}

.work-card:hover .work-card-image::after {
    opacity: 1;
}

/* 状态徽章 */
.work-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
}

.work-card-badge.online {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.work-card-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.work-card-badge:not(.online) {
    background: rgba(255, 152, 0, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* 首页作品卡片遮罩层（在 .work-card-image 内部） */
.work-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 1;
}

.work-card-overlay i {
    font-size: 4rem;
    opacity: 0.3;
}

/* 遮罩背景色 */
.work-card-overlay.coming-soon { background: var(--grad); }
.work-card-overlay.custom-service { background: var(--grad); }

/* --- 卡片内容 --- */
.work-card-body {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* 标题下划线装饰 */
.work-card-body h3::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--grad);
    border-radius: 2px;
    margin-top: 8px;
    transition: width 0.3s ease;
}

.work-card:hover .work-card-body h3::after {
    width: 48px;
}

.work-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.work-card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 特性标签 */
.work-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.work-card-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.work-card-features span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}

.work-card-features i {
    font-size: 0.7rem;
}

/* 元信息 */
.work-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.work-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--bg);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.work-card-meta span:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.work-card-meta i {
    color: var(--primary);
    margin-right: 2px;
    font-size: 0.82rem;
}

/* 倒计时 */
.work-card-countdown {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cd-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.cd-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.cd-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cd-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* 操作按钮 */
.work-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* 小号按钮 */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    text-align: center;
    flex: 1;
}

.btn-sm.btn-primary {
    background: var(--grad);
    color: white;
}

.btn-sm.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-sm.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== services/index.html ===== */
.services-full {
    padding: 120px 0;
    background: var(--bg);
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card-full {
    padding: 48px 36px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

/* 顶部彩色条纹 */
.service-card-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.service-card-full:hover::before {
    transform: scaleX(1);
}

.service-card-full:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}



.service-card-full-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 28px;
    transition: all var(--transition);
}

.service-card-full:hover .service-card-full-icon {
    background: var(--grad);
    color: white;
    transform: scale(1.08);
}



.service-card-full h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-card-full p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card-full ul { list-style: none; }

.service-card-full li {
    padding: 10px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    border-top: 1px solid var(--border-light);
}

.service-card-full li:first-child {
    border-top: none;
}

.service-card-full li i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: var(--grad);
    color: white;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 48px;
    opacity: 0.88;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    padding: 18px 52px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

/* ===== join-us/index.html ===== */
.join-intro {
    padding: 120px 0;
    text-align: center;
}

.join-intro-text {
    max-width: 800px;
    margin: 0 auto 64px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
}

.benefits-section {
    padding: 120px 0;
    background: var(--bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.benefit-card {
    padding: 48px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--grad);
    color: white;
    transform: scale(1.08);
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.jobs-section {
    padding: 120px 0;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 64px;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}

.job-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.job-info h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.job-meta {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i { color: var(--primary); }

.contact-section {
    padding: 120px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: var(--grad);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.08);
}



.contact-card h3 {
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,160,255,0.12);
    background: white;
}

.form-group textarea { min-height: 160px; resize: vertical; }

.contact-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
}

.qq-group-section {
    padding: 100px 24px;
    text-align: center;
    background: var(--grad);
    color: white;
}

.qq-group-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.qq-group-section p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.88;
}

.qq-number {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: 0.06em;
}

.qq-group-section .btn-primary {
    background: white;
    color: var(--primary);
    padding: 18px 52px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.qq-group-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

/* ===== 404 ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    text-align: center;
    color: white;
    padding: 24px;
}

.error-code {
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 800;
    line-height: 1;
    opacity: 0.15;
    letter-spacing: -0.04em;
}

.error-title {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    margin: 16px 0 20px;
    font-weight: 800;
}

.error-desc {
    font-size: 1.1rem;
    opacity: 0.75;
    margin-bottom: 48px;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn-primary {
    background: white;
    color: var(--primary);
    padding: 16px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.error-actions .btn-secondary {
    padding: 16px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: 1.5px solid rgba(255,255,255,0.5);
    display: inline-block;
    backdrop-filter: blur(10px);
}

.error-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.error-actions .btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { gap: 48px; }
    .about-intro .container { gap: 48px; }
    .server-image { height: 220px; }
    .server-info { padding: 32px 36px 40px; }
    .services-grid-full { grid-template-columns: 1fr; }
    .service-card-full { text-align: center; }
    .service-card-full li { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* 导航栏移动端优化 */
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: white;
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
        animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu.active .nav-link {
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    /* Hero区域移动端优化 */
    .hero { min-height: 100svh; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.1rem; line-height: 1.5; }
    .hero-actions { flex-direction: column; align-items: center; gap: 16px; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 32px;
    }

    /* 通用板块移动端优化 */
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 0.95rem; padding: 0 16px; }

    /* 关于预览移动端 */
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-text { order: 2; }
    .about-stats { order: 1; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .stat-item { padding: 20px 12px; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.85rem; }

    /* 服务卡片移动端 */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 36px 24px; }
    .service-icon { width: 60px; height: 60px; font-size: 1.3rem; }

    /* 作品展示移动端 */
    .works-grid { grid-template-columns: 1fr; gap: 24px; }
    .work-card-image { height: 180px; }
    .work-card-body { padding: 20px; }
    .work-card-body h3 { font-size: 1.05rem; }

    /* 服务器卡片移动端 */
    .server-image { height: 180px; }
    .server-info { padding: 24px 24px 32px; }
    .server-info h3 { font-size: 1.3rem; }
    .server-meta { flex-direction: column; gap: 12px; }
    .server-features li { font-size: 0.88rem; padding: 8px 12px; }
    .server-cta { flex-direction: column; }
    .server-cta .btn-primary,
    .server-cta .btn-secondary { width: 100%; text-align: center; }

    /* 关于页面移动端 */
    .about-intro .container { grid-template-columns: 1fr; gap: 40px; }
    .about-intro-image { order: -1; }
    .values-grid { grid-template-columns: 1fr; gap: 20px; }
    .value-card { padding: 36px 24px; }
    .team-grid { grid-template-columns: 1fr; gap: 24px; }
    .team-card { padding: 36px 24px; }

    /* 服务页面移动端 */
    .services-grid-full { grid-template-columns: 1fr; }
    .service-card-full { padding: 32px 24px; text-align: center; }
    .service-card-full ul { text-align: left; }

    /* 加入我们页面移动端 */
    .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
    .benefit-card { padding: 36px 24px; }
    .job-card { flex-direction: column; gap: 20px; text-align: center; padding: 28px 24px; }
    .job-meta { justify-content: center; flex-wrap: wrap; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }

    /* 页脚移动端 */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-nav, .footer-contact, .footer-social {
        text-align: center;
    }
    .footer-nav ul { align-items: center; }
    .footer-contact p { justify-content: center; }
    .footer-social-links { justify-content: center; }

    /* 页面标题移动端 */
    .page-header { min-height: 320px; }
    .page-header-content h1 { font-size: 2rem; }
    .page-header-content p { font-size: 1rem; }

    /* 板块间距移动端 */
    .about-preview, .services-preview, .works-preview,
    .about-intro, .values-section, .team-section,
    .servers-full, .services-full, .join-intro,
    .jobs-section, .contact-section, .benefits-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    /* 页面加载进度条移动端 */
    .page-loader { height: 4px; }

    /* Hero区域超小屏优化 */
    .hero { min-height: 100svh; }
    .hero-title { font-size: 1.8rem; line-height: 1.2; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 32px; }
    .hero-actions { width: 100%; padding: 0 16px; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 12px 28px;
        font-size: 0.88rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* 通用板块超小屏优化 */
    .section-header { margin-bottom: 40px; }
    .section-tag { font-size: 0.75rem; padding: 5px 16px; }
    .section-title { font-size: 1.6rem; }
    .section-desc { font-size: 0.9rem; padding: 0 8px; }

    /* 关于预览超小屏 */
    .about-stats { grid-template-columns: 1fr; gap: 16px; }
    .stat-item { padding: 24px 20px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.9rem; }

    /* 服务卡片超小屏 */
    .service-card { padding: 32px 20px; }
    .service-icon { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 20px; }
    .service-card h3 { font-size: 1rem; }
    .service-card p { font-size: 0.88rem; }

    /* 作品展示超小屏 */
    .work-card-image { height: 160px; }
    .work-card-body { padding: 20px 16px; }
    .work-card-body h3 { font-size: 1.05rem; }
    .work-card-body p { font-size: 0.88rem; }

    /* 服务器卡片超小屏 */
    .server-card { padding: 20px; }
    .server-image { height: 160px; }
    .server-info { padding: 20px 16px 24px; }
    .server-info h3 { font-size: 1.2rem; }
    .server-desc { font-size: 0.95rem; }
    .server-meta { gap: 8px; }
    .meta-badge { padding: 6px 12px; font-size: 0.82rem; }
    .server-cta { flex-direction: column; }
    .server-cta .btn-primary,
    .server-cta .btn-secondary { width: 100%; text-align: center; }

    /* 倒计时超小屏 */
    .countdown { gap: 8px; }
    .countdown-item { min-width: 48px; padding: 10px 6px; }
    .countdown-num { font-size: 1.2rem; }
    .countdown-label { font-size: 0.7rem; }

    /* 服务详情超小屏 */
    .service-card-full { padding: 24px 20px; }
    .service-card-full-icon { margin: 0 auto 20px; width: 60px; height: 60px; font-size: 1.3rem; }
    .service-card-full h3 { font-size: 1.1rem; }
    .service-card-full li { font-size: 0.88rem; }

    /* 加入我们页面超小屏 */
    .join-intro-text { font-size: 1rem; }
    .benefit-card { padding: 32px 20px; }
    .benefit-icon { width: 56px; height: 56px; font-size: 1.3rem; }
    .benefit-card h3 { font-size: 1rem; }
    .benefit-card p { font-size: 0.88rem; }
    .job-card { padding: 24px 20px; }
    .job-info h3 { font-size: 1.05rem; }
    .job-meta { gap: 12px; font-size: 0.85rem; }

    /* 联系我们超小屏 */
    .contact-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 28px 20px; }
    .contact-card-icon { width: 56px; height: 56px; font-size: 1.3rem; }
    .contact-card h3 { font-size: 1rem; }
    .contact-card p { font-size: 0.88rem; }

    /* 页脚超小屏 */
    .footer { padding: 60px 0 0; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-brand { grid-column: auto; }
    .footer-logo { justify-content: center; }
    .footer-nav ul { align-items: center; }
    .footer-contact p { justify-content: center; }
    .footer-social-links { justify-content: center; }
    .footer-bottom { padding: 24px 0; font-size: 0.82rem; }

    /* 返回顶端按钮超小屏 */
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }

    /* 页面标题超小屏 */
    .page-header { min-height: 280px; }
    .page-header-content h1 { font-size: 1.8rem; }
    .page-header-content p { font-size: 0.95rem; }

    /* 板块间距超小屏 */
    .about-preview, .services-preview, .works-preview,
    .about-intro, .values-section, .team-section,
    .servers-full, .services-full, .join-intro,
    .jobs-section, .contact-section, .benefits-section {
        padding: 60px 0;
    }
}

/* ===== 全局优化 ===== */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 优化焦点样式（无障碍） */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* 自定义选中文本颜色 */
::selection {
    background: var(--primary-200, rgba(0,160,255,0.2));
    color: var(--text);
}

/* 优化图片渲染 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Webkit 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 打印样式优化 */
@media print {
    .navbar, .hero-scroll, .back-to-top, .hero-actions, .server-cta, .works-cta {
        display: none !important;
    }
    
    .hero, .page-header {
        min-height: auto;
        padding: 40px 0;
        background: var(--primary-dark) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .hero-bg, .page-header-bg {
        position: relative;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: var(--primary-dark);
    }
    
    .service-card, .work-card, .value-card, .team-card, .server-card, .benefit-card, .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
