/* ==========================================
   公司官网 - 主样式表
   ========================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;
    --max-width: 1200px;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section 通用 ---------- */
.section {
    padding: 96px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-title a {
    color: inherit;
    transition: color 0.2s;
}

.section-title a:hover {
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 48px;
    font-size: 16px;
}

.section-subtitle a {
    color: inherit;
    transition: color 0.2s;
}

/* 标题+副标题整体链接 */
a:has(.section-title) {
    text-decoration: none;
}

a:has(.section-title):hover .section-title {
    color: var(--color-primary);
}

a:has(.section-title):hover .section-subtitle {
    color: var(--color-primary);
    opacity: 0.85;
}

.section-subtitle a:hover {
    color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.75;
}

.navbar.scrolled .logo {
    color: var(--color-primary);
}

.navbar.scrolled .logo-subtitle {
    color: var(--color-text-light);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    color: #ffffff;
    transition: color 0.2s;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s;
}

.navbar.scrolled .nav-links a::after {
    background: var(--color-primary);
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ---------- 下拉菜单 ---------- */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    z-index: 999;
}

/* 仅首页顶部保持透明 */
.navbar:not(.scrolled) .dropdown-menu {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    font-size: 14px;
    white-space: nowrap;
    padding: 10px 24px;
    transition: background 0.2s, color 0.3s;
}

.navbar:not(.scrolled) .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar.scrolled .dropdown-menu a {
    color: var(--color-text) !important;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar:not(.scrolled) .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.navbar.scrolled .dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary) !important;
}

/* 移动端汉堡菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero 首页大图/视频 ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8vh;
    background: #0f172a url('../media/hero-fallback.jpg') center/cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 36px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ---------- 关于我们（首页） ---------- */
.about-intro {
    display: block;
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-light);
    text-decoration: none;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 36px;
    align-items: center;
}

.about-intro-image img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-intro-text p + p {
    margin-top: 16px;
}

.about-intro strong {
    color: var(--color-text);
}

/* 三大优势 */
.about-strengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 820px;
    margin: 0 auto 48px;
}

.about-strength {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-strength:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.about-strength-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.07);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.about-strength h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.about-strength p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 核心团队 */
.about-team-section {
    max-width: 780px;
    margin: 0 auto;
}

.about-team-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.about-team-title a {
    color: inherit;
    transition: color 0.2s;
}

.about-team-title a:hover {
    color: var(--color-primary);
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-team-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 24px 12px 20px;
    border-radius: 14px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.about-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.about-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid var(--color-border);
    transition: border-color 0.3s;
}

.about-team-card:hover .about-team-avatar {
    border-color: var(--color-primary);
}

.about-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-team-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text);
}

.about-team-role {
    font-size: 12px;
    color: var(--color-text-light);
}

/* 关于我们子页面的旧样式保持 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-bg-light);
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

/* ---------- 服务项目 ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    padding: 36px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-light);
    text-align: left;
}

/* ---------- 核心技术（支柱+技术） ---------- */
.tech-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 820px;
    margin: 0 auto 36px;
}

.tech-pillar {
    text-align: center;
    padding: 36px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.tech-pillar-num {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.tech-pillar h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.tech-pillar p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* 连接区 */
.tech-bridge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 36px;
    max-width: 600px;
}

.tech-bridge-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.25));
}

.tech-bridge-line:last-child {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), transparent);
}

.tech-bridge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.tech-bridge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    letter-spacing: 1px;
}

/* 四项技术 */
.tech-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.tech-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 16px;
    transition: background 0.3s;
}

.tech-item:hover .tech-item-icon {
    background: rgba(37, 99, 235, 0.12);
}

.tech-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.tech-item p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.product-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-row-single {
    grid-template-columns: 1fr;
    margin-top: 20px;
}

.product-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.product-card > p:last-child {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: left;
}

/* 铸盾服务 */
.product-card-service {
    position: relative;
    padding: 36px 32px;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-radius: 16px;
    text-align: center;
}

.product-card-service:hover {
    border-color: var(--color-primary);
    border-style: solid;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.08);
}

.product-card-service h3 {
    font-size: 26px;
}

.product-card-service > p:last-child {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--color-text);
    background: rgba(15, 23, 42, 0.06);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* ---------- 产品体系架构图 ---------- */
.product-arch {
    position: relative;
    max-width: 780px;
    margin: 60px auto 0;
    padding: 72px 48px 100px;
    border: 2px dashed rgba(37, 99, 235, 0.25);
    border-radius: 28px;
    background: rgba(37, 99, 235, 0.015);
}

/* 铸盾服务 — 外层标签 */
.arch-forge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    text-decoration: none;
    z-index: 2;
}

.arch-forge-label-top {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    background: #ffffff;
    padding: 4px 24px;
    border-radius: 20px;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.arch-forge:hover .arch-forge-label-top {
    background: rgba(37, 99, 235, 0.06);
    border-style: solid;
}

.arch-forge-sub {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* 3 个产品系列 */
.arch-products {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 24px;
}

.arch-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    z-index: 2;
}

.arch-product:hover {
    transform: translateY(-6px);
}

.arch-product-circle {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.arch-product:hover .arch-product-circle {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.arch-product-icon {
    font-size: 40px;
    line-height: 1;
}

.arch-product h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text);
}

.arch-product p {
    font-size: 12px;
    color: var(--color-text-light);
}

/* 玄盾大脑 — 椭圆底盘 */
.arch-brain {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 120px;
    text-decoration: none;
    z-index: 1;
}

.arch-brain-platform {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.06) 0%,
        rgba(37, 99, 235, 0.1) 100%
    );
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: border-color 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-brain:hover .arch-brain-platform {
    border-color: var(--color-primary);
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(37, 99, 235, 0.15) 100%
    );
}

.arch-brain-inner {
    text-align: center;
    padding-bottom: 6px;
}

.arch-brain-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
    opacity: 0.6;
    margin-bottom: 6px;
}

.arch-brain-label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.arch-brain-sub {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
}

/* 小连接线 */
.arch-products::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(37, 99, 235, 0.1) 20%,
        rgba(37, 99, 235, 0.25) 50%,
        rgba(37, 99, 235, 0.1) 80%,
        transparent 100%
    );
}

/* ---------- 案例展示 ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.case-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--color-bg-light);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ---------- 宣传视频 ---------- */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-info ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info li {
    font-size: 16px;
    color: var(--color-text-light);
}

.contact-map {
    min-height: 360px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-light);
}

.contact-map img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-bg-light);
}

/* ---------- 页脚 ---------- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 56px 0 24px;
}

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

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.75;
    color: #cbd5e1;
}

.footer-contact {
    font-size: 13px;
    line-height: 1.8;
    color: #94a3b8;
}

/* ---------- 社交媒体图标 ---------- */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    position: relative;
}

.social-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link.social-wechat:hover {
    color: #07c160;
    border-color: rgba(7, 193, 96, 0.4);
}

.social-link.social-channels:hover {
    color: #fa9d3b;
    border-color: rgba(250, 157, 59, 0.4);
}

.social-link.social-redbook:hover {
    color: #ff2442;
    border-color: rgba(255, 36, 66, 0.4);
}

.social-link.social-zhihu:hover {
    color: #0066ff;
    border-color: rgba(0, 102, 255, 0.4);
}

.social-link.social-bilibili:hover {
    color: #fb7299;
    border-color: rgba(251, 114, 153, 0.4);
}

.social-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 二维码悬停 */
.wechat-qr,
.social-qr {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 100;
    white-space: nowrap;
}

.wechat-qr img,
.social-qr img {
    width: 140px;
    height: auto;
    max-width: none;
    display: block;
    border-radius: 4px;
}

.wechat-qr::after,
.social-qr::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #ffffff;
}

.social-wechat:hover .wechat-qr,
.social-channels:hover .social-qr,
.social-redbook:hover .social-qr,
.social-zhihu:hover .social-qr {
    display: block;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col h4 a {
    color: inherit;
    font-weight: inherit;
    transition: opacity 0.2s;
}

.footer-col h4 a:hover {
    opacity: 0.8;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-col ul:last-child {
    margin-bottom: 0;
}

.footer-col a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.services-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    /* 导航 */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .navbar.scrolled .nav-links {
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        max-height: 700px;
    }

    .nav-links a {
        display: block;
        padding: 16px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .nav-links a {
        border-bottom: 1px solid var(--color-border);
    }

    /* 移动端下拉菜单 */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .navbar.scrolled .dropdown-menu {
        background: transparent;
    }

    .dropdown.open .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 12px 24px 12px 48px;
        font-size: 13px;
    }

    .navbar.scrolled .dropdown-menu a {
        color: var(--color-text-light) !important;
        border-bottom: 1px solid var(--color-border);
    }

    /* 关于我们（首页） */
    .about-strengths {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .about-intro {
        font-size: 15px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-intro-image {
        max-width: 400px;
        margin: 0 auto;
    }

    /* 关于我们（子页） */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* 案例 */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* 联系 */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .product-arch {
        padding: 60px 24px 80px;
    }

    .arch-products {
        gap: 24px;
    }

    .arch-product-circle {
        width: 80px;
        height: 80px;
    }

    .arch-product-icon {
        font-size: 28px;
    }

    .arch-brain {
        width: 320px;
        height: 90px;
    }

    .arch-brain-platform {
        width: 320px;
        height: 90px;
        bottom: -16px;
    }

    .arch-products::after {
        width: 240px;
    }

    /* 核心技术 */
    .tech-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tech-pillar {
        padding: 28px 20px;
    }

    .tech-pillar-num {
        font-size: 28px;
    }

    .tech-bridge {
        gap: 8px;
    }

    .tech-bridge-text {
        font-size: 11px;
    }

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

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-5 {
        grid-template-columns: 1fr;
    }

    .product-row {
        grid-template-columns: 1fr;
    }

    .tech-items {
        grid-template-columns: 1fr;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-team-avatar {
        width: 64px;
        height: 64px;
    }

    .product-arch {
        padding: 52px 16px 70px;
    }

    .arch-products {
        gap: 12px;
        margin-bottom: 16px;
    }

    .arch-product-circle {
        width: 64px;
        height: 64px;
    }

    .arch-product-icon {
        font-size: 22px;
    }

    .arch-product h3 {
        font-size: 13px;
    }

    .arch-product p {
        font-size: 11px;
    }

    .arch-brain {
        width: 240px;
        height: 70px;
    }

    .arch-brain-platform {
        width: 240px;
        height: 70px;
        bottom: -10px;
    }

    .arch-brain-label {
        font-size: 15px;
    }

    .arch-brain-sub {
        font-size: 11px;
    }

    .arch-brain-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
    }

    .arch-products::after {
        width: 180px;
        bottom: -8px;
    }

    .arch-forge-label-top {
        font-size: 14px;
        padding: 4px 18px;
    }
}
