/* 
 * 虾导的艺术 - Lasse Pedersen 横向滚动风格
 * 文字动画 + 横向图片滚动
 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* 首屏文字动画 */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
    background: #fff;
    overflow: hidden;
    animation: fadeOutHero 1s ease 2s forwards;
}

/* BugFix-V5-003 (2026-06-11 00:48): hero 视频铺底样式 */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;  /* 让文字更清楚 */
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;  /* 文字在视频之上 */
}

.hero-title {
    font-size: 120px;
    font-weight: 100;
    letter-spacing: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-tagline {
    font-size: 16px;
    letter-spacing: 4px;
    color: #999;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: letterFadeIn 0.8s ease forwards;
}

.hero-title .letter:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .letter:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: 24px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 300;
    color: #666;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

/* 字母动画 */
@keyframes letterFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 首屏淡出 */
@keyframes fadeOutHero {
    0% {
        opacity: 1;
        z-index: 50;
    }
    99% {
        opacity: 0;
        z-index: 50;
    }
    100% {
        opacity: 0;
        z-index: -1;
        pointer-events: none;
        visibility: hidden;
    }
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 20px;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* 导航 */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    background: transparent;
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PC端网站名字 */
.nav-brand {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #000;
}

.nav {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.5;
}

/* 横向滚动图片画廊 */
.gallery-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 80px 40px 40px 40px;
    height: 100%;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item {
    flex: 0 0 auto;
    height: calc(100% - 120px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: contain;  /* BugFix-V6-001 (2026-06-11 03:05): 改为 contain，竖版图完整显示 */
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* BugFix-V6-004 (2026-06-11 03:25): 竖版视频完整显示 */
.gallery-item video {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* BugFix-V6-010 (2026-06-11 03:50): 视频容器宽度自适应 */
.gallery-item:has(video) {
    width: auto;  /* 容器宽度跟随视频宽度 */
}

/* BugFix-V6-007 (2026-06-11 03:35): 视频加载动画 */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.video-loader .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.video-loader span {
    font-size: 14px;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 不同高度的图片 */
.gallery-item:nth-child(odd) {
    height: calc(100% - 180px);
    margin-top: 60px;
}

/* 滚动时的动态效果 */
.gallery-item.scrolling {
    transform: scale(0.98);
    opacity: 0.9;
}

/* 联系方式 - 移动端使用，PC端隐藏（由 PC 端 contact-block 替代）*/
.contact-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.contact-section.active {
    display: flex;
}

.contact-content {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-intro {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.email-button {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.email-button:hover {
    background: #333;
}

/* 进度条（可选）*/
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #000;
    z-index: 150;
    transition: width 0.1s;
}

/* PC端隐藏移动端专属区块 */
.about-section-mobile,
.capability-section-mobile,
.cases-section-mobile,
.results-section-mobile,
.contact-section-mobile {
    display: none !important;
}

/* ==================== 新增区块样式 ==================== */

/* 关于我们 */
.about-section {
    padding: 120px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-number {
    font-size: 12px;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 1px;
}

.section-content p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    letter-spacing: 1px;
}

/* 服务能力 */
.capability-section {
    padding: 120px 80px;
    background: #fafafa;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    padding: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.capability-number {
    font-size: 48px;
    font-weight: 100;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.capability-item h4 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.capability-item > p {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.capability-item ul {
    list-style: none;
}

.capability-item ul li {
    font-size: 14px;
    color: #666;
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.capability-item ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #999;
}

/* 客户案例 */
.cases-section {
    padding: 120px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-item {
    padding: 40px;
    border-left: 2px solid #000;
}

.case-number {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.case-item h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.case-type {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.case-result {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 数据展示 */
.results-section {
    padding: 120px 80px;
    background: #000;
    color: #fff;
}

.results-section .section-title h2,
.results-section .section-title h3 {
    color: #fff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 72px;
    font-weight: 100;
    margin-bottom: 10px;
}

.result-label {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.result-item p {
    font-size: 10px;
    color: #666;
    letter-spacing: 1px;
}

/* 合作流程 */
.process-section {
    padding: 120px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.process-item {
    text-align: center;
    padding: 40px 20px;
}

.process-number {
    font-size: 48px;
    font-weight: 100;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.process-item h4 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.process-item > p:first-of-type {
    font-size: 11px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.process-item > p:last-of-type {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系方式 - 此处不重复定义（PC 端使用 contact-block）*/

/* 页脚 */
/* BugFix-001 (2026-06-10 22:35) - 修复 footer 跑到 viewport top 的问题：固定到底部 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;  /* 高于 hero (50) */
    padding: 20px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e0e0e0;
}

.footer p {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/* ==================== 横向滚动文字内容区块 ==================== */

.content-sections {
    display: flex;
    gap: 0;
    height: 100%;
}

.content-block {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 900px;
    height: calc(100% - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    margin-top: 80px;
    margin-right: 40px;
    background: #fff;
}

.block-number {
    font-size: 12px;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 30px;
}

.content-block h2 {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.content-block h3 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 40px;
}

.content-block p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    letter-spacing: 1px;
}

/* 服务列表 */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 数据展示 */
.results-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.result-item {
    font-size: 14px;
    color: #666;
}

.big-number {
    display: block;
    font-size: 72px;
    font-weight: 100;
    color: #000;
    margin-bottom: 10px;
}

/* 联系方式 */
.contact-block p {
    font-size: 24px;
    margin-bottom: 30px;
}

.email-link {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.email-link:hover {
    background: #333;
}
