/* ================================
   江西洪顺科技有限公司 - 官网样式
   ================================ */

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a56db 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 通用按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.4);
    color: var(--white);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

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

/* ===== 通用标题 ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    border: 1px solid rgba(26, 86, 219, 0.12);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

/* 滚到 Hero 文字后，导航栏不透明化，避免渐变文字被白色半透背景"洗淡" */
.header.hero-passed {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.4);
}

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

.nav-logo .logo-text .name {
    font-size: 18px;
    font-weight: 800;
}

.nav-logo .logo-text .en {
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;     /* 允许内容超高时自然撑开，避免被裁剪 */
    display: flex;
    align-items: flex-start;  /* 顶部对齐，让Hero内容更靠上 */
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;    /* nav 70px + 10px 安全间距 */
    padding-bottom: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Hero 底部渐变过渡 */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero-bg-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-orbs .orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(26, 86, 219, 0.5);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.hero-bg-orbs .orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(6, 182, 212, 0.4);
    bottom: -80px;
    left: 10%;
    animation-delay: 3s;
}

.hero-bg-orbs .orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.3);
    top: 40%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}

/* Hero 渐变文字动画 */
.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 50%, #60a5fa 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 2px;
    animation: scrollHintBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat .num .suffix {
    font-size: 20px;
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    margin-top: -40px;  /* 向上微调，让卡片与左侧标题更接近 */
}

/* Hero 右侧 AI 特性标签云 — 填充卡片上方空白 */
.hero-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 41, 59, 0.35) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 999px;
    transition: var(--transition);
    cursor: default;
    white-space: nowrap;
}

.hero-tag .tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px #60a5fa;
}

.hero-tag.tag-1 .tag-dot { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }
.hero-tag.tag-2 .tag-dot { background: #22d3ee; box-shadow: 0 0 8px #22d3ee; }
.hero-tag.tag-3 .tag-dot { background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }
.hero-tag.tag-4 .tag-dot { background: #34d399; box-shadow: 0 0 8px #34d399; }
.hero-tag.tag-5 .tag-dot { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.hero-tag.tag-6 .tag-dot { background: #f472b6; box-shadow: 0 0 8px #f472b6; }

.hero-tag:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

.hero-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(34, 211, 238, 0.2) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-card-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.hero-card-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.hero-card-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.hero-card-item .icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hero-card-item .icon-1 { background: rgba(26, 86, 219, 0.2); }
.hero-card-item .icon-2 { background: rgba(6, 182, 212, 0.2); }
.hero-card-item .icon-3 { background: rgba(168, 85, 247, 0.2); }
.hero-card-item .icon-4 { background: rgba(34, 197, 94, 0.2); }

.hero-card-item .text .title {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.hero-card-item .text .desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===== 滚动横幅 ===== */
.marquee {
    background: var(--dark);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark) 0%, transparent 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--dark) 0%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 关于我们简介 ===== */
.about-brief {
    background: var(--white);
}

.about-brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-brief-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-brief-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature .check {
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature .text {
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 500;
}

.about-brief-visual {
    position: relative;
}

.about-img-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-img-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.15) 0%, transparent 50%);
}

.about-img-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.about-img-card .card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-img-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-img-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.about-img-card .card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.about-img-card .card-stat .num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.about-img-card .card-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* ===== 核心业务 ===== */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* 悬浮发光效果 */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 0%, rgba(26, 86, 219, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(26, 86, 219, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

/* 序号 */
.service-card-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    z-index: 0;
    transition: var(--transition);
    font-family: 'Georgia', serif;
}

.service-card:hover .service-card-num {
    color: rgba(26, 86, 219, 0.08);
    transform: scale(1.1);
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card .service-icon.bg-blue { background: rgba(26, 86, 219, 0.1); color: var(--primary); }
.service-card .service-icon.bg-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
.service-card .service-icon.bg-purple { background: rgba(168, 85, 247, 0.1); color: #9333ea; }
.service-card .service-icon.bg-green { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.service-card .service-icon.bg-orange { background: rgba(249, 115, 22, 0.1); color: #ea580c; }
.service-card .service-icon.bg-red { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

.service-card:hover .service-icon.bg-blue { background: rgba(26, 86, 219, 0.15); transform: scale(1.1); }
.service-card:hover .service-icon.bg-cyan { background: rgba(6, 182, 212, 0.15); transform: scale(1.1); }
.service-card:hover .service-icon.bg-purple { background: rgba(168, 85, 247, 0.15); transform: scale(1.1); }
.service-card:hover .service-icon.bg-green { background: rgba(34, 197, 94, 0.15); transform: scale(1.1); }
.service-card:hover .service-icon.bg-orange { background: rgba(249, 115, 22, 0.15); transform: scale(1.1); }
.service-card:hover .service-icon.bg-red { background: rgba(239, 68, 68, 0.15); transform: scale(1.1); }

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card .service-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.service-card .service-tag {
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover .service-tag {
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-card .service-link:hover {
    gap: 10px;
}

/* ===== 优势区域 ===== */
.advantages {
    background: var(--white);
}

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

.advantage-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 16px 32px -8px rgba(26, 86, 219, 0.12);
    transform: translateY(-6px);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card .adv-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.25);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.advantage-card .adv-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(26, 86, 219, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover .adv-icon {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 28px rgba(26, 86, 219, 0.35);
}

.advantage-card:hover .adv-icon::before {
    opacity: 1;
    inset: -8px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== 解决方案 ===== */
.solutions {
    background: var(--gray-50);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.solution-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.solution-card .solution-banner {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution-card .solution-emoji {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-emoji {
    transform: scale(1.2) rotate(-5deg);
}

.solution-banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px), radial-gradient(circle at 80% 20%, white 1px, transparent 1px), radial-gradient(circle at 50% 80%, white 1px, transparent 1px);
    background-size: 40px 40px, 30px 30px, 50px 50px;
}

.solution-card .solution-banner.bg-1 { background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%); }
.solution-card .solution-banner.bg-2 { background: linear-gradient(135deg, #0f766e 0%, #06b6d4 100%); }
.solution-card .solution-banner.bg-3 { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.solution-card .solution-banner.bg-4 { background: linear-gradient(135deg, #c2410c 0%, #f97316 100%); }
.solution-card .solution-banner.bg-5 { background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%); }
.solution-card .solution-banner.bg-6 { background: linear-gradient(135deg, #15803d 0%, #22c55e 100%); }

.solution-card .solution-body {
    padding: 28px 24px;
}

.solution-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.solution-card .solution-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-card .solution-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
    transition: var(--transition);
    padding: 4px 0;
}

.solution-card .solution-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.solution-card:hover .solution-feature {
    color: var(--gray-700);
}

.solution-card:hover .solution-feature::before {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(6, 182, 212, 0.5);
}

/* ===== 流程区域 ===== */
.process {
    background: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.2;
}

.process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.process-step .step-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step .step-num::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(26, 86, 219, 0.15);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .step-num {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(26, 86, 219, 0.35);
}

.process-step:hover .step-num::before {
    opacity: 1;
    inset: -10px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== 新闻区域 ===== */
.news {
    background: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.news-card:hover {
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: transparent;
}

.news-card.featured {
    grid-row: span 2;
}

.news-card .news-banner {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.news-card .news-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1) 100%);
}

.news-card:hover .news-banner {
    font-size: 44px;
}

.news-card.featured .news-banner {
    height: 280px;
}

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

.news-card .news-date {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured h3 {
    font-size: 22px;
}

.news-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* ===== CTA 区域 ===== */
.cta {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* CTA 浮动光球 */
.cta-content::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(60px);
    top: -100px;
    left: -50px;
    pointer-events: none;
}

.cta-content::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.12);
    filter: blur(60px);
    bottom: -80px;
    right: -30px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ 区域 ===== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.faq-item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    box-shadow: 0 8px 24px -4px rgba(26, 86, 219, 0.12);
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray-500);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: 20px;
}

.footer-brand .nav-logo .name {
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.3);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact li .icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .links {
    display: flex;
    gap: 20px;
}

.footer-bottom .links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 浮动按钮 ===== */
.float-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.float-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.float-btn .tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== 子页面通用 ===== */
.page-banner {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== 关于我们页面 ===== */
.about-section {
    padding: 80px 0;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-detail-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-detail-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-detail-visual {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-detail-visual::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.about-detail-visual h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.about-detail-visual ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.about-detail-visual ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.about-detail-visual ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: var(--transition);
}

.culture-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.culture-card .culture-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.culture-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* 发展历程 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.timeline-item {
    display: flex;
    gap: 32px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item .year {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    min-width: 80px;
    padding-left: 48px;
}

.timeline-item .content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-item .content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== 联系我们页面 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 720px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

/* 联系人高亮卡片 */
.contact-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #06b6d4 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
    box-shadow: 0 12px 32px -8px rgba(26, 86, 219, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-highlight-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.contact-highlight-info {
    flex: 1;
    z-index: 1;
}

.contact-highlight-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.contact-highlight-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.contact-highlight-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-highlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-highlight-btn-phone {
    background: rgba(255, 255, 255, 0.95);
    color: #1a56db;
}

.contact-highlight-btn-phone:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-highlight-btn-email {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-highlight-btn-email:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

/* 主要联系方式（电话/邮箱）— 更醒目 */
.contact-info-item-primary {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
    border: 1px solid rgba(26, 86, 219, 0.15);
}

.contact-info-item-primary:hover {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.1) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: 0 8px 20px -6px rgba(26, 86, 219, 0.15);
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-item .text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item .text p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.6;
}

.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

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

/* ===== 动画 ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .about-brief-grid,
    .about-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .news-card.featured {
        grid-row: span 1;
        grid-column: span 2;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .process-timeline::before {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .num {
        font-size: 28px;
    }

    .scroll-hint {
        display: none;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .service-card-num {
        font-size: 36px;
    }

    .section {
        padding: 56px 0;
    }

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

    .services-grid,
    .solutions-grid,
    .advantages-grid,
    .culture-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

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

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

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

    .page-banner h1 {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .float-buttons {
        right: 16px;
        bottom: 16px;
    }
}

/* ================================================
   AI 交互体验元素
   ================================================ */


/* ===== 神经网络 Canvas ===== */
#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

.hero-visual {
    position: relative;
}

.hero-visual-deco {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 320px;
    height: 320px;
    pointer-events: none;
    z-index: 0;
}

.deco-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transform: translate(-50%, -50%);
    animation: decoRingSpin 30s linear infinite;
}

.deco-ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(59, 130, 246, 0.25);
}

.deco-ring-2 {
    width: 200px;
    height: 200px;
    border-color: rgba(34, 211, 238, 0.3);
    border-style: dashed;
    animation-duration: 20s;
    animation-direction: reverse;
}

.deco-ring-3 {
    width: 130px;
    height: 130px;
    border-color: rgba(168, 85, 247, 0.3);
    animation-duration: 15s;
}

@keyframes decoRingSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ===== AI 终端打字机 ===== */
.ai-terminal {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 28px;
    max-width: 560px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    /* 固定高度：避免打字机行数增长时撑高整个 hero 区域 */
    height: 360px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
}

.ai-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 1;
}

.ai-terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.ai-terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ai-terminal-dot.red { background: #ef4444; }
.ai-terminal-dot.yellow { background: #f59e0b; }
.ai-terminal-dot.green { background: #22c55e; }

.ai-terminal-title {
    color: #64748b;
    font-size: 12px;
    margin-left: 8px;
}

.ai-terminal-body {
    color: #94a3b8;
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 2;
    /* 内容从底部向上生长，保持顶部稳定 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ai-terminal-line {
    margin-bottom: 4px;
    white-space: pre-wrap;
}

.ai-terminal-prompt { color: #3b82f6; }
.ai-terminal-output { color: #64748b; }
.ai-terminal-success { color: #22c55e; }
.ai-terminal-highlight { color: #06b6d4; font-weight: 600; }

.ai-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #3b82f6;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== AI 能力体验区 ===== */
.ai-demo {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ai-demo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-demo .section-header h2 {
    color: #ffffff;
}

.ai-demo .section-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.ai-demo .section-subtitle {
    color: #94a3b8;
}

.ai-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ai-demo-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 32px 28px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ai-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.ai-demo-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.ai-demo-card:hover::before {
    opacity: 1;
}

.ai-demo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2));
    border: 1px solid rgba(59,130,246,0.2);
}

.ai-demo-card h3 {
    color: #f1f5f9;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ai-demo-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ai-demo-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.ai-demo-card:hover .ai-demo-action {
    gap: 12px;
}

.ai-demo-output {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: #64748b;
    line-height: 1.6;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, min-height 0.5s ease, padding 0.3s;
    padding-top: 0;
    padding-bottom: 0;
}

.ai-demo-card.active .ai-demo-output {
    max-height: 200px;
    min-height: 80px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.ai-demo-output .typing-text {
    color: #06b6d4;
}

.ai-demo-output .result-text {
    color: #22c55e;
}

/* ===== 智能体工作流可视化 ===== */
.agent-flow {
    padding: 80px 0;
    background: #f8fafc;
}

.agent-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
    flex-wrap: wrap;
}

.agent-flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: transform 0.3s;
}

.agent-flow-node:hover {
    transform: translateY(-6px);
}

.agent-flow-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: #fff;
    box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.agent-flow-node:hover .agent-flow-icon {
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px -4px rgba(59,130,246,0.25);
    transform: scale(1.05);
}

.agent-flow-icon.pulse {
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08), 0 0 0 0 rgba(59,130,246,0.3); }
    50% { box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08), 0 0 0 12px rgba(59,130,246,0); }
}

.agent-flow-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

.agent-flow-desc {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
    max-width: 100px;
}

.agent-flow-arrow {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-300), var(--primary-light));
    position: relative;
    margin: 0 8px;
    margin-bottom: 40px;
}

.agent-flow-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-light);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.agent-flow-arrow .flow-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: flowMove 2s linear infinite;
}

@keyframes flowMove {
    0% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ===== AI 智能助手悬浮窗 ===== */
/* AI 助手 fab 复用 .float-btn 的定位/尺寸，仅追加视觉特效 */
.ai-chat-fab {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 6px 18px -4px rgba(59,130,246,0.45), 0 0 0 0 rgba(59,130,246,0.3);
    border: none;
    animation: chatFabPulse 3s ease-in-out infinite;
}

@keyframes chatFabPulse {
    0%, 100% { box-shadow: 0 6px 18px -4px rgba(59,130,246,0.45), 0 0 0 0 rgba(59,130,246,0.3); }
    50% { box-shadow: 0 6px 18px -4px rgba(59,130,246,0.45), 0 0 0 14px rgba(59,130,246,0); }
}

.ai-chat-fab:hover {
    color: var(--white);
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.ai-chat-fab.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: rotate(90deg);
    animation: none;
}

.ai-chat-window {
    position: fixed;
    bottom: 200px;   /* 3 个按钮 (52*3 + 12*2) + 底部 24px = 204，向上让出空间 */
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 230px);
    min-height: 360px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 48px -8px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 998;   /* 比 fab 低一档，避免遮挡按钮 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 14px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ai-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.ai-chat-header-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.ai-chat-header-info .status {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-chat-header-info .status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ai-chat-close {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ai-chat-close:hover {
    background: rgba(255,255,255,0.3);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: msgSlideIn 0.3s ease;
}

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

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-msg.ai .chat-msg-avatar {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.chat-msg.user .chat-msg-avatar {
    background: var(--gray-200);
    color: var(--gray-600);
}

.chat-msg-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-msg.ai .chat-msg-bubble {
    background: #fff;
    color: var(--gray-700);
    border: 1px solid var(--gray-100);
    border-top-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
    background: var(--primary);
    color: #fff;
    border-top-right-radius: 4px;
}

.chat-msg-bubble strong {
    color: var(--primary);
}
.chat-msg.user .chat-msg-bubble strong {
    color: #93c5fd;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 14px 16px;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    animation: typingDot 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.ai-chat-quick {
    padding: 10px 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f8fafc;
    flex-shrink: 0;
}

.ai-chat-quick-btn {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.ai-chat-quick-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(59,130,246,0.05);
}

.ai-chat-input-area {
    padding: 12px 14px;
    border-top: 1px solid var(--gray-100);
    background: #fff;
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ai-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.ai-chat-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.ai-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.ai-chat-send:hover {
    transform: scale(1.05);
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .ai-terminal {
        font-size: 11px;
        padding: 16px;
    }

    .ai-demo-grid {
        grid-template-columns: 1fr;
    }

    .agent-flow-diagram {
        flex-direction: column;
        gap: 16px;
    }

    .agent-flow-arrow {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--gray-300), var(--primary-light));
        margin: 0;
        margin-bottom: 0;
    }

    .agent-flow-arrow::after {
        right: -4px;
        top: auto;
        bottom: -1px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--primary-light);
    }

    .agent-flow-arrow .flow-dot {
        animation: flowMoveV 2s linear infinite;
    }

    @keyframes flowMoveV {
        0% { top: 0; opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }

    .ai-chat-window {
        right: 8px;
        left: 8px;
        bottom: 100px;   /* 3 个 fab + 间距 + 底部边距 */
        width: auto;
        max-width: none;
        height: 60vh;
        max-height: 60vh;
        min-height: 320px;
        border-radius: 16px;
    }
}

/* 中等屏幕适配（平板/小笔记本） */
@media (max-width: 1024px) and (min-width: 769px) {
    .ai-chat-window {
        width: 340px;
        height: 420px;
        bottom: 190px;   /* 3 个 fab 占据的总高度 */
    }
}

/* 矮屏幕适配（横屏手机/矮窗口） */
@media (max-height: 600px) {
    .ai-chat-window {
        height: calc(100vh - 200px);
        max-height: calc(100vh - 200px);
        min-height: 280px;
        bottom: 100px;
    }

    .ai-chat-quick {
        display: none;
    }
}
