/* ==============================================
   矩匣科技官网 - 主样式表
   主题：墨绿 + 金色
   特性：响应式 / 滚动动画 / 移动端适配
   ============================================== */

/* ========== 1. CSS 变量 ========== */
:root {
    /* 核心宽度 */
    --core-width: 80%;
    --core-max-width: 1440px;

    /* 品牌色系 - 墨绿 */
    --brand-primary: #5A7D6A;
    --brand-dark: #2D4A3E;
    --brand-darker: #1E3529;
    --brand-light: #D4DCD6;
    --brand-lighter: #EDF0ED;

    /* 辅助色系 - 金色 */
    --accent-gold: #C4A35A;
    --accent-gold-light: #D4B76A;
    --accent-gold-dark: #A88B42;

    /* 中性色 */
    --bg-cream: #F7F5F0;
    --bg-white: #FFFFFF;
    --text-primary: #2C2C2C;
    --text-secondary: #6B6B6B;
    --text-light: #999999;
    --border-light: #E5E5E5;

    /* 字号 */
    --font-hero: 3.75rem;
    --font-xl: 2.625rem;
    --font-lg: 1.875rem;
    --font-md: 1.375rem;
    --font-body: 1rem;
    --font-small: 0.875rem;

    /* 动画 */
    --anim-duration: 0.6s;
    --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 2. 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

/* ========== 3. 通用容器 ========== */
.core-container {
    width: var(--core-width);
    max-width: var(--core-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* 版块通用 */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-title .title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto 20px;
}

.section-title p {
    font-size: var(--font-body);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 4. 滚动动画 ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--anim-duration) var(--anim-ease),
                transform var(--anim-duration) var(--anim-ease);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画 */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* 从左滑入 */
.animate-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity var(--anim-duration) var(--anim-ease),
                transform var(--anim-duration) var(--anim-ease);
}
.animate-from-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* 从右滑入 */
.animate-from-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity var(--anim-duration) var(--anim-ease),
                transform var(--anim-duration) var(--anim-ease);
}
.animate-from-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放进入 */
.animate-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity var(--anim-duration) var(--anim-ease),
                transform var(--anim-duration) var(--anim-ease);
}
.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* ========== 5. 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s var(--anim-ease);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.navbar .core-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link {
    padding: 8px 16px;
    font-size: var(--font-body);
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s var(--anim-ease);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
}

/* 语言切换 */
.lang-switch {
    margin-left: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    font-size: var(--font-small);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.navbar.scrolled .lang-switch {
    border-color: var(--brand-light);
    color: var(--text-primary);
}
.lang-switch:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}

/* 移动端汉堡按钮 */
.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar-toggler span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
.navbar.scrolled .navbar-toggler span {
    background: var(--text-primary);
}

/* ========== 6. Hero 区域 ========== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.85) 0%, rgba(90, 125, 106, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    font-size: var(--font-small);
    color: var(--accent-gold);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-title {
    font-size: var(--font-hero);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: var(--font-md);
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--anim-ease);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--brand-dark);
}
.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 163, 90, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
    background: #fff;
    color: var(--brand-dark);
    transform: translateY(-2px);
}

/* 滚动提示 */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hero-scroll:hover,
.hero-scroll:focus-visible {
    color: var(--accent-gold);
    outline: none;
}
.hero-scroll:focus-visible {
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.5);
}
.hero-scroll i {
    font-size: 24px;
}
.hero-scroll span {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== 7. 业务矩阵 2x2 ========== */
.business-matrix {
    background: var(--bg-cream);
}

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

.matrix-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: all 0.4s var(--anim-ease);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gold);
    transition: height 0.4s var(--anim-ease);
}

.matrix-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(45, 74, 62, 0.12);
    border-color: var(--brand-light);
}

.matrix-card:hover::before {
    height: 100%;
}

.matrix-card-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.matrix-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matrix-card-content {
    flex: 1;
}

.matrix-card-content h3 {
    font-size: var(--font-md);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-dark);
}

.matrix-card-content p {
    font-size: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.matrix-card-content .card-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: var(--font-small);
}
.matrix-card-content .card-link:hover {
    text-decoration: underline;
}

/* ========== 8. 技术能力时间轴 ========== */
.timeline-section {
    background: var(--brand-dark);
    color: #fff;
}

.timeline-section .section-title h2 {
    color: #fff;
}

.timeline-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

/* 已移除中间渐变金色横线 */

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border: 4px solid var(--brand-dark);
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.2);
}

.timeline-item h4 {
    font-size: var(--font-md);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-gold-light);
}

.timeline-item ul {
    text-align: left;
    display: inline-block;
}

.timeline-item ul li {
    font-size: var(--font-small);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.timeline-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* ========== 9. 行业方案标签切换 ========== */
.solutions-section {
    background: var(--bg-white);
}

.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.solution-tab {
    padding: 12px 28px;
    background: transparent;
    border: none;
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.solution-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.solution-tab:hover {
    color: var(--brand-primary);
}

.solution-content {
    display: none;
    animation: fadeIn 0.5s var(--anim-ease);
}

.solution-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.solution-detail {
    display: flex;
    gap: 50px;
    align-items: center;
}

.solution-detail-img {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
    height: 360px;
}

.solution-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-detail-text {
    flex: 1;
}

.solution-detail-text h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--brand-dark);
}

.solution-detail-text p {
    font-size: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.solution-pain-list {
    margin-bottom: 24px;
}

.solution-pain-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: var(--font-body);
    color: var(--text-primary);
}

.solution-pain-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

/* ========== 10. 数据实力 ========== */
.stats-section {
    background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 50%, var(--brand-primary) 100%);
    color: #fff;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-family: 'DIN Alternate', 'Arial', sans-serif;
    line-height: 1;
}

.stat-number .suffix {
    font-size: 1.5rem;
}

.stat-label {
    font-size: var(--font-body);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

/* ========== 11. 合作伙伴 Logo 墙 ========== */
.partners-section {
    background: var(--bg-white);
}

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

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: var(--bg-cream);
    border-radius: 12px;
    transition: all 0.3s;
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.partner-item span {
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--brand-dark);
}

/* ========== 12. CTA 行动号召 ========== */
.cta-section {
    background: var(--brand-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.cta-section::before { top: 0; }
.cta-section::after { bottom: 0; }

.cta-section h2 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: var(--font-md);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

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

/* ========== 13. 页脚 ========== */
.footer {
    background: var(--brand-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand-title img {
    height: 50px;
}

.footer-brand p {
    font-size: var(--font-small);
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer h4 {
    color: #fff;
    font-size: var(--font-md);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    padding: 6px 0;
}

.footer-links a {
    font-size: var(--font-small);
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

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

.footer-contact li {
    padding: 8px 0;
    font-size: var(--font-small);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-top: 4px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: var(--font-small);
}

/* ========== 14. 内页通用 ========== */
.page-hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    background: linear-gradient(135deg, var(--brand-darker), var(--brand-dark));
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.page-hero p {
    font-size: var(--font-body);
    opacity: 0.8;
}

.breadcrumb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-small);
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb span {
    color: var(--accent-gold);
    margin: 0 8px;
}

/* 锚点导航 */
.anchor-nav {
    position: sticky;
    top: 80px;
    background: var(--bg-white);
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
}

.anchor-nav ul {
    display: flex;
    justify-content: center;
    gap: 0;
}

.anchor-nav li a {
    display: block;
    padding: 18px 32px;
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.anchor-nav li a:hover,
.anchor-nav li a.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* 业务板块 */
.business-block {
    padding: 80px 0;
}

.business-block.alt {
    background: var(--bg-cream);
}

.business-block-inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.business-block.alt .business-block-inner {
    flex-direction: row-reverse;
}

.business-block-img {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 20px 50px rgba(45, 74, 62, 0.15);
}

.business-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-block-text {
    flex: 1;
}

.business-block-text .block-num {
    font-size: 4rem;
    font-weight: 700;
    color: var(--brand-light);
    font-family: 'DIN Alternate', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
}

.business-block-text h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.business-block-text p {
    font-size: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.service-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: var(--font-small);
    color: var(--text-primary);
}

.service-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 10px;
    top: 12px;
}

/* 时间轴（关于页） */
.about-timeline {
    position: relative;
    padding: 40px 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--brand-light);
    transform: translateX(-50%);
}

.about-timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.about-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.about-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.about-timeline-content {
    width: 45%;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.about-timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    border: 4px solid var(--bg-cream);
    border-radius: 50%;
    z-index: 1;
}

.about-timeline-year {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.about-timeline-content h4 {
    font-size: var(--font-md);
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.about-timeline-content p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 团队卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(45, 74, 62, 0.15);
}

.team-card-img {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-img i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
}

.team-card-info {
    padding: 24px;
}

.team-card-info h4 {
    font-size: var(--font-md);
    margin-bottom: 4px;
    color: var(--brand-dark);
}

.team-card-info .position {
    font-size: var(--font-small);
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.team-card-info p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 价值观网格 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: all 0.4s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(45, 74, 62, 0.12);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 28px;
    color: var(--accent-gold);
}

.value-card h4 {
    font-size: var(--font-md);
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.value-card p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 文章卡片 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(45, 74, 62, 0.12);
}

.article-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.08);
}

.article-card-body {
    padding: 24px;
}

.article-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--brand-lighter);
    color: var(--brand-primary);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: var(--font-md);
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* 特色文章 */
.featured-article {
    display: flex;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.featured-article-img {
    flex: 0 0 55%;
    height: 400px;
    overflow: hidden;
}

.featured-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article-content .article-card-category {
    align-self: flex-start;
    margin-bottom: 16px;
}

.featured-article-content h2 {
    font-size: var(--font-lg);
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

.featured-article-content p {
    font-size: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* 联系表单 */
.contact-layout {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

/* 联系信息：两列布局（左2条 / 右2条） */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-info-grid .contact-info-item {
    margin-bottom: 0;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(45, 74, 62, 0.1);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--accent-gold);
}

.contact-info-text h4 {
    font-size: var(--font-md);
    margin-bottom: 6px;
    color: var(--brand-dark);
}

.contact-info-text p {
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.contact-form {
    flex: 1;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
    font-size: var(--font-lg);
    margin-bottom: 30px;
    color: var(--brand-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: var(--font-small);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: var(--font-body);
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(90, 125, 106, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 职位卡片 */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(45, 74, 62, 0.1);
    transform: translateX(6px);
}

.job-card-info h4 {
    font-size: var(--font-md);
    margin-bottom: 8px;
    color: var(--brand-dark);
}

.job-card-meta {
    display: flex;
    gap: 20px;
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card-meta i {
    color: var(--accent-gold);
}

/* 文章详情 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-detail-header h1 {
    font-size: var(--font-xl);
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: var(--font-small);
    color: var(--text-light);
}

.article-detail-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
}

.article-detail-img img {
    width: 100%;
    height: auto;
}

.article-detail-content {
    font-size: var(--font-body);
    line-height: 2;
    color: var(--text-primary);
}

.article-detail-content p {
    margin-bottom: 24px;
}

.article-detail-content h2 {
    font-size: var(--font-lg);
    margin: 40px 0 20px;
    color: var(--brand-dark);
}

.article-detail-content h3 {
    font-size: var(--font-md);
    margin: 30px 0 16px;
    color: var(--brand-dark);
}

/* ========== 15. 响应式 - 平板 ========== */
@media (max-width: 1024px) {
    :root {
        --core-width: 90%;
        --font-hero: 2.75rem;
        --font-xl: 2rem;
        --font-lg: 1.5rem;
    }

    .section {
        padding: 70px 0;
    }

    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 2px;
        height: auto;
        transform: none;
    }

    .timeline-item {
        text-align: left;
        padding-left: 60px;
        position: relative;
    }

    .timeline-dot {
        position: absolute;
        left: 11px;
        top: 0;
        margin: 0;
    }

    .solution-detail {
        flex-direction: column;
    }

    .solution-detail-img {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .business-block-inner,
    .business-block.alt .business-block-inner {
        flex-direction: column;
    }

    .business-block-img {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article {
        flex-direction: column;
    }

    .featured-article-img {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info {
        flex: none;
        width: 100%;
    }

    .about-timeline::before {
        left: 20px;
    }

    .about-timeline-item,
    .about-timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }

    .about-timeline-content {
        width: 100%;
    }

    .about-timeline-dot {
        left: 11px;
    }
}

/* ========== 16. 响应式 - 手机 ========== */
@media (max-width: 768px) {
    :root {
        --core-width: 92%;
        --font-hero: 2rem;
        --font-xl: 1.625rem;
        --font-lg: 1.375rem;
        --font-md: 1.125rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    /* 导航栏移动端 */
    .navbar-toggler {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--brand-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.4s var(--anim-ease);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav.open {
        right: 0;
    }

    .navbar-nav .nav-link {
        color: #fff !important;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .lang-switch {
        margin: 20px 0 0;
        width: 100%;
        text-align: center;
    }

    /* 移动端菜单遮罩 */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.show {
        display: block;
    }

    /* Hero */
    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: var(--font-body);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* 业务矩阵 */
    .matrix-card {
        flex-direction: column;
        padding: 24px;
    }

    .matrix-card-img {
        width: 100%;
        height: 180px;
    }

    /* 数据 */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* 合作伙伴 */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 锚点导航 */
    .anchor-nav ul {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .anchor-nav li a {
        padding: 14px 20px;
        white-space: nowrap;
        font-size: var(--font-small);
    }

    /* 团队 */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* 价值观 */
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 24px 16px;
    }

    /* 文章 */
    .article-grid {
        grid-template-columns: 1fr;
    }

    .featured-article-content {
        padding: 24px;
    }

    /* 联系信息：窄屏回退为单列 */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 24px;
    }

    /* 职位 */
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .job-card-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* 服务列表 */
    .service-list {
        grid-template-columns: 1fr;
    }

    /* 文章详情 */
    .article-detail-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== 17. 工具类 ========== */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-brand { color: var(--brand-primary); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
