:root {
    --primary-color: #00D6C2;
    --secondary-color: #0A1A2F;
    --accent-color: #8A2BE2;
    --text-color: #333;
    --bg-color: #fff;
    --space-section-y: clamp(4rem, 8vw, 7rem);
    --content-max: 1200px;
}

body {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.main-swiper {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.main-swiper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 26, 47, 0.55) 0%,
        rgba(10, 26, 47, 0.35) 40%,
        rgba(10, 26, 47, 0.55) 100%);
    pointer-events: none;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
}

/* Home swiper: right-side nav and enhanced bottom pagination */
.home-right-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.home-dot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.home-dot:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.home-dot.active {
  background: linear-gradient(135deg, rgba(0,214,194,0.6), rgba(138,43,226,0.6));
  box-shadow: 0 8px 24px rgba(0,214,194,0.3);
}

.main-swiper .swiper-pagination {
  bottom: 24px !important;
}
.main-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  opacity: 1;
}
.main-swiper .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color)) !important;
}

@media (max-width: 768px) {
  .home-right-nav { right: 12px; }
  .home-dot { width: 38px; height: 38px; border-radius: 10px; }
}

.hero-section {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.hero-content {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}
/* Active nav link: subtle gradient underline and brand color */
.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,212,255,0), rgba(0,212,255,0.9), rgba(122,92,242,0.9), rgba(122,92,242,0));
    border-radius: 2px;
}

.main-header.scrolled {
    background: rgba(10, 26, 47, 0.7);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.main-header.scrolled .nav-links a {
    color: #fff;
}

.main-header.scrolled .logo {
    color: var(--primary-color);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-around;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.main-header.scrolled .menu-icon span {
    background-color: var(--text-color);
}

#menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

section {
    min-height: 100vh;
    padding: var(--space-section-y) 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.85;
}

/* Hero Section */
.hero-section {
    color: #fff;
    text-align: center;
    justify-content: center;
}

.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(10,26,47,0.85), rgba(10,26,47,0));
    pointer-events: none;
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

#lottie-container {
    width: 300px;
    height: 300px;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
}

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    width: 20px;
    height: 20px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(1200px 400px at 10% 0%, rgba(138, 43, 226, 0.15), transparent 60%),
      radial-gradient(800px 320px at 90% 100%, rgba(0, 214, 194, 0.12), transparent 60%);
    pointer-events: none;
}

.about-text p {
    color: rgba(255, 255, 255, 0.85);
}

.about-section .timeline-title {
    color: #fff;
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.about-image {
    width: 100%;
}

/* Tech Lab Section */
.tech-lab-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 6rem 2rem;
    color: #fff;
    background-image: url('assets/home-carousel/kejitu.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.tech-lab-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,26,47,0.8) 0%, rgba(10,26,47,0.6) 40%, rgba(10,26,47,0.35) 100%);
    pointer-events: none;
}

.xlab-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.xlab-content {
    max-width: 900px;
}

.xlab-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.xlab-intro {
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.92);
    margin: 0.75rem 0;
}

.xlab-tags {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.xlab-tags span {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    backdrop-filter: blur(3px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xlab-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

@media (max-width: 1024px) {
    .xlab-title { font-size: 2.5rem; }
}

@media (max-width: 640px) {
    .tech-lab-section { padding: 5rem 1.25rem; }
    .xlab-title { font-size: 2rem; }
    .xlab-intro { font-size: 1rem; }
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
}

.tech-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 214, 194, 0.3);
}

.tech-card i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Live Studio Section */
.live-studio-section {
    position: relative;
    background-color: var(--secondary-color);
    color: #fff;
    overflow: hidden;
}

.live-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max);
    text-align: center;
}

.live-title {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.live-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

.live-swiper {
    width: 100%;
    max-width: 1100px;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.live-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
}

.live-swiper .live-next, .live-swiper .live-prev {
    color: #fff;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.live-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.8);
}
.live-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.petals-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(255, 192, 203, 0.8) 30%, 
        rgba(255, 228, 225, 0.7) 70%, 
        rgba(255, 240, 245, 0.6) 100%);
    border-radius: 50% 0 50% 0;
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
    filter: blur(0.5px);
}

.petal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 105, 180, 0.2) 0%, 
        rgba(255, 182, 193, 0.1) 100%);
    border-radius: 50% 0 50% 0;
    z-index: -1;
}

/* Data V Section */
.data-v-section {
    background-color: var(--secondary-color);
    color: #fff;
}

#echarts-container {
    width: 100%;
    max-width: 800px;
    height: 500px;
}

/* Case Section */
.case-section {
    position: relative;
    min-height: 100vh;
    padding: 80px 0;
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #1a1a2e 25%, 
        #16213e 50%, 
        #0f3460 75%, 
        #0a0a0a 100%);
    overflow: hidden;
}

.case-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 214, 194, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.case-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.case-title {
    font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 214, 194, 0.3);
}

.case-subtitle {
    font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.02em;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.case-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    transform: scale(1);
    opacity: 1;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 214, 194, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 214, 194, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.case-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 214, 194, 0.3),
        0 0 40px rgba(138, 43, 226, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 214, 194, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.case-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.case-content {
    padding: 2rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-tag {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #00D6C2, #8A2BE2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 16px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 214, 194, 0.3);
    transition: all 0.3s ease;
}

.case-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 214, 194, 0.4);
}

.case-name {
    font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.case-desc {
    font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.case-metrics {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-family: 'Poppins', system-ui, -apple-system;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00D6C2;
    text-shadow: 0 0 15px rgba(0, 214, 194, 0.4);
    background: linear-gradient(135deg, #00D6C2, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-family: 'Noto Sans SC', system-ui, -apple-system;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

/* 详情面板 */
.case-detail-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.case-detail-panel.active {
    opacity: 1;
    visibility: visible;
}

.case-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.case-detail-content {
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(26, 26, 46, 0.95) 50%, 
        rgba(15, 52, 96, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.case-detail-panel.active .case-detail-content {
    transform: translateY(-50%) translateX(0);
}

.case-detail-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.case-detail-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.case-detail-body {
    padding: 4rem 3rem;
    color: #fff;
}

.case-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00D6C2;
    font-family: 'Source Han Sans', sans-serif;
}

.case-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.case-detail-tags .case-tag {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
}

.case-detail-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.case-detail-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.case-detail-metrics .case-metric {
    background: rgba(0, 214, 194, 0.1);
    border: 1px solid rgba(0, 214, 194, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.case-detail-extra {
    margin-top: 2rem;
}

.case-detail-extra h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00D6C2;
    font-family: 'Source Han Sans', sans-serif;
}

.case-detail-extra ul {
    list-style: none;
    padding: 0;
}

.case-detail-extra li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.case-detail-extra li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #00D6C2;
    font-weight: bold;
}

/* Service Live Section */
.service-live-section {
    background-color: var(--secondary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-live-section::before {
    content: '';
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(800px 800px at 15% 20%, rgba(124,255,232,0.08), transparent 60%),
        radial-gradient(600px 600px at 85% 80%, rgba(0,214,194,0.08), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    pointer-events: none;
}

.service-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-title {
    font-size: 2.6rem;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #00D6C2, #7CFFE8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 214, 194, 0.35);
}

.service-subtitle {
    color: rgba(255,255,255,0.85);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 22px rgba(0, 214, 194, 0.10);
    padding: 1.75rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.45s ease,
                border-color 0.35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    min-height: 360px;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(0,214,194,0), rgba(0,214,194,0.8), rgba(124,255,232,0));
    opacity: 0.6;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 42px rgba(0, 214, 194, 0.18);
    border-color: rgba(0, 214, 194, 0.5);
}

/* 选中态：更强的描边与外发光，稳定对比度 */
.service-card.selected {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(0, 214, 194, 0.7);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 2px rgba(0, 214, 194, 0.65),
        0 0 52px rgba(0, 214, 194, 0.20);
}

/* 选中态顶部品牌色高亮条 */
.service-card.selected::before {
    opacity: 1;
    height: 4px;
    box-shadow: 0 0 12px rgba(124,255,232,0.45);
}

/* 不同类别的选中态顶部渐变与边框色 */
.service-card.service-dev.selected::before {
    background: linear-gradient(90deg, rgba(0,214,194,0), rgba(0,214,194,0.95), rgba(108,255,240,0));
}
.service-card.service-live.selected::before {
    background: linear-gradient(90deg, rgba(0,214,170,0), rgba(0,214,170,0.95), rgba(141,255,232,0));
}
.service-card.service-overseas.selected::before {
    background: linear-gradient(90deg, rgba(0,194,255,0), rgba(0,194,255,0.95), rgba(156,240,255,0));
}

.service-card.service-dev.selected { border-color: rgba(0, 214, 194, 0.75); }
.service-card.service-live.selected { border-color: rgba(0, 214, 170, 0.75); }
.service-card.service-overseas.selected { border-color: rgba(0, 194, 255, 0.75); }

.service-card:focus-visible {
    outline: none;
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.26),
        0 0 0 2px rgba(124, 255, 232, 0.75);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 160%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.0) 100%);
    transform: rotate(12deg);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
    transform: rotate(12deg) translateX(30px);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-card-header i {
    font-size: 1.4rem;
    color: #00D6C2;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

/* 标题行中的CTA紧凑样式 */
.service-card-header .service-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    box-shadow: 0 6px 12px rgba(0,214,194,0.25);
    white-space: nowrap;
}

.service-card:hover .service-card-header i {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(124,255,232,0.45));
}

.service-card-desc {
    color: rgba(255,255,255,0.88);
    margin: 0.25rem 0 0.75rem;
    line-height: 1.6;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.service-features i {
    color: #7CFFE8;
}

.service-meta {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-tag {
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px dashed rgba(124,255,232,0.6);
    background: rgba(0, 214, 194, 0.12);
    color: #CFFFF7;
}

.service-card-footer { margin-top: auto; padding-top: 0.75rem; }

/* 不同屏幕断点的卡片高度优化 */
@media (max-width: 899px) {
    .service-card { min-height: 340px; }
}

@media (max-width: 767px) {
    .service-card { min-height: 300px; }
}

/* 栅格拉伸以统一高度展示 */
.services-grid { align-items: stretch; }

.service-cta {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #00D6C2, #7CFFE8);
    color: #0B2A2E;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(0,214,194,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0,214,194,0.32);
    filter: brightness(1.05);
}

/* 选中态CTA高亮与轻微脉冲 */
.service-card.selected .service-cta {
    background: linear-gradient(90deg, #04E0CB, #9CFFF0);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,214,194,0.35);
    animation: selectedPulse 2.2s ease-in-out infinite;
}

/* 类别化CTA渐变 */
.service-card.service-dev.selected .service-cta {
    background: linear-gradient(90deg, #04E0CB, #6CFFF0);
}
.service-card.service-live.selected .service-cta {
    background: linear-gradient(90deg, #05D6B8, #8DFFE8);
}
.service-card.service-overseas.selected .service-cta {
    background: linear-gradient(90deg, #08BDF0, #9CF0FF);
}

@keyframes selectedPulse {
    0% { filter: brightness(1); box-shadow: 0 12px 24px rgba(0,214,194,0.32); }
    50% { filter: brightness(1.08); box-shadow: 0 16px 28px rgba(0,214,194,0.40); }
    100% { filter: brightness(1); box-shadow: 0 12px 24px rgba(0,214,194,0.32); }
}

.service-text ul {
    list-style: none;
    padding: 0;
}

.service-text li {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Partners Section */
.partners-section {
    background-color: var(--secondary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 3rem 1.5rem;
    min-height: auto;
}

.partners-section::before {
    content: '';
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(750px 750px at 20% 25%, rgba(124,255,232,0.08), transparent 60%),
        radial-gradient(650px 650px at 80% 75%, rgba(0,214,194,0.06), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    pointer-events: none;
}

.partner-logos {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
    animation: marquee 32s linear infinite;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    will-change: transform;
}

.partner-logos:hover {
    animation-play-state: paused;
}

.partner-logos img {
    height: 56px;
    margin: 0 32px;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.partner-logos img:hover {
    filter: brightness(1.05) contrast(1.05);
    transform: translateY(-2px) scale(1.03);
    opacity: 1;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 899px) {
    .partner-logos img {
        height: 44px;
        margin: 0 24px;
    }
}

/* Career / Contact Section */
.career-section {
    background-color: #f4f4f4;
}

.career-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
}

.job-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    text-align: center;
    min-height: 60vh;
    padding: 3rem 1.5rem;
    background-color: var(--secondary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(700px 700px at 20% 25%, rgba(124,255,232,0.08), transparent 60%),
        radial-gradient(600px 600px at 80% 75%, rgba(0,214,194,0.06), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    pointer-events: none;
}

.contact-subtitle {
    color: rgba(255,255,255,0.85);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}

.contact-info, .contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(124,255,232,0.22);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 26px rgba(0,0,0,0.28);
    backdrop-filter: blur(6px);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    padding: 1rem 1rem 1.25rem;
}
.contact-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.contact-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(120% 120% at 30% 30%, rgba(0,214,194,0.35), rgba(255,255,255,0.06));
    border: 1px solid rgba(124,255,232,0.28);
    color: #fff;
    font-weight: 700;
}
.contact-role {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}
.contact-card h3 {
    margin: 0 0 0.5rem;
}
.contact-card h4 {
    margin: 0.25rem 0 0.75rem;
    color: rgba(255,255,255,0.92);
}

.contact-info h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.contact-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-methods li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.9);
}
.contact-methods i {
    color: #00D6C2;
}
.contact-methods a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
}
.copyable {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    border-radius: 6px;
}
.copyable:hover { background: rgba(255,255,255,0.06); }
.copyable:focus-visible { outline: 2px solid rgba(124,255,232,0.45); outline-offset: 2px; }
.contact-social {
    margin-top: 1rem;
}
.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    margin-right: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,214,194,0.25);
}

.qr-placeholder {
    margin-top: 0.75rem;
    width: 140px;
    height: 140px;
    border: 1.5px dashed rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* 联系我们：二维码优化展示 */
.contact-qr {
    margin-top: 0.75rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.7rem 0.55rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    cursor: zoom-in;
}
.qr-image {
    width: 220px;
    height: auto;
    display: block;
    border-radius: 0;
    background: #ffffff;
    padding: 6px;
    object-fit: contain;
    box-shadow: none;
    cursor: zoom-in;
}
.qr-caption {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

/* 联系卡片细节优化：悬浮提升与分隔更柔和 */
.contact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
    border-color: rgba(255,255,255,0.22);
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: 0.82rem;
    border-radius: 999px;
    background: rgba(0,214,194,0.12);
    border: 1px solid rgba(0,214,194,0.28);
    color: rgba(255,255,255,0.92);
}

.contact-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(0,214,194,0.4);
    background: linear-gradient(180deg, rgba(0,214,194,0.95), rgba(0,214,170,0.9));
    color: #001a18;
    box-shadow: 0 8px 18px rgba(0,214,194,0.32), inset 0 1px 0 rgba(255,255,255,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,214,194,0.42); }
.contact-btn.ghost {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: none;
}
.contact-btn.ghost:hover { background: rgba(255,255,255,0.12); }

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
    z-index: 1000;
}

/* 联系表单提升为暗色玻璃风格 */
.contact-form form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.contact-form label {
    text-align: left;
    color: rgba(255,255,255,0.9);
}
.contact-form input, .contact-form textarea, .contact-form select {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255,255,255,0.65);
}
.contact-form button {
    padding: 0.8rem 1rem;
    background: linear-gradient(180deg, rgba(0,214,194,0.95), rgba(0,214,170,0.9));
    color: #001a18;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,214,194,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0,214,194,0.45);
}

@media (max-width: 899px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.main-footer {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.social-icons a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
}

/* Responsive */
/* 大屏幕 (1200px+): 4列 */
@media (min-width: 1200px) {
    .case-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        max-width: 1800px;
        padding: 0 2rem;
    }
}

/* 中大屏幕 (900px - 1199px): 3列 */
@media (max-width: 1199px) and (min-width: 900px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1400px;
        padding: 0 1.5rem;
    }
}

/* 中等屏幕 (768px - 899px): 2列 */
@media (max-width: 899px) and (min-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .case-container {
        padding: 0 2rem;
    }
    
    .case-detail-content {
        width: 65%;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-container, .live-container, .service-container, .career-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-cards {
        grid-template-columns: 1fr;
    }
}

/* 这个媒体查询已合并到下面的响应式规则中 */

/* 移动端 (768px以下): 1列 */
@media (max-width: 767px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .case-container {
        padding: 0 1rem;
    }
    
    .case-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 0.8rem;
    }
    
    .case-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 3rem;
    }
    
    .case-card {
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .case-content {
        padding: 1.2rem;
    }
    
    .case-metrics {
        gap: 1rem;
        grid-template-columns: 1fr 1fr;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
    
    .case-detail-content {
        width: 100%;
        height: 100%;
        transform: translateY(-50%) translateY(100%);
        right: 0;
        left: 0;
    }
    
    .case-detail-panel.active .case-detail-content {
        transform: translateY(-50%) translateY(0);
    }
    
    .case-detail-body {
        padding: 2rem 1.5rem;
    }
    
    .case-detail-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .live-container, .service-container {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .service-text li {
        font-size: 1.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    .tech-card, .case-info, .job-card {
        padding: 1.5rem;
    }
    .menu-icon {
        display: flex;
    }
    /* Mobile dark glass nav panel with subtle scale+blur animation */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 0.75rem;
        background: rgba(10, 26, 47, 0.85);
        backdrop-filter: saturate(160%) blur(12px);
        -webkit-backdrop-filter: saturate(160%) blur(12px);
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 14px 40px rgba(0,0,0,0.36);
        display: flex !important;
        opacity: 0;
        pointer-events: none;
        transform: scale(0.98) translateY(6px);
        filter: blur(6px);
        transition: opacity .25s ease, transform .25s ease, filter .25s ease;
    }
    #menu-toggle:checked ~ .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    .nav-links a {
        color: #fff;
        padding: 0.75rem 0;
        width: 100%;
    }
}

/* Unified content containers and subtitles */
.about-container,
.xlab-content,
.live-content,
.data-v-topbar,
.service-container,
.case-container,
.contact-wrap {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding-left: clamp(16px, 5vw, 64px);
    padding-right: clamp(16px, 5vw, 64px);
}
.live-subtitle,
.service-subtitle,
.case-subtitle,
.contact-subtitle {
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.2px;
}

/* Dark sections: top/bottom gradient masks and light vignette */
.live-studio-section {
    position: relative;
    overflow: hidden;
}
.live-studio-section::before,
.live-studio-section::after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0;
    right: 0;
    z-index: 0;
}
.live-studio-section::before {
    top: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(5,12,22,0.75), rgba(5,12,22,0));
}
.live-studio-section::after {
    bottom: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(5,12,22,0.75), rgba(5,12,22,0));
}
.live-studio-section {
    box-shadow: inset 0 0 120px rgba(0,0,0,0.35);
}

/* Unified glass card spec for service & case cards */
.service-card,
.case-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 30px rgba(0,0,0,0.25);
}
.service-card:hover,
.case-card:hover {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.32);
}

/* Unified button style with soft glow (exclude cta-button to keep solid) */
.btn {
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    box-shadow: 0 0 0 rgba(122,92,242,0);
    transition: box-shadow .25s ease, transform .2s ease;
    background-image: linear-gradient(#0000,#0000),
        linear-gradient(90deg, #00d4ff, #7a5cf2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.btn:hover {
    box-shadow: 0 0 12px rgba(122,92,242,0.35);
    transform: translateY(-1px);
}

/* 中等屏幕 (768px - 899px): 两列服务卡片 */
@media (max-width: 899px) and (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 大屏幕 (1200px+): 提升服务容器宽度与间距 */
@media (min-width: 1200px) {
    .service-container {
        max-width: 1600px;
        padding: 0 2rem;
    }
    .services-grid {
        gap: 3rem;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 4rem 1rem;
    }
}

/* Elegant Vertical Timeline */
#history-timeline.timeline {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 8px 0 8px 24px;
}

#history-timeline.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 16px;
    padding: 16px 0;
}

.timeline-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 214, 194, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-content {
    background: #fff;
    border: 1px solid rgba(10, 26, 47, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-year {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.timeline-text {
    color: var(--text-color);
    line-height: 1.6;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(138, 43, 226, 0.15);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

@media (max-width: 768px) {
    #history-timeline.timeline {
        max-width: 100%;
        padding-left: 18px;
    }
    #history-timeline.timeline::before {
        left: 8px;
    }
}
/* 时间轴标题 */
.timeline-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}
/* 数据可视化模块 */
.data-v-section {
  position: relative;
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.data-v-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 4vw 22px;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}

.data-v-title {
  display: inline-block;
  font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw + 0.6rem, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fff;
  text-shadow:
    0 0 4px rgba(255,255,255,0.6),
    0 0 12px rgba(0,214,194,0.32),
    0 0 20px rgba(138,43,226,0.32);
  max-width: min(150ch, 200vw);
  white-space: nowrap;
  overflow: hidden;
}

.data-v-title {
  font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw + 0.8rem, 3.2rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.6),
    0 0 16px rgba(0,214,194,0.35),
    0 0 28px rgba(138,43,226,0.35);
}

.data-v-swiper {
  position: absolute;
  inset: 0;
}

.data-v-swiper .swiper-wrapper,
.data-v-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.data-v-swiper .swiper-slide {
  position: relative;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.75) contrast(1.05);
    transform: scale(1);
    will-change: transform;
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(0,0,0,0.35), transparent 60%),
    radial-gradient(60% 100% at 100% 50%, rgba(0,0,0,0.35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.data-v-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.data-v-next,
.data-v-prev {
  color: #fff;
  z-index: 3;
}

.data-v-right-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}

.data-v-dot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.data-v-dot:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.data-v-dot.active {
  background: linear-gradient(135deg, rgba(0,214,194,0.6), rgba(138,43,226,0.6));
  box-shadow: 0 8px 24px rgba(0,214,194,0.3);
}

@media (max-width: 768px) {
  .data-v-topbar { height: 72px; padding: 0 5vw; }
  .data-v-right-nav { right: 12px; }
  .data-v-dot { width: 38px; height: 38px; border-radius: 10px; }
}

.data-v-hero {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0 6vw;
}

.data-v-hero-title {
  font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system;
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 1rem, 5rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.6),
    0 0 16px rgba(0,214,194,0.35),
    0 0 28px rgba(138,43,226,0.35);
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 6px rgba(255,255,255,0.6), 0 0 16px rgba(0,214,194,0.35), 0 0 28px rgba(138,43,226,0.35); }
  50% { text-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 24px rgba(0,214,194,0.5), 0 0 36px rgba(138,43,226,0.5); }
  100% { text-shadow: 0 0 6px rgba(255,255,255,0.6), 0 0 16px rgba(0,214,194,0.35), 0 0 28px rgba(138,43,226,0.35); }
}

.data-v-hero-title.glow {
  animation: glowPulse 3.2s ease-in-out infinite;
}

.data-v-title.glow {
  animation: glowPulse 3.2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .data-v-hero-title, .data-v-title {
    letter-spacing: 0.04em;
  }
  .data-v-title { 
    max-width: 95vw; 
    font-size: clamp(1.1rem, 2.8vw + 0.5rem, 2.2rem);
    white-space: normal;
    line-height: 1.25;
  }
  .data-v-topbar { padding: 16px 3vw 18px; }
}

/* Image Lightbox for case images */
.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.image-lightbox.active { display: block; }
.image-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,26,47,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.image-lightbox-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 85vh;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 12px 12px 8px;
}
.image-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}
.image-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.image-lightbox-close:hover { background: rgba(255,255,255,0.25); }