/* 首页样式 - Runway 风格重构 */
:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-color: #ffffff;
    --card-bg: #111111;
    --card-hover: #1a1a1a;
    --nav-height: 64px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.home-container {
    min-height: 100vh;
    position: relative;
    background: var(--bg-color);
}

/* 顶部导航栏 - 三段式布局 */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    /* 不使用 CSS transition，由 JS requestAnimationFrame 实现丝滑渐变 */
}

/* Removed .scrolled class - using dynamic scroll gradient instead */

.navbar-left, .navbar-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.navbar-right {
    justify-content: flex-end;
    gap: 20px;
}

.navbar-center {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* 颜色由 JS 控制丝滑渐变 */
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-center a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    /* 颜色由 JS 控制丝滑渐变 */
    transition: transform 0.2s ease;
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.navbar-center a:hover {
    /* hover 时增加不透明度，颜色由 JS 控制 */
    opacity: 1;
    transform: translateY(-1px);
}

.navbar-center a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor; /* 使用当前文字颜色 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-center a:hover::after {
    width: 100%;
}

.btn-nav-login {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    /* 颜色由 JS 控制，只保留 hover transform */
    transition: transform 0.2s ease;
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.btn-nav-login:hover {
    /* 颜色由 JS 控制，这里只保留 transform */
    transform: translateY(-1px);
}

.btn-nav-login::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor; /* 使用当前文字颜色 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.btn-nav-login:hover::after {
    width: 100%;
}

.btn-nav-primary {
    padding: 10px 24px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    /* 颜色由 JS 控制，只保留 hover transform */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 全屏英雄区 */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: transparent; /* 确保背景透明，不遮挡视频 */
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000; /* 视频加载前的底色 */
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* 提高视频不透明度，让画面更亮 */
    filter: brightness(0.9); /* 轻微调暗，保证文字对比度 */
}

.video-overlay {
    position: absolute;
    inset: 0;
    /* 调整为更通透的渐变：底部稍黑以突出按钮，中间较亮 */
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, #000 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-top: 220px; /* 往下移动，避免挡住视频中间内容 */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-intro {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-hero-primary {
    padding: 14px 32px;
    background: white;
    color: black;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid white;
}

.btn-hero-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
    padding: 14px 32px;
    background: transparent;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Logo Wall & Slogan 区域 */
.logo-wall-section {
    background: white;
    color: black;
    padding: 80px 0 120px;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    white-space: nowrap;
    opacity: 0.5;
    animation: scrollLogos 30s linear infinite;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    font-family: sans-serif;
}

.slogan-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.slogan-container h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* Features 区域 */
.features-section {
    position: relative;
    background: #000;
    padding: 120px 40px;
    z-index: 2;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.1;
    color: white;
}

.section-header p {
    display: none;
}

/* 现代化卡片样式微调 */
.feature-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    z-index: 2;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
}

/* 特性展示区 (Bento Grid) */
.features-section {
    position: relative;
    background: #000;
    padding: 100px 40px;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 360px);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* 布局控制 */
.bento-card.large {
    grid-column: span 2;
    grid-row: span 2; /* 占据2x2的大方块 */
}

.bento-card.medium {
    grid-column: span 2;
    grid-row: span 1; /* 占据2x1的宽方块 */
}

.bento-card.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-card.small {
    grid-column: span 1;
    grid-row: span 1;
}

/* 卡片内容 */
.card-content {
    padding: 30px;
    z-index: 2;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 内容靠下 */
}

.card-content.centered {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bento-card.large .card-content {
    justify-content: flex-start; /* 大卡片内容靠上 */
    padding-top: 40px;
}

.card-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.card-tag.coming-soon {
    background: rgba(147, 51, 234, 0.2);
    color: #d8b4fe;
}

.bento-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 卡片背景媒体 */
.card-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-card:hover .bg-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}

.bento-card.large .card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%); /* 大卡片渐变反向，因为文字在上面 */
}


/* 现代化卡片样式 */
.feature-card {
    overflow: hidden;
    background: #0f0f0f; /* 更深的背景 */
}

.feature-card:hover {
    background: #151515;
}

.card-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    filter: blur(40px);
}

.feature-card:hover .card-visual-bg {
    opacity: 0.6;
}

.glow-purple {
    background: radial-gradient(circle at 80% 20%, rgba(121, 40, 202, 0.4) 0%, transparent 50%);
}

.glow-blue {
    background: radial-gradient(circle at 20% 80%, rgba(0, 112, 243, 0.4) 0%, transparent 50%);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Motion Brush 动画背景 */
.motion-brush-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.5;
}

.brush-path {
    width: 120%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
}

.animated-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: brushDraw 3s ease-in-out infinite;
}

@keyframes brushDraw {
    0% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
}

/* 调整小卡片内容布局 */
.bento-card.small .card-content {
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
}

.bento-card.small h3 {
    font-size: 1.1rem;
    margin: 0;
}


/* Apps for Everything 区域 */
.apps-section {
    background: white;
    color: black;
    padding: 120px 40px;
    text-align: center;
}

.section-header-light {
    margin-bottom: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-light h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-header-light p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    font-size: 0.95rem;
}

.view-all-link:hover .arrow {
    transform: translateY(2px);
}

.arrow {
    transition: transform 0.2s ease;
}

/* 自动滚动轮播样式 */
.apps-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px; /* 增加上下padding以免阴影被切掉 */
    margin-bottom: 20px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); /* 两侧淡出效果 */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.apps-track {
    display: flex;
    gap: 24px;
    width: max-content; /* 让宽度自适应内容 */
    animation: scrollApps 40s linear infinite; /* 40秒一圈 */
}

/* 悬停时暂停滚动，方便用户点击 */
.apps-track:hover {
    animation-play-state: paused;
}

@keyframes scrollApps {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px)); /* 移动一半的距离（即一组卡片+一半间距） */
    }
}

/* 调整卡片在轮播中的样式 - 一行显示4个 */
.apps-track .app-card {
    width: calc((100vw - 80px - 72px) / 4); /* 视口宽度 - 左右padding - 3个间距(24px*3) / 4个卡片 */
    max-width: 320px;
    min-width: 260px;
    flex-shrink: 0; /* 防止被压缩 */
}

/* 移除旧的网格布局样式 */
/* .apps-grid { ... } */


.app-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px 24px 24px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 420px;
}

.app-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.app-icon-container {
    width: 48px;
    height: 48px;
    background: #f9f9f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #333;
}

.app-card h3 {
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 500;
}

.app-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: auto; /* 将图片推到底部 */
    line-height: 1.5;
}

.app-preview {
    width: 100%;
    height: 140px;
    margin-top: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.app-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-preview img {
    transform: scale(1.05);
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.dot.active {
    background: black;
}

/* Feature Spotlight 区域 (左右布局) */
.spotlight-section {
    background: white;
    color: black;
    padding: 0 40px 120px;
}

.spotlight-row {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto 160px;
}

.spotlight-row:last-child {
    margin-bottom: 0;
}

.spotlight-row.reverse {
    flex-direction: row-reverse;
}

.spotlight-content {
    flex: 1;
    padding-right: 20px;
}

.spotlight-visual {
    flex: 1;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.spotlight-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.spotlight-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 90%;
}

.btn-black {
    display: inline-block;
    background: black;
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-black:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 视觉占位符样式 (模拟参考图) */
.visual-art {
    width: 100%;
    height: 100%;
}

.pink-noise {
    background: radial-gradient(circle at 30% 30%, #ffcce6, #ff99cc, #e6f0fa);
    /* 这里可以加噪点图片叠加 */
}

.purple-gradient {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

/* Creative Resources 区域 (三列卡片) */
.resources-section {
    background: white;
    color: black;
    padding: 0 40px 120px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.resource-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
}

.resource-art {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.resource-img {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    margin-bottom: 24px;
    object-fit: cover;
}

.green-noise {
    background: linear-gradient(45deg, #d4fc79 0%, #96e6a1 100%);
}

.yellow-noise {
    background: radial-gradient(circle, #f6d365 0%, #fda085 100%);
}

.blue-noise {
    background: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}

.resource-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.resource-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.text-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.text-link:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.text-link:hover .arrow {
    transform: translateX(4px);
}

/* Featured Article 区域 */
.article-section {
    background: white;
    color: black;
    padding: 0 40px 160px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-header {
    margin-bottom: 60px;
}

.article-date, .article-author {
    display: block;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.article-author {
    text-transform: none;
    letter-spacing: 0;
    color: #666;
    margin-top: 12px;
}

.article-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.article-hero-image {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    background: #fafafa;
}

.abstract-art {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffecd2 0%, #fcb69f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-svg {
    width: 60%;
    height: 60%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.article-body {
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 16px;
}

.article-body h3:first-child {
    margin-top: 0;
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.article-cta {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.btn-text-arrow {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text-arrow:hover .arrow {
    transform: translateX(4px);
}

/* News 区域 */
.news-section {
    background: white;
    color: black;
    padding: 0 40px 120px;
}

.news-section .section-header-light {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    cursor: pointer;
}

.news-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-meta {
    font-size: 0.85rem;
    color: #888;
}

/* Footer 深度重构 */
.main-footer {
    padding: 100px 40px 40px;
    background: #000;
    color: white;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 120px;
}

.footer-col h4 {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #888;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo-large {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.footer-legal {
    text-align: right;
    font-size: 0.75rem;
    color: #444;
}

.footer-legal p {
    margin: 0 0 8px;
}

.beian-info a {
    color: #444;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .apps-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .footer-legal {
        text-align: left;
    }
}


/* 响应式适配 */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr); /* 变两列 */
        grid-template-rows: auto;
    }
    
    .bento-card.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 400px;
    }
    
    .bento-card.medium, .bento-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 0 20px;
    }
    
    .navbar-center {
        display: none; /* 移动端隐藏中间链接 */
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    
    .bento-card {
        height: 300px !important;
    }
    
    .features-section {
        padding: 60px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}
