/* ===========================================
   Neo Layout Styles
   版本: 3.0.0
   文件位置: /css/neo_layout.css
   描述: 统一的响应式布局、导航菜单和页面样式
   =========================================== */

/* ===== 重置样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Microsoft 配色方案 */
    --primary-blue: #0067b8;
    --primary-blue-hover: #005a9e;
    --primary-blue-light: #50e6ff;
    --accent-teal: #00bcf2;
    --ms-red: #f25022;
    --ms-green: #7fba00;
    --ms-blue: #00a4ef;
    --ms-yellow: #ffb900;
    --text-primary: #262626;
    --text-secondary: #505050;
    --text-light: #737373;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-hover: #e5e5e5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.12);
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 头部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    flex: 1;
}

.logo {
    height: 66px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo img {
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    padding: 8px 16px;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 2px;
}

.nav-menu a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-menu a.active {
    color: var(--primary-blue);
    background: transparent;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* 微信分享按钮（4:3 长方形，透明背景，悬停显示二维码） */
.wechat-share-btn {
    width: 32px;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.wechat-share-btn:hover {
    background: transparent;
}

.wechat-share-btn svg {
    display: block;
    flex-shrink: 0;
}

/* 微信分享弹框：左右两列，左二维码右文案（上下两行、垂直居中）；弹框内边距 4px */
.wechat-share-popup {
    display: none;
    position: fixed;
    background: #f8f8f8;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10002;
    padding: 4px;
    min-width: 280px;
}

.wechat-share-popup-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    color: #999;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
}

.wechat-share-popup-close:hover {
    color: #666;
    background: rgba(0,0,0,0.05);
}

.wechat-share-popup-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 315px;
}

/* 二维码容器：正方形，内部边距 2px */
.wechat-share-popup-qr {
    width: 128px;
    height: 128px;
    min-width: 128px;
    min-height: 128px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}

/* 字间距 1px（0.08em ≈ 1px @ 14px） */
.wechat-share-popup-hint {
    font-size: 14px;
    color: #505050;
    margin: 0;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 1px;
    letter-spacing: 0.08em;
}

/* 工作区域基础样式（防止微信内首屏未布局时塌陷为 0，各页可覆盖） */
.work-area {
    min-height: 200px;
}

/* 二维码按钮 */
.qrcode-btn {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: var(--text-primary);
    margin-left: -10px;
}

.qrcode-btn:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
}

.qrcode-btn.active .qrcode-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.3s ease-out;
}

.qrcode-popup {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    height: 300px;
    background: linear-gradient(136deg, rgba(102, 126, 234, 0.9) 0%, rgba(64, 158, 255, 0.95) 100%);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 1001;
    text-align: center;
    padding-top: 30px;
    backdrop-filter: blur(10px);
    margin-top: 8px;
}

.qrcode-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 24px;
}

.qrcode-popup-img {
    width: 180px;
    height: 180px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Crect fill='%23fff' opacity='0.2' width='180' height='180' rx='8'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
    padding: 16px;
    box-sizing: border-box;
    margin: 0 auto;
}

.qrcode-popup-img img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.qrcode-popup-subtitle {
    font-size: 16px;
    color: #fff;
    margin-top: 16px;
    line-height: 20px;
    font-weight: 400;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端下拉菜单 */
.mobile-dropdown-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 50vw;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: 16px 0;
}

.mobile-dropdown-menu.active {
    display: block;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-dropdown-menu a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a.active {
    background: var(--bg-hover);
    color: var(--primary-blue);
}

/* ===== 响应式设计 ===== */

/* Desktop / Tablet / Mobile 横屏: 显示横向菜单 */
@media (min-width: 1025px) {
    .nav-menu {
        display: flex !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-dropdown-menu {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 3%;
    }
    .nav-menu {
        display: flex !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-dropdown-menu {
        display: none !important;
    }
    .qrcode-popup {
        width: 200px;
        height: 240px;
        padding-top: 20px;
    }
    .qrcode-popup-img {
        width: 140px;
        height: 140px;
        padding: 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        display: flex !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-dropdown-menu {
        display: none !important;
    }
    .nav-container {
        height: 60px;
        padding: 0 4%;
    }
    .qrcode-popup {
        width: 180px;
        height: 220px;
        padding-top: 15px;
    }
    .qrcode-popup-img {
        width: 120px;
        height: 120px;
        padding: 8px;
    }
}

/* Mobile 竖屏: 隐藏横向菜单，显示下拉菜单按钮 */
@media (max-width: 768px) and (orientation: portrait) {
    .nav-container {
        height: 60px;
        padding: 0 4%;
    }
    .nav-left {
        gap: 16px;
    }
    .logo {
        height: 56px;
        font-size: 14px;
    }
    .nav-menu {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
    .qrcode-popup {
        width: 180px;
        height: 220px;
        padding-top: 15px;
    }
    .qrcode-popup-img {
        width: 120px;
        height: 120px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 56px;
        padding: 0 3%;
    }
    .logo {
        height: 48px;
        font-size: 12px;
    }
    .qrcode-popup {
        width: 160px;
        height: 200px;
        padding-top: 12px;
    }
    .qrcode-popup-img {
        width: 110px;
        height: 110px;
        padding: 6px;
    }
}

/* 仅当缩放 ≥250% 时：隐藏横向菜单，显示登录注册右侧的下拉菜单（由 JS 根据 visualViewport.scale 添加 .zoom-dropdown-menu） */
html.zoom-dropdown-menu .nav-menu {
    display: none !important;
}
html.zoom-dropdown-menu .mobile-menu-btn {
    display: flex !important;
}
html.zoom-dropdown-menu .mobile-dropdown-menu.active {
    display: block !important;
}

/* ===== 页面内容样式 ===== */

main.content {
    padding-top: 0px;
}

/* Banner区域 */
.banner {
    margin-top: 54px;
    min-height: 600px;
    background: linear-gradient(135deg, #0067b8 0%, #00bcf2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 80px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(80, 230, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 242, 0.15) 0%, transparent 50%);
}

.banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: floatShape 20s ease-in-out infinite;
}

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

.banner-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: #fff;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out;
}

.banner-content p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 1000px;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.15s backwards;
}

.banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #fff;
    color: var(--primary-blue);
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.banner-btn:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.banner-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
}

.banner-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* 内容区域 */
.section {
    padding: 96px 5%;
    max-width: 100%;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
    background: linear-gradient(90deg, 
        var(--text-primary) 0%,
        var(--text-primary) 40%,
        #0078d4 50%,
        var(--text-primary) 60%,
        var(--text-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 200% center;
    }
    50% {
        background-position: 0% center;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 80px;
    font-weight: 400;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-primary);
    padding: 48px 32px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--ms-blue) 100%);
    transition: height 0.3s ease;
}

.feature-card:nth-child(3n+1)::before {
    background: linear-gradient(180deg, #ffd4b3 0%, #fb651e 100%);
}

.feature-card:nth-child(3n+2)::before {
    background: linear-gradient(180deg, #d4f082 0%, var(--ms-green) 50%, #4a6b00 100%);
}

.feature-card:nth-child(3n+3)::before {
    background: linear-gradient(180deg, #a8f0ff 0%, var(--ms-blue) 50%, #005a9e 100%);
}

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

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    font-size: 48px;
    color: var(--primary-blue);
    line-height: 1;
}

.feature-card:nth-child(3n+1) .feature-icon {
    color: var(--ms-red);
}

.feature-card:nth-child(3n+2) .feature-icon {
    color: var(--ms-green);
}

.feature-card:nth-child(3n+3) .feature-icon {
    color: var(--ms-blue);
}

.feature-card h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-card h3:hover {
    color: #000;
    letter-spacing: 2px;
    transform: translateX(2px);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.feature-link:hover {
    gap: 12px;
}

/* MigMig下载按钮样式 */
.migmig-download-btn {
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #0078d4;
    font-weight: 600;
}

.migmig-download-btn:hover {
    background: #fff;
    color: #0078d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
                0 0 24px rgba(0, 0, 0, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.8);
}

.migmig-download-btn:hover img {
    filter: none;
}

.migmig-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 120, 212, 0.3);
}

.migmig-download-btn svg {
    color: #0078d4;
    margin-left: 4px;
}

/* 页脚挂载点（仅占位，内容由 neo_layout.js 注入） */
.footer-mount {
    margin-top: 30px;
}

/* 页脚：功能区域 + 多设备响应式 */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.95);
    padding: 40px 0 32px;
    margin-top: 0;
}

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

.footer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 24px;
    align-items: start;
}

.footer-section {
    min-width: 0;
}

.footer-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: 0.02em;
}

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

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* 第三块四行：保护隐私权|免责条款 + 公司三行，字号与 footer 内容一致、行间距一致 */
.footer-section-legal .footer-legal-links,
.footer-section-legal .footer-text,
.footer-section-legal .footer-legal {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-section-legal p:last-child {
    margin-bottom: 0;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

.footer-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.6);
}

/* 平板：两列 */
@media (max-width: 900px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr;
    }
    .footer-section-legal {
        grid-column: 1 / -1;
    }
}

/* 手机：开发者中心与商务合作并列，第三块单独一行 */
@media (max-width: 600px) {
    .footer {
        padding: 28px 0 24px;
    }
    .footer-inner {
        padding: 0 16px;
    }
    .footer-sections {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
    .footer-section-legal {
        grid-column: 1 / -1;
    }
    .footer-section-title {
        margin-bottom: 10px;
    }
}

/* 用户容器样式 - 确保正确显示（多个页面共用） */
#neo-user-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 导航右侧区域样式（多个页面共用） */
.nav-right {
    gap: 10px;
}

/* 内容分割布局（多个页面共用） */
.content-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-text h3 {
    margin-bottom: 16px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.content-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* 特性列表（多个页面共用） */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.features-list li svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    margin-top: 2px;
}

/* 版本历史（多个页面共用） */
.version-history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.version-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.version-number {
    background: var(--primary-blue);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.version-date {
    color: var(--text-secondary);
    font-size: 14px;
}

.version-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.version-features li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.version-features li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 页脚内链接统一样式（开发者中心、广告商等）已在上方 .footer-links a 定义 */
.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff;
}

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

/* 响应式设计 - 页面内容 */
@media (max-width: 1024px) {
    .banner {
        padding: 100px 20px 60px;
        min-height: 500px;
    }
    .banner-content h1 {
        font-size: 36px;
    }
    .banner-content p {
        font-size: 19px;
    }
    .section {
        padding: 72px 20px;
    }
    .section-title {
        font-size: 38px;
    }
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 56px;
    }
    .feature-card h3 {
        font-size: 18px;
    }
    .feature-card p {
        font-size: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 400px;
        padding: 80px 16px 48px;
        text-align: center;
    }
    .banner-content {
        text-align: center;
    }
    .banner-content h1 {
        font-size: 36px;
    }
    .banner-content p {
        font-size: 17px;
        margin-left: auto;
        margin-right: auto;
    }
    .banner-actions {
        justify-content: center;
    }
    .section {
        padding: 56px 16px;
    }
    .section-title {
        font-size: 30px;
    }
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 32px 24px;
    }
    .feature-card h3 {
        font-size: 20px;
    }
    .feature-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .banner {
        margin-top: 48px;
        min-height: 360px;
        padding: 60px 16px 40px;
    }
    .banner-content h1 {
        font-size: 30px;
    }
    .banner-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    .banner-btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    .section-title {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 15px;
    }
    .feature-card h3 {
        font-size: 18px;
    }
    .feature-card p {
        font-size: 15px;
    }
}
