/* ==============================================
   FCB REVOLUTIONARY LAYOUT SYSTEM
   完全不同的设计语言 - 沉浸式全屏叙事体验
   ============================================== */

/* ========== 全局重置与基础设置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 革命性配色方案 */
    --color-primary: #0a1612;          /* 深邃墨绿 */
    --color-secondary: #1a2d27;        /* 次级墨绿 */
    --color-accent: #3d7a5c;           /* 森林绿 */
    --color-highlight: #5cb88f;        /* 亮绿 */
    --color-gold: #d4af37;             /* 金色 */
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-grey: #8a8a8a;
    
    /* 革命性间距系统 */
    --space-xs: 10px;
    --space-sm: 20px;
    --space-md: 40px;
    --space-lg: 60px;
    --space-xl: 80px;
    --space-2xl: 120px;
    
    /* 字体系统 */
    --font-display: 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--color-primary);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== 全屏Section系统 ========== */
.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 分屏布局 - 左右对半 */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    gap: 0;
}

.split-left,
.split-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
}

.split-left {
    background: var(--color-primary);
}

.split-right {
    background: var(--color-secondary);
}

/* ========== 视差背景系统 ========== */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 22, 18, 0.9) 0%, 
        rgba(26, 45, 39, 0.8) 100%
    );
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* ========== 导航栏 - 极简悬浮 ========== */
.nav-revolutionary {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(10, 22, 18, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-highlight);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-highlight);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ========== 字体系统 ========== */
.display-xl {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: var(--space-sm);
}

.display-lg {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: var(--space-sm);
}

.display-md {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.body-lg {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
    color: var(--color-grey);
    margin-bottom: var(--space-md);
}

.body-md {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--color-grey);
}

/* ========== 渐变文字效果 ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-highlight), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== 按钮系统 ========== */
.btn-revolutionary {
    display: inline-block;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-highlight));
    color: var(--color-white);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-highlight), var(--color-gold));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 184, 143, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-highlight);
    border: 2px solid var(--color-highlight);
}

.btn-outline:hover {
    background: var(--color-highlight);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 184, 143, 0.3);
}

/* ========== 垂直时间线系统 ========== */
.timeline-container {
    position: relative;
    padding: var(--space-2xl) 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--color-accent) 10%, 
        var(--color-accent) 90%, 
        transparent 100%
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: var(--space-md);
    background: rgba(26, 45, 39, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(92, 184, 143, 0.2);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    background: rgba(26, 45, 39, 0.8);
    border-color: var(--color-highlight);
    box-shadow: 0 20px 40px rgba(92, 184, 143, 0.2);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--color-highlight);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(92, 184, 143, 0.6);
}

/* ========== 数据展示卡片 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.stat-card {
    padding: var(--space-md);
    background: rgba(26, 45, 39, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(92, 184, 143, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(26, 45, 39, 0.8);
    border-color: var(--color-highlight);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-highlight);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--color-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== 图像布局优化 ========== */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    width: 100%;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(10, 22, 18, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.grid-item:hover .grid-overlay {
    transform: translateY(0);
}

/* ========== 全宽色块Section ========== */
.color-block {
    width: 100%;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-secondary);
    position: relative;
}

.color-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(61, 122, 92, 0.1) 0%, 
        transparent 100%
    );
    pointer-events: none;
}

/* ========== 动画系统 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .split-screen {
        grid-template-columns: 1fr;
    }
    
    .split-left,
    .split-right {
        min-height: 60vh;
        padding: var(--space-lg);
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-content {
        width: 80%;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .split-left,
    .split-right {
        padding: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: 90%;
    }
    
    /* 移动端图片网格优化 */
    .scale-in[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .grid-item[style*="height: 320px"] {
        height: 250px !important;
    }
}

/* ========== 加载动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========== 自定义滚动条 ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-highlight);
}
