/* ========== Variables ========== */
:root {
    --g1: #0066ff;
    --g2: #00d4aa;
    --g3: #4fc3f7;
    --dark: #0a0e27;
    --gray: #6b7280;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
    --radius: 14px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}
a, button, .btn, .case-tab, .chat-btn {
    touch-action: manipulation;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; font-weight: 700;
}
.logo-icon { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.logo-text {
    font-size: 20px; font-weight: 800; letter-spacing: 1px;
    color: var(--g1);
    -webkit-font-smoothing: antialiased;
}
.nav {
    display: flex; align-items: center; gap: 6px; list-style: none;
    margin: 0; padding: 0;
}
.nav li { margin: 0; padding: 0; }
.nav a {
    display: inline-flex; align-items: center; text-decoration: none;
    color: #475569; font-size: 15px; font-weight: 500;
    padding: 8px 18px; border-radius: 10px;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}
.nav a:hover {
    color: var(--g1);
    background: rgba(37, 99, 235, 0.06);
}
.nav a.active {
    color: var(--g1); font-weight: 600;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
}
.header-cta {
    background: linear-gradient(135deg, var(--g1), var(--g2)) !important;
    color: white !important; padding: 10px 26px !important;
    border-radius: 24px !important; font-weight: 600 !important;
    margin-left: 6px; box-shadow: 0 2px 12px rgba(0,102,255,0.25);
}
.header-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(0,102,255,0.4) !important;
}
.mobile-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px; border-radius: 8px; line-height: 1;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: rgba(0,102,255,0.06); }
/* Hamburger bars */
.hamburger-box { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hamburger-bar {
    display: block; width: 100%; height: 2px;
    background: #333; border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.mobile-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.mobile-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: linear-gradient(160deg, #0d47a1 0%, #1565c0 25%, #1976d2 50%, #0d47a1 100%);
    overflow: hidden;
    padding: 0 48px;
}
/* Animated gradient blobs */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: blobFloat 24s ease-in-out infinite;
}
.blob-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    top: -250px; right: -150px;
    animation-delay: 0s;
}
.blob-2 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(0,212,170,0.25) 0%, transparent 70%);
    bottom: -200px; left: -120px;
    animation-delay: -8s;
}
.blob-3 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,195,247,0.22) 0%, transparent 70%);
    top: 30%; right: 30%;
    animation-delay: -16s;
}
.blob-4 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(139,92,246,0.16) 0%, transparent 70%);
    top: 10%; left: 40%;
    animation-delay: -4s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(80px, -50px) scale(1.08) rotate(2deg); }
    50%  { transform: translate(-40px, 60px) scale(0.94) rotate(-1deg); }
    75%  { transform: translate(-60px, -40px) scale(1.04) rotate(1deg); }
}
/* Dot grid */
.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 44px 44px;
}
/* Right side visual */
.hero-visual {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}
/* Dashboard panel */
.hv-dashboard {
    width: 280px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: dashFloat 7s ease-in-out infinite;
}
@keyframes dashFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.hv-db-top {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
}
.hv-db-dots { display: flex; gap: 6px; }
.hv-db-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
}
.hv-db-dots span:nth-child(1) { background: #ff5f57; }
.hv-db-dots span:nth-child(2) { background: #febc2e; }
.hv-db-dots span:nth-child(3) { background: #28c840; }
.hv-db-url {
    font-size: 10px; color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    padding: 3px 10px; border-radius: 4px; flex: 1;
}
.hv-db-chart {
    margin-bottom: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px;
}
.hv-chart-svg { width: 100%; height: auto; display: block; }
.hv-db-stats {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.hv-db-stats div {
    background: rgba(255,255,255,0.08);
    border-radius: 10px; padding: 10px 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}
.hv-db-stats strong {
    display: block; font-size: 16px; font-weight: 700;
    color: white; margin-bottom: 2px;
}
.hv-db-stats small {
    font-size: 10px; color: rgba(255,255,255,0.4);
}
/* Floating satisfaction card */
.hv-card {
    position: absolute;
    bottom: -30px; left: -50px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: -3s;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
.hvc-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
}
.hvc-icon svg {
    width: 100%; height: 100%;
    --hvcGrad: url(#hvcGrad);
}
.hvc-label {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.8);
}

/* Hero content */
.hero-content {
    position: relative; z-index: 3;
    max-width: 520px;
    flex-shrink: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: rgba(255,255,255,0.95);
    font-size: 14px; font-weight: 500;
    margin-bottom: 36px;
    animation: fadeInDown 0.6s ease;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--g2);
    box-shadow: 0 0 10px rgba(0,212,170,0.7);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}
.hero h1 {
    font-size: 60px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.15s both;
    letter-spacing: -1px;
}
.hero h1 .highlight {
    position: relative;
    background: linear-gradient(110deg, #4fc3f7 0%, #00d4aa 35%, #34d399 55%, #4fc3f7 75%, #00d4aa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 44px;
    animation: fadeInUp 0.6s ease 0.3s both;
    line-height: 2;
}
.hero-buttons {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.45s both;
    margin-bottom: 40px;
}
.hero-trust {
    display: flex; align-items: center; gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.55s both;
}
.trust-avatars { display: flex; }
.ta {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    border: 2px solid rgba(9,20,40,0.9);
    margin-right: -8px;
    opacity: 0.85;
}
.ta.t2 { background: linear-gradient(135deg, #f97316, #f59e0b); }
.ta.t3 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.ta.t4 {
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    color: rgba(255,255,255,0.5);
}
.hero-trust > span {
    color: rgba(255,255,255,0.45); font-size: 15px;
}
.hero-trust strong { color: rgba(255,255,255,0.8); font-weight: 700; }
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    animation: bounce 2s infinite;
}
.hero-scroll span {
    display: block; width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px; position: relative;
}
.hero-scroll span::after {
    content: ''; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--g2); border-radius: 2px;
    animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rippleEffect {
    to { transform: scale(4); opacity: 0; }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 38px; border-radius: 32px;
    font-size: 16px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--g1), var(--g2));
    color: white;
    box-shadow: 0 4px 28px rgba(0,102,255,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(0,102,255,0.5);
}
.btn-outline {
    background: rgba(255,255,255,0.05);
    color: white; border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
.btn {
    position: relative;
    overflow: hidden;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

/* ========== Section Common ========== */
.section { padding: 110px 24px; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,212,170,0.06));
    color: var(--g1);
    border-radius: 20px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border: 1px solid rgba(0,102,255,0.08);
}
.section-title {
    font-size: 42px; font-weight: 700;
    color: var(--dark); margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 17px; color: #94a3b8;
    max-width: 560px; margin: 0 auto;
    line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ========== Services ========== */
.services {
    background: linear-gradient(180deg, #f0f4ff 0%, #f8faff 30%, #f0f7ff 60%, #eef4ff 100%);
    position: relative; overflow: hidden;
}
.services::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,102,255,0.03) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0,212,170,0.04) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(79,195,247,0.02) 0%, transparent 70%);
    pointer-events: none;
}
.services::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(0,102,255,0.04) 0.5px, transparent 0.5px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
    pointer-events: none;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative; z-index: 1;
}
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 34px;
    text-align: left;
    border: 1px solid #eef2f8;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.02);
}
/* Bottom accent bar for each card */
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 4px; border-radius: 3px 3px 0 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
.service-card:nth-child(1)::before { background: linear-gradient(90deg, var(--g1), var(--g2)); }
.service-card:nth-child(2)::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, #8b5cf6, #6366f1); }
.service-card:nth-child(5)::before { background: linear-gradient(90deg, #06b6d4, #38bdf8); }
.service-card:nth-child(6)::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.service-card:nth-child(7)::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.service-card:nth-child(8)::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.service-card:nth-child(9)::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
/* Card glow accent on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0; border-radius: 20px;
    background: transparent;
    transition: box-shadow 0.45s ease;
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; width: 60%; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08), 0 4px 12px rgba(0,102,255,0.06);
    border-color: rgba(0,102,255,0.12);
}
.service-icon {
    width: 64px; height: 64px;
    margin-bottom: 22px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; z-index: 2;
}
.service-icon::after {
    content: '';
    position: absolute; inset: -4px; border-radius: 22px;
    background: inherit;
    filter: blur(12px); opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}
.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #e8f0ff, #dbeafe); color: var(--g1); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0891b2; }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #fff7ed, #fed7aa); color: #ea580c; }
.service-card:nth-child(7) .service-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.service-card:nth-child(8) .service-icon { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0f766e; }
.service-card:nth-child(9) .service-icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(0,102,255,0.15);
}
.service-card:hover .service-icon::after { opacity: 0.5; }
.service-card h3 {
    font-size: 19px; font-weight: 700;
    margin-bottom: 8px; color: #111827;
    position: relative; z-index: 2;
}
.service-card p {
    font-size: 14.5px; color: #8899aa;
    line-height: 1.75; margin-bottom: 18px;
    position: relative; z-index: 2;
}
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--g1); font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.25s ease;
    position: relative; z-index: 2;
}
.service-link i { transition: transform 0.25s ease; font-size: 12px; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ========== Cases ========== */
.cases {
    background: linear-gradient(180deg, #f8faff 0%, #eef4ff 25%, #f0f5ff 55%, #edf2fc 100%);
    padding-top: 90px; padding-bottom: 90px;
    position: relative; overflow: hidden;
}
/* Subtle bg decoration */
.cases::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.cases::after {
    content: '';
    position: absolute; bottom: -150px; left: -150px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Tab bar */
.case-tabs {
    display: flex; justify-content: center; gap: 4px;
    margin-bottom: 52px; flex-wrap: wrap;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px; border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(0,102,255,0.06);
    max-width: fit-content; margin-left: auto; margin-right: auto;
    position: relative; z-index: 1;
}
.case-tab {
    padding: 11px 25px; border-radius: 14px; border: none;
    background: transparent; color: #64748b;
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; letter-spacing: 0.3px;
}
.case-tab:hover {
    color: var(--g1); background: rgba(0,102,255,0.05);
}
.case-tab.active {
    background: linear-gradient(135deg, var(--g1), #3b7aff);
    color: white;
    box-shadow: 0 6px 20px rgba(0,102,255,0.35), 0 2px 8px rgba(0,212,170,0.2);
    font-weight: 600;
}

/* Card grid */
.case-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    position: relative; z-index: 1;
}
.case-card {
    border-radius: 22px; overflow: hidden; background: white;
    border: 1px solid #eef2f8;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    animation: caseFadeIn 0.6s ease both;
}
.case-card:nth-child(1) { animation-delay: 0.05s; }
.case-card:nth-child(2) { animation-delay: 0.12s; }
.case-card:nth-child(3) { animation-delay: 0.19s; }
.case-card:nth-child(4) { animation-delay: 0.26s; }
.case-card:nth-child(5) { animation-delay: 0.33s; }
.case-card:nth-child(6) { animation-delay: 0.4s; }

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

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(0,102,255,0.1), 0 6px 20px rgba(0,0,0,0.06);
    border-color: rgba(0,102,255,0.16);
}

/* Thumbnail area */
.case-thumb {
    position: relative; overflow: hidden; cursor: pointer;
}

/* Browser top bar */
.case-browser-bar {
    height: 36px; background: #f1f3f7;
    display: flex; align-items: center; padding: 0 14px; gap: 7px;
    position: relative; z-index: 2;
}
.cb-dot { width: 10px; height: 10px; border-radius: 50%; background: #d4d8df; }
.cb-dot:nth-child(1) { background: #ff5f57; }
.cb-dot:nth-child(2) { background: #febc2e; }
.cb-dot:nth-child(3) { background: #28c840; }
.cb-url {
    margin-left: 10px; font-size: 10.5px; color: #8b95a1;
    background: #e9ecf1; padding: 4px 12px; border-radius: 5px; flex: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    letter-spacing: -0.2px;
}

/* ===== Case Preview (Gradient + Shapes) ===== */
.case-preview {
    height: 220px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover .case-preview {
    transform: scale(1.04);
}

/* Dots pattern overlay */
.cp-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Floating shapes */
.cp-shape {
    position: absolute; border-radius: 50%;
    filter: blur(20px);
    animation: shapeFloat 8s ease-in-out infinite;
}
.cp-shape-1 { width: 160px; height: 160px; top: -40px; right: -30px; animation-delay: 0s; }
.cp-shape-2 { width: 120px; height: 120px; bottom: -30px; left: -20px; animation-delay: -4s; }
.cp-shape-3 { width: 80px; height: 80px; top: 50%; right: 20%; animation-delay: -6s; }

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(12px, -10px) scale(1.1); }
    50%  { transform: translate(-8px, 12px) scale(0.95); }
    75%  { transform: translate(-12px, -6px) scale(1.05); }
}

/* Center icon */
.cp-icon-wrap {
    position: relative; z-index: 2;
    width: 72px; height: 72px; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s ease;
}
.case-card:hover .cp-icon-wrap {
    transform: scale(1.12) rotate(-3deg);
    background: rgba(255,255,255,0.3);
}

/* ---- Per-case color themes ---- */
.cp-website {
    background: linear-gradient(160deg, #0066ff 0%, #1e5ce6 25%, #3b82f6 55%, #2563eb 100%);
}
.cp-website .cp-shape-1 { background: rgba(255,255,255,0.16); }
.cp-website .cp-shape-2 { background: rgba(0,212,170,0.28); }
.cp-website .cp-shape-3 { background: rgba(79,195,247,0.22); }

.cp-shop {
    background: linear-gradient(160deg, #ec4899 0%, #db2777 25%, #e85d9e 55%, #be185d 100%);
}
.cp-shop .cp-shape-1 { background: rgba(244,114,182,0.32); }
.cp-shop .cp-shape-2 { background: rgba(255,255,255,0.14); }
.cp-shop .cp-shape-3 { background: rgba(251,207,232,0.24); }

.cp-mini {
    background: linear-gradient(160deg, #f97316 0%, #ea580c 25%, #fb923c 55%, #c2410c 100%);
}
.cp-mini .cp-shape-1 { background: rgba(253,186,116,0.28); }
.cp-mini .cp-shape-2 { background: rgba(255,255,255,0.12); }
.cp-mini .cp-shape-3 { background: rgba(251,191,36,0.2); }

.cp-h5 {
    background: linear-gradient(160deg, #7c3aed 0%, #6d28d9 25%, #8b5cf6 55%, #5b21b6 100%);
}
.cp-h5 .cp-shape-1 { background: rgba(167,139,250,0.28); }
.cp-h5 .cp-shape-2 { background: rgba(255,255,255,0.12); }
.cp-h5 .cp-shape-3 { background: rgba(196,181,253,0.2); }

.cp-game {
    background: linear-gradient(160deg, #1e1b4b 0%, #23206a 25%, #3730a3 55%, #4338ca 100%);
}
.cp-game .cp-shape-1 { background: rgba(245,158,11,0.22); }
.cp-game .cp-shape-2 { background: rgba(236,72,153,0.18); }
.cp-game .cp-shape-3 { background: rgba(52,211,153,0.18); }

/* Star particles for game case */
.cp-game-particle {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.7);
    animation: particleFloat 3s ease-in-out infinite;
}
.cp-game-particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 15%; animation-delay: 0s; }
.cp-game-particle:nth-child(2) { width: 3px; height: 3px; top: 30%; right: 20%; animation-delay: -1s; }
.cp-game-particle:nth-child(3) { width: 5px; height: 5px; bottom: 25%; left: 30%; animation-delay: -2s; }
.cp-game-particle:nth-child(4) { width: 3px; height: 3px; top: 60%; right: 25%; animation-delay: -1.5s; }
.cp-game-particle:nth-child(5) { width: 4px; height: 4px; bottom: 35%; right: 40%; animation-delay: -0.5s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-8px); }
}

.cp-edu {
    background: linear-gradient(160deg, #059669 0%, #047857 25%, #10b981 55%, #065f46 100%);
}
.cp-edu .cp-shape-1 { background: rgba(52,211,153,0.28); }
.cp-edu .cp-shape-2 { background: rgba(255,255,255,0.12); }
.cp-edu .cp-shape-3 { background: rgba(110,231,183,0.2); }

/* ---- Phone frame cases (mini / h5) ---- */
.case-phone-frame {
    height: 220px; display: flex; align-items: center; justify-content: center;
    position: relative;
}
.case-phone-frame .cp-phone {
    width: 132px; height: 190px; border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0,0,0,0.22), 0 0 0 2px rgba(0,0,0,0.06);
    position: relative; z-index: 2;
}
.case-phone-frame .cp-phone .case-preview {
    height: 100%; width: 100%;
}

/* Hover overlay */
.case-hover {
    position: absolute; inset: 0; z-index: 10;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    opacity: 0; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.case-card:hover .case-hover { opacity: 1; }

.case-btn-preview {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 28px;
    background: white; color: #1a1a2e;
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    letter-spacing: 0.3px;
}
.case-btn-preview:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 32px rgba(0,0,0,0.25);
    background: #f8faff;
}
.case-btn-preview i { font-size: 15px; }

.case-hover-label {
    color: rgba(255,255,255,0.8); font-size: 12px;
    font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
    opacity: 0; transform: translateY(8px);
    transition: all 0.35s ease 0.08s;
}
.case-card:hover .case-hover-label {
    opacity: 1; transform: translateY(0);
}

/* Meta area */
.case-meta { padding: 22px 22px 24px; position: relative; }
.case-cat {
    display: inline-block; padding: 5px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: rgba(0,102,255,0.06);
    color: var(--g1);
    transition: all 0.3s ease;
}
.case-card:nth-child(2) .case-cat { background: rgba(236,72,153,0.08); color: #db2777; }
.case-card:nth-child(3) .case-cat { background: rgba(249,115,22,0.08); color: #ea580c; }
.case-card:nth-child(4) .case-cat { background: rgba(124,58,237,0.08); color: #7c3aed; }
.case-card:nth-child(5) .case-cat { background: rgba(67,56,202,0.08); color: #4338ca; }
.case-card:nth-child(6) .case-cat { background: rgba(5,150,105,0.08); color: #047857; }

.case-meta h4 {
    font-size: 18px; color: #111827; margin-bottom: 7px; font-weight: 700;
    letter-spacing: 0.2px;
}
.case-meta p {
    font-size: 13.5px; color: #8899aa; line-height: 1.6; margin: 0;
}

/* Meta tag row */
.case-tags {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.case-tag {
    font-size: 11px; padding: 3px 10px; border-radius: 6px;
    background: #f1f5f9; color: #64748b;
    font-weight: 500; letter-spacing: 0.3px;
    transition: all 0.2s ease;
}
.case-card:hover .case-tag {
    background: #eef2ff; color: #4f5cf7;
}

/* ========== Why Us ========== */
.why-us-section {
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2ff 30%, #f0f4ff 60%, #f8fafc 100%);
    position: relative; overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0,102,255,0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0,212,170,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.why-us-section::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(99,102,241,0.03) 0.5px, transparent 0.5px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 15%, transparent 70%);
    pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; z-index: 1; }
.why-card {
    text-align: center; padding: 56px 42px;
    border-radius: 24px; background: var(--white);
    border: 1px solid #eef2f8;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
/* Subtle top-left corner glow */
.why-card::before {
    content: '';
    position: absolute; top: -60px; left: -60px;
    width: 160px; height: 160px; border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.why-card:nth-child(1)::before { background: radial-gradient(circle, rgba(67,160,71,0.1) 0%, transparent 70%); }
.why-card:nth-child(2)::before { background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, transparent 70%); }
.why-card:nth-child(3)::before { background: radial-gradient(circle, rgba(255,109,0,0.1) 0%, transparent 70%); }
/* Bottom gradient bar */
.why-card::after {
    content: ''; position: absolute; bottom: 0; left: 20%; right: 20%;
    height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, var(--g1), var(--g2));
    transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.08), 0 4px 16px rgba(0,102,255,0.06);
    border-color: rgba(0,102,255,0.12);
}
.why-icon {
    width: 88px; height: 88px; margin: 0 auto 28px;
    border-radius: 24px; display: flex; align-items: center; justify-content: center;
    font-size: 38px; transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; z-index: 2;
}
.why-icon::after {
    content: '';
    position: absolute; inset: -6px; border-radius: 30px;
    background: inherit;
    filter: blur(14px); opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}
.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #43a047; }
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: var(--g1); }
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #ff6d00; }
.why-card:hover .why-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 28px rgba(0,102,255,0.12);
}
.why-card:hover .why-icon::after { opacity: 0.4; }
.why-card h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 14px; position: relative; z-index: 2; }
.why-card p { color: #8899aa; font-size: 15px; line-height: 1.85; position: relative; z-index: 2; }

/* ========== About ========== */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 40%, #f3f6ff 100%);
    position: relative; overflow: hidden;
}
.about::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.about::after {
    content: '';
    position: absolute; bottom: -100px; left: -100px;
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-stat {
    background: var(--white);
    border-radius: 24px; padding: 40px 30px; text-align: center;
    border: 1px solid #eef2f8;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
/* Subtle inner gradient shine */
.about-stat::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g1), var(--g2));
    opacity: 0; transition: opacity 0.4s ease;
}
/* Corner accent */
.about-stat::after {
    content: '';
    position: absolute; top: 12px; right: 12px;
    width: 48px; height: 48px; border-radius: 50%;
    opacity: 0.06; transition: all 0.4s ease;
    pointer-events: none;
}
.about-stat:nth-child(1)::after { background: var(--g1); }
.about-stat:nth-child(2)::after { background: var(--g2); }
.about-stat:nth-child(3)::after { background: #8b5cf6; }
.about-stat:nth-child(4)::after { background: #f59e0b; }
.about-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.08), 0 4px 12px rgba(0,102,255,0.05);
    border-color: rgba(0,102,255,0.1);
}
.about-stat:hover::before { opacity: 1; }
.about-stat:hover::after { opacity: 0.12; transform: scale(1.4); }
.about-stat .num {
    font-size: 46px; font-weight: 800;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    position: relative; z-index: 1;
}
.about-stat .label { font-size: 15px; color: #8899aa; font-weight: 500; position: relative; z-index: 1; }
.about-text h2 {
    font-family: 'SimHei', 'PingFang SC', 'Microsoft YaHei', '黑体', sans-serif;
    font-size: 30px; font-weight: 900;
    background: linear-gradient(135deg, #0b3d82 0%, #0066ff 40%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
    letter-spacing: 3px;
    line-height: 1.5;
    position: relative;
    padding-bottom: 20px;
}
.about-text h2::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--g1), var(--g2));
}
.about-text p { color: #6b7280; font-size: 16px; line-height: 2; margin-bottom: 24px; }
.about-features { list-style: none; margin-top: 34px; }
.about-features li {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 0; color: #555; font-size: 15px;
    transition: all 0.25s ease;
}
.about-features li:hover {
    color: #111827;
    transform: translateX(4px);
}
.about-features li i { color: var(--g2); font-size: 22px; flex-shrink: 0; }

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(160deg, #0b3d82 0%, #1250a8 30%, #1a6dd4 100%);
    text-align: center; padding: 100px 24px;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    top: -250px; right: -150px;
}
.cta-section::after {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.16), transparent 70%);
    bottom: -200px; left: -100px;
}
.cta-section h2 {
    font-size: 40px; color: white; margin-bottom: 18px;
    position: relative; z-index: 1; font-weight: 700;
}
.cta-section .container > p {
    color: #ffffff; font-size: 18px;
    margin-bottom: 40px; position: relative; z-index: 1;
}
.cta-info {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
    margin-bottom: 40px; position: relative; z-index: 1;
}
.cta-item {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.75); font-size: 15px;
}
.cta-item i { font-size: 22px; color: var(--g2); }
.cta-section .btn-primary {
    font-size: 18px; padding: 18px 56px;
    position: relative; z-index: 1;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(175deg, #0a2d5c 0%, #0c3668 20%, #0e3f75 40%, #0f457e 60%, #0e3a6e 80%, #0b2b56 100%);
    color: rgba(255,255,255,0.85);
    padding: 72px 24px 36px;
    position: relative; overflow: hidden;
}
/* Subtle geometric background pattern */
.footer::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(0,212,170,0.07) 0%, transparent 50%),
        radial-gradient(circle at 75% 80%, rgba(0,102,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}
/* Top gradient accent bar */
.footer::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 50%, #00e5ff 100%);
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 56px;
    position: relative; z-index: 1;
}
.footer h4 {
    color: #ffffff; font-size: 18px; margin-bottom: 24px; font-weight: 700;
    letter-spacing: 1.5px;
    position: relative; padding-bottom: 14px;
    text-transform: uppercase;
}
.footer h4::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 28px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--g2), var(--g1));
}
.footer-about p {
    font-size: 15px; line-height: 2; margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 13px; }
.footer-links a {
    color: rgba(255,255,255,0.62); text-decoration: none; font-size: 14px;
    transition: all 0.3s ease; position: relative;
    display: inline-block;
}
.footer-links a::before {
    content: '›';
    margin-right: 6px; opacity: 0; transform: translateX(-8px);
    display: inline-block; transition: all 0.3s ease;
    color: var(--g2);
}
.footer-links a:hover {
    color: #ffffff; padding-left: 0;
}
.footer-links a:hover::before {
    opacity: 1; transform: translateX(0);
}
.footer-contact p {
    display: flex; align-items: flex-start; gap: 12px; font-size: 14px;
    margin-bottom: 16px; color: rgba(255,255,255,0.7); line-height: 1.8;
    transition: color 0.3s ease;
}
.footer-contact p:hover { color: #ffffff; }
.footer-contact i {
    color: var(--g2); margin-top: 2px; font-size: 18px;
    min-width: 20px; text-align: center;
}
.footer-bottom {
    max-width: 1200px; margin: 48px auto 0; padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
    position: relative; z-index: 1;
    letter-spacing: 0.5px;
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 999;
    opacity: 0; transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,102,255,0.4);
    border: none; font-size: 22px;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,102,255,0.55); }

/* ========== Chat Float ========== */
/* ================================================================
   Chat Float — 右侧悬浮联系
   ================================================================ */
.chat-float {
    position: fixed; bottom: 90px; right: 24px; z-index: 998;
    display: flex; flex-direction: column; gap: 12px;
}
.chat-btn {
    height: 50px; width: 50px; border-radius: 25px;
    display: flex; align-items: center; justify-content: center; gap: 0;
    font-size: 22px; cursor: pointer; position: relative;
    text-decoration: none; user-select: none; overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                gap 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-btn:hover { transform: translateY(-2px); }
.chat-btn:active { transform: scale(0.93); }

/* 隐藏文字标签 */
.chat-btn-label {
    max-width: 0; overflow: hidden; opacity: 0;
    font-size: 14px; font-weight: 600;
    transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
}
.chat-btn:hover .chat-btn-label { max-width: 200px; opacity: 1; }

/* — 在线客服 — */
.chat-service {
    background: linear-gradient(135deg, #0066ff, #00b894);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,102,255,0.35);
    animation: floatPulse 3s ease-in-out infinite;
}
.chat-service:hover { width: 180px; border-radius: 25px; padding: 0 18px; gap: 10px; box-shadow: 0 8px 28px rgba(0,102,255,0.50); animation: none; }

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,102,255,0.35); }
    50% { box-shadow: 0 6px 24px rgba(0,102,255,0.50); }
}

/* 在线红点 */
.chat-service .online-dot {
    position: absolute; top: 3px; right: 3px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #ff3b30;
    border: 2px solid #fff;
    animation: dotPulse 1.6s ease-in-out infinite;
}
.chat-service .online-dot::after {
    content: '';
    position: absolute; inset: -3px; border-radius: 50%;
    background: rgba(255,59,48,0.3);
    animation: dotRipple 1.6s ease-out infinite;
}
.chat-service:hover .online-dot { top: 5px; right: 14px; }
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
@keyframes dotRipple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* — 电话 — */
.chat-phone {
    background: linear-gradient(135deg, #1a56db, #004ecb);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,86,219,0.3);
}
.chat-phone:hover { width: 168px; border-radius: 25px; padding: 0 18px; gap: 10px; box-shadow: 0 8px 26px rgba(26,86,219,0.45); }


/* ========== Responsive ========== */

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .services-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { flex-direction: column; gap: 32px; padding: 120px 32px 80px; }
    .hero-visual { margin-bottom: 8px; }
    .hero-visual .hv-dashboard { width: 260px; }
    .hero-visual .hv-card { left: -30px; bottom: -20px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .back-to-top { right: 18px; bottom: 140px; }
}

/* Phone (≤768px) */
@media (max-width: 768px) {
    /* Header */
    .header-inner { height: 56px; padding: 0 16px; }
    .logo-text { font-size: 18px; }
    .logo-icon { width: 34px; height: 34px; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
    nav { display: contents; }
    .nav {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 56px; left: 0; right: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,255,0.99) 100%);
        backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
        padding: 8px 16px 20px;
        border-bottom: 1px solid rgba(0,102,255,0.08);
        box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.04);
        max-height: calc(100vh - 56px); overflow-y: auto;
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav a {
        display: flex; align-items: center; gap: 12px;
        padding: 15px 18px; border-radius: 14px; font-size: 16px;
        font-weight: 500; color: #374151;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
    }
    .nav a:hover, .nav a:active { color: var(--g1); background: rgba(0,102,255,0.05); border-left-color: var(--g1); }
    .nav a.active { color: var(--g1); font-weight: 700; background: rgba(0,102,255,0.06); border-left-color: var(--g1); }
    .nav .header-cta {
        margin: 8px 0 0; text-align: center; border-radius: 14px !important;
        padding: 16px !important; font-size: 16px !important;
        box-shadow: 0 4px 16px rgba(0,102,255,0.3) !important;
        border: none !important; justify-content: center;
    }

    /* ===== Hero (Mobile) ===== */
    .hero {
        min-height: auto; padding: 96px 20px 56px;
        gap: 28px; text-align: center;
    }
    .hero-content { order: 2; }
    .hero-visual { order: 1; margin-bottom: 0; }
    .hero-badge { font-size: 12px; padding: 6px 16px; border-radius: 22px; }
    .hero h1 { font-size: 30px; line-height: 1.35; letter-spacing: -0.5px; }
    .hero h1 br { display: none; }
    .hero h1 .highlight { display: block; font-size: 34px; margin-top: 2px; }
    .hero p { font-size: 14px; margin-bottom: 28px; line-height: 1.7; color: rgba(255,255,255,0.78); }
    .hero p br { display: none; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
    .hero-buttons .btn {
        width: 100%; justify-content: center;
        padding: 15px 24px; font-size: 15px; border-radius: 28px;
    }
    .hero-buttons .btn-outline { border-color: rgba(255,255,255,0.35); color: white; }
    .hero-trust { justify-content: center; gap: 12px; flex-wrap: wrap; }
    .hero-trust span { font-size: 13px; }
    .hero-visual .hv-dashboard { width: 220px; margin: 0 auto; }
    .hero-visual .hv-db-stats { gap: 6px; }
    .hero-visual .hv-db-stats div { padding: 6px 10px; border-radius: 10px; }
    .hero-visual .hv-db-stats strong { font-size: 14px; }
    .hero-visual .hv-db-stats small { font-size: 10px; }
    .hero-visual .hv-card { display: none; }
    .hero-scroll { display: none; }
    /* Blobs adjust */
    .hero-blob.blob-1 { width: 260px; height: 260px; }
    .hero-blob.blob-2 { width: 200px; height: 200px; }

    /* ===== Sections (Mobile) ===== */
    .section { padding: 52px 20px; }
    .section-header { margin-bottom: 32px; }
    .section-tag { font-size: 12px; padding: 5px 14px; letter-spacing: 1px; }
    .section-title { font-size: 28px; line-height: 1.35; letter-spacing: -0.3px; }
    .section-subtitle { font-size: 14px; line-height: 1.7; margin-top: 10px; }

    /* ===== Services (Mobile) ===== */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card {
        display: flex; flex-direction: row; align-items: flex-start; gap: 16px;
        padding: 22px 18px; border-radius: 18px;
        text-align: left; flex-wrap: wrap;
    }
    .service-card .service-icon {
        width: 48px; height: 48px; min-width: 48px; border-radius: 14px;
        margin-bottom: 0; flex-shrink: 0;
    }
    .service-card .service-icon i { font-size: 22px; }
    .service-card h3 {
        flex: 1; min-width: calc(100% - 70px);
        font-size: 16px; margin-bottom: 2px; padding-top: 4px;
    }
    .service-card p {
        width: 100%; margin-top: 4px;
        font-size: 13px; line-height: 1.6;
        -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
    }
    .service-card .service-link { font-size: 13px; margin-top: 6px; }

    /* ===== Cases (Mobile) ===== */
    .cases { padding: 56px 20px; }
    .case-tabs {
        gap: 4px; flex-wrap: nowrap; overflow-x: auto;
        padding: 5px; background: rgba(255,255,255,0.8); border-radius: 16px;
        box-shadow: 0 1px 8px rgba(0,0,0,0.05);
        margin-bottom: 32px; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        max-width: 100%; justify-content: flex-start;
        margin-left: 0; margin-right: 0;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .case-tabs::-webkit-scrollbar { display: none; }
    .case-tab {
        font-size: 13px; padding: 10px 20px; white-space: nowrap;
        flex-shrink: 0; border-radius: 12px; scroll-snap-align: start;
    }
    .case-grid { grid-template-columns: 1fr; gap: 18px; }
    .case-card { border-radius: 18px; }
    .case-preview { height: 200px; }
    .case-browser-bar { height: 30px; padding: 0 12px; gap: 5px; }
    .cb-dot { width: 8px; height: 8px; }
    .cb-url { font-size: 10px; padding: 3px 8px; }
    .case-phone-frame { height: 200px; }
    .case-phone-frame .cp-phone { width: 120px; height: 174px; border-radius: 18px; }
    .cp-icon-wrap { width: 60px; height: 60px; border-radius: 16px; font-size: 28px; }
    .cp-shape-1 { width: 120px; height: 120px; }
    .cp-shape-2 { width: 90px; height: 90px; }
    .cp-shape-3 { width: 60px; height: 60px; }
    .case-hover {
        opacity: 0; background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    }
    .case-hover-label { opacity: 0; transform: translateY(8px); }
    .case-card:active .case-hover { opacity: 1; }
    .case-card:active .case-hover-label { opacity: 1; transform: translateY(0); color: rgba(255,255,255,0.7); }
    .case-card:active .cp-icon-wrap { transform: scale(1.08) rotate(-2deg); }
    .case-btn-preview { padding: 11px 24px; font-size: 14px; }
    .case-meta { padding: 18px 18px 20px; }
    .case-meta h4 { font-size: 17px; }
    .case-meta p { font-size: 13px; }
    .case-tags { gap: 6px; margin-top: 10px; }
    .case-tag { font-size: 11px; padding: 3px 9px; }

    /* ===== Why Us (Mobile) ===== */
    .why-grid { grid-template-columns: 1fr; gap: 16px; }
    .why-card {
        padding: 28px 24px; border-radius: 20px;
        display: flex; flex-direction: row; align-items: flex-start; gap: 18px;
        text-align: left;
    }
    .why-card .why-icon {
        width: 52px; height: 52px; min-width: 52px; border-radius: 16px;
        margin-bottom: 0; flex-shrink: 0;
    }
    .why-card .why-icon i { font-size: 24px; }
    .why-card h3 { font-size: 17px; margin-bottom: 4px; }
    .why-card p { font-size: 13.5px; line-height: 1.65; }

    /* ===== About (Mobile) ===== */
    .about-grid { gap: 32px; }
    .about-visual {
        display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    }
    .about-stat { padding: 28px 18px; border-radius: 20px; text-align: center; }
    .about-stat .num { font-size: 34px; }
    .about-stat .label { font-size: 13px; }
    .about-text { text-align: center; }
    .about-text h2 { font-size: 24px; letter-spacing: 2px; }
    .about-text h2::after { left: 50%; transform: translateX(-50%); }
    .about-text p { font-size: 14px; line-height: 1.8; }
    .about-features { display: inline-block; text-align: left; }
    .about-features li { font-size: 13px; padding: 7px 0; }
    .about-features li:hover { transform: none; }

    /* ===== CTA (Mobile) ===== */
    .cta-section { padding: 52px 20px; }
    .cta-section h2 { font-size: 24px; line-height: 1.4; }
    .cta-section .container > p { font-size: 14px; margin-bottom: 24px; }
    .cta-info { flex-direction: column; align-items: center; gap: 12px; font-size: 13px; }
    .cta-item { text-align: center; }
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    /* ===== Footer (Mobile) ===== */
    .footer { padding: 44px 20px 24px; }
    .footer::after { height: 3px; }
    .footer-grid { grid-template-columns: 1fr; gap: 0; }
    .footer h4 { font-size: 16px; margin-bottom: 12px; letter-spacing: 1px; }
    .footer h4::after { width: 28px; height: 3px; border-radius: 2px; margin-top: 10px; }
    .footer-grid > div { padding: 20px 0; }
    .footer-grid > div:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .footer-about p { font-size: 13px; line-height: 1.85; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
    .footer-links li { margin-bottom: 0; }
    .footer-links a { font-size: 13px; display: block; padding: 4px 0; }
    .footer-contact p { font-size: 13px; margin-bottom: 10px; align-items: center; gap: 10px; }
    .footer-contact i { font-size: 16px; margin-top: 0; }
    .footer-bottom { margin-top: 28px; padding-top: 20px; font-size: 12px; letter-spacing: 0.3px; }

    /* ===== Floating Chat (Tablet) ===== */
    .chat-float { bottom: 20px; right: 16px; gap: 10px; }
    .chat-btn { width: 44px; height: 44px; font-size: 20px; border-radius: 22px; }
    .chat-btn:hover { width: auto; border-radius: 22px; padding: 0 14px; gap: 8px; }
    .chat-btn-label { font-size: 13px; }
    .chat-service .online-dot { width: 9px; height: 9px; top: 2px; right: 2px; }
    .back-to-top { right: 16px; bottom: 160px; width: 40px; height: 40px; font-size: 18px; }
}

/* ===== Small phone (≤480px) ===== */
@media (max-width: 480px) {
    /* Hero */
    .hero { padding: 84px 16px 48px; gap: 20px; }
    .hero h1 { font-size: 26px; }
    .hero h1 .highlight { font-size: 29px; }
    .hero p { font-size: 13px; margin-bottom: 22px; }
    .hero-buttons .btn { font-size: 14px; padding: 14px 20px; }
    .hero-visual .hv-dashboard { width: 190px; }
    .hero-visual .hv-db-stats strong { font-size: 12px; }
    .hero-visual .hv-db-stats small { font-size: 9px; }
    .hero-blob.blob-1 { width: 200px; height: 200px; }
    .hero-blob.blob-2 { width: 150px; height: 150px; }

    /* Sections */
    .section { padding: 44px 16px; }
    .section-title { font-size: 24px; }

    /* Services */
    .service-card { padding: 18px 14px; gap: 12px; border-radius: 16px; }
    .service-card .service-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; }
    .service-card .service-icon i { font-size: 20px; }
    .service-card h3 { font-size: 15px; }
    .service-card p { font-size: 12.5px; }

    /* Cases */
    .case-preview { height: 170px; }
    .case-phone-frame { height: 170px; }
    .case-phone-frame .cp-phone { width: 105px; height: 150px; border-radius: 16px; }
    .cp-icon-wrap { width: 52px; height: 52px; border-radius: 14px; font-size: 24px; }
    .cp-shape-1 { width: 100px; height: 100px; }
    .cp-shape-2 { width: 70px; height: 70px; }
    .case-browser-bar { height: 26px; padding: 0 10px; }
    .case-meta { padding: 16px 16px 18px; }
    .case-meta h4 { font-size: 16px; }
    .case-meta p { font-size: 12.5px; }
    .case-tags { gap: 5px; margin-top: 8px; }
    .case-tag { font-size: 10px; padding: 2px 8px; }
    .case-tabs { gap: 3px; margin-bottom: 24px; }
    .case-tab { font-size: 12px; padding: 8px 14px; border-radius: 10px; }

    /* Why Us */
    .why-card { padding: 26px 18px; gap: 16px; border-radius: 20px; }
    .why-card::before { display: none; }
    .why-card .why-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 14px; }
    .why-card .why-icon i { font-size: 22px; }
    .why-card h3 { font-size: 16px; }

    /* About */
    .about-visual { gap: 12px; }
    .about-stat { padding: 24px 14px; border-radius: 18px; }
    .about-stat::after { display: none; }
    .about-stat .num { font-size: 30px; }
    .about-stat .label { font-size: 12px; }
    .about-text h2 { font-size: 22px; }
    .about-features li { font-size: 12px; }
    .about-features li:hover { transform: none; }

    /* Footer */
    .footer { padding: 36px 16px 20px; }
    .footer h4 { font-size: 15px; }
    .footer-links a { font-size: 12.5px; }
    .footer-contact p { font-size: 12.5px; }
    .footer-bottom { font-size: 11px; }

    /* Chat — Phone */
    .chat-float { bottom: 16px; right: 10px; gap: 8px; }
    .chat-btn { width: 40px; height: 40px; font-size: 18px; border-radius: 20px; }
    .chat-btn:hover { width: auto; border-radius: 20px; padding: 0 12px; gap: 7px; }
    .chat-btn-label { font-size: 12px; }
    .chat-service .online-dot { width: 8px; height: 8px; top: 1px; right: 1px; }
}

/* ========== Animations ========== */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
