/* ============================================
   晴辰天下官网 - 主样式文件
   武汉晴辰天下网络科技有限公司
   ============================================ */

/* ============================================
   系统字体栈 - 使用用户系统自带的中文字体
   macOS: PingFang SC, Hiragino Sans GB
   Windows: Microsoft YaHei
   Linux: Noto Sans CJK SC, WenQuanYi
   ============================================ */

/* ============================================
   CSS Variables - 设计系统
   ============================================ */
:root {
    /* 主色调 - 科技蓝 */
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-light: #60A5FA;
    
    /* 亮点色 - 霓虹青 */
    --color-accent: #00D4FF;
    --color-accent-glow: rgba(0, 212, 255, 0.5);
    
    /* 背景色 - 深空 */
    --color-bg-dark: #0A1628;
    --color-bg-darker: #050D1A;
    --color-bg-card: #0F1D32;
    --color-bg-card-hover: #142440;
    --color-bg: var(--color-bg-card);
    
    /* 文字色 */
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-text-dark: #64748B;
    
    /* 边框色 */
    --color-border: rgba(59, 130, 246, 0.2);
    --color-border-hover: rgba(59, 130, 246, 0.5);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #00D4FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A1628 0%, #050D1A 100%);
    --gradient-card: linear-gradient(145deg, rgba(15, 29, 50, 0.9) 0%, rgba(10, 22, 40, 0.9) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    
    /* 字体 - 系统字体栈，无需下载 */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 容器 */
    --container-width: 1200px;
    --header-height: 72px;
    
    /* 状态色 */
    --color-success: #10B981;
    --color-success-light: #34D399;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-warning: #F59E0B;
    --color-warning-light: #FBBF24;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-error: #EF4444;
    --color-error-light: #F87171;
    --color-error-bg: rgba(239, 68, 68, 0.1);
    --color-info: #3B82F6;
    --color-info-light: #60A5FA;
    --color-info-bg: rgba(59, 130, 246, 0.1);
    
    /* 字体大小 */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    
    /* 行高 */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* 字重 */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-bold: 700;
    
    /* Z-index 层级 */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    
    /* 动画时长 */
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    
    /* 动画缓动 */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 表格相关 */
    --table-border: var(--color-border);
    --table-hover: var(--color-bg-card-hover);
    --table-stripe: rgba(59, 130, 246, 0.03);
    
    /* 输入框 */
    --input-border: var(--color-border);
    --input-border-focus: var(--color-primary);
    --input-bg: var(--color-bg-darker);
    --input-height: 2.5rem;
    
    /* 按钮 */
    --btn-height: 2.5rem;
    --btn-padding-x: 1rem;
    --btn-padding-y: 0.5rem;
}

/* ============================================
   Light Theme - 亮色主题
   ============================================ */
[data-theme="light"] {
    /* 主色调保持不变 */
    --color-primary: #2563EB;
    --color-primary-dark: #1D4ED8;
    --color-primary-light: #3B82F6;
    
    /* 亮点色调整 */
    --color-accent: #0EA5E9;
    --color-accent-glow: rgba(14, 165, 233, 0.3);
    
    /* 背景色 - 亮色系 */
    --color-bg-dark: #FFFFFF;
    --color-bg-darker: #F8FAFC;
    --color-bg-card: #FFFFFF;
    --color-bg-card-hover: #F1F5F9;
    --color-bg: var(--color-bg-card);
    
    /* 文字色 - 深色 */
    --color-text: #1E293B;
    --color-text-muted: #64748B;
    --color-text-dark: #94A3B8;
    
    /* 边框色 */
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(37, 99, 235, 0.3);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
    --gradient-dark: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    
    /* 阴影 - 更柔和 */
    --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.1);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

/* 亮色主题 Header 特殊样式 */
[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.95);
}

/* 亮色主题 Service Card 阴影 */
[data-theme="light"] .service-card {
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .service-card:hover {
    box-shadow: var(--shadow-md);
}

/* 亮色主题表单元素 */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
    background: #FFFFFF;
    border-color: #E2E8F0;
    color: #1E293B;
}

[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
    border-color: var(--color-primary);
}

/* 暗色主题表单元素（默认） */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
    background: var(--color-bg-darker);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

/* 亮色主题移动导航 */
[data-theme="light"] .mobile-nav {
    background: #FFFFFF;
}

/* 亮色主题 CTA Section - 保持渐变背景 */
[data-theme="light"] .cta-section {
    background: var(--gradient-primary);
}

[data-theme="light"] .cta-content h2,
[data-theme="light"] .cta-content p {
    color: white;
}

/* 主题切换过渡效果 */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body, .site-header, .service-card, .news-card, .site-footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg-dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: transparent;
    z-index: 1099;
}

.nav-item.has-dropdown > .nav-link,
.nav-item.has-dropdown > .nav-dropdown-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-text-muted);
    transform: translateY(1px);
    transition: transform var(--transition-base), border-top-color var(--transition-base);
}

.nav-item.has-dropdown:hover > a .nav-caret {
    border-top-color: var(--color-text);
    transform: translateY(1px) rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    background: rgba(15, 29, 50, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
    z-index: 1100;
}

.nav-dropdown .nav-item.has-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 12px;
    background: transparent;
}

[data-theme="light"] .nav-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

.nav-item.has-dropdown:hover > .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown .nav-item {
    width: 100%;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 500;
    transition: background var(--transition-base), color var(--transition-base);
}

.nav-dropdown-link:hover {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-text);
}

.nav-dropdown-link.active {
    background: rgba(59, 130, 246, 0.18);
    color: var(--color-primary-light);
}

.nav-dropdown .nav-dropdown {
    top: -10px;
    left: calc(100% + 10px);
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-darker);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-nav-item {
    list-style: none;
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mobile-nav-label {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    color: var(--color-text);
    border-radius: var(--radius-md);
    flex: 1;
}

.mobile-submenu-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
}

.mobile-submenu-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--color-text);
    transition: transform var(--transition-base);
}

.mobile-nav-item.open > .mobile-nav-row .mobile-submenu-toggle::before {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 0.75rem;
    margin-top: 0.25rem;
    border-left: 2px solid rgba(59, 130, 246, 0.22);
}

.mobile-nav-item.open > .mobile-submenu {
    display: block;
}

.mobile-submenu .mobile-nav-item a,
.mobile-submenu .mobile-nav-label {
    padding: 0.75rem 0.9rem;
}

.mobile-nav-menu a {
    display: block;
    padding: var(--spacing-sm);
    color: var(--color-text);
    border-radius: var(--radius-md);
}

.mobile-nav-menu a:hover {
    background: var(--color-bg-card);
}

.site-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.site-modal {
    width: min(1100px, 96vw);
    height: min(720px, 86vh);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.site-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-text);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    z-index: 2;
}

[data-theme="light"] .site-modal-close {
    background: rgba(255, 255, 255, 0.6);
}

.site-modal-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--color-bg-dark);
}

/* ============================================
   Main Content
   ============================================ */
main {
    padding-top: var(--header-height);
}

/* ============================================
   Section
   ============================================ */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.hero-logo {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* Hero Visual - Tech Circle */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit {
    position: absolute;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.orbit::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

.orbit-1::before {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-2::before {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
}

.orbit-3 {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

.orbit-3::before {
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow), 0 0 60px rgba(0, 212, 255, 0.5);
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes core-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: var(--shadow-glow), 0 0 60px rgba(0, 212, 255, 0.5);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: var(--shadow-glow), 0 0 80px rgba(0, 212, 255, 0.7);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--gradient-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-decoration {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        linear-gradient(225deg, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
}

/* ============================================
   News Section
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-darker) 100%);
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-text-dark);
}

.news-card h3 {
    font-size: 1.1rem;
    margin: var(--spacing-xs) 0;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--color-text);
}

.news-card h3 a:hover {
    color: var(--color-primary-light);
}

.news-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: var(--gradient-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--color-primary-light);
}

/* 友情链接样式 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.friend-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.friend-links a:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.footer-bottom a {
    color: var(--color-text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-logo {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ============================================
   Enhanced Mobile Styles - 移动端优化
   ============================================ */

/* 触控区域优化 - 最小 44px */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-link,
    .mobile-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* 表单元素触控优化 */
    input, select, textarea {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 16px; /* 防止 iOS 缩放 */
    }
    
    /* 移动导航优化 */
    .mobile-nav {
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-nav-menu a {
        padding: 0.875rem var(--spacing-md);
        border-radius: var(--radius-md);
        font-size: 1rem;
    }
    
    .mobile-nav-menu a.active {
        background: rgba(59, 130, 246, 0.1);
        color: var(--color-primary-light);
    }
    
    /* Section 间距优化 */
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .page-header {
        padding: var(--spacing-2xl) 0 var(--spacing-xl);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    /* 统计数据在移动端居中 */
    .about-stats {
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 卡片间距优化 */
    .service-card,
    .news-card {
        padding: var(--spacing-lg);
    }
    
    /* 页脚优化 */
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    /* Hero 区域优化 */
    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .hero-logo {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   Toolbar Styles - 导航栏工具按钮
   ============================================ */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tool-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-text);
}

.tool-btn svg {
    width: 20px;
    height: 20px;
}

.lang-btn {
    width: auto;
    padding: 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 订单查询按钮 */
.order-btn {
    text-decoration: none;
}

.order-btn:hover {
    color: var(--color-accent);
}

/* 用户按钮 */
.user-btn {
    width: auto;
    padding: 0 0.75rem;
    gap: 0.375rem;
    text-decoration: none;
}

.user-btn .user-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-btn.user-logged {
    color: var(--color-accent);
}

.user-btn.user-logged:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* 移动端导航分隔线 */
.mobile-nav-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0.5rem 0;
}

/* 移动端工具栏 */
@media (max-width: 768px) {
    .nav-tools {
        gap: 0.25rem;
    }
    
    .tool-btn {
        width: 36px;
        height: 36px;
    }
    
    .lang-btn {
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
    
    /* 移动端隐藏用户名文字，只显示图标 */
    .user-btn .user-name {
        display: none;
    }
    
    .user-btn {
        width: 36px;
        padding: 0;
    }
}

/* ============================================
   页面过渡动画
   ============================================ */

/* 页面加载遮罩 - 高端商务风格 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 加载器内容容器 */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* 品牌Logo */
.loader-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    animation: logoPulse 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5); }
}

/* 进度条 */
.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: progressMove 1.5s ease-in-out infinite;
}

@keyframes progressMove {
    0% { width: 0%; margin-left: 0; }
    50% { width: 60%; margin-left: 20%; }
    100% { width: 0%; margin-left: 100%; }
}

/* 加载文字 */
.loader-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* 兼容旧版spinner */
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 页面内容淡入动画 */
.page-transition {
    animation: pageIn 0.5s ease-out;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主内容区域淡入 */
main {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 页面切换时的链接点击效果 */
a[href]:not([href^="#"]):not([href^="javascript"]):not([target="_blank"]) {
    position: relative;
}

/* 卡片和内容块渐入动画 */
.stat-card,
.card,
.feature-card,
.service-card,
.news-card,
.timeline-item,
.query-card,
.order-detail-card {
    animation: slideUp 0.5s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面头部动画 */
.page-header {
    animation: headerIn 0.6s ease-out;
}

@keyframes headerIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 减少动画（用户偏好设置） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-loader {
        display: none;
    }
}

