/* ============================================
   凯麟思软件官网 — 方案D 棱角动态
   Angular Dynamic Design System
   共享样式表 — 所有页面引用
   ============================================ */

:root {
    /* ---- 色彩体系 ---- */
    --primary: #2576B5;
    --primary-dark: #1a5a8c;
    --primary-light: #3093d8;
    --accent: #E34649;
    --accent-dark: #c53639;
    --green: #3EA575;
    --green-dark: #2d8a5c;

    --dark-bg: #12151f;
    --dark-bg-2: #1a1e2e;
    --dark-bg-3: #222738;
    --light-bg: #f7f8fa;
    --surface: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #555a6e;
    --text-light: #8a8fa3;
    --text-white: #ffffff;
    --border: #e4e7ee;
    --border-dark: rgba(255,255,255,0.12);

    /* ---- 字体 ---- */
    --font-cn: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-en: "Montserrat", "Noto Sans SC", sans-serif;

    /* ---- 棱角系统：全部0圆角 ---- */
    --radius: 0px;
    --radius-sm: 0px;

    /* ---- 阴影 ---- */
    --shadow-sm: 0 2px 8px rgba(37,118,181,0.06);
    --shadow-md: 0 6px 24px rgba(37,118,181,0.10);
    --shadow-lg: 0 16px 48px rgba(18,21,31,0.16);
    --shadow-accent: 0 6px 24px rgba(227,70,73,0.15);

    /* ---- 布局 ---- */
    --nav-height: 72px;
    --container: 1280px;
    --section-padding: 100px 0;
}

/* ---- 全局重置 ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-cn);
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---- 容器 ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ---- 通用标题 ---- */
.section-header { margin-bottom: 56px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}
.section-title {
    font-family: var(--font-cn);
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-title .en {
    display: block;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-top: 6px;
    text-transform: uppercase;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

/* ---- 棱角按钮 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-cn);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
}
.btn-primary { background: var(--primary); color: var(--text-white); }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,118,181,0.30);
}
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(227,70,73,0.05);
}
.btn-accent { background: var(--accent); color: var(--text-white); }
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ---- 六边形装饰元素 ---- */
.hex-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.hex-icon.accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.hex-icon.green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

/* ---- 棱角卡片 ---- */
.angular-card {
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.angular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.angular-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.angular-card:hover::before { height: 100%; }

/* ---- 滚动动画基类 ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- 速度线装饰 ---- */
.speed-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: speedFlow 3s linear infinite;
}
@keyframes speedFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(18,21,31,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
    border-bottom: 1px solid var(--border-dark);
}
.navbar.scrolled {
    background: rgba(18,21,31,0.95);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.navbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-logo svg { flex-shrink: 0; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    position: relative;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text-white); }
.nav-link.active { color: var(--text-white); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 18px; right: 18px;
    height: 2px;
    background: var(--accent);
}
.nav-cta {
    margin-left: 16px;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text-white);
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   页面头部（内页通用）
   ============================================ */
.page-header {
    background: var(--dark-bg);
    padding: calc(var(--nav-height) + 80px) 0 80px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 500px; height: 500px;
    background: conic-gradient(from 180deg, rgba(37,118,181,0.15), rgba(227,70,73,0.10), rgba(62,165,117,0.08), transparent);
    border-radius: 50%;
}
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-header-content { position: relative; z-index: 1; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--text-white); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--primary-light); }
.page-header h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.page-header .page-en {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.page-header .page-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    max-width: 640px;
    line-height: 1.8;
}
.page-header-cut {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    z-index: 2;
}
.page-header-cut svg { width: 100%; height: 100%; }

/* ============================================
   HERO 区域（首页）
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
    padding-bottom: 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-particles { position: absolute; inset: 0; }
.hero-particles canvas { width: 100%; height: 100%; }
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(37,118,181,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(227,70,73,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(62,165,117,0.08) 0%, transparent 60%);
}
.hero-speed-lines {
    position: absolute; inset: 0;
    pointer-events: none; opacity: 0.3; z-index: 1;
}
.hero-speed-lines .speed-line:nth-child(1) { top: 15%; left: 0; width: 200px; animation-delay: 0s; }
.hero-speed-lines .speed-line:nth-child(2) { top: 35%; left: 0; width: 300px; animation-delay: 1s; }
.hero-speed-lines .speed-line:nth-child(3) { top: 55%; left: 0; width: 150px; animation-delay: 2s; }
.hero-speed-lines .speed-line:nth-child(4) { top: 75%; left: 0; width: 250px; animation-delay: 0.5s; }
.hero-speed-lines .speed-line:nth-child(5) { top: 85%; left: 0; width: 180px; animation-delay: 1.5s; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-left { max-width: 620px; }
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Hero 科技仪表盘视觉
   ============================================ */
.hero-tech-vis {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1.08;
}
.htv-hexnet {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    animation: htvHexRotate 30s linear infinite;
}
@keyframes htvHexRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 代码终端 */
.htv-terminal {
    position: absolute;
    top: 14%;
    left: 8%;
    right: 8%;
    background: rgba(18, 21, 31, 0.92);
    border: 1px solid rgba(37, 118, 181, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.htv-term-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.htv-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
}
.htv-dot-r { background: #E34649; }
.htv-dot-y { background: #e8a323; }
.htv-dot-g { background: #3EA575; }
.htv-term-title {
    margin-left: 10px;
    font-size: 11px;
    font-family: 'Montserrat', monospace;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}
.htv-term-body {
    padding: 16px 18px;
    font-family: 'Consolas', 'SF Mono', 'Menlo', monospace;
    font-size: 12.5px;
    line-height: 1.9;
}
.htv-line { white-space: nowrap; overflow: hidden; }
.htv-indent { padding-left: 24px; }
.htv-kw { color: #c678dd; }
.htv-var { color: #61afef; }
.htv-fn { color: #e5c07b; }
.htv-num { color: #d19a66; }
.htv-str { color: #98c379; }
.htv-bool { color: #56b6c2; font-weight: 600; }
.htv-com { color: rgba(255, 255, 255, 0.25); }
.htv-out { color: #3EA575; }
.htv-cursor::after {
    content: '▊';
    color: #3EA575;
    animation: htvBlink 1s step-end infinite;
}
@keyframes htvBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 浮动数据卡片 */
.htv-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(18, 21, 31, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.htv-card-1 {
    top: 6%;
    right: -4%;
    animation: htvFloatA 4s ease-in-out infinite;
}
.htv-card-2 {
    bottom: 26%;
    left: -6%;
    animation: htvFloatB 5s ease-in-out infinite;
}
.htv-card-3 {
    bottom: 6%;
    right: 2%;
    animation: htvFloatA 4.5s ease-in-out infinite 0.5s;
}
@keyframes htvFloatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes htvFloatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
.htv-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.htv-card-info { flex: 1; min-width: 0; }
.htv-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2px;
}
.htv-card-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.htv-card-value span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 3px;
}
.htv-card-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.htv-bar-fill {
    height: 100%;
    width: var(--bar-w);
    background: var(--bar-c);
    animation: htvBarSlide 2s ease-out forwards;
    transform-origin: left;
}
@keyframes htvBarSlide {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* 数据流粒子 */
.htv-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.htv-particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(37, 118, 181, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(37, 118, 181, 0.8);
}
.htv-particle:nth-child(1) { top: 20%; left: 15%; animation: htvParticleMove 3s ease-in-out infinite; }
.htv-particle:nth-child(2) { top: 40%; left: 80%; animation: htvParticleMove 3.5s ease-in-out infinite 0.5s; background: rgba(62, 165, 117, 0.6); box-shadow: 0 0 6px rgba(62, 165, 117, 0.8); }
.htv-particle:nth-child(3) { top: 60%; left: 25%; animation: htvParticleMove 4s ease-in-out infinite 1s; background: rgba(227, 70, 73, 0.6); box-shadow: 0 0 6px rgba(227, 70, 73, 0.8); }
.htv-particle:nth-child(4) { top: 75%; left: 70%; animation: htvParticleMove 3.2s ease-in-out infinite 0.3s; }
.htv-particle:nth-child(5) { top: 15%; left: 55%; animation: htvParticleMove 3.8s ease-in-out infinite 0.8s; background: rgba(62, 165, 117, 0.6); box-shadow: 0 0 6px rgba(62, 165, 117, 0.8); }
.htv-particle:nth-child(6) { top: 50%; left: 45%; animation: htvParticleMove 4.2s ease-in-out infinite 1.2s; background: rgba(227, 70, 73, 0.6); box-shadow: 0 0 6px rgba(227, 70, 73, 0.8); }
@keyframes htvParticleMove {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    30% { opacity: 1; transform: translate(8px, -12px) scale(1); }
    70% { opacity: 1; transform: translate(-6px, -20px) scale(1); }
    100% { opacity: 0; transform: translate(4px, -32px) scale(0.5); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-logo-wrap {
    margin-bottom: 40px;
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-logo-wrap svg { filter: drop-shadow(0 0 40px rgba(37,118,181,0.3)); }
.hero h1 {
    font-family: var(--font-cn);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -2px;
}
.hero h1:first-child { margin-top: 0; }
.hero h1 .highlight { color: var(--primary-light); position: relative; }
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
}
.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 56px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .num {
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}
.hero-stat .num .plus { color: var(--accent); }
.hero-stat .label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.hero-cut { position: absolute; bottom: -1px; left: 0; right: 0; height: 80px; z-index: 2; }
.hero-cut svg { width: 100%; height: 100%; }
.scroll-hint {
    position: absolute;
    bottom: 100px; right: 40px;
    z-index: 3;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
}
.scroll-hint .line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* ============================================
   通用区块
   ============================================ */
.section { padding: var(--section-padding); position: relative; overflow: hidden; }
.section-light { background: var(--surface); }
.section-dark { background: var(--dark-bg); color: rgba(255,255,255,0.7); }
.section-gray { background: var(--light-bg); }
.section-dark .section-title { color: var(--text-white); }
.section-dark .section-title .en { color: rgba(255,255,255,0.4); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.5); }

/* ============================================
   麟云智平台区
   ============================================ */
.platform-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.platform-visual {
    position: relative;
    background: var(--dark-bg);
    padding: 60px;
    overflow: hidden;
}
.platform-visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(37,118,181,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(227,70,73,0.10) 0%, transparent 50%);
}
.platform-visual svg { position: relative; z-index: 1; }
.platform-info .slogan {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.platform-info h2 {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 24px;
}
.platform-info .desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
}
.platform-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.platform-feature { display: flex; align-items: flex-start; gap: 14px; }
.platform-feature .hex-icon { width: 32px; height: 32px; font-size: 12px; }
.platform-feature .text h4 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.platform-feature .text p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* 平台架构图 */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border-dark);
}
.arch-layer {
    padding: 40px 28px;
    border-right: 1px solid var(--border-dark);
    position: relative;
    transition: background 0.3s;
}
.arch-layer:last-child { border-right: none; }
.arch-layer:hover { background: rgba(37,118,181,0.08); }
.arch-layer .layer-num {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.arch-layer h4 { font-size: 18px; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.arch-layer p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.arch-layer .layer-items { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.arch-layer .layer-tag {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-family: var(--font-en);
    letter-spacing: 0.5px;
}

/* 浅色背景下的 arch-layer 覆盖 */
.section-light .arch-grid { border-color: var(--border); }
.section-light .arch-layer { border-right-color: var(--border); }
.section-light .arch-layer:hover { background: rgba(37,118,181,0.04); }
.section-light .arch-layer h4 { color: var(--text-primary); }
.section-light .arch-layer p { color: var(--text-secondary); }
.section-light .arch-layer .layer-tag {
    border-color: var(--border);
    color: var(--text-secondary);
}

/* ============================================
   产品矩阵区
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 36px 28px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}
.product-card[data-color="accent"]::before { background: var(--accent); }
.product-card[data-color="green"]::before { background: var(--green); }
.product-card .product-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(37,118,181,0.04), rgba(227,70,73,0.02));
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}
.product-card:hover .product-logo { border-color: var(--primary); }
.product-card[data-color="accent"]:hover .product-logo { border-color: var(--accent); }
.product-card[data-color="green"]:hover .product-logo { border-color: var(--green); }
.product-card .product-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.product-card .product-en {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.product-card[data-color="accent"] .product-en { color: var(--accent); }
.product-card[data-color="green"] .product-en { color: var(--green); }
.product-card .product-slogan {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.product-card .product-features { display: flex; flex-direction: column; gap: 8px; }
.product-card .product-features li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card .product-features li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.product-card[data-color="accent"] .product-features li::before { background: var(--accent); }
.product-card[data-color="green"] .product-features li::before { background: var(--green); }
.product-card .product-link {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}
.product-card[data-color="accent"] .product-link { color: var(--accent); }
.product-card[data-color="green"] .product-link { color: var(--green); }
.product-card:hover .product-link { gap: 10px; }

/* ============================================
   K-Link 协议区
   ============================================ */
.klink-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.klink-visual {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-dark);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.klink-visual::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(227,70,73,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}
.klink-visual svg { position: relative; z-index: 1; }
.klink-info .klink-name {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.klink-info h3 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
}
.klink-info .desc { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 32px; }
.klink-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.klink-spec {
    border: 1px solid var(--border-dark);
    padding: 24px;
    transition: border-color 0.3s, background 0.3s;
}
.klink-spec:hover { border-color: var(--accent); background: rgba(227,70,73,0.05); }
.klink-spec .spec-value {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
}
.klink-spec .spec-value .unit { font-size: 14px; color: var(--accent); margin-left: 4px; }
.klink-spec .spec-label { font-size: 13px; color: rgba(255,255,255,0.5); }

/* K-Link 架构图 */
.klink-arch-title { text-align: center; margin-bottom: 48px; }
.klink-arch-title h4 { font-size: 24px; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.klink-arch-title p { font-size: 14px; color: rgba(255,255,255,0.4); }
.klink-arch-diagram {
    background: var(--dark-bg-2);
    border: 1px solid var(--border-dark);
    padding: 60px 40px;
}
.klink-arch-layers { display: flex; flex-direction: column; gap: 20px; }
.klink-arch-row { display: flex; align-items: center; gap: 16px; }
.klink-arch-label {
    flex-shrink: 0;
    width: 120px;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: right;
}
.klink-arch-nodes { flex: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.klink-arch-node {
    flex: 1;
    min-width: 120px;
    padding: 16px 20px;
    border: 1px solid var(--border-dark);
    background: var(--dark-bg-3);
    text-align: center;
    transition: all 0.3s;
}
.klink-arch-node:hover {
    border-color: var(--primary);
    background: rgba(37,118,181,0.1);
    transform: translateY(-2px);
}
.klink-arch-node.accent:hover { border-color: var(--accent); background: rgba(227,70,73,0.1); }
.klink-arch-node .node-title { font-size: 14px; font-weight: 600; color: var(--text-white); margin-bottom: 4px; }
.klink-arch-node .node-desc { font-size: 11px; color: rgba(255,255,255,0.4); }

/* 应用场景 */
.klink-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.klink-scenario {
    border: 1px solid var(--border-dark);
    padding: 32px;
    transition: all 0.3s;
    background: var(--dark-bg-2);
}
.klink-scenario:hover { border-color: var(--primary); transform: translateY(-4px); }
.klink-scenario .scenario-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(37,118,181,0.1);
    border: 1px solid rgba(37,118,181,0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.klink-scenario .scenario-icon svg { width: 24px; height: 24px; }
.klink-scenario h5 { font-size: 17px; font-weight: 700; color: var(--text-white); margin-bottom: 10px; }
.klink-scenario p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ============================================
   关于我们区
   ============================================ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 80px; }
.about-info .company-name {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.about-info h2 { font-size: 36px; font-weight: 900; color: var(--text-primary); line-height: 1.3; margin-bottom: 24px; }
.about-info .about-desc { font-size: 15px; color: var(--text-secondary); line-height: 2; margin-bottom: 32px; }
.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.about-meta-item { border-left: 3px solid var(--primary); padding-left: 16px; }
.about-meta-item.accent { border-left-color: var(--accent); }
.about-meta-item .label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.about-meta-item .value { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.about-visual { position: relative; padding: 40px; background: var(--dark-bg); overflow: hidden; }
.about-visual::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 500px; height: 500px;
    background: conic-gradient(from 180deg, rgba(37,118,181,0.15), rgba(227,70,73,0.10), rgba(62,165,117,0.08), transparent);
    border-radius: 50%;
}
.about-visual-content { position: relative; z-index: 1; }
.about-visual-content h3 { font-size: 24px; font-weight: 700; color: var(--text-white); margin-bottom: 24px; }
.about-vision { border: 1px solid var(--border-dark); padding: 24px; margin-bottom: 16px; transition: border-color 0.3s; }
.about-vision:hover { border-color: var(--primary); }
.about-vision .vision-label {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.about-vision p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* 发展历程时间线 */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border), var(--border), transparent);
    transform: translateX(-50%);
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-item .timeline-dot {
    position: absolute;
    left: 50%; top: 8px;
    width: 16px; height: 16px;
    background: var(--surface);
    border: 3px solid var(--primary);
    transform: translateX(-50%) rotate(45deg);
    z-index: 1;
    transition: all 0.3s;
}
.timeline-item:hover .timeline-dot { border-color: var(--accent); background: var(--accent); }
.timeline-item .timeline-content {
    width: calc(50% - 40px);
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s;
}
.timeline-item:hover .timeline-content { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.timeline-item .timeline-year { font-family: var(--font-en); font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.timeline-item:nth-child(odd) .timeline-year { text-align: right; }
.timeline-item .timeline-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.timeline-item .timeline-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* 资质荣誉 */
.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card { border: 1px solid var(--border); padding: 28px 20px; text-align: center; transition: all 0.3s; background: var(--surface); }
.honor-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.honor-card .honor-icon {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,118,181,0.08), rgba(227,70,73,0.04));
    border: 1px solid var(--border);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.honor-card .honor-icon svg { width: 24px; height: 24px; }
.honor-card h5 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.honor-card p { font-size: 12px; color: var(--text-light); }

/* ============================================
   联系我们区
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .info-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.contact-info .info-icon svg { width: 22px; height: 22px; fill: var(--text-white); color: var(--text-white); }
.contact-info .info-icon.accent { background: var(--accent); }
.contact-info .info-icon.green { background: var(--green); }
.contact-info .info-text .label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-en); font-weight: 600; }
.contact-info .info-text .value { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.6; }
.contact-info .info-text .sub { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); padding: 40px; }
.contact-form-wrap h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.contact-form-wrap .form-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-group label .required { color: var(--accent); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--light-bg);
    font-family: var(--font-cn);
    font-size: 14px;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,118,181,0.1);
    background: var(--surface);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.form-success {
    display: none;
    padding: 16px;
    background: rgba(62,165,117,0.1);
    border: 1px solid var(--green);
    color: var(--green-dark);
    font-size: 14px;
    margin-top: 16px;
}
.form-success.show { display: block; }
.contact-map {
    margin-top: 40px;
    height: 360px;
    background: var(--dark-bg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-map .map-placeholder { text-align: center; color: rgba(255,255,255,0.4); }
.contact-map .map-placeholder svg { margin: 0 auto 16px; width: 48px; height: 48px; fill: rgba(255,255,255,0.2); }
.contact-map .map-placeholder p { font-size: 14px; }
.contact-map .map-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-dark);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { margin-bottom: 20px; }
.footer-brand .footer-slogan { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 320px; }
.footer-col h5 { font-size: 14px; font-weight: 700; color: var(--text-white); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom .copyright { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .icp { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .icp a { color: rgba(255,255,255,0.4); }
.footer-bottom .icp a:hover { color: var(--primary-light); }

/* ============================================
   产品详情区（products.html专用）
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border);
}
.product-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }
.product-detail .pd-visual {
    background: var(--dark-bg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.product-detail .pd-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(37,118,181,0.08) 0%, transparent 70%);
}
.product-detail .pd-visual svg { position: relative; z-index: 1; }
.product-detail .pd-info .pd-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.product-detail[data-color="accent"] .pd-tag { color: var(--accent); }
.product-detail[data-color="green"] .pd-tag { color: var(--green); }
.product-detail .pd-info h2 { font-size: 32px; font-weight: 900; color: var(--text-primary); margin-bottom: 8px; }
.product-detail .pd-info .pd-en { font-family: var(--font-en); font-size: 16px; font-weight: 600; color: var(--text-light); margin-bottom: 16px; }
.product-detail .pd-info .pd-slogan { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 24px; }
.product-detail[data-color="accent"] .pd-slogan { color: var(--accent); }
.product-detail[data-color="green"] .pd-slogan { color: var(--green); }
.product-detail .pd-info .pd-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 32px; }
.product-detail .pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.product-detail .pd-spec {
    border: 1px solid var(--border);
    padding: 20px;
    transition: all 0.3s;
}
.product-detail .pd-spec:hover { border-color: var(--primary); }
.product-detail[data-color="accent"] .pd-spec:hover { border-color: var(--accent); }
.product-detail[data-color="green"] .pd-spec:hover { border-color: var(--green); }
.product-detail .pd-spec .spec-label { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.product-detail .pd-spec .spec-value { font-size: 15px; font-weight: 700; color: var(--text-primary); }

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1200px) {
    .container { padding: 0 32px; }
    .navbar-inner { padding: 0 32px; }
    .hero-content { padding: 0 32px; gap: 40px; }
    .hero h1 { font-size: 52px; }
    .hero-right { display: none; }
    .hero-content { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-layer { border-right: none; border-bottom: 1px solid var(--border-dark); }
    .arch-layer:nth-child(odd) { border-right: 1px solid var(--border-dark); }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-detail.reverse { direction: ltr; }
}

@media (max-width: 900px) {
    :root { --section-padding: 64px 0; }
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        position: fixed;
        top: var(--nav-height); left: 0; right: 0; bottom: 0;
        background: rgba(18, 21, 31, 0.82);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 32px;
        gap: 8px;
        z-index: 999;
    }
    .nav-menu.open .nav-link { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--border-dark); }
    .nav-menu.open .nav-link.active::after { display: none; }
    .nav-menu.open .nav-cta { margin: 16px 0 0; text-align: center; }

    .hero h1 { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 32px; flex-wrap: wrap; }
    .hero-stat .num { font-size: 32px; }
    .scroll-hint { display: none; }

    .page-header h1 { font-size: 32px; }
    .page-header { padding: calc(var(--nav-height) + 60px) 0 60px; }

    .platform-layout, .klink-layout, .about-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-title { font-size: 28px; }
    .platform-info h2 { font-size: 30px; }
    .products-grid { grid-template-columns: 1fr; }
    .arch-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-layer { border-right: none !important; border-bottom: 1px solid var(--border-dark); }
    .arch-layer:nth-child(odd) { border-right: 1px solid var(--border-dark) !important; }
    .arch-layer:nth-child(n+3) { border-bottom: none; }
    .klink-specs { grid-template-columns: 1fr; }
    .klink-scenarios { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; }
    .timeline-item .timeline-dot { left: 20px; }
    .timeline-item .timeline-content { width: calc(100% - 50px); margin-left: 50px; }
    .timeline-item:nth-child(odd) .timeline-year { text-align: left; }
    .honors-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .platform-features { grid-template-columns: 1fr; }
    .about-meta { grid-template-columns: 1fr; }
    .pd-specs { grid-template-columns: 1fr !important; }
}

/* ============================================
   产品页专属 Hero
   ============================================ */
.products-hero {
    position: relative;
    background: var(--dark-bg);
    padding: calc(var(--nav-height) + 64px) 0 100px;
    overflow: hidden;
}
.products-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ph-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
}
.ph-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.ph-glow-1 {
    top: -10%; left: -5%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(37,118,181,0.35), transparent 70%);
}
.ph-glow-2 {
    bottom: -15%; right: -5%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(227,70,73,0.20), transparent 70%);
}
.ph-speed-lines { position: absolute; inset: 0; overflow: hidden; }
.ph-speed-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,118,181,0.4), transparent);
    animation: ph-speed 4s linear infinite;
}
.ph-speed-line:nth-child(1) { top: 25%; width: 200px; animation-delay: 0s; }
.ph-speed-line:nth-child(2) { top: 55%; width: 160px; animation-delay: 1.5s; }
.ph-speed-line:nth-child(3) { top: 75%; width: 240px; animation-delay: 2.8s; }
@keyframes ph-speed {
    0% { transform: translateX(-300px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 300px)); opacity: 0; }
}

.products-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.products-hero-left .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-en); font-size: 12px;
    color: rgba(255,255,255,0.4); margin-bottom: 24px; letter-spacing: 1px;
}
.products-hero-left .breadcrumb a { color: rgba(255,255,255,0.5); }
.products-hero-left .breadcrumb a:hover { color: var(--text-white); }
.products-hero-left .breadcrumb .sep { opacity: 0.5; }
.products-hero-left .breadcrumb .current { color: var(--primary-light); }
.products-hero-left .page-en {
    font-family: var(--font-en); font-size: 14px; font-weight: 700;
    color: var(--primary-light); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 20px;
}
.products-hero-left h1 {
    font-size: 52px; font-weight: 900; color: var(--text-white);
    line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px;
}
.products-hero-desc {
    font-size: 16px; color: rgba(255,255,255,0.6);
    max-width: 480px; line-height: 1.8; margin-bottom: 40px;
}
.products-hero-stats {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.phs-item { text-align: left; }
.phs-num {
    font-family: var(--font-en); font-size: 28px; font-weight: 800;
    color: var(--text-white); line-height: 1;
}
.phs-unit { font-size: 16px; font-weight: 600; color: var(--primary-light); margin-left: 2px; }
.phs-label {
    font-size: 12px; color: rgba(255,255,255,0.45);
    margin-top: 6px; letter-spacing: 0.5px;
}
.phs-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.12);
}

/* 右侧 LOGO 网格 */
.products-hero-right { position: relative; }
.ph-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.ph-logo-cell {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.ph-logo-cell[data-color="primary"] { border-top: 3px solid var(--primary); }
.ph-logo-cell[data-color="green"] { border-top: 3px solid var(--green); }
.ph-logo-cell[data-color="accent"] { border-top: 3px solid var(--accent); }
.ph-logo-cell svg { max-width: 100%; height: auto; }
.ph-logo-cell:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}
.ph-logo-cell[data-color="primary"]:hover { border-top-color: var(--primary-light); }
.ph-logo-cell[data-color="green"]:hover { border-top-color: var(--green); }
.ph-logo-cell[data-color="accent"]:hover { border-top-color: var(--accent); }

.ph-center-link {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.ph-center-hex {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.15;
}
.ph-center-link span {
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
}

/* 底部多段斜切 — 不用单一对角线，用多段折线形成棱角交界 */
.products-hero-bottom {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 48px;
    z-index: 2;
    background: var(--light-bg);
    clip-path: polygon(
        0% 0%,
        18% 45%,
        34% 0%,
        50% 60%,
        66% 10%,
        82% 50%,
        100% 0%,
        100% 100%,
        0% 100%
    );
}

@media (max-width: 1200px) {
    .products-hero-left h1 { font-size: 44px; }
    .products-hero-inner { gap: 40px; }
}

@media (max-width: 900px) {
    .products-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .products-hero-left h1 { font-size: 36px; }
    .products-hero-right { max-width: 400px; }
    .products-hero-stats { gap: 16px; }
    .phs-num { font-size: 22px; }
}

@media (max-width: 600px) {
    .products-hero { padding: calc(var(--nav-height) + 40px) 0 80px; }
    .products-hero-left h1 { font-size: 30px; }
    .products-hero-desc { font-size: 14px; }
    .ph-logo-cell { padding: 20px 12px; }
    .products-hero-stats { gap: 12px; }
    .phs-num { font-size: 18px; }
    .phs-label { font-size: 10px; }
    .phs-divider { height: 28px; }
    .products-hero-bottom { height: 32px; }
}

/* ============================================
   通用移动端适配 (≤600px)
   ============================================ */
@media (max-width: 600px) {
    :root { --section-padding: 48px 0; --nav-height: 60px; }

    /* 容器 */
    .container { padding: 0 20px; }
    .navbar-inner { padding: 0 16px; }

    /* 导航栏 */
    .nav-logo svg { width: 150px; height: 45px; }
    .nav-menu.open { padding: 24px 20px; top: var(--nav-height); min-height:700px;}
    .nav-menu.open .nav-link { padding: 14px 0; font-size: 16px; }
    .nav-toggle { padding: 6px; }
    .nav-toggle span { width: 20px; }

    /* 通用区块标题 */
    .section-header { margin-bottom: 36px; }
    .section-title { font-size: 24px; }
    .section-title .en { font-size: 12px; }
    .section-subtitle { font-size: 14px; }
    .section-tag { font-size: 11px; }

    /* 按钮 */
    .btn { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; }

    /* HERO 区域 */
    .hero { padding-bottom: 60px; min-height: auto; padding-top: calc(var(--nav-height) + 48px); }
    .hero-content { padding: 0 20px; }
    .hero h1 { font-size: 30px; letter-spacing: -1px; margin-bottom: 16px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 32px; line-height: 1.7; }
    .hero-stats { gap: 16px; margin-top: 48px; padding-top: 28px; flex-wrap: wrap; }
    .hero-stat .num { font-size: 26px; }
    .hero-stat .label { font-size: 11px; margin-top: 4px; }
    .hero-cut { height: 40px; }

    /* 页面头部（内页） */
    .page-header { padding: calc(var(--nav-height) + 40px) 0 48px; }
    .page-header h1 { font-size: 26px; letter-spacing: -0.5px; }
    .page-header .page-en { font-size: 13px; margin-bottom: 16px; }
    .page-header .page-desc { font-size: 14px; }
    .page-header-cut { height: 36px; }

    /* 麟云智平台区 */
    .platform-layout { gap: 32px; }
    .platform-visual { padding: 32px 20px; }
    .platform-visual svg { width: 100%; height: auto; }
    .platform-info h2 { font-size: 24px; }
    .platform-info .desc { font-size: 14px; margin-bottom: 24px; }
    .platform-features { gap: 16px; }
    .platform-feature .text h4 { font-size: 14px; }
    .platform-feature .text p { font-size: 12px; }

    /* 产品矩阵 */
    .products-grid { gap: 16px; }
    .product-card { padding: 24px 20px; }
    .product-card .product-logo { height: 80px; margin-bottom: 16px; }
    .product-card .product-logo svg { width: 160px; height: 72px; }
    .product-card .product-name { font-size: 18px; }
    .product-card .product-slogan { font-size: 13px; margin-bottom: 16px; padding-bottom: 16px; }
    .product-card .product-features li { font-size: 12px; }
    .product-card .product-link { margin-top: 16px; }

    /* K-Link 协议区 */
    .klink-layout { gap: 32px; margin-bottom: 48px; }
    .klink-visual { padding: 32px 20px; }
    .klink-visual svg { width: 180px; height: auto; }
    .klink-info h3 { font-size: 24px; }
    .klink-info .desc { font-size: 14px; margin-bottom: 24px; }
    .klink-specs { gap: 12px; }
    .klink-spec { padding: 16px; }
    .klink-spec .spec-value { font-size: 24px; }
    .klink-spec .spec-label { font-size: 12px; }

    /* K-Link 架构图 & 场景 */
    .klink-arch-diagram { padding: 32px 16px; }
    .klink-arch-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .klink-arch-label { width: auto; text-align: left; }
    .klink-arch-nodes { flex-direction: column; }
    .klink-arch-node { min-width: auto; }
    .klink-scenarios { gap: 16px; margin-top: 40px; }
    .klink-scenario { padding: 24px 20px; }
    .klink-scenario h5 { font-size: 15px; }

    /* 关于我们 */
    .about-layout { gap: 32px; margin-bottom: 48px; }
    .about-info h2 { font-size: 24px; }
    .about-info .about-desc { font-size: 14px; line-height: 1.8; }
    .about-info .company-name { font-size: 12px; }
    .about-meta { gap: 16px; }
    .about-meta-item .value { font-size: 14px; }
    .about-visual { padding: 28px 20px; }
    .about-visual-content h3 { font-size: 20px; }
    .about-vision { padding: 20px 16px; }
    .about-vision p { font-size: 14px; }

    /* 时间线 */
    .timeline { padding: 24px 0; }
    .timeline::before { left: 12px; }
    .timeline-item .timeline-dot { left: 12px; width: 12px; height: 12px; }
    .timeline-item .timeline-content { width: calc(100% - 36px); margin-left: 36px; padding: 16px; }
    .timeline-item .timeline-year { font-size: 17px; }
    .timeline-item .timeline-title { font-size: 14px; }
    .timeline-item .timeline-desc { font-size: 12px; }

    /* 资质荣誉 */
    .honors-grid { grid-template-columns: 1fr; gap: 12px; }
    .honor-card { padding: 20px 16px; }

    /* 联系我们 */
    .contact-layout { gap: 32px; }
    .contact-info .info-item { gap: 14px; padding: 18px 0; }
    .contact-info .info-icon { width: 40px; height: 40px; }
    .contact-info .info-text .value { font-size: 14px; }
    .contact-form-wrap { padding: 24px 20px; }
    .contact-form-wrap h3 { font-size: 18px; }
    .form-group input, .form-group textarea, .form-group select { padding: 10px 14px; font-size: 16px; }
    .contact-map { height: 240px; }

    /* 产品详情（products.html） */
    .product-detail { gap: 28px; margin-bottom: 64px; padding-bottom: 64px; }
    .product-detail .pd-visual { padding: 32px 20px; min-height: 220px; }
    .product-detail .pd-info h2 { font-size: 24px; }
    .product-detail .pd-info .pd-en { font-size: 14px; }
    .product-detail .pd-info .pd-slogan { font-size: 16px; }
    .product-detail .pd-info .pd-desc { font-size: 14px; }
    .product-detail .pd-specs { gap: 12px; }
    .product-detail .pd-spec { padding: 14px; }
    .product-detail .pd-spec .spec-value { font-size: 14px; }

    /* 页脚 */
    .footer { padding: 48px 0 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand .footer-slogan { max-width: 100%; }
    .footer-col h5 { margin-bottom: 12px; }
    .footer-bottom { padding-top: 24px; gap: 8px; }
    .footer-bottom .copyright { font-size: 12px; text-align: center; }
    .footer-bottom .icp { font-size: 12px; }
}

/* ============================================
   超小屏适配 (≤380px)
   ============================================ */
@media (max-width: 380px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 26px; }
    .hero-subtitle { font-size: 13px; }
    .hero-stats { gap: 12px; }
    .hero-stat .num { font-size: 22px; }
    .section-title { font-size: 22px; }
    .nav-logo svg { width: 130px; height: 39px; }
    .klink-spec .spec-value { font-size: 20px; }
    .product-card .product-logo svg { width: 140px; height: 63px; }
}
