/* =========================================
   home.css (V12.0 PC 终极英雄剧场版)
   专注：1600px 极致宽屏、深蓝英雄框、电影感交互
   ========================================= */

:root {
  --brand-blue: #0f3b82; 
  --apple-bg: #f5f5f7;
  --apple-text: #1d1d1f;
  --apple-muted: #86868b;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-heavy: 0 30px 80px rgba(15, 59, 130, 0.15);
  --max: 1600px; 
}

/* 基础容器 */
.home-page { background: #fff; width: 100%; overflow-x: hidden; }
.home-shell { max-width: var(--max); margin: 0 auto; padding: 0 40px; box-sizing: border-box; }

/* =========================================
   1. 顶部英雄剧场 (Hero Section)
   核心：深蓝背景框、反白文字
   ========================================= */
.home-hero-text {
  padding: 80px 0; /* 外部留白 */
  background: #fff;
}

.home-hero-text .home-shell {
  background: var(--brand-blue) !important; /* 强制应用品牌深蓝 */
  border-radius: 60px; /* 大圆角质感 */
  padding: 120px 60px; /* 框内充盈的留白 */
  text-align: center;
  box-shadow: 0 40px 100px rgba(15, 59, 130, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 内部文字反白处理 */
.hero-text-kicker { 
  font-size: 16px; font-weight: 700; letter-spacing: 0.15em; 
  color: rgba(255, 255, 255, 0.6) !important; 
  margin-bottom: 24px; display: block; 
}

.hero-text-title { 
  font-size: clamp(40px, 5.5vw, 82px) !important; 
  line-height: 1.15; font-weight: 800; 
  color: #ffffff !important; 
  margin-bottom: 40px; 
  letter-spacing: -0.02em;
}

.hero-text-desc { 
  font-size: 20px; line-height: 1.8; max-width: 850px; margin: 0 auto; 
  color: rgba(255, 255, 255, 0.8) !important; 
}

/* =========================================
   2. 影像卡片网格系统
   ========================================= */
.cinematic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 60px 0; }

.photo-item-card {
  display: flex; flex-direction: column; text-decoration: none; 
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 42px; overflow: hidden; 
  background: var(--apple-bg); box-shadow: var(--shadow-soft);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.02);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-content-desc { margin-top: 24px; text-align: center; }
.photo-content-desc p { font-size: 16px; font-weight: 600; color: var(--apple-muted); transition: color 0.4s ease; }

/* 交互化学反应 */
.photo-item-card:hover { transform: translateY(-12px); }
.photo-item-card:hover .photo-frame { transform: scale(1.02); box-shadow: var(--shadow-heavy); border-color: rgba(15, 59, 130, 0.1); }
.photo-item-card:hover .photo-content-desc p { color: var(--brand-blue); }

/* =========================================
   3. 核心哲学版块 (左右对齐分栏)
   ========================================= */
.home-section { padding: 120px 0; }

.philosophy-content h2 { 
  font-size: clamp(32px, 4.5vw, 60px); font-weight: 800; margin-bottom: 60px; 
  line-height: 1.25; color: var(--apple-text); 
}

.philosophy-text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.philosophy-text-columns p { font-size: 18px; line-height: 2; color: var(--apple-muted); margin-bottom: 40px; }
.philosophy-text-columns p strong { 
  display: block; font-size: 22px; color: var(--apple-text); margin-bottom: 12px; font-weight: 800; 
}

/* =========================================
   4. 视频剧场矩阵
   ========================================= */
.video-matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.video-item-card { text-decoration: none; display: block; }
.video-poster-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 42px; overflow: hidden; box-shadow: var(--shadow-soft); 
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-poster-frame img { width: 100%; height: 100%; object-fit: cover; }

.video-overlay {
  position: absolute; inset: 0; background: rgba(15, 59, 130, 0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
}
.play-btn-icon {
  width: 80px; height: 80px; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
/* 播放三角图标 */
.play-btn-icon::after {
  content: ''; width: 0; height: 0; border-style: solid;
  border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--brand-blue);
  margin-left: 5px;
}

.video-item-card:hover .video-poster-frame { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-heavy); }
.video-item-card:hover .video-overlay { opacity: 1; }

.video-caption { margin-top: 24px; }
.video-category { font-size: 14px; font-weight: 700; color: var(--brand-blue); display: block; margin-bottom: 8px; text-transform: uppercase; }
.video-title { font-size: 20px; font-weight: 800; color: var(--apple-text); line-height: 1.4; }

/* =========================================
   5. 底部 CTA 胶囊
   ========================================= */
.home-cta-wrap {
  background: var(--brand-blue); border-radius: 60px;
  padding: 140px 60px; text-align: center; color: #fff;
  box-shadow: 0 40px 100px rgba(15, 59, 130, 0.2);
}

.btn-apple { 
  display: inline-flex; align-items: center; justify-content: center; 
  padding: 22px 60px; border-radius: 999px; font-weight: 700; 
  text-decoration: none; transition: 0.4s; font-size: 18px; 
}
.btn-apple-white { background: #fff; color: var(--brand-blue); margin-right: 20px; }
.btn-apple-white:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.btn-apple-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-apple-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-5px); }
/* =========================================
   修正：英雄剧场版核心词强调
   ========================================= */

.hero-text-title span {
    /* 1. 颜色改为亮蓝色，在深蓝底色上非常抓眼 */
    color: #4dabff !important; 
    
    /* 2. 增加一点点微光感，模拟剧场追光的效果 */
    text-shadow: 0 0 20px rgba(77, 171, 255, 0.4);
    
    /* 3. 如果你想要更强的强调，可以像智谱那样加个极淡的底色块 */
    background: rgba(255, 255, 255, 0.05);
    padding: 0 10px;
    border-radius: 12px;
    
    transition: all 0.4s ease;
}

/* 鼠标移上去的时候，让它更有生命力 */
.home-hero-text .home-shell:hover .hero-text-title span {
    color: #ffffff !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}