:root {
    --secondary-blue: #82c7e2;
    --dark-blue: #0f2d52;
    --light-bg: #f8f9fa;
    --text-color: #212529;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
    
    /* 深色主题颜色 */
    --dark-navy: #111827; /* 深色导航/CTA背景 */
    --light-blue-accent: #60a5fa; /* 登录按钮和Logo点缀色 */
    --nav-text-light: #d1d5db; /* 导航文字浅灰色 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
    background-color: #fff;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* --- 导航栏 --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--dark-navy);
    z-index: 1000;
    padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: inline-block; vertical-align: middle; margin-top: 4px;}
.nav-logo img { max-height: 60px; }
.nav-logo span { color: var(--light-blue-accent); }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item a { color: var(--nav-text-light); text-decoration: none; font-size: 1rem; font-weight: 500; transition: color 0.3s ease; }
.nav-item a:hover, .nav-item a.active { color: #fff; font-weight: bold; }
.nav-item .arrow { font-size: 0.7em; margin-left: 5px; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease;
}
.dropdown-menu a { display: block; padding: 10px 20px; color: var(--nav-text-light); white-space: nowrap; }
.dropdown-menu a:hover { background-color: rgba(255,255,255,0.05); color: #fff; }
.nav-item:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; top: 120%; }

/* --- 按钮 --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }

/* About Page Specific Styles */
.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */


.banner-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

.banner-content .title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0.2em 0;
}

.play-button {
    display: inline-block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.play-button svg {
    color: white;
}

/* Intro Section */
.about-intro {
    padding: 6rem 0;
}

.intro-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-title {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    color: #1a3a6e;
}

.intro-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    border-radius: 1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #1a3a6e;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
}

/* Production Section */
.about-production {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.about-production .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.production-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.production-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.production-images .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

/* Timeline Section */
.about-timeline {
    padding: 6rem 0;
}

.about-timeline .container {
    max-width: 800px;
}

.about-timeline .section-title {
    text-align: center;
}

.timeline {
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2rem 1fr;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-year {
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 3;
    padding-left: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    padding-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
    padding-right: 2rem;
}

.timeline-year {
    font-size: 2rem;
    font-weight: bold;
    color: #1a3a6e;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.timeline-content p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #1a3a6e;
}

.btn-purple { background-color: var(--dark-blue); color: #fff; }
.btn-purple:hover { background-color: #4a387a; }
.btn-blue { background-color: var(--secondary-blue); color: var(--dark-blue); border: 1px solid var(--secondary-blue); padding: 0.6rem 1rem; }
.btn-blue:hover { background-color: #6bb9d8; }

.btn-light-blue { background-color: var(--light-blue); color: var(--dark-blue); border: 1px solid var(--light-blue); }
.btn-light-blue:hover { background-color: #a8d8f0; border-color: #a8d8f0; }

.btn-block {
    display: inline-block;
    text-align: center;
}







.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-blue-accent);
    color: var(--light-blue-accent);
    padding: 10px 28px;
    border-radius: 50px;
}
.btn-outline:hover { background-color: var(--light-blue-accent); color: var(--dark-navy); }

main {
    flex: 1;
}

/* --- 主体内容 --- */
.hero-section { position: relative; display: flex; width: 100%; overflow: hidden; justify-content: center; }
.video-hero .hero-content-pane { background-color: rgba(15, 45, 82, 0.5); z-index: 2; position: relative;min-height: calc(100vh - 120px); }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.hero-image-pane { flex: 1 1 55%; background-image: url('../image/index_banner.jpeg'); background-size: cover; background-position: lift; }
.hero-content-pane { flex: 1 1 55%; background-color: var(--dark-navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 5% 0; align-items: center; }
.hero-content-pane .content-wrapper { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.hero-content-pane .label { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-bottom: 10px; }
.hero-content-pane h1 { font-size: 3.5rem; font-weight: bold; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); text-align: center; }
.hero-content-pane p { font-size: 1.1rem; margin-bottom: 2.5rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); max-width: 700px; text-align: center; }

.text-and-button-wrapper { max-width: fit-content; }

.advantages-section {
    padding: 120px 0;
}

.content-split-section { display: flex; align-items: center; gap: 5%; }
.text-pane { flex: 1 1 47.5%; }
.visual-pane { flex: 1 1 47.5%; }
.text-pane .label { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 10px; }
.text-pane h2 { font-size: 2.8rem; margin: 0 0 20px 0; line-height: 1.3; }
.text-pane p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; }

.video-placeholder { width: 100%; aspect-ratio: 16 / 9; background-color: var(--border-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-play-button { width: 80px; height: 80px; background-color: rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.video-placeholder:hover .video-play-button { transform: scale(1.1); }
.video-play-button svg { width: 40px; height: 40px; color: var(--dark-blue); margin-left: 5px; }

.about-section { display: flex;  min-height: calc(80vh - 75px); background-color: var(--light-bg); }
.about-info-pane { flex: 1 1 45%; background-color: var(--dark-blue); color: #fff; padding: 80px 0; display: flex; flex-direction: column; justify-content: center; }
.about-info-pane .content-wrapper { max-width: 500px; margin: 0 auto; padding: 0 20px; }
.about-info-pane h2 { font-size: 2.8rem; margin: 0 0 20px 0; }
.about-info-pane p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.about-visual-pane { flex: 1 1 55%; background-image: url('../image/about.jpeg'); background-size: cover; background-position: center; min-height: 400px; }

.news-section { padding: 80px 0; background-color: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; margin: 0 0 15px 0; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background-color: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text-color); border: 1px solid var(--border-color); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.news-card-image { width: 100%; height: 200px; object-fit: cover; }
.news-card-content { padding: 25px; }
.news-card-category { display: inline-block; padding: 5px 15px; background-color: rgba(130, 199, 226, 0.2); color: var(--secondary-blue); border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; }
.news-card-title { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px 0; line-height: 1.4; height: 3.36em; /* 1.2rem * 1.4 * 2 */ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.news-card-meta { font-size: 0.9rem; color: var(--text-secondary); }
.view-more-container { text-align: center; margin-top: 50px; }

/* --- 行动号召 (CTA) Section (新) --- */
.cta-section {
    background-color: var(--dark-navy);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.8rem;
    margin-top: 0;
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 1.2rem;
    color: var(--nav-text-light);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}
.cta-section .btn-cta {
    background: linear-gradient(45deg, #82c7e2, #60a5fa);
    color: #fff;
    font-size: 1.1rem;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(96, 165, 250, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-section .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.6);
}

/* --- 页脚 --- */
.site-footer { background-color: var(--dark-blue); color: rgba(255, 255, 255, 0.8); padding: 80px 0 0 0; }

/* About Page Specifics */
.decorative-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

.decorative-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--dark-blue));
    border-radius: 2px;
}
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 50px; align-items: start; }
.footer-column .footer-logo { display: inline-block; margin-bottom: 20px; position: relative; top: 7px; }
.footer-column .footer-logo img { max-width: 160px; }
.footer-column p { margin: 0; line-height: 1.8; }
.footer-column h4 { color: #fff; font-size: 1.1rem; font-weight: 600; margin: 0 0 20px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s, padding-left 0.3s; }
.footer-column ul a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 25px 0; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom a { color: rgba(255, 255, 255, 0.8); text-decoration: none; margin: 0 10px; }
.footer-bottom a:hover { color: #fff; }

/* --- 响应式 --- */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hero-section, .content-split-section, .about-section { flex-direction: column; }
    .hero-image-pane { min-height: 300px; }
    .about-section { flex-direction: column-reverse; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
}

/* --- IP 分析页面 --- */
#banner-placeholder {
     position: relative;
     background-image: url('../image/pages_bg.jpeg');
     background-size: cover;
     background-position: center;
     min-height: 220px; /* 或者您希望的任何固定高度 */
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     overflow: hidden;
 }

#banner-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 20, 50, 0.5); /* 蓝黑色半透明蒙版 */
    z-index: 1;
}

#banner-placeholder > * {
    position: relative;
    z-index: 2;
}

/* IP Analysis Page Tabs */
.tab-btn {
    padding: 10px 4px;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280; /* gray-500 */
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    color: #111827; /* gray-900 */
}
.tab-btn.active-tab {
    color: var(--dark-blue, #2c3e50);
    font-weight: 600;
    border-bottom-color: var(--dark-blue, #2c3e50);
}