/* Apple China Website Style - 完全按照苹果中国官网风格 */

:root {
    /* 苹果官网标准配色 */
    --apple-bg-light: #f5f5f7;
    --apple-bg-white: #ffffff;
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-text-tertiary: #6e6e73;
    --apple-link: #0071e3;
    --apple-link-hover: #0077ed;
    --apple-nav-bg: rgba(22, 22, 23, 0.8);
    --apple-nav-text: rgba(255, 255, 255, 0.8);
    --apple-nav-text-hover: rgba(255, 255, 255, 1);
    --apple-border: #d2d2d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background-color: var(--apple-bg-light);
    color: var(--apple-text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--apple-link);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--apple-link-hover);
}

/* ========== 导航栏 - 灰色背景黑色字体 ========== */
.global-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 44px;
    background: #f5f5f7;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    font-size: 12px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.nav-content {
    width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    overflow: visible;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    flex-shrink: 0;
    margin-right: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 18px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav-logo:hover img {
    opacity: 1;
}

.nav-company-name {
    font-size: 12px;
    color: var(--apple-text-primary);
    font-weight: 400;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-list li a {
    color: var(--apple-text-primary);
    font-size: 12px;
    padding: 0 8px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    text-decoration: none;
    opacity: 0.8;
    white-space: nowrap;
}

.nav-list li a:hover {
    opacity: 1;
    text-decoration: none;
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
    height: 100%;
    overflow: visible;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 8px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10001;
    border-radius: 0 0 12px 12px;
    margin-top: 0;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-column {
    padding: 0 30px;
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section-title {
    font-size: 10px;
    color: var(--apple-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.dropdown-main-link {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 600;
    color: var(--apple-text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.dropdown-main-link:hover {
    color: var(--apple-link);
}

.dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-links li {
    height: auto;
    margin-bottom: 8px;
}

.dropdown-links li a {
    font-size: 14px;
    line-height: 1.42859;
    color: var(--apple-text-primary);
    text-decoration: none;
    padding: 0;
    height: auto;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.dropdown-links li a:hover {
    color: var(--apple-link);
    opacity: 1;
}

/* 搜索功能 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-text-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-search-btn:hover {
    opacity: 1;
}

.nav-search-box {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    z-index: 10001;
    margin-top: 5px;
}

.nav-search-box.active {
    display: flex;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--apple-text-primary);
    background: transparent;
    padding: 5px 0;
}

.search-input::placeholder {
    color: var(--apple-text-secondary);
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--apple-text-secondary);
    font-size: 18px;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: var(--apple-text-primary);
}

/* ========== Hero Section - 灰色动效背景 ========== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 692px;
    background-color: #f5f5f7;
    color: var(--apple-text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 25%, #e5e7eb 50%, #d1d5db 75%, #f3f4f6 100%);
    background-size: 400% 400%;
    animation: heroGradientShift 20s ease infinite;
    overflow: hidden;
}

/* 多层网格效果 */
.hero-animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(107, 114, 128, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 114, 128, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: heroGridMove 25s linear infinite;
    top: -50%;
    left: -50%;
}

/* 流动光效 */
.hero-animated-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(156, 163, 175, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(156, 163, 175, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(156, 163, 175, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(156, 163, 175, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 30%, rgba(156, 163, 175, 0.18) 0%, transparent 45%);
    animation: heroPulse 12s ease-in-out infinite;
}

/* 添加额外的动画层 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(107, 114, 128, 0.03) 100px,
            rgba(107, 114, 128, 0.03) 200px
        );
    animation: heroDiagonal 30s linear infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    background: 
        conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(156, 163, 175, 0.05) 60deg,
            transparent 120deg,
            rgba(156, 163, 175, 0.05) 180deg,
            transparent 240deg,
            rgba(156, 163, 175, 0.05) 300deg,
            transparent 360deg
        );
    animation: heroRotate 40s linear infinite;
    pointer-events: none;
}

/* 流动的光带效果 */
@keyframes heroGradientShift {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    25% { 
        background-position: 100% 50%;
        filter: brightness(1.05);
    }
    50% { 
        background-position: 100% 100%;
        filter: brightness(1);
    }
    75% { 
        background-position: 0% 100%;
        filter: brightness(1.05);
    }
}

@keyframes heroGridMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(80px, 80px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes heroPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.05) rotate(180deg);
    }
    75% { 
        opacity: 0.9;
        transform: scale(1.15) rotate(270deg);
    }
}

@keyframes heroDiagonal {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(200px) translateY(200px); }
}

@keyframes heroRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 0 22px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.3s;
}

.hero-title {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 6px;
    color: var(--apple-text-primary);
}

.hero-subtitle {
    font-size: 28px;
    line-height: 1.10722;
    font-weight: 400;
    letter-spacing: 0.004em;
    margin-bottom: 19px;
    color: var(--apple-text-secondary);
}

.hero-cta {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: center;
    margin-top: 19px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.cta-link {
    color: var(--apple-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: var(--apple-link-hover);
    text-decoration: none;
}

.cta-link::after {
    content: " >";
    font-size: 0.9em;
    margin-left: 2px;
}

/* ========== Section Title - 苹果风格 ========== */
.section-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    text-align: center;
    margin: 0;
    padding: 0;
    color: var(--apple-text-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none; /* 隐藏标题，让产品直接展示 */
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Grid Container - 苹果风格网格（全宽无圆角） ========== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--apple-bg-light);
    position: relative;
    overflow: visible;
}

.grid-card {
    background: var(--apple-bg-white);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    min-height: 420px;
    aspect-ratio: 2 / 1;
    text-decoration: none;
    color: inherit;
}

.grid-card.visible {
    animation: fadeUpCard 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.grid-card:hover {
    opacity: 0.95;
    z-index: 10;
}

/* 自研效率平台卡片悬停效果 */
.efficiency-platform-card {
    cursor: default;
}

.efficiency-platform-card:hover {
    background: #e5e7eb !important;
}

.efficiency-platform-card:hover .animated-bg {
    opacity: 0.3;
}

.efficiency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    border-radius: 0 0 12px 12px;
}

.efficiency-platform-card:hover .efficiency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.efficiency-dropdown .dropdown-item {
    padding: 12px 20px;
    color: var(--apple-text-primary);
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: left;
    pointer-events: auto;
}

.efficiency-dropdown .dropdown-item:hover {
    background-color: var(--apple-bg-light);
    color: var(--apple-link);
}

.card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 0;
    pointer-events: none;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.efficiency-platform-card .card-content {
    pointer-events: auto;
}

.grid-card .card-title,
.card-content .card-title {
    font-size: 48px !important;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 8px;
    color: var(--apple-text-primary);
}

.card-dark .card-title {
    color: #fff;
}

.card-desc {
    font-size: 19px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--apple-text-secondary);
    margin-top: 4px;
    margin-bottom: 24px;
}

.card-dark .card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-cta {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: center;
    margin-top: 19px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.card-cta-link {
    color: var(--apple-link);
    text-decoration: none;
    transition: color 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

.card-cta-link:hover {
    color: var(--apple-link-hover);
    text-decoration: underline;
}

.card-cta-link.primary {
    background: var(--apple-link);
    color: #fff;
    padding: 12px 22px;
    border-radius: 980px;
    text-decoration: none;
}

.card-cta-link.primary:hover {
    background: var(--apple-link-hover);
    color: #fff;
    text-decoration: none;
}

.card-cta-link.secondary {
    color: var(--apple-link);
    border: 1px solid var(--apple-link);
    padding: 11px 21px;
    border-radius: 980px;
    text-decoration: none;
}

.card-cta-link.secondary:hover {
    background: var(--apple-link);
    color: #fff;
    text-decoration: none;
}

.card-dark .card-cta-link.secondary {
    color: #fff;
    border-color: #fff;
}

.card-dark .card-cta-link.secondary:hover {
    background: #fff;
    color: #000;
}

/* ========== 动效背景系统 ========== */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* 效果1: 数据流动 - 淡灰色科技感 */
.bg-effect-1 .animated-bg {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    position: relative;
}

.bg-effect-1 .animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 114, 128, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
    top: -50%;
    left: -50%;
}

.bg-effect-1 .animated-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(156, 163, 175, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

/* 效果2: 网格数据 - 淡灰色科技感 */
.bg-effect-2 {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.bg-effect-2 .animated-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.bg-effect-2 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(107, 114, 128, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 114, 128, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 15s linear infinite;
}

.bg-effect-2 .animated-bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(156, 163, 175, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

/* 效果3: 统计图表 - 淡灰色渐变 */
.bg-effect-3 {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.bg-effect-3 .animated-bg {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.bg-effect-3 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(107, 114, 128, 0.06) 2px,
            rgba(107, 114, 128, 0.06) 4px
        );
    animation: scanLine 4s linear infinite;
}

/* 效果4: 数据可视化 - 淡灰色科技感 */
.bg-effect-4 {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.bg-effect-4 .animated-bg {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

.bg-effect-4 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(156, 163, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 163, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(156, 163, 175, 0.1) 0%, transparent 50%);
    animation: pulse 6s ease-in-out infinite;
}

/* 效果5: 医学专业 - 淡灰色清新 */
.bg-effect-5 {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.bg-effect-5 .animated-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #f3f4f6 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

.bg-effect-5 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(107, 114, 128, 0.06) 10deg,
            transparent 20deg
        );
    animation: rotate 20s linear infinite;
}

/* 效果6: 数据转化 - 淡灰色活力 */
.bg-effect-6 {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.bg-effect-6 .animated-bg {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
    background-size: 200% 200%;
    animation: gradientShift 9s ease infinite;
}

.bg-effect-6 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(156, 163, 175, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(156, 163, 175, 0.1) 50%, transparent 70%);
    background-size: 100px 100px;
    animation: diagonalMove 5s linear infinite;
}

/* 效果7: 药理学 - 淡灰色专业 */
.bg-effect-7 {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.bg-effect-7 .animated-bg {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
    background-size: 200% 200%;
    animation: gradientShift 11s ease infinite;
}

.bg-effect-7 .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(156, 163, 175, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(156, 163, 175, 0.12) 0%, transparent 50%);
    animation: breathe 4s ease-in-out infinite;
}

.bg-effect-7 .animated-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(107, 114, 128, 0.15), transparent);
    top: 50%;
    animation: scan 3s linear infinite;
}

/* 文字颜色调整 - 所有淡灰色背景使用深色文字 */
.bg-effect-1 .card-title,
.bg-effect-2 .card-title,
.bg-effect-3 .card-title,
.bg-effect-4 .card-title,
.bg-effect-5 .card-title,
.bg-effect-6 .card-title,
.bg-effect-7 .card-title {
    color: var(--apple-text-primary);
}

.bg-effect-1 .card-desc,
.bg-effect-2 .card-desc,
.bg-effect-3 .card-desc,
.bg-effect-4 .card-desc,
.bg-effect-5 .card-desc,
.bg-effect-6 .card-desc,
.bg-effect-7 .card-desc {
    color: var(--apple-text-secondary);
}

.bg-effect-1 .card-cta-link.secondary,
.bg-effect-2 .card-cta-link.secondary,
.bg-effect-3 .card-cta-link.secondary,
.bg-effect-4 .card-cta-link.secondary,
.bg-effect-5 .card-cta-link.secondary,
.bg-effect-6 .card-cta-link.secondary,
.bg-effect-7 .card-cta-link.secondary {
    color: var(--apple-link);
    border-color: var(--apple-link);
}

.bg-effect-1 .card-cta-link.secondary:hover,
.bg-effect-2 .card-cta-link.secondary:hover,
.bg-effect-3 .card-cta-link.secondary:hover,
.bg-effect-4 .card-cta-link.secondary:hover,
.bg-effect-5 .card-cta-link.secondary:hover,
.bg-effect-6 .card-cta-link.secondary:hover,
.bg-effect-7 .card-cta-link.secondary:hover {
    background: var(--apple-link);
    color: #fff;
}

/* ========== 背景动画 ========== */
@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%) skewX(-15deg); }
    50% { transform: translateX(200%) skewX(-15deg); }
}

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

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scanLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes breathe {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ========== History Section - 苹果风格垂直布局 ========== */
.history-section {
    background: var(--apple-bg-white);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.history-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: 1024px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 22px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.history-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.history-image {
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.history-date {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--apple-link);
    margin-bottom: 10px;
}

.history-content {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--apple-text-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Partners Section - 苹果风格 ========== */
#partners {
    background: var(--apple-bg-light);
    padding: 100px 22px;
    text-align: center;
}

#partners .section-title {
    padding-top: 0;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 20px;
}

.partners-container img {
    height: 44px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partners-container img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ========== Footer - 苹果风格 ========== */
.footer {
    background: var(--apple-bg-light);
    padding: 0;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--apple-text-secondary);
    border-top: 0.5px solid var(--apple-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 22px 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--apple-border);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    margin-bottom: 12px;
}

.footer-menu-link {
    font-size: 12px;
    line-height: 1.33337;
    color: var(--apple-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-menu-link:hover {
    color: var(--apple-link);
    text-decoration: none;
}

.footer-text {
    font-size: 12px;
    line-height: 1.8;
    color: var(--apple-text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-text i {
    font-size: 14px;
    color: var(--apple-text-primary);
}

.footer-text a {
    color: var(--apple-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--apple-link);
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--apple-text-tertiary);
}

.copyright a {
    color: var(--apple-text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--apple-link);
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========== Animations ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== Responsive - 苹果官网响应式 ========== */
@media (max-width: 1068px) {
    .nav-content {
        max-width: 100%;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .grid-card {
        min-height: 400px;
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 24px;
        line-height: 1.16667;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 1.125;
        padding: 60px 22px 40px;
    }
    
    .grid-card .card-title,
    .card-content .card-title {
        font-size: 32px !important;
    }
    
    .card-desc {
        font-size: 18px;
    }
    
    .card-desc {
        font-size: 19px;
    }
    
    .history-date {
        font-size: 32px;
    }
    
    .history-content {
        font-size: 19px;
    }
    
    .history-image {
        height: 300px;
    }
    
    .nav-company-name {
        display: none;
    }
    
    .nav-list {
        display: none;
    }
    
    .nav-logo {
        margin: 0 auto;
    }
    
    .nav-actions {
        margin-left: auto;
    }
    
    .dropdown-menu {
        min-width: 200px;
        left: 0;
        right: auto;
        width: auto;
    }
    
    .nav-search-box {
        right: -22px;
        left: -22px;
        width: calc(100vw - 0px);
        min-width: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .partners-container {
        gap: 40px;
    }
    
    .partners-container img {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 19px;
    }
    
    .section-title {
        font-size: 28px;
        padding: 50px 22px 30px;
    }
    
    .grid-container {
        padding: 0 22px 60px;
    }
    
    .grid-card .card-title,
    .card-content .card-title {
        font-size: 28px !important;
    }
    
    .card-desc {
        font-size: 16px;
    }
    
    .card-desc {
        font-size: 17px;
    }
    
    .workflow-title {
        font-size: 32px;
    }
    
    .workflow-header {
        height: 10vh;
        min-height: 80px;
    }
    
    .workflow-wrapper {
        padding: 40px 15px;
    }
    
    .main-content {
        width: 100%;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .top-content {
        width: 100%;
        min-width: 600px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .center-content {
        width: 100%;
        min-width: 1000px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
    }
    
    .workflow-row {
        min-width: 1000px;
        gap: 20px;
    }
    
    .workflow-stage-plan {
        width: 120px;
        min-width: 120px;
    }
    
    .workflow-stage-during {
        min-width: 600px;
    }
    
    .workflow-stage-after {
        min-width: 280px;
    }
    
    .workflow-item-spacer {
        width: 120px;
    }
    
    .programm-one,
    .programm-two {
        width: 100%;
        min-width: 500px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        gap: 10px;
    }
    
    .btn-new {
        width: 120px !important;
        height: 80px !important;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .btn-new.long {
        width: 180px !important;
    }
    
    .workflow-time {
        font-size: 11px;
    }
    
    .top-spacer {
        width: 80px;
        min-width: 80px;
    }
    
    .top-label {
        font-size: 16px;
        min-width: 150px;
    }
}

/* ========== Workflow Section - 工作流模块 ========== */
.workflow-section {
    background: var(--apple-bg-light);
    padding: 0;
    margin: 0;
}

.workflow-header {
    width: 100%;
    height: 15vh;
    min-height: 120px;
    background: var(--apple-bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5px solid var(--apple-border);
}

.workflow-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.workflow-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    background: var(--apple-bg-light);
}

.workflow-timeline {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--apple-link) 0%, 
        rgba(0, 113, 227, 0.3) 50%, 
        var(--apple-link) 100%);
    z-index: 0;
}

.timeline-phase {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.timeline-phase:nth-child(1) { animation-delay: 0.1s; }
.timeline-phase:nth-child(2) { animation-delay: 0.3s; }
.timeline-phase:nth-child(3) { animation-delay: 0.5s; }

.phase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.phase-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--apple-link), #0051a2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.phase-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.phase-content {
    margin-left: 80px;
    padding-left: 40px;
    border-left: 2px solid var(--apple-border);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.workflow-card {
    background: var(--apple-bg-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--apple-border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--apple-link);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--apple-link);
}

.workflow-card:hover::before {
    transform: scaleY(1);
}

.workflow-card:hover .card-number {
    color: var(--apple-link);
    transform: scale(1.1);
}

.workflow-card:hover .card-title {
    color: var(--apple-link);
}

.card-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--apple-text-secondary);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.workflow-card .workflow-card .card-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--apple-text-primary);
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* 方案阶段特殊样式 */
.phase-plan .workflow-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
}

.phase-plan .workflow-card {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0.02));
    border-color: rgba(0, 113, 227, 0.2);
}

.phase-plan .workflow-card:hover {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 113, 227, 0.05));
}

/* 锁库后阶段特殊样式 */
.phase-after .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
}

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

/* 响应式设计 */
@media (max-width: 1068px) {
    .workflow-timeline::before {
        left: 40px;
    }
    
    .phase-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .phase-content {
        margin-left: 60px;
        padding-left: 30px;
    }
    
    .workflow-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .workflow-wrapper {
        padding: 60px 20px;
    }
    
    .workflow-timeline {
        gap: 40px;
    }
    
    .workflow-timeline::before {
        left: 30px;
    }
    
    .phase-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .phase-title {
        font-size: 24px;
    }
    
    .phase-content {
        margin-left: 50px;
        padding-left: 20px;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .phase-plan .workflow-grid,
    .phase-after .workflow-grid {
        max-width: 100%;
    }
}
