/* ========================
   1. 全局重置 & 基础设置
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* 让字体更清晰 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================
   2. 导航栏 (Navbar)
   ======================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container { display: flex; align-items: center; }

.nav-logo-img {
    height: 120px; 
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: block;
}
.nav-logo-img:hover { opacity: 1; transform: scale(1.02); }

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 35px; }
.nav-links a {
    color: #eee;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.nav-links a:hover { color: #fff; }

.btn-contact {
    border: 1px solid #ffffff;
    padding: 8px 24px;
    border-radius: 50px;
    color: #fff !important;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.3);
}
.btn-contact:hover { background: #fff; color: #000 !important; }

/* ========================
   3. Hero 区域 (Cinematic Intro)
   ======================== */
@keyframes cinematicSlideRight {
    0% { opacity: 0; transform: translateX(-60px); filter: blur(12px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.1); 
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero h1 {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -3px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.5);
    opacity: 0; 
    animation: cinematicSlideRight 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.2s; 
}

.subtitle {
    font-size: 1.2rem; color: #fff; max-width: 700px; margin: 0 auto; font-weight: 400;
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    opacity: 0;
    animation: cinematicSlideRight 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.6s; 
}

/* ========================
   4. 图片区域 & 文字覆盖层
   ======================== */
.full-width-image-container {
    width: 100%;
    background-color: #0a0a0a;
    overflow: hidden;
    line-height: 0;
    display: grid;
    grid-template-areas: "stack";
    position: relative; 
}

.feature-img { 
    grid-area: stack;
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
    transition: opacity 0.8s ease-in-out;
    opacity: 0; 
    z-index: 1;
}
.feature-img.active { opacity: 1; z-index: 2; }

/* 动态文字层 (VISION / VALUE / CREATIVITY) */
.feature-text-overlay {
    position: absolute;
    top: 50%;
    left: 8%; 
    transform: translateY(-50%) translateX(-20px);
    z-index: 10;
    max-width: 500px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none; /* 点击穿透 */
}

.feature-text-overlay.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.feature-text-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0,0,0,1);
    border-left: 3px solid #fff;
    padding-left: 20px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    padding: 20px;
}

/* ========================
   5. 交互式滚动条 (修改版 - 高端极简风)
   ======================== */
.ticker-wrapper {
    width: 100%;
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 更细的分割线 */
    height: 80px; /* 高度减小 */
    position: relative;
    overflow: hidden;
    z-index: 5;
    display: flex; /* 确保垂直居中 */
    align-items: center;
}

.ticker-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.ticker-item {
    position: absolute;
    top: 50%;
    left: 0; 
    width: 33.333%; /* 保持 1/3 宽度 */
    
    /* 字体调整：更小、更精致 */
    font-size: 1rem; 
    font-weight: 600; 
    color: #555; /* 默认深灰色 */
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 3px; /* 增加字间距 */
    line-height: 1; 
    user-select: none; 
    white-space: nowrap;
    text-align: center;
    
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), 
                opacity 0.5s ease, 
                color 0.5s ease; 
    
    will-change: transform;
    opacity: 0.5; 
}

.ticker-item:hover {
    color: #888;
    opacity: 0.8;
}

/* 激活状态：高亮但不放大太多 */
.active-item { 
    color: #fff !important; 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* 柔和发光 */
    opacity: 1 !important;
    z-index: 10;
}

.no-transition {
    transition: none !important;
}

/* ========================
   6. 其他板块样式
   ======================== */
.values { padding: 120px 0; background: #0a0a0a; position: relative; z-index: 2; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.value-card { border-top: 1px solid #333; padding-top: 30px; transition: transform 0.3s ease; }
.value-card:hover { transform: translateY(-5px); border-top-color: #fff; }
.value-card h3 { font-size: 0.8rem; color: #888; margin-bottom: 20px; letter-spacing: 2px; }
.value-card p { font-size: 1.1rem; color: #ddd; }

/* Sectors */
.sectors { padding: 120px 0; background-color: #0d0d0d; }
.section-title { 
    font-size: 3rem; font-weight: 800; letter-spacing: -1px; color: #ffffff; 
    margin-bottom: 80px; text-align: center; text-transform: uppercase;
}
.sector-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; 
    width: 100%; max-width: 1400px; margin: 0 auto; 
}
.sector-item {
    position: relative; height: 500px; display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 1.5rem; font-weight: 700; color: #fff; cursor: pointer; overflow: hidden;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    filter: grayscale(100%); transition: filter 0.5s ease, transform 0.5s ease; 
    border-right: 1px solid rgba(255,255,255,0.1);
}
.sector-item:last-child { border-right: none; }
.sector-item:nth-child(1) { background-image: url('a1.jpg'); }
.sector-item:nth-child(2) { background-image: url('a2.jpg'); }
.sector-item:nth-child(3) { background-image: url('a3.jpg'); }
.sector-item:nth-child(4) { background-image: url('a4.jpg'); }
.sector-item:hover { filter: grayscale(0%); z-index: 10; }
.sector-item span {
    position: relative; z-index: 2; padding: 10px 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}
.sector-item:hover span { transform: scale(1.1); }

/* Media Section */
.media-section { background-color: #000; padding: 100px 0 0 0; border-bottom: 1px solid #333; }
.media-list { margin-bottom: 100px; }
.media-item { margin-bottom: 40px; cursor: pointer; border-bottom: 1px solid #111; padding-bottom: 40px; transition: all 0.3s ease; }
.media-item:hover { transform: translateX(10px); }
.media-date { display: block; font-size: 0.9rem; color: #666; margin-bottom: 10px; letter-spacing: 1px; }
.media-headline { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.2; text-transform: uppercase; transition: color 0.3s ease; }
.media-item:hover .media-headline { color: #888; }

/* Footer */
footer { padding: 30px 0; background: #000; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo-img { height: 100px; width: auto; opacity: 0.9; }
.footer-right { display: flex; align-items: center; font-size: 0.8rem; font-weight: 600; color: #555; letter-spacing: 1px; }

/* Back to Top */
.back-to-top { display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; margin-left: 30px; opacity: 0.6; transition: all 0.3s ease; }
.back-to-top:hover { opacity: 1; transform: translateY(-3px); }
.top-line { width: 24px; height: 3px; background-color: #555; margin-bottom: 4px; border-radius: 2px; transition: background-color 0.3s; }
.up-arrow { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 12px solid #555; transition: border-bottom-color 0.3s; }
.back-to-top:hover .top-line { background-color: #fff; }
.back-to-top:hover .up-arrow { border-bottom-color: #fff; }

/* Contact Page Styles */
.contact-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; background-image: url('bg.jpg'); background-size: cover; background-attachment: fixed; padding-top: 100px; }
.contact-container { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.contact-container h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; text-shadow: 0 10px 30px rgba(0,0,0,0.9); opacity: 0; animation: cinematicSlideRight 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; animation-delay: 0.2s; }
.contact-desc { font-size: 1.1rem; color: #ddd; margin-bottom: 50px; line-height: 1.8; opacity: 0; animation: cinematicSlideRight 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; animation-delay: 0.4s; }
.email-direct, .address-direct { margin-bottom: 30px; font-size: 0.9rem; letter-spacing: 2px; color: #888; opacity: 0; animation: cinematicSlideRight 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
.email-direct { animation-delay: 0.6s; }
.address-direct { animation-delay: 0.8s; }
.email-direct a { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: 10px; text-decoration: none; transition: color 0.3s; }
.address-direct p { font-size: 1.3rem; font-weight: 700; color: #fff; margin-top: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; background: rgba(0, 0, 0, 0.6); padding: 40px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); opacity: 0; animation: cinematicSlideRight 2s cubic-bezier(0.19, 1, 0.22, 1) forwards; animation-delay: 1.0s; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #555; padding: 15px 0; color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.3s; }
.form-input:focus { border-bottom-color: #fff; }
.submit-btn { margin-top: 20px; padding: 15px 0; background: #fff; color: #000; border: none; font-weight: 800; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; }
.submit-btn:hover { background: #ccc; transform: translateY(-2px); }

/* ========================
   7. 移动端适配 (Mobile)
   ======================== */
@media (max-width: 768px) {
    .sector-grid { grid-template-columns: 1fr; }
    .sector-item { height: 250px; }
    .hero h1 { font-size: 3.2rem; }
    .nav-logo-img { height: 80px; }
    .grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-content { flex-direction: column; gap: 20px; }
    .ticker-wrapper { height: 100px; }
    .ticker-item { font-size: 2rem; }
    .feature-text-overlay p { font-size: 1.2rem; border-left-width: 2px; }
    .contact-container h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
}