/* ========================================
   圣淘沙客服中心 - 深度美化版样式表
   Sentosa Customer Service Center
   Premium UI / Glassmorphism / Centered
   ======================================== */

/* ---------- CSS变量定义 ---------- */
:root {
    /* 主色调 - 深蓝系 */
    --primary: #1a56db;
    --primary-dark: #0f3d99;
    --primary-darker: #0a2a6e;
    --primary-light: #eef4ff;
    --primary-lighter: #f5f8ff;
    --primary-gradient: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #60a5fa 100%);
    --primary-gradient-soft: linear-gradient(135deg, #eef4ff 0%, #f5f8ff 50%, #fff 100%);

    /* 辅助色 */
    --accent-gold: #d4a017;
    --accent-gold-light: #fef9e7;
    --accent-green: #059669;
    --accent-green-light: #ecfdf5;
    --accent-purple: #7c3aed;
    --accent-purple-light: #f5f3ff;
    --accent-orange: #ea580c;
    --accent-cyan: #0891b2;

    /* 中性色 */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --bg-body: #f1f5f9;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-soft: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* 布局 - 居中核心 */
    --site-max: 1100px;       /* 整个网站最大宽度，两侧留白 */
    --content-max: 900px;     /* 内容区域更窄 */
    --card-max: 1000px;       /* 卡片最大宽度 */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* 阴影系统 */
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --shadow-xl: 0 24px 60px rgba(0,0,0,.14);
    --shadow-glow: 0 0 40px rgba(26,86,219,.15);
    --shadow-primary: 0 8px 25px rgba(26,86,219,.3);

    /* 动画 */
    --transition: all .35s cubic-bezier(.4,0,.2,1);
    --transition-slow: all .6s cubic-bezier(.4,0,.2,1);
    --transition-bounce: all .5s cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 全局背景装饰 */
    background-image:
        radial-gradient(at 10% 0%, rgba(26,86,219,.03) 0%, transparent 50%),
        radial-gradient(at 90% 10%, rgba(59,130,246,.03) 0%, transparent 50%),
        radial-gradient(at 50% 100%, rgba(124,58,237,.02) 0%, transparent 50%);
    background-attachment: fixed;
}

/* ---------- 全局容器 - 居中核心 ---------- */
/* 整个网站内容居中，两侧留出空间 */
.site-wrapper {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.content-narrow {
    max-width: var(--content-max);
    margin: 0 auto;
}

/* ---------- 通用组件 ---------- */

/* 装饰标题 */
.section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: -.5px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 4px;
    margin-left: 28px;
}

.section-title.text-left {
    text-align: left;
    padding-bottom: 14px;
}

.section-title.text-left::before {
    left: 0;
    transform: none;
}

.section-title.text-left::after {
    left: 28px;
    margin-left: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 50px;
    margin-top: 10px;
    line-height: 1.7;
}

/* 按钮系统 */
.btn-primary, .btn-secondary, .btn-consult, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    letter-spacing: .5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26,86,219,.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-medium);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-consult {
    background: var(--primary-gradient);
    color: #fff;
    padding: 11px 26px;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(26,86,219,.25);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,86,219,.35);
}

/* ---------- 顶部公告栏 - 美化 ---------- */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: rgba(255,255,255,.8);
    font-size: .8rem;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26,86,219,.15), transparent);
    animation: shimmer 8s infinite;
}

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

.top-bar-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.top-bar-inner span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-inner strong {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ---------- 网站头部 - 玻璃拟态 ---------- */
.site-header {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226,232,240,.6);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo-area a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: block;
    box-shadow: 0 4px 12px rgba(26,86,219,.25);
    transition: var(--transition);
}

.logo-area a:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(26,86,219,.35);
}

.logo-text h1 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text small {
    font-size: .7rem;
    color: var(--text-light);
    letter-spacing .5px;
    text-transform: uppercase;
}

/* 导航 - 美化 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 9px 18px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

/* ---------- Hero区域 - 深度美化 ---------- */
.hero-section {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

/* 背景装饰 */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(26,86,219,.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-slow 6s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(124,58,237,.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-slow 8s ease-in-out infinite reverse;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: .7; }
}

/* 几何装饰 */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(26,86,219,.06);
    z-index: 0;
}

.hero-deco-1 {
    width: 200px;
    height: 200px;
    top: 80px;
    right: 50px;
    border-color: rgba(26,86,219,.08);
}

.hero-deco-2 {
    width: 120px;
    height: 120px;
    top: 200px;
    right: 180px;
    border-color: rgba(59,130,246,.1);
}

.hero-deco-3 {
    width: 80px;
    height: 80px;
    bottom: 100px;
    left: 60px;
    border-color: rgba(124,58,237,.08);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft .8s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(26,86,219,.15);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.hero-content h2 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-medium);
    font-size: 1.02rem;
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.8;
}

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

/* Hero右侧卡片装饰 */
.hero-cards {
    position: relative;
    height: 340px;
    animation: fadeInRight .8s ease-out;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 18px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    animation: float 3.5s ease-in-out infinite;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.floating-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.card-1 .card-icon {
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
}

.card-2 .card-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #fef9e7, #fef3c7);
}

.card-1 {
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 130px;
    right: 10px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 50px;
    left: 60px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------- 通用Section - 居中卡片化 ---------- */
.section-wrapper {
    padding: 70px 0;
    position: relative;
}

/* 服务卡片区域 */
.services-section {
    background: var(--bg-white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: var(--site-max);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--card-max);
    margin: 0 auto;
}

.service-card {
    background: var(--bg-soft);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26,86,219,.12);
    background: var(--bg-white);
}

.service-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-gradient);
}

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

.service-card p {
    color: var(--text-medium);
    font-size: .9rem;
    line-height: 1.75;
}

/* ---------- 公司简介 ---------- */
.about-section {
    background: var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
    max-width: var(--card-max);
    margin: 0 auto;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.9;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* 数据统计 - 美化 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 2px solid var(--border-light);
}

.stat-item {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26,86,219,.15);
}

.stat-number, .stat-plus {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: inline-block;
}

.stat-label {
    display: block;
    font-size: .78rem;
    color: var(--text-medium);
    margin-top: 8px;
    font-weight: 500;
}

/* 简介侧边卡片 */
.about-visual .visual-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.about-visual .visual-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .95rem;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.visual-item:last-child {
    border-bottom: none;
}

.visual-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.visual-item:nth-child(1) .visual-icon-wrap {
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
}

.visual-item:nth-child(2) .visual-icon-wrap {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.visual-item:nth-child(3) .visual-icon-wrap {
    background: linear-gradient(135deg, #fef9e7, #fef3c7);
}

.visual-item:nth-child(4) .visual-icon-wrap {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

/* ---------- 客服团队 ---------- */
.team-section {
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: var(--card-max);
    margin: 0 auto;
}

.team-card {
    background: var(--bg-soft);
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover::after {
    opacity: 1;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26,86,219,.15);
    background: var(--bg-white);
}

.team-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    background: var(--primary-gradient);
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 3px 12px;
    background: var(--primary-light);
    border-radius: 12px;
    display: inline-block;
}

.team-desc {
    color: var(--text-medium);
    font-size: .84rem;
    margin-bottom: 16px;
    line-height: 1.65;
}

.team-contact {
    font-size: .78rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

/* ---------- 客服名片 - 核心视觉 ---------- */
.card-section {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #e8f0fe 50%, var(--bg-soft) 100%);
    position: relative;
    overflow: hidden;
}

.card-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,86,219,.04) 0%, transparent 70%);
    border-radius: 50%;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--card-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.business-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 5px solid var(--primary);
    position: relative;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.business-card.tech-card {
    border-top-color: var(--accent-green);
}

.business-card.vip-card {
    border-top-color: var(--accent-gold);
}

/* 名片头部 */
.card-header {
    padding: 32px 28px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
}

.main-card .card-header {
    background: var(--primary-gradient);
}

.tech-card .card-header {
    background: linear-gradient(135deg, #059669, #10b981, #34d399);
}

.vip-card .card-header {
    background: linear-gradient(135deg, #d4a017, #f59e0b, #fbbf24);
}

.card-logo {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.card-company h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-company span {
    font-size: .75rem;
    opacity: .85;
    letter-spacing .5px;
}

/* 名片主体 */
.card-body {
    padding: 28px;
}

.card-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: .9rem;
    color: var(--text-medium);
    line-height: 1.5;
    cursor: pointer;
    transition: var(--transition);
}

.card-info-row:last-child {
    border-bottom: none;
}

.card-info-row:hover {
    padding-left: 8px;
    color: var(--primary);
}

.info-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.card-info-row:hover .info-icon-wrap {
    background: var(--primary);
    color: #fff;
}

.tech-card .info-icon-wrap {
    background: var(--accent-green-light);
}

.vip-card .info-icon-wrap {
    background: var(--accent-gold-light);
}

.card-info-row strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* 名片底部 */
.card-footer {
    padding: 16px 28px;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-card .card-footer {
    background: var(--primary-light);
    color: var(--primary);
}

.tech-card .card-footer {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.vip-card .card-footer {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

/* ---------- FAQ ---------- */
.faq-section {
    background: var(--bg-white);
}

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

.faq-item {
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
    border: 1.5px solid var(--border-light);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(26,86,219,.2);
    background: var(--bg-white);
}

.faq-item summary {
    padding: 20px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition);
}

.faq-item summary:hover {
    color: var(--primary);
    background: var(--primary-lighter);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    width: 22px;
    height: 22px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.faq-q {
    flex: 1;
}

.faq-a {
    padding: 0 28px 22px;
    color: var(--text-medium);
    font-size: .92rem;
    line-height: 1.85;
}

.faq-a strong {
    color: var(--primary);
}

/* ---------- 合作伙伴 ---------- */
.partner-section {
    background: var(--bg-soft);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: var(--card-max);
    margin: 0 auto;
}

.partner-item {
    background: var(--bg-white);
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    color: var(--text-medium);
    border: 1.5px solid var(--border-light);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.partner-item:hover {
    color: #fff;
    transform: scale(1.05) translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.partner-item span {
    position: relative;
    z-index: 1;
}

/* ---------- 网站底部 - 美化 ---------- */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255,255,255,.7);
    padding: 60px 0 24px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,86,219,.08) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

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

.footer-col li {
    margin-bottom: 10px;
    font-size: .87rem;
}

.footer-col a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ---------- 悬浮客服按钮 - 美化 ---------- */
.float-chat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.float-chat-btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 26px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(26,86,219,.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    position: relative;
}

.float-chat-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 54px;
    background: var(--primary-gradient);
    opacity: .3;
    z-index: -1;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: .3; }
    100% { transform: scale(1.4); opacity: 0; }
}

.float-chat-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(26,86,219,.5);
}

.float-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-green);
    color: #fff;
    font-size: .65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(.95); }
}

.float-chat-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 320px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: slideUp .3s ease;
    border: 1px solid var(--border-light);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: var(--primary-gradient);
    color: #fff;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-close {
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.chat-body {
    padding: 22px;
}

.chat-body p {
    font-size: .9rem;
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.6;
}

.chat-tip {
    font-size: .8rem !important;
    color: var(--primary) !important;
    background: var(--primary-light);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-weight: 500;
}

.chat-actions {
    padding: 0 22px 22px;
    display: flex;
    gap: 10px;
}

.chat-action {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1.5px solid var(--border-color);
    color: var(--text-medium);
}

.chat-action:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-dark);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ---------- 滚动进入动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

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

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
    :root {
        --site-max: 100%;
    }

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

    .hero-cards {
        display: none;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

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

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

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

    .business-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

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

@media (max-width: 768px) {
    html { font-size: 14px; }

    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .site-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .main-nav ul {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-content h2 {
        font-size: 1.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

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

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

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

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

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

    .float-chat-btn .float-text {
        display: none;
    }

    .float-chat-btn {
        padding: 14px;
        border-radius: 50%;
        font-size: 1.3rem;
    }

    .float-chat-panel {
        width: 290px;
        right: -8px;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .stat-number, .stat-plus {
        font-size: 1.6rem;
    }
}

/* ---------- 打印样式 ---------- */
@media print {
    .top-bar, .site-header, .float-chat, .back-to-top {
        display: none !important;
    }

    .business-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    body {
        background: #fff;
    }
}

/* ---------- 无障碍增强 ---------- */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
