/* ===== 基础重置与变量 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #0070d5;
    --accent-hover: #005bb5;
    --border: rgba(255, 255, 255, 0.1);
    --nav-height: 64px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.cms-text-color-set {
    color: var(--cms-text-color) !important;
}

.cms-text-color-set::placeholder {
    color: var(--cms-text-color) !important;
    opacity: 1;
}

.cms-font-size-set {
    font-size: var(--cms-font-size) !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar .logo,
.navbar .logo-icon,
.navbar .nav-links a {
    color: #101820;
}

.navbar .nav-links a:hover {
    color: var(--accent);
}

.navbar .nav-links a::after {
    background: var(--accent);
}

.navbar .nav-cta {
    border-color: rgba(0, 0, 0, 0.22);
}

.navbar .nav-cta:hover {
    background: rgba(0, 112, 213, 0.08);
    border-color: var(--accent) !important;
}

.navbar .menu-toggle span {
    background: #101820;
}

.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.navbar .dropdown-menu a {
    color: rgba(16, 24, 32, 0.72);
}

.navbar .dropdown-menu a:hover {
    color: var(--accent);
    background: rgba(0, 112, 213, 0.08);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.logo.has-brand-logo .logo-mark {
    width: 150px;
    height: 54px;
}

.logo.has-brand-logo .brand-text {
    display: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: #fff;
}

.logo-mark img.logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff !important;
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-container {
        padding: 0 18px;
    }

    .logo.has-brand-logo .logo-mark {
        width: 132px;
        height: 48px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .nav-cta {
        padding: 7px 10px !important;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, #0a1628 0%, #000 70%);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hero-bg.has-video {
    background: #000;
}

.hero-bg.has-video .hero-grid {
    z-index: 1;
    opacity: 0.45;
}

.hero-bg.has-video .hero-glow {
    z-index: 1;
    opacity: 0.55;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(0, 112, 213, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 112, 213, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    z-index: 1;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 112, 213, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: 8px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    animation: fadeUp 1s ease-out 0.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== 通用 Section ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ===== 产品卡片 ===== */
.products-overview {
    background: var(--bg-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-filters {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    scrollbar-width: none;
}

.product-filters::-webkit-scrollbar {
    display: none;
}

.product-filter {
    flex: 0 0 auto;
    padding: 9px 16px;
    color: var(--text-secondary);
    background: transparent;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.product-filter:hover,
.product-filter.active {
    color: #fff;
    background: var(--accent);
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card[hidden] {
    display: none;
}

.product-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-media-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-visual-control { background: linear-gradient(135deg, #0d1b2a, #1b2838); }
.card-visual-led { background: linear-gradient(135deg, #0a0a1a, #1a1a3a); }
.card-visual-aio { background: linear-gradient(135deg, #0a1a0a, #1a2a1a); }
.card-visual-splice { background: linear-gradient(135deg, #1a0a0a, #2a1a1a); }

.card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.product-meta {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.product-category {
    padding: 3px 8px;
    color: var(--accent);
    background: rgba(0, 112, 213, 0.12);
    border-radius: 4px;
    font-size: 12px;
    line-height: 18px;
}

.product-specs {
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.card-info p {
    min-height: 42px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-link {
    margin-top: auto;
    font-size: 13px;
    color: var(--accent);
    transition: var(--transition);
}

.product-card:hover .card-link {
    letter-spacing: 1px;
}

/* ===== Feature Section ===== */
.feature-section {
    overflow: hidden;
}

.feature-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.feature-bg-dark {
    background: linear-gradient(180deg, #000 0%, #0a0f1a 50%, #000 100%);
}

.feature-bg-led {
    background: linear-gradient(180deg, #000 0%, #0a0a20 50%, #000 100%);
}

.feature-bg-aio {
    background: linear-gradient(180deg, #000 0%, #0a1a0a 50%, #000 100%);
}

.feature-bg-splice {
    background: linear-gradient(180deg, #000 0%, #1a0a0a 50%, #000 100%);
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-layout.reverse {
    direction: rtl;
}

.feature-layout.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.feature-text > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* 中控面板模拟 */
.control-panel {
    background: #1a1a2e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.panel-dot.red { background: #ff5f57; }
.panel-dot.yellow { background: #ffbd2e; }
.panel-dot.green { background: #28c840; }

.panel-title {
    margin-left: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.panel-body {
    padding: 20px;
}

.panel-scene {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    transition: var(--transition);
}

.panel-scene.active {
    background: rgba(0, 112, 213, 0.15);
    border: 1px solid rgba(0, 112, 213, 0.3);
}

.scene-icon { font-size: 18px; }

.scene-status {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.scene-status.on {
    background: rgba(40, 200, 64, 0.15);
    color: #28c840;
}

.panel-devices {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.device-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: var(--transition);
}

.toggle.on {
    background: var(--accent);
}

.toggle.on::after {
    left: 18px;
}

/* LED 模拟 */
.feature-product-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0f14;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.feature-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-product-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.feature-product-caption .led-brand,
.feature-product-caption .led-spec {
    display: inline;
}

.led-display {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.led-screen-mock {
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 8px;
    border: 3px solid #333;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 112, 213, 0.2);
}

.led-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001a33, #003366, #001a33);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.led-pixel-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 200, 255, 0.15) 1px, transparent 1px);
    background-size: 4px 4px;
    animation: ledFlicker 3s ease-in-out infinite;
}

@keyframes ledFlicker {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.led-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.led-brand {
    display: block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 8px;
}

.led-spec {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.led-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.spec-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.spec-item strong {
    display: block;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 4px;
}

.spec-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 产品实景展示 */
.aio-product-visual,
.splice-product-visual,
.control-product-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071014;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.aio-product-visual img,
.splice-product-visual img,
.control-product-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.aio-product-visual::after,
.splice-product-visual::after,
.control-product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.product-detail-anchor {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

.control-detail-section-secondary {
    border-top: 1px solid var(--border);
}

/* ===== 服务 ===== */
.services-section {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(0, 112, 213, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}

.service-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
}

.service-stat {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.service-stat strong {
    display: block;
    font-size: 28px;
    color: var(--accent);
    font-weight: 700;
}

.service-stat span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 服务流程 */
.process-section {
    text-align: center;
}

.process-section h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 48px;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.process-step {
    flex: 0 0 140px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 16px;
}

.process-step h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-arrow {
    color: var(--text-muted);
    font-size: 20px;
    padding-top: 14px;
    flex-shrink: 0;
}

/* ===== 案例 ===== */
.cases-section {
    background: var(--bg-primary);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-item {
    display: block;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.case-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.case-img-1 {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2847 100%);
}

.case-img-2 {
    background: linear-gradient(135deg, #1a0a28 0%, #3a1a5c 50%, #2d0d47 100%);
}

.case-img-3 {
    background: linear-gradient(135deg, #0a281a 0%, #1a5c3a 50%, #0d4728 100%);
}

.case-info {
    padding: 24px;
    background: var(--bg-card);
}

.case-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.case-card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
}

.case-item:hover .case-card-link {
    color: #48a9ff;
}

/* ===== 案例详情 ===== */
.case-detail-hero {
    position: relative;
    display: flex;
    min-height: 620px;
    margin-top: var(--nav-height);
    align-items: flex-end;
    overflow: hidden;
    background-color: #101820;
    background-position: center;
    background-size: cover;
}

.case-detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 10%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.case-detail-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 72px;
}

.case-detail-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 46px;
}

.case-detail-breadcrumb a,
.case-detail-breadcrumb span {
    color: rgba(255, 255, 255, 0.76);
}

.case-detail-category {
    display: block;
    margin-bottom: 16px;
    color: #65c9bf;
    font-size: 13px;
    font-weight: 500;
}

.case-detail-hero h1 {
    max-width: 850px;
    margin-bottom: 18px;
    font-size: 48px;
    line-height: 1.2;
}

.case-detail-hero-content > p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.8;
}

.case-detail-meta-band {
    border-bottom: 1px solid var(--border);
    background: #0d1116;
}

.case-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-detail-meta > div {
    padding: 28px 36px;
    border-right: 1px solid var(--border);
}

.case-detail-meta > div:first-child {
    border-left: 1px solid var(--border);
}

.case-detail-meta span,
.case-detail-meta strong {
    display: block;
}

.case-detail-meta span {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.case-detail-meta strong {
    font-size: 16px;
    font-weight: 500;
}

.case-detail-overview {
    background: var(--bg-primary);
}

.case-detail-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 72px;
    align-items: center;
}

.case-detail-copy h2,
.case-detail-section-head h2,
.case-detail-text-block h2 {
    margin: 12px 0 22px;
    font-size: 30px;
    font-weight: 600;
}

.case-detail-copy p,
.case-detail-text-block p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2;
    white-space: pre-wrap;
}

.case-detail-image {
    min-height: 460px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: #101820;
    background-position: center;
    background-size: cover;
}

.case-detail-video-section {
    border-top: 1px solid var(--border);
    background: #080b0e;
}

.case-detail-section-head {
    margin-bottom: 32px;
}

.case-detail-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #000;
}

.case-detail-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-detail-video-wrap.is-empty::before {
    content: '暂无案例视频，可在控制台上传';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

.case-detail-results {
    background: var(--bg-secondary);
}

.case-detail-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.case-detail-text-block {
    padding: 48px;
}

.case-detail-text-block + .case-detail-text-block {
    border-left: 1px solid var(--border);
}

.case-detail-step {
    color: #65c9bf;
    font-size: 12px;
    font-weight: 700;
}

.case-detail-pagination {
    border-top: 1px solid var(--border);
    background: #080b0e;
}

.case-detail-pagination-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 132px;
}

.case-detail-nav-link {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
    color: var(--text-primary);
}

.case-detail-nav-link span {
    color: var(--text-muted);
    font-size: 12px;
}

.case-detail-nav-link strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-detail-nav-next {
    align-items: flex-end;
    text-align: right;
}

.case-detail-back {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
}

.case-detail-not-found {
    min-height: calc(100vh - var(--nav-height));
    padding: 180px 24px 100px;
    text-align: center;
}

.case-detail-not-found h1 {
    margin-bottom: 14px;
    font-size: 34px;
}

.case-detail-not-found p {
    margin-bottom: 28px;
    color: var(--text-secondary);
}

/* ===== 联系 ===== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 400;
}

.contact-item span {
    font-size: 15px;
}

.contact-wechat-card {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.contact-qr,
.footer-qr {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fff center / cover no-repeat;
}

.contact-wechat-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 112, 213, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #111;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== 页脚 ===== */
.footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-contact-link {
    display: inline-block;
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: #42b8ae;
}

/* ===== 业务范围 ===== */
.business-intro-section {
    padding-top: 56px;
}

.business-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 64px;
    align-items: center;
}

.business-intro-media {
    min-height: 500px;
    border-radius: 8px;
    background-color: #101820;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.section-kicker {
    display: block;
    margin-bottom: 14px;
    color: #42b8ae;
    font-size: 13px;
    font-weight: 500;
}

.business-intro-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.28;
}

.business-intro-copy > p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

.business-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.business-metrics div {
    min-width: 0;
}

.business-metrics strong,
.business-metrics span {
    display: block;
}

.business-metrics strong {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.business-metrics span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.business-scope-section {
    background: #071011;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.scope-card {
    min-width: 0;
    overflow: hidden;
    background: #101718;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    transition: var(--transition);
}

.scope-card:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 184, 174, 0.55);
}

.scope-card-media {
    aspect-ratio: 16 / 10;
    background-color: #172225;
    background-size: cover;
    background-position: center;
}

.scope-card-body {
    position: relative;
    min-height: 206px;
    padding: 26px;
}

.scope-card-body > span {
    display: block;
    margin-bottom: 18px;
    color: #42b8ae;
    font-size: 12px;
    font-weight: 700;
}

.scope-card-body h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.scope-card-body p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.75;
}

.business-process-section {
    color: #101820;
    background: #eef2f2;
}

.business-process-section .section-header p {
    color: rgba(16, 24, 32, 0.62);
}

.business-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.business-process-item {
    min-height: 230px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(16, 24, 32, 0.1);
    border-top: 4px solid #0070d5;
    border-radius: 8px;
}

.business-process-item:nth-child(2) { border-top-color: #42b8ae; }
.business-process-item:nth-child(3) { border-top-color: #58a36d; }
.business-process-item:nth-child(4) { border-top-color: #d39a3c; }

.business-process-item > strong {
    color: rgba(16, 24, 32, 0.35);
    font-size: 13px;
}

.business-process-item h3 {
    margin: 28px 0 10px;
    font-size: 18px;
}

.business-process-item p {
    color: rgba(16, 24, 32, 0.62);
    font-size: 13px;
    line-height: 1.75;
}

.business-cta-section {
    padding: 58px 0;
    background: #0a1115;
    border-top: 1px solid var(--border);
}

.business-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.business-cta-inner h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
}

.business-cta-inner p {
    color: var(--text-secondary);
}

.business-contact-button {
    flex: 0 0 auto;
    gap: 12px;
}

.business-contact-button strong {
    font-size: 16px;
}

.footer-wechat {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 300px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.footer-qr {
    width: 82px;
    height: 82px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 动画 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-layout.reverse {
        direction: ltr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-intro-grid {
        grid-template-columns: 1fr;
    }

    .business-intro-media {
        min-height: 440px;
    }

    .scope-grid,
    .business-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .logo.has-brand-logo .logo-mark {
        width: 126px;
        height: 44px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid,
    .scope-grid,
    .business-process-grid {
        grid-template-columns: 1fr;
    }

    .business-intro-media {
        min-height: 300px;
    }

    .business-metrics {
        gap: 10px;
    }

    .business-metrics strong {
        font-size: 20px;
    }

    .business-contact-button {
        width: 100%;
        flex-wrap: wrap;
    }

    .product-filters {
        width: 100%;
        justify-content: flex-start;
        margin-right: 0;
        margin-left: 0;
        gap: 2px;
    }

    .product-filter {
        flex: 1 0 auto;
        padding: 9px 10px;
        font-size: 12px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .led-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== 多页面通用 ===== */
main {
    min-height: 60vh;
}

.page-home .navbar:not(.scrolled) {
    background: rgba(255, 255, 255, 0.96);
}

.nav-item.active,
.nav-cta.active {
    color: var(--accent) !important;
}

.nav-dropdown {
    position: relative;
}

.nav-drop-toggle::after {
    content: '▾';
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.6;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(16, 24, 32, 0.72);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--accent);
    background: rgba(0, 112, 213, 0.08);
}

.dropdown-menu a::after {
    display: none !important;
}

/* 子页面顶部 */
.page-banner {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 112, 213, 0.12) 0%, transparent 60%);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--text-muted);
}

.page-banner h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0 120px;
}

.page-content .section {
    padding: 0;
}

/* 首页入口卡片 */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.entry-card {
    display: block;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.entry-card:hover {
    border-color: rgba(0, 112, 213, 0.4);
    transform: translateY(-4px);
}

.entry-card h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.entry-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.entry-card .card-link {
    font-size: 13px;
    color: var(--accent);
}

/* 关于页 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.about-stat {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.about-stat strong {
    display: block;
    font-size: 36px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.about-stat span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .entry-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
}

/* 新闻资讯 */
.news-intro {
    margin-bottom: 40px;
}

.news-intro h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
}

.news-intro p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: rgba(0, 112, 213, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.news-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    background-size: cover;
    background-position: center;
}

.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
}

.news-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(0, 112, 213, 0.15);
    color: #4da3ff;
    font-size: 12px;
}

.news-card-meta time {
    color: rgba(255, 255, 255, 0.45);
}

.news-card h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-summary {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.news-read-more {
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    color: var(--accent, #0070d5);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.news-read-more:hover {
    color: #4da3ff;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.news-modal.hidden {
    display: none;
}

.news-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.news-modal-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.news-modal-meta time {
    color: rgba(255, 255, 255, 0.5);
}

.news-modal-panel h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-right: 40px;
}

.news-modal-cover {
    display: none;
    height: 240px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.news-modal-cover.has-video {
    height: auto;
    overflow: hidden;
    background: #050505;
}

.news-modal-cover video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.news-modal-content {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-detail-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-detail-image {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .case-detail-hero {
        min-height: 540px;
    }

    .case-detail-hero-content {
        padding-bottom: 48px;
    }

    .case-detail-breadcrumb {
        margin-bottom: 34px;
    }

    .case-detail-hero h1 {
        font-size: 34px;
    }

    .case-detail-hero-content > p {
        font-size: 15px;
    }

    .case-detail-meta {
        grid-template-columns: 1fr;
    }

    .case-detail-meta > div,
    .case-detail-meta > div:first-child {
        padding: 20px 0;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--border);
    }

    .case-detail-meta > div:last-child {
        border-bottom: 0;
    }

    .case-detail-image {
        min-height: 260px;
    }

    .case-detail-results-grid {
        grid-template-columns: 1fr;
    }

    .case-detail-text-block {
        padding: 34px 0;
    }

    .case-detail-text-block + .case-detail-text-block {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .case-detail-pagination-inner {
        grid-template-columns: 1fr 1fr;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .case-detail-back {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }
}

/* ===== 全站悬浮联系与客服 ===== */
.site-floating-tools {
    position: fixed;
    z-index: 9000;
    top: 50%;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.floating-tool {
    position: relative;
    width: 48px;
    height: 48px;
}

.floating-tool-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(18, 20, 24, 0.94);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(12px);
}

.floating-tool-button:hover,
.floating-tool-button:focus-visible,
.floating-tool:focus-within .floating-tool-button {
    outline: none;
    border-color: rgba(0, 112, 213, 0.8);
    background: #0070d5;
    transform: translateX(-2px);
}

.floating-tool-button svg,
.customer-chat-close svg,
.customer-chat-send svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-tool-popover {
    position: absolute;
    top: 50%;
    right: 58px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    background: #ffffff;
    color: #17202a;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.floating-tool:hover .floating-tool-popover,
.floating-tool:focus-within .floating-tool-popover {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.floating-qr-popover {
    width: 176px;
    padding: 12px;
    text-align: center;
}

.floating-qr-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 8px;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.floating-qr-popover strong {
    font-size: 13px;
    font-weight: 600;
}

.floating-phone-popover {
    width: max-content;
    max-width: min(280px, calc(100vw - 90px));
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.customer-chat-panel {
    position: fixed;
    z-index: 9001;
    right: 78px;
    bottom: 24px;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 48px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #dce2e8;
    border-radius: 8px;
    background: #f6f8fa;
    color: #18212b;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.customer-chat-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.customer-chat-header {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid #e1e6eb;
    background: #ffffff;
}

.customer-chat-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.customer-chat-heading > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.customer-chat-heading strong {
    font-size: 15px;
    line-height: 1.35;
}

.customer-chat-heading span:not(.customer-chat-status-dot) {
    color: #66717d;
    font-size: 12px;
    line-height: 1.35;
}

.customer-chat-status-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #98a2ad;
    box-shadow: 0 0 0 4px rgba(152, 162, 173, 0.14);
}

.customer-chat-panel[data-connection-state="online"] .customer-chat-status-dot {
    background: #19a66f;
    box-shadow: 0 0 0 4px rgba(25, 166, 111, 0.14);
}

.customer-chat-panel[data-connection-state="error"] .customer-chat-status-dot {
    background: #d94b4b;
    box-shadow: 0 0 0 4px rgba(217, 75, 75, 0.14);
}

.customer-chat-close,
.customer-chat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.customer-chat-close {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 6px;
    background: transparent;
    color: #52606d;
}

.customer-chat-close:hover,
.customer-chat-close:focus-visible {
    outline: none;
    background: #edf1f4;
    color: #17202a;
}

.customer-chat-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 18px 14px;
    overscroll-behavior: contain;
}

.customer-chat-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
}

.customer-chat-message.is-visitor {
    align-items: flex-end;
}

.customer-chat-bubble {
    max-width: 82%;
    padding: 10px 12px;
    border: 1px solid #dce2e8;
    border-radius: 7px;
    background: #ffffff;
    color: #26323d;
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.customer-chat-message.is-visitor .customer-chat-bubble {
    border-color: #0070d5;
    background: #0070d5;
    color: #ffffff;
}

.customer-chat-message time {
    margin-top: 4px;
    color: #89939e;
    font-size: 11px;
}

.customer-chat-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #dfe4e9;
    background: #ffffff;
}

.customer-chat-compose textarea {
    width: 100%;
    min-height: 40px;
    max-height: 96px;
    resize: none;
    padding: 9px 11px;
    border: 1px solid #ccd4dc;
    border-radius: 6px;
    outline: none;
    background: #ffffff;
    color: #17202a;
    font: 14px/1.5 var(--font);
}

.customer-chat-compose textarea:focus {
    border-color: #0070d5;
    box-shadow: 0 0 0 3px rgba(0, 112, 213, 0.12);
}

.customer-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #0070d5;
    color: #ffffff;
}

.customer-chat-send:hover,
.customer-chat-send:focus-visible {
    outline: none;
    background: #005fb7;
}

.customer-chat-send:disabled {
    cursor: wait;
    opacity: 0.55;
}

@media (max-width: 640px) {
    .site-floating-tools {
        top: auto;
        right: 12px;
        bottom: 12px;
        flex-direction: row;
        transform: none;
    }

    .floating-tool-button:hover,
    .floating-tool-button:focus-visible,
    .floating-tool:focus-within .floating-tool-button {
        transform: translateY(-2px);
    }

    .floating-tool-popover {
        top: auto;
        right: 0;
        bottom: 58px;
        transform: translateY(8px);
    }

    .floating-tool:hover .floating-tool-popover,
    .floating-tool:focus-within .floating-tool-popover {
        transform: translateY(0);
    }

    .floating-phone-popover {
        right: -56px;
    }

    .customer-chat-panel {
        right: 12px;
        bottom: 72px;
        width: calc(100vw - 24px);
        height: min(540px, calc(100dvh - 88px));
    }
}
