/*
 * 衍势科技 DataVOV
 * 主题：中国水墨山水 + 现代科技
 */

:root {
    /* 墨色体系 */
    --ink-900: #0a0a0a;
    --ink-800: #141414;
    --ink-700: #1f1f1f;
    --ink-600: #2d2d2d;
    --ink-500: #4a4a4a;
    --ink-400: #737373;
    --ink-300: #a3a3a3;
    --ink-200: #d4d4d4;
    --ink-100: #e8e8e8;
    --ink-50: #f7f7f7;
    --paper: #f9f8f5;
    --paper-warm: #f4f1ea;
    
    /* 点缀色：朱砂印章、青花 */
    --cinnabar: #b83a2a;
    --cinnabar-light: #d45746;
    --porcelain: #2c5f7c;
    --porcelain-light: #4a8ab0;
    
    /* 字体 */
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    
    /* 间距 */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* 动画 */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--paper);
    color: var(--ink-800);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 纯 CSS 水墨山水背景 */
.ink-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(220, 215, 200, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(210, 205, 190, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 60%, rgba(230, 225, 215, 0.6) 100%);
}

/* 远山雾霭层 */
.ink-mist {
    position: absolute;
    left: -20%;
    width: 140%;
    height: 40%;
    background: linear-gradient(180deg, rgba(180, 175, 165, 0.15) 0%, transparent 100%);
    filter: blur(40px);
    opacity: 0.5;
    transform-origin: center;
}

.ink-mist-1 {
    bottom: 15%;
    animation: mistFloat 25s ease-in-out infinite;
}

.ink-mist-2 {
    bottom: 8%;
    animation: mistFloat 30s ease-in-out infinite reverse;
    background: linear-gradient(180deg, rgba(160, 155, 145, 0.12) 0%, transparent 100%);
}

.ink-mist-3 {
    bottom: 22%;
    animation: mistFloat 35s ease-in-out infinite;
    background: linear-gradient(180deg, rgba(200, 195, 180, 0.1) 0%, transparent 100%);
}

/* 水墨晕染点 */
.ink-blot {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(30, 30, 30, 0.85) 0%, rgba(30, 30, 30, 0.2) 45%, transparent 70%);
    filter: blur(1px);
    opacity: 0.35;
    will-change: transform, opacity;
}

.ink-blot-1 {
    width: 280px;
    height: 260px;
    top: 8%;
    right: -5%;
    border-radius: 55% 45% 50% 60% / 50% 60% 45% 55%;
    animation: blotDrift 28s ease-in-out infinite;
}

.ink-blot-2 {
    width: 180px;
    height: 190px;
    top: 25%;
    left: -3%;
    border-radius: 45% 55% 70% 30% / 60% 30% 70% 40%;
    animation: blotDrift 32s ease-in-out infinite reverse;
    opacity: 0.25;
}

.ink-blot-3 {
    width: 220px;
    height: 200px;
    bottom: 30%;
    right: 12%;
    border-radius: 35% 65% 55% 45% / 55% 45% 65% 35%;
    animation: blotDrift 26s ease-in-out infinite;
    opacity: 0.2;
}

.ink-blot-4 {
    width: 140px;
    height: 140px;
    bottom: 45%;
    left: 18%;
    border-radius: 60% 40% 35% 65% / 40% 60% 40% 60%;
    animation: blotDrift 34s ease-in-out infinite reverse;
    opacity: 0.22;
}

.ink-blot-5 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 35%;
    border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
    animation: blotDrift 22s ease-in-out infinite;
    opacity: 0.18;
}

/* 淡墨流动线条 */
.ink-wave {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(40, 40, 40, 0.08) 20%, rgba(40, 40, 40, 0.08) 80%, transparent 100%);
    filter: blur(1px);
    will-change: transform;
}

.ink-wave-1 {
    top: 35%;
    animation: waveFlow 20s linear infinite;
}

.ink-wave-2 {
    top: 55%;
    animation: waveFlow 24s linear infinite reverse;
    opacity: 0.6;
}

.ink-wave-3 {
    top: 75%;
    animation: waveFlow 18s linear infinite;
    opacity: 0.4;
}

/* 水墨动画关键帧 */
@keyframes mistFloat {
    0%, 100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-5%) scaleX(1.08);
        opacity: 0.65;
    }
}

@keyframes blotDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(15px, -10px) rotate(3deg) scale(1.03);
    }
    66% {
        transform: translate(-10px, 8px) rotate(-2deg) scale(0.98);
    }
}

@keyframes waveFlow {
    0% {
        transform: translateX(-10%) scaleX(0.8);
        opacity: 0;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        transform: translateX(10%) scaleX(1.1);
        opacity: 0.3;
    }
    75% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(-10%) scaleX(0.8);
        opacity: 0;
    }
}

/* 减少动态效果偏好：停止水墨动画 */
@media (prefers-reduced-motion: reduce) {
    .ink-mist,
    .ink-blot,
    .ink-wave {
        animation: none;
    }
}

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

/* 导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(249, 248, 245, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink-900);
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-900);
    color: var(--paper);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
}

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

.logo-zh {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo-en {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--ink-500);
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 18px;
    color: var(--ink-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink-900);
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--cinnabar);
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink-800);
    transition: all 0.3s var(--ease-out);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--ink-900);
    color: var(--paper);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--ink-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--ink-800);
    border: 1px solid var(--ink-300);
}

.btn-outline:hover {
    border-color: var(--ink-800);
    background: rgba(0, 0, 0, 0.03);
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 160px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-out) 0.3s forwards;
}

.seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 32px;
    border: 2px solid var(--cinnabar);
    color: var(--cinnabar);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transform: rotate(-3deg);
    opacity: 0;
    animation: sealStamp 0.6s var(--ease-out) 0.8s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.06em;
    color: var(--ink-900);
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.title-line:last-child {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink-700);
    text-stroke: 1.5px var(--ink-700);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--ink-500);
    margin-bottom: 48px;
    line-height: 2;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--ink-400);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--ink-400), transparent);
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

.mountain-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    background: linear-gradient(to top, rgba(20,20,20,0.08), transparent);
    clip-path: polygon(
        0% 100%,
        0% 70%,
        12% 55%,
        25% 75%,
        38% 45%,
        52% 68%,
        65% 38%,
        78% 60%,
        90% 48%,
        100% 72%,
        100% 100%
    );
    z-index: 1;
    opacity: 0.7;
}

/* 数据流动横幅 */
.data-flow {
    background: var(--ink-900);
    color: var(--paper);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.flow-track {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: flowScroll 25s linear infinite;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--ink-300);
}

.flow-dot {
    width: 6px;
    height: 6px;
    background: var(--cinnabar);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 区块通用 */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    /* 性能优化：首屏以下区块延迟渲染，减少初始绘制时间 */
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* 首屏需要立即渲染，不应用延迟 */
.hero {
    content-visibility: visible;
}

/* 性能优化：限制重绘区域 */
.about-card,
.service-item,
.solution-card,
.stat-item {
    contain: layout style paint;
}

/* 性能优化：为常见位移动画元素声明 will-change，提示浏览器提前分层 */
.btn,
.about-card,
.solution-card,
.service-item,
.ink-blot {
    will-change: transform;
}

.section-sm {
    padding: 80px 0;
}

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

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cinnabar);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 16px;
    letter-spacing: 0.08em;
}

.section-header.light .section-title {
    color: var(--paper);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--ink-500);
    font-weight: 300;
}

.section-header.light .section-desc {
    color: var(--ink-300);
}

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

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

.about-card {
    padding: 48px 36px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ink-400), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--ink-300);
}

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

.about-card.featured {
    background: var(--ink-900);
    color: var(--paper);
    border-color: var(--ink-900);
}

.about-card.featured h3 {
    color: var(--paper);
}

.about-card.featured p {
    color: var(--ink-300);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    color: var(--ink-700);
}

.about-card.featured .card-icon {
    color: var(--paper);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--ink-900);
    letter-spacing: 0.05em;
}

.about-card p {
    color: var(--ink-500);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* 服务 */
.services {
    background: var(--ink-900);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.service-item {
    padding: 48px 36px;
    background: var(--ink-900);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--cinnabar);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.service-item h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--paper);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.service-item p {
    color: var(--ink-300);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.service-tags li {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink-300);
    font-size: 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 解决方案 */
.solutions {
    background: var(--paper-warm);
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--ink-200);
    transition: all 0.4s var(--ease-out);
}

.solution-card:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.solution-card.reverse {
    direction: rtl;
}

.solution-card.reverse > * {
    direction: ltr;
}

.solution-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.ink-blot {
    width: 180px;
    height: 180px;
    background: var(--ink-800);
    border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
    opacity: 0.85;
    filter: blur(1px);
    position: relative;
    transition: all 0.6s var(--ease-out);
}

.solution-card:nth-child(2) .ink-blot {
    background: var(--porcelain);
    border-radius: 45% 55% 70% 30% / 60% 30% 70% 40%;
}

.solution-card:nth-child(3) .ink-blot {
    background: var(--cinnabar);
    border-radius: 55% 45% 35% 65% / 40% 60% 40% 60%;
}

.solution-card:nth-child(4) .ink-blot {
    background: var(--ink-600);
    border-radius: 35% 65% 55% 45% / 55% 45% 65% 35%;
}

.solution-card:hover .ink-blot {
    transform: scale(1.08) rotate(5deg);
    filter: blur(0);
}

.ink-blot::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 40%;
    height: 40%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(8px);
}

.solution-content h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--ink-900);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.solution-content p {
    color: var(--ink-500);
    line-height: 1.9;
}

/* 统计 */
.stats {
    background: var(--ink-900);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 24px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--paper);
    line-height: 1;
    display: inline;
}

.stat-unit {
    display: inline;
    font-size: 1.2rem;
    color: var(--cinnabar);
    font-weight: 700;
    margin-left: 4px;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--ink-300);
}

/* 联系 */
.contact {
    background: linear-gradient(135deg, var(--ink-900) 0%, #1a1a1a 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-links {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--ink-200);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--paper);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cinnabar);
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

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

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    color: var(--ink-200);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--ink-500);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--cinnabar);
    background: rgba(255, 255, 255, 0.08);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

/* 页脚 */
.site-footer {
    background: var(--ink-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 0;
}

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

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--paper);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-domain {
    font-size: 0.8rem;
    color: var(--ink-400);
    letter-spacing: 0.1em;
}

.footer-copy {
    color: var(--ink-500);
    font-size: 0.85rem;
}

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

.footer-links a {
    color: var(--ink-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--paper);
}

/* 动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sealStamp {
    0% {
        opacity: 0;
        transform: rotate(-3deg) scale(2);
    }
    70% {
        transform: rotate(-3deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotate(-3deg) scale(1);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

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

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card,
    .solution-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .solution-card.reverse > * {
        direction: ltr;
    }
    
    .solution-visual {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(249, 248, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 8px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        gap: 1px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-card,
    .service-item,
    .solution-card {
        padding: 32px 24px;
    }
}
