/* ==========================================
   加倍软件 V2 - 精致独特设计
   ========================================== */

/* === 全局重置与变量 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === 导航栏 Mega Menu 样式 === */
.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
    margin: 0 auto;  /* 居中 */
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Mega Menu 容器 */
.mega-menu {
    position: fixed;
    left: 0;
    top: 80px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Hover延迟机制 - 通过JavaScript控制 */
.mega-dropdown.mega-active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 600px;
    pointer-events: auto;
}

/* 导航与下拉面板之间的隐形桥接，避免鼠标移入时穿过空隙触发关闭 */
.mega-dropdown.mega-active .mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* 关闭遮罩层 */
.mega-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.mega-dropdown:hover ~ .mega-menu-overlay,
.mega-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mega Menu 内容区 */
.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* 统一布局规则 */
.mega-menu-narrow .mega-menu-content {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

/* Mega Menu 分区 */
.mega-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* "查看全部"链接 */
.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-view-all:hover {
    gap: 0.75rem;
}

/* Mega Menu 项目 */
.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.mega-item:hover {
    background: rgba(10, 132, 255, 0.08);
    transform: translateX(4px);
}

/* SVG图标容器 */
.mega-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.mega-item:hover .mega-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0a84ff 0%, #00d4ff 100%);
}

/* Iconify图标样式 */
.mega-icon .iconify {
    width: 24px;
    height: 24px;
    color: #0a84ff;
}

.mega-item:hover .mega-icon .iconify {
    color: #ffffff;
}

body:not(.light-theme) .mega-icon .iconify {
    color: #00d4ff;
}

body:not(.light-theme) .mega-item:hover .mega-icon .iconify {
    color: #ffffff;
}

.mega-text {
    flex: 1;
}

.mega-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.mega-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

/* 推荐区域 */
.mega-featured {
    background: linear-gradient(135deg, #0a84ff 0%, #00d4ff 100%);
    padding: 2rem;
    border-radius: 16px;
    color: white;
}

.mega-featured .mega-title {
    color: rgba(255, 255, 255, 0.9);
}

.mega-feature-card {
    position: relative;
}

.mega-feature-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.mega-feature-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.mega-feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.mega-feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mega-feature-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

/* 暗色主题适配 */
body:not(.light-theme) .mega-menu {
    background: rgba(22, 27, 51, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body:not(.light-theme) .nav-link {
    color: #e4e6eb;
}

body:not(.light-theme) .mega-name {
    color: #e4e6eb;
}

body:not(.light-theme) .mega-desc {
    color: #8b92a7;
}

body:not(.light-theme) .mega-title {
    color: #8b92a7;
}

body:not(.light-theme) .mega-item:hover {
    background: rgba(10, 132, 255, 0.15);
}

body:not(.light-theme) .mega-icon {
    background: rgba(10, 132, 255, 0.2);
}

/* 响应式布局 - 平板 */
@media (max-width: 1024px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .mega-menu-narrow .mega-menu-content {
        grid-template-columns: 1fr;
    }
}

/* 响应式布局 - 手机 */
@media (max-width: 768px) {
    .mega-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        max-height: none;
        overflow-y: auto;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .mega-section {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 1.5rem;
    }

    .mega-section:last-child {
        border-bottom: none;
    }

    body:not(.light-theme) .mega-section {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    /* 移动端导航栏调整 */
    .nav-center {
        display: none;
    }

    .nav-left {
        position: static;
    }

    /* 移动端汉堡菜单（待实现） */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 60px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

:root {
    /* 主色调 - 深邃科技蓝 */
    --color-primary: #0a84ff;
    --color-primary-dark: #0066cc;
    --color-secondary: #00d4ff;
    --color-accent: #ff3b6d;

    /* 中性色 - 暗色主题 */
    --color-dark: #0a0e27;
    --color-dark-2: #161b33;
    --color-dark-3: #1e2542;
    --color-text: #e4e6eb;
    --color-text-muted: #8b92a7;
    --color-border: rgba(255, 255, 255, 0.08);

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #0a84ff 0%, #00d4ff 100%);
    --gradient-accent: linear-gradient(135deg, #ff3b6d 0%, #ff7a3b 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e27 0%, #161b33 100%);

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.3);

    /* 字体 */
    --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 亮色主题 */
body.light-theme {
    /* 中性色 - 亮色主题 */
    --color-dark: #ffffff;
    --color-dark-2: #f8f9fa;
    --color-dark-3: #ffffff;
    --color-text: #1a1d29;
    --color-text-muted: #5f6368;
    --color-border: rgba(0, 0, 0, 0.08);

    /* 渐变 - 亮色主题 */
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);

    /* 阴影 - 亮色主题 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* === 背景视频 === */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;  /* 只在第一屏 */
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(0px);  /* 移除模糊效果 */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.7);
    opacity: 0;  /* 默认隐藏蒙版 */
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .video-overlay {
    background: rgba(255, 255, 255, 0.6);
}

/* 激活状态 - 显示蒙版 */
.hero-active .video-overlay {
    opacity: 1;
}

/* === 背景动画层 === */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.light-theme .bg-animation {
    opacity: 0.3;
}

body.light-theme .grid-overlay {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-accent);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* === 导航栏 === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;  /* 从90px减少到80px */
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;  /* 垂直居中 */
}

body:not(.light-theme) .navbar {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.navbar .container {
    display: flex;
    justify-content: center;  /* 居中对齐 */
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;  /* 左右各20px */
    max-width: none;  /* 移除最大宽度限制，占满整个导航栏 */
    margin: 0;
    position: relative;
}

.nav-left {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;  /* 移除间隙，让下拉菜单紧凑排列 */
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* 默认（亮色主题）Logo变暗色 */
.logo-img {
    filter: brightness(0) saturate(100%);
}

/* 暗色主题下Logo保持原色 */
body:not(.light-theme) .logo-img {
    filter: brightness(1) invert(0);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-icon {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
    line-height: 1;
    transition: color 0.3s ease;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

/* 主题切换按钮 */
/* ==========================================
   主题选择器（下拉式）
   ========================================== */
.theme-selector {
    position: relative;
}

.theme-selector-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(10, 132, 255, 0.08);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
}

.theme-selector-btn:hover {
    background: rgba(10, 132, 255, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.25);
}

body.light-theme .theme-selector-btn {
    background: rgba(10, 132, 255, 0.05);
    border-color: rgba(10, 132, 255, 0.15);
}

body.light-theme .theme-selector-btn:hover {
    background: rgba(10, 132, 255, 0.1);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.2);
}

.theme-current-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
    color: var(--color-text);
    opacity: 0.9;
}

body.light-theme .theme-current-icon {
    color: #1a1d29;
}

.theme-selector.active .theme-current-icon {
    transform: rotate(180deg);
}

/* SVG图标样式 */
.theme-current-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(30, 37, 66, 0.98);
    border: 1px solid rgba(10, 132, 255, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

body.light-theme .theme-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.theme-selector.active .theme-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text);
}

.theme-option:hover {
    background: rgba(10, 132, 255, 0.15);
    transform: translateX(4px);
}

body.light-theme .theme-option {
    color: #1a1d29;
}

body.light-theme .theme-option:hover {
    background: rgba(10, 132, 255, 0.08);
}

.theme-option.active {
    background: rgba(10, 132, 255, 0.2);
    border-left: 3px solid var(--color-primary);
    padding-left: calc(1rem - 3px);
}

body.light-theme .theme-option.active {
    background: rgba(10, 132, 255, 0.15);
}

.theme-option-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-option-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* 导航栏登录按钮 */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1.1rem;
    background: linear-gradient(135deg, #0a84ff 0%, #0066cc 100%);
    border: none;
    border-radius: 18px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 132, 255, 0.4);
}

body.light-theme .login-btn {
    background: linear-gradient(135deg, #0a84ff 0%, #0077e6 100%);
}

body.light-theme .login-btn:hover {
    box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}

/* === 英雄区 === */
.hero {
    padding: 180px 0 120px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.light-theme .hero {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

/* 未激活状态 - 隐藏所有内容 */
.hero-inactive .hero-badge,
.hero-inactive .hero-title,
.hero-inactive .hero-subtitle,
.hero-inactive .hero-stats,
.hero-inactive .cta-button {
    opacity: 0;
    pointer-events: none;
}

/* 激活状态 - 显示内容 */
.hero-active .hero-badge,
.hero-active .hero-title,
.hero-active .hero-subtitle,
.hero-active .hero-stats,
.hero-active .cta-button {
    animation-play-state: running;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-active .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-active .title-line:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
    color: var(--color-text);
}

.hero-active .title-line.highlight {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
    color: #000000;
}

.title-line:nth-child(1) {
    color: var(--color-text);
}

.title-line.highlight {
    color: #000000;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-active .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.hero-active .cta-button {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.6s;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1);
    box-shadow: 0 0 60px rgba(10, 132, 255, 0.5);
}

.cta-arrow {
    font-size: 1.5rem;
    animation: bounce 2s ease infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === 产品区 === */
.products {
    padding: 120px 0;
    background: var(--color-dark-2);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

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

.product-card {
    position: relative;
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transform: scale(0.88) !important;
    transform-origin: center;
    min-height: 580px;
    display: flex;
    flex-direction: column;
}

body.light-theme .product-card {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card:hover {
    transform: scale(1) !important;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}
}

.card-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover .card-bg {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(10, 132, 255, 0.2)) brightness(0.8);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* 亮色主题下显示亮色logo，隐藏暗色logo */
body.light-theme .product-logo-dark {
    display: none;
}

body.light-theme .product-logo-light {
    display: block;
}

/* 暗色主题下显示暗色logo，隐藏亮色logo */
body:not(.light-theme) .product-logo-light {
    display: none;
}

body:not(.light-theme) .product-logo-dark {
    display: block;
}

.product-card:hover .product-logo {
    transform: scale(1.05);
}

/* 暗色主题下产品Logo恢复原色 + 蓝色光晕 */
body:not(.light-theme) .product-logo {
    filter: drop-shadow(0 4px 12px rgba(10, 132, 255, 0.3)) brightness(1);
}

.product-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.product-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.product-description {
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    min-height: 80px;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-tag {
    padding: 0.5rem 1rem;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.product-card:hover .highlight-tag {
    background: rgba(10, 132, 255, 0.2);
    border-color: var(--color-primary);
}

.product-download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(10, 132, 255, 0.1);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-download:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.product-download:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.product-download.primary {
    background: var(--gradient-accent);
    border: none;
    color: white;
}

.product-download.primary:hover {
    box-shadow: 0 8px 24px rgba(255, 59, 109, 0.4);
}

.download-icon {
    font-size: 1.3rem;
}

.product-meta {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* === AI模型区 === */
.models {
    padding: 120px 0;
    background: var(--color-dark);
}

/* 完全移除旧的竖向模型样式 */
.models-grid,
.model-card,
.model-logo,
.model-icon {
    display: none !important;
}

/* 移除旧的model-item样式（竖向的） */
.models-grid .model-item {
    display: none !important;
}

body.light-theme .model-item {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.model-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.model-icon {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 12px;
    opacity: 0.2;
}

.icon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
}

.model-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.model-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* === 特性区 === */
.features {
    padding: 120px 0;
    background: var(--color-dark-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature-box {
    text-align: center;
    padding: 2.5rem;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon .iconify {
    width: 64px;
    height: 64px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon .iconify {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(10, 132, 255, 0.3));
}

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature-box p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* === 页脚 === */
.footer {
    padding: 4.5rem 0 0;
    background: var(--color-dark);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.15fr 2.2fr;
    gap: 3.5rem;
    padding-bottom: 3rem;
}

.footer-brand-col {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: brightness(0) saturate(100%);
}

body:not(.light-theme) .footer-logo-img {
    filter: brightness(1) invert(0);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-logo-text .logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
    line-height: 1;
}

.footer-logo-text .logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.footer-brand-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1.1rem;
    letter-spacing: 0.02em;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-link-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 0.75rem;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease;
}

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

.company-panel-body {
    text-align: left;
}

.company-panel-body .modal-message {
    margin-bottom: 1rem;
}

.company-panel-lead {
    color: #8b92a7;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

body.light-theme .company-panel-lead {
    color: #5f6368;
}

.company-panel-body p {
    color: #b8bcc8;
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 0.9rem;
}

body.light-theme .company-panel-body p {
    color: #5f6368;
}

.company-team-card {
    margin: 1rem 0 1.5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(10, 132, 255, 0.25);
    border-radius: 14px;
    background: rgba(10, 132, 255, 0.08);
}

body.light-theme .company-team-card {
    background: rgba(10, 132, 255, 0.05);
    border-color: rgba(10, 132, 255, 0.15);
}

.company-team-role {
    color: #0a84ff;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.company-team-name {
    color: #e4e6eb;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

body.light-theme .company-team-name {
    color: #1a1d29;
}

.company-team-card p {
    margin: 0;
}

.footer-contact-item {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.footer-contact-item a {
    display: inline;
    margin: 0;
    color: var(--color-text);
}

.footer-contact-item a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid var(--color-border);
}

.footer-legal {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
}

.footer-legal-sep {
    color: var(--color-border);
}

.footer-bottom .icp-record {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: inherit;
    font-size: inherit;
}

.footer-bottom .icp-record .iconify {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.footer-bottom .icp-record a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom .icp-record a:hover {
    color: var(--color-primary);
}

/* === 响应式设计 === */
@media (max-width: 1200px) {
    .products-showcase {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 24px;
    }

    .nav-links {
        gap: 1.5rem;
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-main,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        max-width: none;
    }
}
/* 添加到 CSS 文件末尾 */

/* === AI模型区 - 大网格布局 === */
.models-grid-large {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.model-icon-img {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.model-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.icon-text-fallback {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .models-grid-large {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .models-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .models-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* === AI模型区 - 真实Logo版本（13个模型）=== */
.models-grid-medium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

body.light-theme .model-item {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.model-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.model-item:hover .model-icon-img {
    transform: scale(1.1);
    background: rgba(10, 132, 255, 0.15);
}

.model-icon-img {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(10, 132, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    padding: 16px;
    transition: all 0.3s ease;
}

body.light-theme .model-icon-img {
    background: rgba(10, 132, 255, 0.05);
}

.model-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.model-info {
    width: 100%;
}

.model-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.model-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* 响应式 */
@media (max-width: 1200px) {
    .models-grid-medium {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .models-grid-medium {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .models-grid-medium {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .model-icon-img {
        width: 90px;
        height: 90px;
        padding: 12px;
    }
}

/* ==========================================
   模型卡片可点击样式
   ========================================== */
.model-item.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-item.clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(10, 132, 255, 0.25);
}

.model-item.clickable:active {
    transform: translateY(-4px) scale(1.01);
}

/* ==========================================
   模型介绍模态框
   ========================================== */
.model-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-modal.show {
    opacity: 1;
}

.model-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
}

body.light-theme .model-modal .modal-overlay {
    background: rgba(255, 255, 255, 0.95);
}

.model-modal .modal-container {
    position: relative;
    background: linear-gradient(135deg, #1e2542 0%, #161b33 100%);
    border: 1px solid rgba(10, 132, 255, 0.3);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(10, 132, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .model-modal .modal-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.model-modal.show .modal-container {
    transform: scale(1);
}

.model-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

body.light-theme .model-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.model-modal .modal-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.light-theme .model-modal .modal-logo {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.model-modal .modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.model-modal .modal-header-text {
    flex: 1;
}

.model-modal .modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e4e6eb;
    margin: 0;
    font-family: var(--font-display);
}

body.light-theme .model-modal .modal-header h3 {
    color: #1a1d29;
}

.model-modal .modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

.model-modal .modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b92a7;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.light-theme .model-modal .modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #5f6368;
}

.model-modal .modal-close:hover {
    background: rgba(255, 59, 109, 0.1);
    border-color: #ff3b6d;
    color: #ff3b6d;
    transform: rotate(90deg);
}

.model-modal .modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

.model-modal .modal-description {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.model-modal .modal-capabilities {
    background: rgba(10, 132, 255, 0.05);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

body.light-theme .model-modal .modal-capabilities {
    background: rgba(10, 132, 255, 0.03);
    border: 1px solid rgba(10, 132, 255, 0.15);
}

.model-modal .modal-capabilities h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0a84ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.model-modal .modal-capabilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.model-modal .modal-capabilities li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.model-modal .modal-capabilities li:last-child {
    margin-bottom: 0;
}

.model-modal .modal-capabilities .cap-icon {
    color: #0a84ff;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
/* === 解决方案区 === */
.solutions {
    padding: 6rem 0;
    background: var(--color-dark-2);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.solution-icon .iconify {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon .iconify {
    transform: scale(1.15) rotate(5deg);
    color: var(--color-accent);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.solution-card > p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

/* === 下载区 === */
.download-section {
    padding: 6rem 0;
    background: var(--color-dark);
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.platform-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.platform-download-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.platform-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* === 定价区 === */
.pricing {
    padding: 6rem 0;
    background: var(--color-dark-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--color-dark-3);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.pricing-badge.primary {
    background: var(--gradient-primary);
    color: white;
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-dark-2);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* === 帮助中心区 === */
.help-center {
    padding: 6rem 0;
    background: var(--color-dark);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.help-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.help-icon .iconify {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.help-card:hover .help-icon .iconify {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 12px rgba(10, 132, 255, 0.4));
}

.help-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.help-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.help-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

/* === 招商加盟区 === */
.partner {
    padding: 6rem 0;
    background: var(--color-dark-2);
}

.partner-content {
    margin-top: 3rem;
}

.partner-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.partner-hero h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.partner-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.benefit-label {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.partner-type-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.partner-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.partner-type-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.partner-type-card > p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.partner-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-type-card ul li {
    padding: 0.5rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.partner-contact-info {
    margin-top: 1rem;
}

.partner-contact-info p {
    margin: 0.75rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.partner-cta-btn {
    margin-top: 2.5rem;
    width: 100%;
    padding: 0.65rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* === 响应式设计 === */
@media (max-width: 768px) {
    .solutions-grid,
    .download-platforms,
    .pricing-grid,
    .help-grid,
    .partner-types {
        grid-template-columns: 1fr;
    }

    .partner-benefits {
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }
}

/* Cache buster: 1781487390 */

/* === AI model horizontal carousel === */
.models-carousel {
    --carousel-step: clamp(190px, 26vw, 330px);
    --model-card-width: clamp(270px, 31vw, 400px);
    position: relative;
    height: 250px;
    margin-top: 3.5rem;
    padding: 0 5rem;
}

.models-carousel-viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    perspective: 1400px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 54px, #000 calc(100% - 54px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 54px, #000 calc(100% - 54px), transparent 100%);
}

.models-grid-medium {
    position: relative;
    display: block;
    grid-template-columns: none;
    height: 100%;
    margin-top: 0;
    overflow: visible;
}

.models-grid-medium::-webkit-scrollbar {
    display: none;
}

.models-carousel .model-item {
    --offset: 0;
    --model-card-scale: 0.72;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--model-card-width);
    min-height: 136px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
    text-align: left;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    filter: saturate(0.72) blur(0.6px);
    transform: translate(-50%, -50%) translateX(calc(var(--offset) * var(--carousel-step))) scale(var(--model-card-scale));
    transform-origin: center;
    transition:
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        filter 0.45s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    will-change: transform, opacity;
}

.models-carousel .model-item.is-near {
    --model-card-scale: 0.88;
    z-index: 2;
    opacity: 0.68;
    pointer-events: auto;
    filter: saturate(0.86);
}

.models-carousel .model-item.is-far {
    --model-card-scale: 0.72;
    z-index: 1;
    opacity: 0.28;
    filter: saturate(0.55) blur(0.8px);
}

.models-carousel .model-item.is-active {
    --model-card-scale: 1.12;
    z-index: 4;
    opacity: 1;
    pointer-events: auto;
    filter: saturate(1.12);
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.22), transparent 36%),
        linear-gradient(135deg, rgba(10, 132, 255, 0.24) 0%, rgba(124, 58, 237, 0.18) 48%, rgba(22, 27, 51, 0.94) 100%);
    border-color: rgba(0, 212, 255, 0.62);
    box-shadow:
        0 22px 54px rgba(10, 132, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

body.light-theme .models-carousel .model-item.is-active {
    background:
        radial-gradient(circle at 18% 18%, rgba(10, 132, 255, 0.18), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #eef7ff 48%, #f5f1ff 100%);
    box-shadow:
        0 24px 56px rgba(10, 132, 255, 0.22),
        0 0 0 1px rgba(10, 132, 255, 0.12) inset;
}

.models-carousel .model-item.clickable:hover {
    transform: translate(-50%, -50%) translateX(calc(var(--offset) * var(--carousel-step))) translateY(-4px) scale(calc(var(--model-card-scale) + 0.02));
}

.models-carousel .model-icon-img {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    margin: 0;
    padding: 12px;
    border-radius: 16px;
}

.models-carousel .model-item.is-active .model-icon-img {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.22);
}

body.light-theme .models-carousel .model-item.is-active .model-icon-img {
    background: rgba(10, 132, 255, 0.09);
}

.models-carousel .model-info {
    min-width: 0;
}

.models-carousel .model-info h4 {
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.models-carousel .model-info p {
    margin: 0;
}

.models-carousel .model-item.is-active .model-info h4 {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.models-carousel .model-item.is-active .model-info p {
    color: rgba(228, 230, 235, 0.82);
}

body.light-theme .models-carousel .model-item.is-active .model-info h4 {
    color: #0f172a;
    text-shadow: none;
}

body.light-theme .models-carousel .model-item.is-active .model-info p {
    color: #475569;
}

.models-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #0a84ff 0%, #00d4ff 52%, #7c3aed 100%);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow:
        0 18px 42px rgba(10, 132, 255, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    overflow: hidden;
}

.models-carousel-btn::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.models-carousel-btn:hover {
    transform: translateY(-50%) scale(1.07);
    filter: saturate(1.12);
    box-shadow:
        0 22px 52px rgba(10, 132, 255, 0.42),
        0 0 26px rgba(0, 212, 255, 0.34);
}

.models-carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.models-carousel-btn .iconify {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.26));
}

.models-carousel-prev {
    left: 0.65rem;
}

.models-carousel-next {
    right: 0.65rem;
}

@media (max-width: 900px) {
    .models-carousel {
        --carousel-step: clamp(160px, 46vw, 270px);
        --model-card-width: clamp(250px, 62vw, 330px);
        height: 230px;
        padding: 0 3.75rem;
    }

    .models-carousel .model-item {
        min-height: 124px;
    }
}

@media (max-width: 600px) {
    .models-carousel {
        --carousel-step: 62vw;
        --model-card-width: min(78vw, 310px);
        height: 205px;
        padding: 0 1rem;
    }

    .models-carousel-viewport {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    }

    .models-carousel-btn {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .models-carousel-btn::before {
        border-radius: 14px;
    }

    .models-carousel-prev {
        left: 0;
    }

    .models-carousel-next {
        right: 0;
    }

    .models-carousel .model-item {
        min-height: 112px;
        gap: 0.9rem;
        padding: 1rem;
        border-radius: 16px;
    }

    .models-carousel .model-icon-img {
        width: 58px;
        height: 58px;
        padding: 10px;
        border-radius: 14px;
    }
}
/* === AI model carousel size and arrow refinement === */
.models-carousel {
    --carousel-step: clamp(235px, 30vw, 390px);
    --model-card-width: clamp(330px, 38vw, 480px);
    height: 315px;
    margin-top: 4rem;
    padding: 0 4.25rem;
}

.models-carousel .model-item {
    min-height: 168px;
    gap: 1.55rem;
    padding: 1.55rem 1.8rem;
    border-radius: 22px;
}

.models-carousel .model-item.is-near {
    --model-card-scale: 0.92;
    opacity: 0.72;
}

.models-carousel .model-item.is-far {
    --model-card-scale: 0.78;
    opacity: 0.3;
}

.models-carousel .model-item.is-active {
    --model-card-scale: 1.2;
    border-color: rgba(0, 212, 255, 0.9);
    box-shadow:
        0 32px 76px rgba(10, 132, 255, 0.38),
        0 0 46px rgba(0, 212, 255, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.models-carousel .model-item.is-active::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

body.light-theme .models-carousel .model-item.is-active {
    border-color: rgba(10, 132, 255, 0.55);
    box-shadow:
        0 34px 78px rgba(10, 132, 255, 0.26),
        0 0 36px rgba(124, 58, 237, 0.14),
        0 0 0 1px rgba(10, 132, 255, 0.14) inset;
}

.models-carousel .model-icon-img {
    width: 86px;
    height: 86px;
    padding: 14px;
    border-radius: 20px;
}

.models-carousel .model-item.is-active .model-icon-img {
    transform: scale(1.08);
}

.models-carousel .model-info h4 {
    font-size: 1.22rem;
}

.models-carousel .model-info p {
    font-size: 1rem;
}

.models-carousel .model-item.is-active .model-info h4 {
    font-size: 1.42rem;
}

.models-carousel .model-item.is-active .model-info p {
    font-size: 1.06rem;
}

.models-carousel-btn {
    width: 74px;
    height: 96px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(228, 230, 235, 0.42);
    box-shadow: none;
    opacity: 0.55;
    overflow: visible;
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.18));
    transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

body.light-theme .models-carousel-btn {
    background: transparent;
    box-shadow: none;
    color: rgba(15, 23, 42, 0.38);
    filter: drop-shadow(0 0 14px rgba(10, 132, 255, 0.12));
}

.models-carousel-btn::before {
    display: none;
}

.models-carousel-btn:hover {
    opacity: 0.95;
    color: #00d4ff;
    box-shadow: none;
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.44));
}

.models-carousel-btn:active {
    transform: translateY(-50%) scale(0.94);
}

.models-carousel-btn .iconify {
    width: 54px;
    height: 54px;
    filter: none;
}

.models-carousel-prev {
    left: 0.15rem;
}

.models-carousel-next {
    right: 0.15rem;
}

.models-carousel-prev:hover {
    transform: translateY(-50%) translateX(-4px) scale(1.06);
}

.models-carousel-next:hover {
    transform: translateY(-50%) translateX(4px) scale(1.06);
}

@media (max-width: 900px) {
    .models-carousel {
        --carousel-step: clamp(190px, 50vw, 310px);
        --model-card-width: clamp(290px, 68vw, 390px);
        height: 290px;
        padding: 0 3.25rem;
    }

    .models-carousel .model-item {
        min-height: 150px;
        padding: 1.35rem 1.5rem;
    }

    .models-carousel .model-icon-img {
        width: 78px;
        height: 78px;
    }

    .models-carousel-btn {
        width: 58px;
        height: 84px;
    }

    .models-carousel-btn .iconify {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 600px) {
    .models-carousel {
        --carousel-step: 68vw;
        --model-card-width: min(84vw, 350px);
        height: 250px;
        padding: 0 0.5rem;
    }

    .models-carousel .model-item {
        min-height: 132px;
        gap: 1rem;
        padding: 1.15rem;
    }

    .models-carousel .model-icon-img {
        width: 66px;
        height: 66px;
        padding: 11px;
    }

    .models-carousel .model-info h4 {
        font-size: 1.08rem;
    }

    .models-carousel .model-item.is-active .model-info h4 {
        font-size: 1.22rem;
    }

    .models-carousel-btn {
        width: 42px;
        height: 70px;
        opacity: 0.46;
    }

    .models-carousel-btn .iconify {
        width: 34px;
        height: 34px;
    }
}
/* === Navbar top-only positioning === */
.navbar {
    position: absolute;
}
/* === Page default zoom === */
:root {
    --page-default-zoom: 0.85;
}

body {
    zoom: var(--page-default-zoom);
}
/* === Hero video full-screen scroll binding === */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh / var(--page-default-zoom, 1));
    z-index: 0;
    pointer-events: none;
}

.video-background video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: none;
    object-fit: cover;
}

.video-overlay {
    height: 100%;
}

.hero {
    height: calc(100vh / var(--page-default-zoom, 1));
    min-height: calc(100vh / var(--page-default-zoom, 1));
    padding: 80px 0 0;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

body.light-theme .hero {
    background: transparent;
}

.hero .container {
    z-index: 2;
}
/* === Announcement ticker === */
.announcement-ticker {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 999;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10, 132, 255, 0.08), rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(10, 132, 255, 0.18);
    backdrop-filter: blur(12px);
    color: #eaf7ff;
}

body.light-theme .announcement-ticker {
    background: linear-gradient(90deg, rgba(10, 132, 255, 0.08), rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.06));
    border-top-color: rgba(10, 132, 255, 0.08);
    border-bottom-color: rgba(10, 132, 255, 0.16);
    color: #0f172a;
}

.announcement-ticker::before,
.announcement-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.announcement-ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10, 14, 39, 0.88), transparent);
}

.announcement-ticker::after {
    right: 0;
    background: linear-gradient(270deg, rgba(10, 14, 39, 0.88), transparent);
}

body.light-theme .announcement-ticker::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), transparent);
}

body.light-theme .announcement-ticker::after {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.9), transparent);
}

.announcement-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    animation: announcementScroll 18s linear infinite;
}

.announcement-track span {
    display: inline-flex;
    align-items: center;
    padding-right: 5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.announcement-track span::before {
    content: '◆';
    margin-right: 0.75rem;
    color: #00d4ff;
    font-size: 0.75rem;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.8);
}

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

@media (max-width: 768px) {
    .announcement-ticker {
        top: 96px;
        height: 40px;
    }

    .announcement-track span {
        font-size: 0.9rem;
        padding-right: 3.5rem;
    }
}
/* === Announcement ticker centered pill refinement === */
.announcement-ticker {
    left: 50%;
    width: 50%;
    height: 40px;
    justify-content: flex-start;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(10, 132, 255, 0.18);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

body.light-theme .announcement-ticker {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(10, 132, 255, 0.18);
}

.announcement-ticker::before,
.announcement-ticker::after {
    display: none;
}

.announcement-track {
    animation: announcementScroll 16s linear infinite;
}

.announcement-segment {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.announcement-track span {
    flex-shrink: 0;
    padding-right: 2.5rem;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: none;
}

.announcement-track span::before {
    content: none;
}

@media (max-width: 768px) {
    .announcement-ticker {
        width: 50%;
        height: 36px;
        top: 96px;
    }

    .announcement-track span {
        font-size: 0.82rem;
        padding-right: 2rem;
    }
}
/* === Announcement ticker visibility and translucent background === */
.announcement-ticker {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease;
}

body.light-theme .announcement-ticker {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(10, 132, 255, 0.14);
}

.announcement-ticker.ticker-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* === Announcement ticker vivid text refinement === */
.announcement-ticker {
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

body.light-theme .announcement-ticker {
    background: rgba(255, 255, 255, 0.46);
    border-color: rgba(10, 132, 255, 0.1);
}

.announcement-track span {
    gap: 0.42rem;
}

.announcement-track span strong {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #000000;
    -webkit-text-fill-color: #000000;
    font-weight: 900;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.16));
}

.ticker-emoji {
    display: inline-flex;
    align-items: center;
    font-style: normal;
    filter: drop-shadow(0 2px 5px rgba(249, 115, 22, 0.22));
}