/* ============================================
   广州南马科技有限公司 - 企业官网样式
   高端科技蓝主题 | 响应式设计
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --primary: #1a56db;
    --primary-deep: #0b2d7a;
    --primary-dark: #0f3b9e;
    --primary-light: #4d8af0;
    --primary-soft: #e8f0fe;
    --accent: #00b4d8;
    --accent-bright: #00d4f0;
    --accent-glow: rgba(0, 180, 216, 0.5);
    --bg-main: #ffffff;
    --bg-alt: #f2f6fc;
    --bg-card: rgba(255,255,255,0.85);
    --bg-card-hover: rgba(255,255,255,0.95);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #787e8c;
    --border: #e0e6f0;
    --border-light: #ced4e0;
    --gradient-1: linear-gradient(135deg, #0b2d7a, #1a56db, #00b4d8);
    --gradient-2: linear-gradient(135deg, #0f3b9e, #1a56db);
    --gradient-3: linear-gradient(135deg, #1a56db, #4d8af0);
    --gradient-hero: linear-gradient(160deg, #020b1f 0%, #081538 30%, #0b1d48 60%, #040d28 100%);
    --gradient-card-border: linear-gradient(135deg, #1a56db, #00b4d8, #4d8af0, #1a56db);
    --shadow-sm: 0 2px 12px rgba(15, 59, 158, 0.06);
    --shadow-md: 0 8px 32px rgba(15, 59, 158, 0.10);
    --shadow-lg: 0 12px 48px rgba(15, 59, 158, 0.12);
    --shadow-glow: 0 0 40px rgba(26, 86, 219, 0.18);
    --shadow-blue: 0 8px 32px rgba(26, 86, 219, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== 科技网格背景 ==== */
.tech-grid-bg {
    position: relative;
}
.tech-grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 86, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ---------- Section 通用 ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(26,86,219,0.06), rgba(0,180,216,0.06));
    padding: 7px 20px;
    border-radius: 25px;
    margin-bottom: 18px;
    border: 1px solid rgba(26,86,219,0.1);
}

.section-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-1);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 24px rgba(26, 86, 219, 0.35);
    animation: gradientShift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(26, 86, 219, 0.5);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-outline {
    background: transparent;
    color: #c8d6f0;
    border: 2px solid rgba(77, 138, 240, 0.4);
}

.btn-outline:hover {
    background: rgba(26, 86, 219, 0.15);
    border-color: var(--primary-light);
    color: #fff;
}

/* ========================================
   顶部导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(26, 86, 219, 0.08);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 24px rgba(15, 59, 158, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gradient-1);
    font-size: 20px;
    color: #fff;
    box-shadow: 0 2px 12px rgba(26,86,219,0.3);
}

.logo-text {
    background: linear-gradient(135deg, #4d8af0, #00d4f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition);
}

/* 滚动后 logo 恢复深色渐变 */
.header.scrolled .logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list { display: flex; gap: 4px; }

.nav-link {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(200, 215, 240, 0.9);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* 滚动后导航链接恢复深色 */
.header.scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(77, 138, 240, 0.15);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(26, 86, 219, 0.04);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 26px; height: 2.5px;
    background: rgba(200, 215, 240, 0.9);
    border-radius: 2px;
    transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--text-primary);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========================================
   Hero 首页
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: var(--header-height);
}

/* 深蓝背景上增加一个暗色叠加层，让背景更深邃 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(26, 86, 219, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 50%, rgba(0, 180, 216, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 40% 80%, rgba(77, 138, 240, 0.10) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 流动光斑 - 三个大型流动渐变光斑，居中分布 */
.hero-flow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: flowDrift 12s ease-in-out infinite;
}

.hero-flow-spot.spot1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.35), transparent 70%);
    top: 8%; left: 50%; transform: translateX(-50%);
    animation-delay: 0s;
}

.hero-flow-spot.spot2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25), transparent 70%);
    top: 40%; left: 55%; transform: translateX(-50%);
    animation-delay: -4s;
    animation-duration: 15s;
}

.hero-flow-spot.spot3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(77, 138, 240, 0.28), transparent 70%);
    bottom: 5%; left: 45%; transform: translateX(-50%);
    animation-delay: -8s;
    animation-duration: 14s;
}

@keyframes flowDrift {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    25% { transform: translate(-50%, -20px) scale(1.08); }
    50% { transform: translate(-50%, 10px) scale(0.96); }
    75% { transform: translate(-50%, -8px) scale(1.05); }
}

/* 动态光线扫描 - 从中心向外多方向放射 */
.hero-light-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 240, 0.5), rgba(26, 86, 219, 0.3), transparent);
    border-radius: 2px;
    animation: beamSweep 8s ease-in-out infinite;
    left: 50%;
}

.hero-light-beam.beam1 {
    top: 20%;
    width: 300px;
    animation-delay: 0s;
    animation-name: beamSweepRight;
}

.hero-light-beam.beam2 {
    top: 50%;
    width: 260px;
    height: 1.5px;
    animation-delay: -3s;
    animation-name: beamSweepLeft;
}

.hero-light-beam.beam3 {
    top: 75%;
    width: 340px;
    height: 1px;
    animation-delay: -6s;
    animation-name: beamSweepRight;
    opacity: 0.7;
}

/* 向右扫射 */
@keyframes beamSweepRight {
    0% { transform: translateX(-50%) scaleX(0.2) scaleY(1); opacity: 0; }
    15% { transform: translateX(-50%) scaleX(1) scaleY(1); opacity: 1; }
    45% { transform: translateX(20%) scaleX(1.3) scaleY(2); opacity: 0.7; }
    55% { transform: translateX(40%) scaleX(0.6) scaleY(1); opacity: 0.3; }
    65% { transform: translateX(50%) scaleX(0.1) scaleY(1); opacity: 0; }
    100% { opacity: 0; transform: translateX(50%) scaleX(0.1); }
}

/* 向左扫射 */
@keyframes beamSweepLeft {
    0% { transform: translateX(-50%) scaleX(0.2) scaleY(1); opacity: 0; }
    15% { transform: translateX(-50%) scaleX(1) scaleY(1); opacity: 1; }
    45% { transform: translateX(-120%) scaleX(1.3) scaleY(2); opacity: 0.7; }
    55% { transform: translateX(-140%) scaleX(0.6) scaleY(1); opacity: 0.3; }
    65% { transform: translateX(-150%) scaleX(0.1) scaleY(1); opacity: 0; }
    100% { opacity: 0; transform: translateX(-150%) scaleX(0.1); }
}

/* Hero 粒子网格 - 深色模式 */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(26,86,219,0.20) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* 粒子画布层 - 居中偏左 */
.hero-particles {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    height: 80%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { max-width: 560px; }

.hero-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    color: #e8edf5;
}

.title-line.accent {
    background: linear-gradient(90deg, #3b82f6, #00d4f0, #60a5fa);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.hero-desc {
    font-size: 18px;
    color: #96a8c8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* 首页视觉 - 多层轨道 */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: relative;
    width: 340px;
    height: 340px;
    z-index: 2;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2.5px solid rgba(77, 138, 240, 0.18);
    border-radius: 50%;
    animation: orbitSpin 18s linear infinite;
}

.orbit-ring::after {
    content: '';
    position: absolute;
    inset: 50px;
    border: 2px solid rgba(0, 212, 240, 0.15);
    border-radius: 50%;
    animation: orbitSpin 13s linear infinite reverse;
    border-style: dashed;
}

/* 第三层轨道 */
.orbit-inner {
    position: absolute;
    inset: 90px;
    border: 1.5px solid rgba(96, 165, 250, 0.12);
    border-radius: 50%;
    animation: orbitSpin 10s linear infinite;
}

.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #4d8af0, #1a56db 50%, #0b2d7a);
    box-shadow:
        0 0 80px rgba(26, 86, 219, 0.6),
        0 0 160px rgba(0, 180, 216, 0.25),
        inset 0 0 30px rgba(255,255,255,0.15);
    animation: pulseCore 2.5s ease-in-out infinite;
}

.orbit-dot {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #00d4f0, #0088cc);
    box-shadow: 0 0 28px rgba(0, 212, 240, 0.7), 0 0 8px rgba(0, 212, 240, 0.4);
    animation: orbitFloat 4s ease-in-out infinite;
}

.orbit-dot.dot1 { top: 30px; left: 50%; animation-delay: 0s; }
.orbit-dot.dot2 { top: 82%; right: 12px; animation-delay: 1.3s; }
.orbit-dot.dot3 { bottom: 30px; left: 25%; animation-delay: 2.6s; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-18px) scale(1.3); opacity: 1; }
}
@keyframes pulseCore {
    0%, 100% { box-shadow: 0 0 80px rgba(26,86,219,0.6), 0 0 160px rgba(0,180,216,0.25), inset 0 0 30px rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 120px rgba(26,86,219,0.8), 0 0 220px rgba(0,212,240,0.35), inset 0 0 45px rgba(255,255,255,0.25); }
}

/* 数据流线条 */
.data-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.data-line {
    position: absolute;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 240, 0.3), rgba(26,86,219,0.15), transparent);
    animation: dataFlow 3.5s ease-in-out infinite;
}

.data-line:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.data-line:nth-child(2) { top: 55%; right: 22%; animation-delay: 1.2s; }
.data-line:nth-child(3) { top: 35%; left: 62%; animation-delay: 2.4s; height: 100px; }

@keyframes dataFlow {
    0%, 100% { opacity: 0; transform: translateY(0) scaleY(0.8); }
    50% { opacity: 1; transform: translateY(-30px) scaleY(1.3); }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 26px; height: 44px;
    border: 2px solid rgba(77, 138, 240, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 10px;
    background: linear-gradient(to bottom, #00d4f0, #1a56db);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}

/* ========================================
   主营业务
   ======================================== */
.business {
    background: var(--bg-main);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.business-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* 装饰光斑 */
.business-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(26,86,219,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.business-card:hover::after {
    opacity: 1;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-card-border);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease infinite;
}

.business-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
}

.business-card:hover::before {
    opacity: 1;
}

.business-card.highlight {
    border-color: rgba(26, 86, 219, 0.25);
    box-shadow: 0 0 36px rgba(26, 86, 219, 0.10);
    background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(232,240,254,0.5));
}

.business-card.highlight::before {
    opacity: 1;
}

.card-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(26,86,219,0.08), rgba(0,180,216,0.06));
    color: var(--primary);
    margin-bottom: 22px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid transparent;
    background: var(--gradient-1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.business-card:hover .card-icon::after {
    opacity: 1;
}

.business-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(26,86,219,0.15), rgba(0,180,216,0.10));
    color: var(--primary-dark);
}

.business-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.business-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

/* ========================================
   企业新闻
   ======================================== */
.news {
    background: var(--bg-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26,86,219,0.2);
}

.news-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0eafb, #ced9f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26,86,219,0.08));
}

.news-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-1);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.news-body { padding: 26px; }

.news-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ========================================
   企业文化
   ======================================== */
.culture {
    background: var(--bg-main);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.culture-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 28px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.culture-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.culture-item:hover::before {
    width: 70%;
}

.culture-item:hover {
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.culture-number {
    font-size: 52px;
    font-weight: 900;
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 14px;
    animation: gradientShift 4s ease infinite;
}

.culture-item h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}

.culture-item p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.8;
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: var(--bg-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px 10px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(26,86,219,0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26,86,219,0.25);
}

.stat-num {
    display: block;
    font-size: 34px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-plus { font-size: 22px; }

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* 3D 立方体 */
.about-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.about-card { width: 220px; height: 220px; }

.cube-anim {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 14s linear infinite;
}

.cube-face {
    position: absolute;
    width: 180px; height: 180px;
    top: 20px; left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(26,86,219,0.1), rgba(0,180,216,0.06));
    border: 2px solid rgba(26, 86, 219, 0.2);
    border-radius: var(--radius-md);
    color: var(--primary);
    backface-visibility: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(26,86,219,0.08);
}

.cube-face.front  { transform: translateZ(90px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(90px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(90px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(90px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(90px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(90px); }

@keyframes cubeRotate {
    0% { transform: rotateX(-25deg) rotateY(0deg); }
    100% { transform: rotateX(-25deg) rotateY(360deg); }
}

/* ========================================
   留言板块
   ======================================== */
.contact {
    background: var(--bg-main);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.info-item:hover {
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.info-icon {
    font-size: 24px;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(26,86,219,0.08), rgba(0,180,216,0.06));
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 表单 */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full { margin-bottom: 20px; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.required { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #f8fafe;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.08);
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a56db' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: #fff;
    color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    padding: 17px;
    font-size: 17px;
    margin-top: 10px;
    background: var(--gradient-1);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: linear-gradient(180deg, #0f1d3a, #0a1530);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-brand p {
    color: #8892b0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #8892b0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-bright);
}

.footer-qr { text-align: center; }

.footer-qr h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.qr-placeholder {
    width: 100px; height: 100px;
    margin: 0 auto 10px;
    padding: 4px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.qr-hint {
    font-size: 12px;
    color: #8892b0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-size: 13px;
    color: #8892b0;
    margin-bottom: 8px;
}

.footer-filing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filing-link {
    font-size: 13px;
    color: #8892b0;
    transition: color var(--transition);
}

.filing-link:hover {
    color: var(--primary-light);
}

.filing-divider {
    font-size: 13px;
    color: #4a5070;
}

.police-filing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.police-icon {
    flex-shrink: 0;
    margin-right: 2px;
}

/* ========================================
   响应式设计 - 平板 (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
    .section { padding: 80px 0; }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .hero-title { font-size: 44px; }

    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .culture-grid { grid-template-columns: repeat(2, 1fr); }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual { order: -1; }
    .about-stats { grid-template-columns: repeat(4, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   响应式设计 - 手机 (≤768px)
   ======================================== */
@media (max-width: 768px) {
    :root { --header-height: 60px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 30px; }
    .section-header { margin-bottom: 40px; }

    /* 导航 */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        padding: 16px 24px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }

    .nav.open { transform: translateY(0); }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        font-size: 16px;
    }
    .menu-toggle { display: flex; }

    /* Hero */
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 15px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; }
    .scroll-indicator { display: none; }
    .data-lines { display: none; }

    /* 业务 */
    .business-grid { grid-template-columns: 1fr; }
    .business-card { padding: 28px 24px; }

    /* 新闻 */
    .news-grid { grid-template-columns: 1fr; }

    /* 文化 */
    .culture-grid { grid-template-columns: 1fr; }
    .culture-item { padding: 28px 24px; }

    /* 关于 */
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-content { gap: 32px; }
    .about-visual { display: flex; justify-content: center; }
    .about-card { width: 150px; height: 150px; }
    .cube-face {
        width: 120px; height: 120px;
        top: 15px; left: 15px;
        font-size: 18px;
    }
    .cube-face.front  { transform: translateZ(60px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(60px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(60px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(60px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(60px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

    /* 留言 */
    .contact-form { padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .info-item { padding: 18px; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   动画 - 滚动渐入
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 表单提交成功提示 */
.toast {
    position: fixed;
    top: 100px; right: 24px;
    background: #10b981;
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    z-index: 2000;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
    transform: translateX(120%);
    transition: transform 0.4s ease;
}

.toast.show { transform: translateX(0); }

.toast.error {
    background: #ef4444;
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.3);
}
