/* ===================================
   全局样式重置与基础变量
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 青绿色系（专业、信任、现代） */
    --primary: #0B6B73;              /* 主品牌色 - 深青绿 */
    --primary-dark: #084E54;         /* 深色变体 */
    --primary-light: #0D8B95;        /* 浅色变体 */
    --primary-lighter: #14A8B3;      /* 更浅色变体 */
    --primary-bg: #E6F4F5;           /* 极浅背景 */
    
    /* 辅助色 */
    --accent: #0891B2;               /* 青蓝色 - 强调色 */
    --accent-secondary: #06B6D4;     /* 亮青色 */
    --success: #10B981;              /* 成功绿 */
    --warning: #F59E0B;              /* 警告橙 */
    
    /* 文本颜色 */
    --text-primary: #1F2937;         /* 主文本 - 深灰 */
    --text-secondary: #4B5563;       /* 次要文本 */
    --text-tertiary: #6B7280;        /* 三级文本 */
    --text-light: #9CA3AF;           /* 浅色文本 */
    
    /* 背景颜色 */
    --bg-main: #FFFFFF;              /* 主背景 - 纯白 */
    --bg-secondary: #F9FAFB;         /* 次要背景 */
    --bg-tertiary: #F3F4F6;          /* 三级背景 */
    
    /* 边框与分割线 */
    --border: #E5E7EB;               /* 标准边框 */
    --border-light: #F3F4F6;         /* 浅边框 */
    --divider: #E5E7EB;              /* 分割线 */
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #0B6B73 0%, #0891B2 100%);
    --gradient-light: linear-gradient(135deg, #E6F4F5 0%, #F0F9FA 100%);
    
    /* 间距系统 */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 0.75rem;   /* 12px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 
                 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', 
                 Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 
                 'Segoe UI Emoji', 'Segoe UI Symbol';
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===================================
   容器布局
   =================================== */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
}

/* ===================================
   头部区域
   =================================== */
.header {
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.logo-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.domain {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.announcement-badge {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.announcement-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* ===================================
   主要内容区
   =================================== */
.main-content {
    flex: 1;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.section {
    margin-bottom: var(--spacing-4xl);
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border);
    position: relative;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 64px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 96px;
}

/* ===================================
   关闭公告
   =================================== */
.closure-notice {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-4xl);
}

.notice-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.notice-text:last-child {
    margin-bottom: 0;
}

.notice-text strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   时间线
   =================================== */
.timeline {
    position: relative;
    padding-left: var(--spacing-3xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-4xl);
    padding-left: var(--spacing-3xl);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--bg-main);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-main), 0 2px 8px rgba(11, 107, 115, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px var(--bg-main), 0 4px 12px rgba(11, 107, 115, 0.3);
}

.timeline-year {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.timeline-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   使命卡片
   =================================== */
.mission-card {
    background: var(--primary-bg);
    padding: var(--spacing-3xl);
    border-radius: 16px;
    border-left: 4px solid var(--primary-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(11, 107, 115, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mission-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.mission-text:last-child {
    margin-bottom: 0;
}

/* ===================================
   联系信息
   =================================== */
.contact-info {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
    flex-shrink: 0;
    font-size: 1rem;
}

.info-value {
    color: var(--text-secondary);
    flex: 1;
    word-break: break-word;
}

.email-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 2px;
}

.email-link:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

.contact-note {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
    text-align: center;
    margin-top: var(--spacing-xl);
    font-style: italic;
}

/* ===================================
   页脚
   =================================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.footer-text:last-child {
    margin-bottom: 0;
}

/* ===================================
   淡入动画
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 768px) {
    :root {
        --spacing-4xl: 3rem;
        --spacing-3xl: 2.5rem;
        --spacing-2xl: 2rem;
    }

    .header {
        padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-2xl);
    }

    .announcement-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: var(--spacing-lg);
        margin-bottom: 0;
    }

    .main-content {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .section {
        margin-bottom: var(--spacing-3xl);
    }

    .closure-notice {
        padding: var(--spacing-xl);
    }

    .timeline {
        padding-left: var(--spacing-2xl);
    }

    .timeline::before {
        left: 11px;
    }

    .timeline-item {
        padding-left: var(--spacing-2xl);
    }

    .timeline-item::before {
        left: -29px;
        width: 12px;
        height: 12px;
    }

    .mission-card {
        padding: var(--spacing-xl);
    }

    .contact-info {
        padding: var(--spacing-xl);
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .info-label {
        min-width: auto;
    }

    .footer {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .notice-text,
    .timeline-content p,
    .mission-text {
        font-size: 1rem;
    }

    .timeline-year {
        font-size: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }
}

/* ===================================
   打印样式
   =================================== */
@media print {
    .header {
        background: var(--primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}
