/* ========================================
   Gentle Bandit 团队网站 - 样式表
   配色：深黑底 #0a0a0a + 金色 #c9a227 + 科技蓝 #00d4ff
   ======================================== */

/* --- 基础重置 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gold: #c9a227;
    --gold-light: #d4b43a;
    --blue: #00d4ff;
    --blue-dark: #0099cc;
    --text: #f5f5f5;
    --text-secondary: #888;
    --border: #333;
}

body {
    font-family: 'Noto Serif SC', serif;
    background: var(--black);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-light);
}

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

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* --- Hero 首屏 --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.hero-tagline-en {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--black);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

/* --- 通用 Section 样式 --- */
.section {
    padding: 100px 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- 关于我们 --- */
.about-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
}

.about-text {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    margin-bottom: 30px;
    text-align: justify;
}

.about-text-en {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    margin-bottom: 60px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--dark);
    padding: 30px;
    border-left: 3px solid var(--gold);
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card.ai-highlight {
    border-left-color: var(--blue);
    background: linear-gradient(135deg, var(--dark) 0%, #0a1a2a 100%);
}

.highlight-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 10px;
}

.highlight-card.ai-highlight h3 {
    color: var(--blue);
}

.highlight-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- 核心团队 --- */
.team-section {
    background: var(--black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.team-card {
    background: linear-gradient(135deg, #151515 0%, var(--dark) 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    will-change: transform, opacity;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 5px;
}

.team-role {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- 服务范围 --- */
.services-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
}

.pipeline-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pipeline-stage {
    background: var(--dark);
    padding: 30px;
    border: 1px solid var(--border);
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stage-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.pipeline-stage h4 {
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 10px;
}

.pipeline-stage ul {
    list-style: none;
    font-size: 12px;
    color: var(--text-secondary);
}

.pipeline-arrow {
    font-size: 24px;
    color: var(--gold);
}

.ai-badge {
    text-align: center;
    margin-top: 40px;
}

.ai-badge span {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--black);
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* --- 作品集 --- */
.works-section {
    background: var(--black);
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.work-item {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    will-change: transform, opacity;
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

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

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: transform 0.3s;
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-info h4 {
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 5px;
}

.work-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    padding: 12px 40px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
}

.btn-load-more:hover {
    background: var(--gold);
    color: var(--black);
}

/* --- AI能力展示 --- */
.ai-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #0a1a2a 50%, #0a0a0a 100%);
}

.ai-title {
    color: var(--blue) !important;
}

.ai-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* AI 核心原则 */
.ai-principle {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    padding: 20px 30px;
    margin-bottom: 50px;
    font-size: 15px;
    color: var(--text);
    text-align: center;
}

.ai-principle strong {
    color: var(--blue);
}

.gsap-ai-principle {
    opacity: 0;
    transform: translateY(20px);
}

/* AI 全链路 Pipeline */
.ai-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ai-pipeline-row2 {
    margin-top: 20px;
}

.ai-pipeline-stage {
    background: var(--dark);
    padding: 25px 15px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    text-align: center;
    flex: 1;
    min-width: 160px;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform, opacity;
}

.ai-pipeline-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.15);
}

.ai-stage-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.ai-pipeline-stage h4 {
    font-size: 15px;
    color: var(--blue);
    margin-bottom: 10px;
}

.ai-pipeline-stage ul {
    list-style: none;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
    padding: 0 5px;
}

.ai-pipeline-arrow {
    font-size: 22px;
    color: var(--blue);
    flex-shrink: 0;
}

.gsap-ai-pipeline {
    opacity: 1;
}

.gsap-ai-pipe-stage {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-ai-pipe-arrow {
    opacity: 0;
    transform: scale(0);
}

/* AI 工具矩阵 */
.ai-tools-section {
    margin: 60px 0 40px;
}

.ai-tools-title {
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 30px;
    text-align: center;
}

.tools-category {
    margin-bottom: 25px;
}

.tools-category h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tools-tags .tool-tag {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--blue);
    padding: 6px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: background 0.3s, transform 0.3s;
}

.tools-tags .tool-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.gsap-ai-tools {
    opacity: 1;
}

.gsap-tools-category {
    opacity: 0;
    transform: translateX(-30px);
}

/* AI 洞察卡片 */
.ai-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.ai-insight-card {
    background: var(--dark);
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: transform 0.3s;
    will-change: transform, opacity;
}

.ai-insight-card:hover {
    transform: translateY(-5px);
}

.ai-insight-card h4 {
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 10px;
}

.ai-insight-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.ai-insight-card strong {
    color: var(--text);
}

.ai-insight-highlight {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--dark) 0%, #1a1505 100%);
}

.ai-insight-highlight h4 {
    color: var(--gold);
}

.gsap-ai-insights {
    opacity: 1;
}

.gsap-ai-insight-card {
    opacity: 0;
    transform: translateY(30px);
}

/* 旧版 AI 工作流（兼容保留） */
.ai-workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.ai-step {
    background: var(--dark);
    padding: 30px;
    border: 1px solid var(--blue);
    text-align: center;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    will-change: transform, opacity;
}

.ai-step:hover {
    transform: translateY(-5px);
}

.ai-step-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.ai-step h4 {
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 10px;
}

.ai-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.ai-tools {
    text-align: center;
}

.ai-tools h3 {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 30px;
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--blue);
    color: var(--blue);
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* --- 合作客户 --- */
.clients-section {
    background: var(--black);
}

/* Logo Wall 全宽显示 */
.clients-logo-wall {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-wall-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.logo-wall-image.loaded {
    opacity: 1;
}

/* 隐藏占位符 */
.clients-logo-wall::before {
    display: none;
}

/* --- 联系我们 --- */
.contact-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
}

.contact-tagline {
    text-align: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 60px;
    line-height: 1.8;
}

/* 新片场卡片（与其他 contact-item 一致） */
.contact-xp-link {
    display: block;
    color: var(--text);
    text-decoration: none;
    text-align: center;
}

.contact-xp-link:hover {
    color: var(--text);
}

.contact-xp-link p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 6px 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    background: var(--dark);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    will-change: transform, opacity;
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--dark);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* --- 页脚 --- */
.footer {
    background: var(--black);
    padding: 60px 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 12px;
    color: var(--border);
}

.footer-icp {
    font-size: 12px;
    color: var(--border);
    margin-top: 8px;
}

.footer-icp a {
    color: var(--border);
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--gold);
}

/* --- 返回顶部 --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--black);
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-light);
}

/* --- 响应式设计 --- */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-workflow {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-insights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 6px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pipeline-diagram {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-workflow {
        grid-template-columns: 1fr;
    }
    
    .ai-pipeline {
        flex-direction: column;
        gap: 10px;
    }
    
    .ai-pipeline-arrow {
        transform: rotate(90deg);
    }
    
    .ai-insights {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   GSAP 动画初始态 & 增强样式
   ======================================== */

/* Hero 动画初始态 */
.gsap-hero-title {
    opacity: 0;
    transform: translateY(60px);
}

.gsap-hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-hero-tagline {
    opacity: 0;
    transform: translateY(20px);
}

.gsap-hero-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Section title 动画初始态 */
.gsap-section-title {
    opacity: 0;
    transform: translateX(-40px);
}

/* 关于我们 动画初始态 */
.gsap-about-text {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-highlight {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.highlight-card {
    will-change: transform, opacity;
}

.highlight-card:hover {
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.1);
}

.highlight-icon {
    display: block;
}

/* 服务范围 动画初始态 */
.gsap-pipeline {
    opacity: 0;
    transform: translateY(50px);
}

.gsap-pipeline-arrow {
    opacity: 0;
    transform: scale(0);
}

.gsap-ai-badge {
    opacity: 0;
    transform: translateY(20px);
}

.gsap-service-detail {
    opacity: 0;
    transform: translateX(-40px);
}

.pipeline-stage {
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.pipeline-stage:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.1);
}

.pipeline-stage ul {
    line-height: 1.8;
}

.ai-badge {
    margin-bottom: 50px;
}

.ai-badge span {
    display: inline-block;
    padding: 12px 30px;
}

.services-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-detail-item {
    background: var(--dark);
    padding: 30px;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    transition: transform 0.3s;
}

.service-detail-item:hover {
    transform: translateY(-5px);
}

.service-detail-item h3 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 12px;
}

.service-detail-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .services-detail {
        grid-template-columns: 1fr;
    }
    
    .pipeline-diagram {
        gap: 15px;
    }
}
