/* ========================================================
   河北坤软科技有限公司官网 — 高端企业级设计系统
   ======================================================== */

/* ---- 设计令牌 ---- */
:root {
    --brand: #2563eb;
    --brand-light: #3b82f6;
    --brand-dark: #1d4ed8;
    --brand-glow: rgba(37, 99, 235, 0.25);
    --accent: #0ea5e9;
    --accent-gold: #f59e0b;
    --bg-dark: #0a0f1e;
    --bg-section: #060b18;
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-card-hover: rgba(30, 41, 70, 0.85);
    --bg-light: #f0f4ff;
    --bg-white: #ffffff;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --text-dark-secondary: #475569;
    --border-subtle: rgba(148, 163, 184, 0.12);
    --border-brand: rgba(37, 99, 235, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

/* ---- 全局重置 ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft Yahei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

/* ---- 粒子画布 ---- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 容器 ---- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- 滚动入场动画 ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
    padding: 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .brand-title,
.site-header.scrolled .brand-subtitle {
    color: var(--text-dark);
}

.site-header.scrolled .site-nav a {
    color: var(--text-dark-secondary);
}

.site-header.scrolled .site-nav a:hover {
    color: var(--brand);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 3vw;
    transition: padding 0.3s;
}

.site-header.scrolled .header-inner {
    padding: 0.7rem 3vw;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}

.site-nav {
    display: flex;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    font-weight: 500;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .site-nav a:hover {
    background: var(--bg-light);
    color: var(--brand);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s;
}

.site-header.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0a0f1e 0%, #0f1b3d 40%, #122152 70%, #0d1a3a 100%);
    overflow: hidden;
    padding: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 24px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 520px;
}

.cta-buttons {
    margin: 2.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 8px 30px var(--brand-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 统计数据 */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* 滚动提示 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ========================================================
   通用区块
   ======================================================== */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.3rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-dark-secondary);
    font-size: 1.05rem;
}

/* 深色背景区块的标题 */
.ai .section-header h2,
.industries .section-header h2,
.process .section-header h2 {
    color: #fff;
}

.ai .section-header p,
.industries .section-header p,
.process .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.ai .section-tag,
.industries .section-tag,
.process .section-tag {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent);
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.about-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.about-card p {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.service-icon-wrap {
    margin-bottom: 1.2rem;
}

.service-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.08));
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.service-card>p {
    color: var(--text-dark-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.service-card ul {
    padding-left: 1.1rem;
    color: var(--text-dark-secondary);
    font-size: 0.88rem;
    display: grid;
    gap: 0.3rem;
}

.service-card li {
    line-height: 1.6;
}

.service-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand);
    padding: 0.25rem 0.8rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ========================================================
   AI 赋能
   ======================================================== */
.ai {
    background: linear-gradient(170deg, #0a0f1e 0%, #0f1b3d 50%, #0d1a3a 100%);
    position: relative;
}

.ai::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ai-showcase {
    position: relative;
    z-index: 1;
}

.ai-main {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ai-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent), #a78bfa);
}

.ai-main-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 999px;
    margin-bottom: 1rem;
}

.ai-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}

.ai-main p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    line-height: 1.8;
}

.ai-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.ai-tech-tags span {
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.ai-tech-tags span:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--border-brand);
    color: #fff;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ai-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.ai-card-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.3);
    margin-bottom: 0.5rem;
}

.ai-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ai-card>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin-bottom: 0.8rem;
}

.ai-card ul {
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: grid;
    gap: 0.3rem;
}

/* ========================================================
   行业解决方案
   ======================================================== */
.industries {
    background: linear-gradient(170deg, #0d1a3a 0%, #0a0f1e 100%);
    position: relative;
}

.industries::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 30% 70%, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.industry-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.industry-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.industry-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================================
   产品体系
   ======================================================== */
.product-suite {
    background: var(--bg-white);
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.suite-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.suite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.suite-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.suite-card header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.suite-card ul {
    padding-left: 1.1rem;
    color: var(--text-dark-secondary);
    margin: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.suite-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand);
    border: 1px solid rgba(37, 99, 235, 0.15);
    white-space: nowrap;
    font-weight: 600;
}

.suite-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-dark-secondary);
    font-size: 0.9rem;
}

.suite-card>p {
    color: var(--text-dark-secondary);
    font-size: 0.92rem;
}

/* ========================================================
   案例中心
   ======================================================== */
.cases {
    background: var(--bg-light);
}

.cases-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.product-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    height: 100%;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.product-list::-webkit-scrollbar {
    width: 4px;
}

.product-list::-webkit-scrollbar-track {
    background: transparent;
}

.product-list::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 10px;
}

.product-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-list li:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.product-list-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
}

.product-list-name {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 600;
    flex: 1;
}

.product-arrow {
    color: var(--brand);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.product-list li:hover .product-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.case-visual {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.case-visual img {
    max-height: 100%;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
}

.case-visual p {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin: 0.5rem 0 0;
}

/* 产品弹窗 */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-modal.is-open {
    display: flex;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.product-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.35s ease;
    z-index: 1001;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.product-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.product-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-modal-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.product-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.product-modal-body {
    color: var(--text-dark-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-modal-body p {
    margin: 0;
}

.btn-modal-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-modal-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-glow);
}

/* ========================================================
   交付流程
   ======================================================== */
.process {
    background: linear-gradient(170deg, #0a0f1e 0%, #0f1b3d 100%);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.process-steps {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.process-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ========================================================
   资质荣誉
   ======================================================== */
.certificates {
    background: var(--bg-white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cert-grid figure {
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    background: var(--bg-white);
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cert-grid figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.cert-grid img {
    border-radius: var(--radius-sm);
}

.cert-grid figcaption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cert-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-dark-secondary);
}

/* 资质分类小标题 */
.cert-sub-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

/* 企业发展里程碑 */
.milestone-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.milestone-item {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.milestone-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.milestone-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.milestone-item:hover::before {
    transform: scaleX(1);
}

.milestone-year {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.milestone-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.milestone-content p {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================================
   为什么选择坤软
   ======================================================== */
.values {
    background: var(--bg-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand), var(--accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleY(1);
}

.value-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.15);
    margin-bottom: 0.5rem;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

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

/* ========================================================
   联系我们
   ======================================================== */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-white);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-dark-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-cta {
    padding: 3rem;
    background: linear-gradient(145deg, var(--brand-dark), #0f1b3d);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-cta .btn-primary {
    align-self: flex-start;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
    background: #060b18;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4rem 24px 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.9;
}

.footer-brand-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

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

.beian {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.beian img {
    opacity: 0.6;
}

/* ========================================================
   返回顶部
   ======================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px var(--brand-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s;
    z-index: 50;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

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

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

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

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

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

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

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

    .process-steps {
        flex-wrap: wrap;
    }

    .process-step {
        min-width: calc(50% - 0.5rem);
    }

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

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


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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: none;
    }

    .site-nav.is-open {
        max-height: 500px;
        padding: 1rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .site-nav a {
        color: var(--text-dark);
        padding: 0.8rem 1rem;
    }

    .site-nav a:hover {
        background: var(--bg-light);
    }

    .nav-toggle span {
        background: #fff;
    }

    .site-header.scrolled .nav-toggle span {
        background: var(--text-dark);
    }

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

    .hero-content {
        padding: 120px 20px 60px;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .service-grid,
    .industry-grid,
    .about-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

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

    .ai-main {
        padding: 2rem;
    }

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

    .cases-content {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-step {
        min-width: 100%;
    }

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

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

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

    .contact-info,
    .contact-cta {
        padding: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .stat-item {
        padding: 1.2rem 1rem;
    }

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

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

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