/*
 * 沈阳数讯科技有限公司 — 官网样式
 * 企业级 B 端软件公司视觉规范
 */

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

:root {
    /* 品牌主色 — 青绿单色体系 */
    --primary: #0D7A82;
    --primary-hover: #0F8B95;
    --primary-active: #0B6B73;
    --primary-deep: #084147;
    --primary-50: #F2FAFB;
    --primary-100: #E0F4F6;
    --primary-200: #BCE5E9;

    /* 中性灰阶 */
    --ink-900: #0F1419;
    --ink-800: #1D2129;
    --ink-700: #2C313A;
    --ink-600: #4E5969;
    --ink-500: #86909C;
    --ink-400: #A9AEB8;
    --ink-300: #C9CDD4;
    --ink-200: #E5E6EB;
    --ink-100: #F2F3F5;
    --ink-50: #F7F8FA;

    /* Hero 深色 */
    --hero-bg: #0A1F2E;
    --hero-bg-2: #0E2A3E;

    --bg-white: #FFFFFF;
    --bg-soft: #FAFBFC;

    /* 阴影 — 克制 */
    --shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.06), 0 1px 2px rgba(15, 20, 25, 0.04);
    --shadow: 0 4px 12px rgba(15, 20, 25, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 20, 25, 0.10);

    /* 圆角 — 整体偏小,显得专业冷静 */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* 过渡 */
    --transition: all 0.2s ease;
    --transition-slow: all 0.35s cubic-bezier(0.34, 0.69, 0.1, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: var(--ink-800);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ========== 滚动入场 ========== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--ink-100);
    box-shadow: var(--shadow-xs);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.logo {
    height: 32px;
    width: auto;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink-900);
}

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

.nav-link {
    color: var(--ink-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 按钮 ==================== */
.btn {
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-primary:active {
    background: var(--primary-active);
    border-color: var(--primary-active);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
    font-weight: 600;
}

.btn-white:hover {
    background: var(--ink-50);
    border-color: var(--ink-50);
}

.btn-outline {
    background: transparent;
    color: var(--ink-700);
    border-color: var(--ink-200);
}

.btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
    height: 44px;
    padding: 12px 26px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ==================== Hero ==================== */
.hero {
    margin-top: 64px;
    padding: 96px 0 104px;
    background: var(--hero-bg);
    color: white;
    overflow: hidden;
    position: relative;
}

/* 极淡的几何点缀 — 不再用强光斑 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 80% 0%, rgba(13, 122, 130, 0.25), transparent 60%),
        radial-gradient(ellipse 600px 300px at 0% 100%, rgba(13, 122, 130, 0.15), transparent 60%);
    pointer-events: none;
}

/* 网格纹理 */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 80% at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at center, black 30%, transparent 80%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.hero-tagline::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(13, 122, 130, 0.25);
}

.hero-title {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.25));
}

/* ==================== Section header ==================== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 15px;
    color: var(--ink-500);
    line-height: 1.7;
}

/* ==================== 核心业务 ==================== */
.services {
    padding: 96px 0;
    background: var(--bg-white);
}

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

.service-card {
    padding: 36px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-200);
    transition: var(--transition-slow);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-md);
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    border-top: 1px solid var(--ink-100);
}

.service-features li {
    padding: 12px 0;
    color: var(--ink-700);
    font-size: 14px;
    border-bottom: 1px solid var(--ink-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230D7A82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

.tag {
    padding: 4px 10px;
    background: var(--primary-50);
    color: var(--primary);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

/* ==================== 服务优势 ==================== */
.features {
    padding: 96px 0;
    background: var(--bg-soft);
}

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

.feature-card {
    padding: 32px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-200);
    transition: var(--transition-slow);
    text-align: left;
}

.feature-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius);
    color: var(--primary);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink-900);
}

.feature-card p {
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.7;
}

/* ==================== 成功案例 ==================== */
.cases {
    padding: 96px 0;
    background: var(--bg-white);
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--bg-white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-200);
    transition: var(--transition-slow);
    overflow: hidden;
    position: relative;
}

.case-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 180px;
    max-height: 300px;
    overflow: hidden;
    background: var(--ink-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 122, 130, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.case-view-btn:hover {
    background: var(--ink-50);
}

.case-view-btn svg {
    width: 18px;
    height: 18px;
}

/* ========== 分页 ========== */
.cases-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 14px;
    background: var(--bg-white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 36px;
    height: 36px;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-ellipsis {
    padding: 0 6px;
    color: var(--ink-500);
}

/* ========== 案例弹窗 ========== */
.case-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}

.case-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.7);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    transition: transform 0.25s ease;
    z-index: 1;
}

.case-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(15, 20, 25, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
}

.modal-body {
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.modal-qr {
    text-align: center;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    min-width: 200px;
    border: 1px solid var(--ink-200);
}

.qr-label {
    font-size: 13px;
    color: var(--ink-600);
    margin-bottom: 14px;
    font-weight: 500;
}

.modal-qr .qr-image {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    border: 1px solid var(--ink-200);
    background: white;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 96px 0;
    background: var(--bg-soft);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 15px;
    color: var(--ink-600);
    line-height: 1.85;
    margin-bottom: 16px;
    text-align: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--ink-200);
}

.about-stat {
    text-align: center;
    padding: 16px 12px;
}

.about-stat-number {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.about-stat-label {
    font-size: 13px;
    color: var(--ink-500);
    letter-spacing: 0.02em;
}

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

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

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--ink-200);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.contact-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card .contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 18px;
}

.contact-card .contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink-900);
}

.contact-card p {
    color: var(--ink-600);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    word-break: break-all;
}

.contact-card-wechat p {
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}

/* 微信弹窗 */
.contact-wechat-qr-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

.contact-card-wechat:hover .contact-wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.contact-qr-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.contact-qr-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 200px;
    border: 1px solid var(--ink-200);
}

.contact-qr-image {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto 10px;
    border: 1px solid var(--ink-200);
    background: white;
}

.contact-qr-tip {
    margin: 0;
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 500;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #0F1419;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-section .brand-name {
    color: white;
}

.footer-section > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.75;
    max-width: 380px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    color: white;
    letter-spacing: 0.02em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: white;
}

/* footer 微信触发 */
.wechat-qr-wrapper {
    position: relative;
    display: inline-block;
}

.wechat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wechat-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
}

.wechat-trigger svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.wechat-trigger span {
    font-size: 13px;
    font-weight: 500;
}

.wechat-qr-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

.wechat-qr-wrapper:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.qr-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.qr-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 200px;
    border: 1px solid var(--ink-200);
}

.wechat-qr-image {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto 10px;
    border: 1px solid var(--ink-200);
    background: white;
}

.qr-tip {
    margin: 0;
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 1.7;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 28px; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-image { order: -1; }

    .hero-subtitle,
    .hero-actions,
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .stat-item { text-align: center; }

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

    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .case-image-wrapper { min-height: 150px; }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .modal-qr { justify-self: center; }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        transition: left 0.25s ease;
        box-shadow: var(--shadow);
        gap: 0;
        align-items: flex-start;
    }

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

    .nav-menu.active { left: 0; }

    .mobile-menu-toggle { display: flex; }
    .nav-actions { display: none; }

    .hero {
        padding: 64px 0 80px;
    }

    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { width: 100%; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-around;
    }

    .stat-number { font-size: 26px; }

    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }

    .services,
    .features,
    .cases,
    .about,
    .contact {
        padding: 64px 0;
    }

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .contact-card { padding: 24px 16px; }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 36px;
        padding-top: 36px;
    }

    .about-stat-number { font-size: 30px; }

    .footer { padding: 48px 0 24px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wechat-qr-popup,
    .contact-wechat-qr-popup {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(8px);
    }

    .wechat-qr-wrapper:hover .wechat-qr-popup,
    .contact-card-wechat:hover .contact-wechat-qr-popup {
        transform: translateX(0) translateY(0);
    }

    .qr-arrow,
    .contact-qr-arrow {
        left: auto;
        right: 24px;
        transform: none;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .case-image-wrapper { min-height: 130px; }

    .modal-body { padding: 24px; }

    .service-card { padding: 28px; }
    .section-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .cases-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@import url('./professional.css');
