/* CSS 变量 */
:root {
    /* 配色 */
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --accent: #06B6D4;
    --bg-dark: #0F172A;
    --bg-light: #1E293B;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --card-bg: rgba(255, 255, 255, 0.05);

    /* 字体 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* 间距 */
    --section-padding: 80px;
    --card-gap: 24px;
    --container-padding: 16px;

    /* 圆角 */
    --border-radius-button: 8px;
    --border-radius-card: 12px;

    /* 阴影 */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-navbar: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-navbar);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* Hero区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    text-align: center;
    padding-top: 80px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-button);
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* 通用区块 */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

/* 关于我们 */
.about-content {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 16px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--card-gap);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 服务介绍 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--card-gap);
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-card);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-card);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 团队建设 */
.team-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
    max-width: 1000px;
    margin: 0 auto;
}

.team-item {
    text-align: center;
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.team-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.team-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 联系我们 */
.contact-content {
    text-align: center;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    background: var(--card-bg);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.contact-icon {
    font-size: 32px;
}

.email {
    font-size: 24px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-item:hover .email {
    color: var(--accent);
}

.copy-hint {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .copy-hint {
    opacity: 1;
}

.copied-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10B981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.copied-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* 页脚 */
.footer {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}
