* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    text-decoration: none; 
    list-style: none; 
}
/* 仅交互元素显式声明过渡，避免 * 通配符 */
.nav-link, .card, .btn-more, .theme-toggle, .menu-toggle,
.global-search-btn, .mail-notify-btn, .search-type-btn,
.search-result-item, .dropdown a, .dropdown {
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275),
                background-color 0.3s ease,
                border-color 0.3s ease,
                color 0.2s ease,
                box-shadow 0.3s ease,
                opacity 0.3s ease;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    background-color: var(--bg-color);
}
body { 
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    overflow-x: hidden; 
    max-width: 100vw;
}

/* 导航栏 */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 60px; 
    background: var(--nav-bg); 
    z-index: 9999; 
    border-bottom: 1px solid var(--glass-border); 
    display: flex; 
    justify-content: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-wrapper { 
    width: 100%; 
    max-width: 1024px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
    height: 100%;
    overflow: visible;
}
.logo { 
    font-size: 20px; 
    font-weight: 700; 
    color: var(--brand-blue); 
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(100, 149, 237, 0.3);
}

.nav-menu { 
    display: flex; 
    gap: 25px; 
    height: 100%;
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
}
/* 防御层：当 .nav-menu 被脚本搬到 body 直挂时（修复 Safari iOS backdrop-filter 截断 fixed 后代），
   即使媒介查询不命中也强制按抽屉形态渲染，避免触屏宽屏环境下回退桌面 flex 残留在页面下方。 */
body > .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    padding: 60px 20px;
    background: rgba(20, 20, 25, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    border-left: 1px solid var(--glass-border);
    z-index: 10001;
}
html[data-theme="light"] body > .nav-menu {
    background: rgba(245, 245, 247, 0.97);
}
body > .nav-menu.active {
    transform: translateX(0);
}
body > .nav-menu .dropdown {
    display: none;
    position: static;
    padding-left: 15px;
    border-left: 1.5px solid var(--brand-blue);
    margin: 5px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
}
body > .nav-menu .nav-item.open > .dropdown {
    display: block;
}
body > .nav-menu .nav-link {
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-item { 
    position: relative; 
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-link { 
    font-size: 14px; 
    color: var(--text-color); 
    opacity: 0.95; 
    padding: 10px 15px; 
    display: block; 
    cursor: pointer; 
    border-radius: 12px;
    position: relative;
    z-index: 2;
}
.nav-link:hover { 
    opacity: 1; 
    color: var(--brand-blue); 
    background: rgba(100, 149, 237, 0.1);
}

/* PC端下拉列表 */
@media (min-width: 769px) {
    .dropdown { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        background: rgba(30, 30, 35, 0.92);
        backdrop-filter: saturate(180%);
        -webkit-backdrop-filter: saturate(180%);
        min-width: 200px; 
        padding: 12px 0; 
        border-radius: 16px; 
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(15px) scale(0.95); 
        transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s; 
        box-shadow: var(--card-shadow); 
        border: 1px solid var(--glass-border);
        z-index: 9999;
    }
    [data-theme="light"] .dropdown {
        background: rgba(255, 255, 255, 0.95);
    }
    .nav-item:hover > .dropdown { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(5px) scale(1); 
    }
    .dropdown .dropdown { 
        top: -12px; 
        left: 100%; 
        margin-left: 8px; 
    } /* 三级向右弹出 */
    .dropdown a { 
        font-size: 14px; 
        padding: 12px 16px; 
        display: block; 
        border-radius: 8px; 
        color: var(--text-color); 
        margin: 0 8px;
        transition: background 0.2s ease;
    }
    .dropdown a:hover { 
        background: rgba(100, 149, 237, 0.2);
        color: var(--brand-blue) !important;
        transform: translateX(5px);
    }
    
    .menu-toggle { 
        display: none; 
    } /* PC端隐藏汉堡菜单 */
}

/* 移动端样式 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(20, 20, 25, 0.97);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: 60px 20px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        border-left: 1px solid var(--glass-border);
        z-index: 10001;
    }
    [data-theme="light"] .nav-menu {
        background: rgba(245, 245, 247, 0.97);
    }
    .nav-menu.active { 
        transform: translateX(0); 
    }
    .dropdown { 
        display: none; 
        position: static; 
        padding-left: 15px; 
        border-left: 1.5px solid var(--brand-blue); 
        margin: 5px 0; 
    }
    .nav-item.open > .dropdown { 
        display: block; 
    }
    .nav-link { 
        font-size: 16px; 
        padding: 15px 0; 
        border-bottom: 1px solid var(--glass-border); 
    }
    .menu-toggle {
        cursor: pointer;
        font-size: 24px; 
        color: var(--text-color); 
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.3s ease;
    }
    .menu-toggle:hover {
        background: rgba(100, 149, 237, 0.1);
    }
    /* 移动端导航栏右侧按钮紧凑 */
    header .nav-wrapper > div:last-child {
        gap: 8px !important;
    }
    .global-search-btn,
    .mail-notify-btn {
        width: 30px !important;
        height: 30px !important;
    }
    .global-search-btn svg,
    .mail-notify-btn svg {
        width: 14px;
        height: 14px;
    }
    .theme-toggle {
        width: 30px;
        height: 30px;
    }
    .theme-toggle svg {
        width: 15px;
        height: 15px;
    }
    /* 用户胶囊缩小 */
    header .nav-wrapper > div:last-child > div[style*="border-radius:980px"] {
        padding: 4px 8px 4px 6px !important;
    }
    header .nav-wrapper > div:last-child > div[style*="border-radius:980px"] span[style*="font-size:13px"] {
        display: none;
    }
    .menu-toggle {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    /* 首页header高度匹配 */
    header {
        height: 52px;
    }
    main {
        padding-top: calc(52px + env(safe-area-inset-top)) !important;
    }
}

/* 主体内容 */
.hero { 
    min-height: 180px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 40px 20px 20px; 
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero h1 { 
    font-size: clamp(38px, 8vw, 64px); 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--text-color) 40%, var(--brand-blue)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.container { 
    max-width: 1024px; 
    margin: 0 auto 50px; 
    padding: 0 20px; 
}
.section-title { 
    font-size: 24px; 
    margin: 60px 0 30px; 
    border-left: 4px solid var(--brand-blue); 
    padding-left: 15px; 
    font-weight: 700; 
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, var(--brand-blue), transparent);
}

.grid { 
    display: grid; 
    gap: 25px; 
    grid-template-columns: repeat(3, 1fr); 
}
.grid-tools { 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
}

/* 单行横滚模式 */
.grid.grid-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    grid-template-columns: none;
}
.grid.grid-scroll > .card {
    flex: 0 0 320px;
    min-width: 280px;
    scroll-snap-align: start;
    height: auto;
}
.grid.grid-scroll.grid-tools > .card {
    flex: 0 0 200px;
    min-width: 160px;
}
.grid.grid-scroll::-webkit-scrollbar {
    height: 6px;
}
.grid.grid-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.grid.grid-scroll::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.card { 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: var(--card-shadow); 
    border: 1px solid var(--glass-border); 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    position: relative;
    overflow: hidden;
    z-index: 1;
    contain: layout paint;
}
.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--brand-blue), #ff7eb3, #ff758c);
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.card:hover::before {
    opacity: 0.2;
}
.card:hover { 
    transform: translateY(-8px); 
    border-color: var(--brand-blue);
    box-shadow: var(--hover-glow);
}
.card h3, .card h4 { 
    color: var(--text-color); 
    font-weight: 700; 
}
.card p { 
    font-size: 14px; 
    color: var(--text-secondary); 
    margin: 12px 0 20px; 
    line-height: 1.6; 
    flex-grow: 1; 
}
.btn-more { 
    color: var(--brand-blue); 
    font-weight: 600; 
    font-size: 14px; 
    margin-top: auto; 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 900px) { 
    .grid:not(.grid-scroll) { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}
@media (max-width: 600px) { 
    .grid:not(.grid-scroll) { 
        grid-template-columns: 1fr; 
    } 
}

footer { 
    text-align: center; 
    padding: 60px 0; 
    font-size: 14px; 
    color: var(--text-secondary); 
    opacity: 0.7; 
    border-top: 1px solid var(--glass-border); 
    margin-top: 20px;
}

/* 主题切换按钮 */
.theme-toggle {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    outline: none;
    color: var(--text-color);
    border: 1.5px solid var(--glass-border);
    transition: background 0.3s ease, transform 0.3s ease;
}
.theme-toggle:hover {
    background: rgba(100, 149, 237, 0.2);
    transform: rotate(15deg) scale(1.1);
}

/* 动画增强：仅在 hover 时启用 GPU 提升，避免常驻 will-change 占显存 */
.card:hover, .nav-link:hover, .theme-toggle:hover {
    will-change: transform;
}

.hero h1,
.section-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

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

/* === 增强动效 === */

/* 浮动光球背景 */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    animation: floatOrb 18s ease-in-out infinite;
    will-change: transform;
}
.orb:nth-child(1) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.35), transparent 70%);
    top: -10%; left: -5%;
    animation-duration: 18s;
}
.orb:nth-child(2) {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.3), transparent 70%);
    top: 50%; right: -8%;
    animation-duration: 22s;
    animation-delay: -5s;
}
.orb:nth-child(3) {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(72, 209, 204, 0.25), transparent 70%);
    bottom: 10%; left: 20%;
    animation-duration: 20s;
    animation-delay: -10s;
}
.orb:nth-child(4) {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 126, 179, 0.2), transparent 70%);
    top: 30%; left: 60%;
    animation-duration: 25s;
    animation-delay: -7s;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

/* 鼠标跟随光斑 */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-9999px, -9999px);
    transition: opacity 0.4s ease;
    opacity: 0;
    will-change: transform;
}
.cursor-glow.active { opacity: 1; }

/* Hero标题渐变流动 */
.hero h1 {
    background-size: 200% 200%;
    animation: fadeInUp 0.8s forwards 0.2s, gradientShift 6s ease-in-out infinite 1s;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 卡片流光边框 */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(100, 149, 237, 0), rgba(147, 112, 219, 0), rgba(72, 209, 204, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease, background 0.5s ease;
    pointer-events: none;
}
.card:hover::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(100, 149, 237, 0.6), rgba(147, 112, 219, 0.4), rgba(72, 209, 204, 0.6));
    animation: borderGlow 3s linear infinite;
}
@keyframes borderGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* 卡片鼠标内光效果 */
.card .card-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(100, 149, 237, 0.12), transparent 60%);
}
.card:hover .card-spotlight { opacity: 1; }

/* 导航栏微光 */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 149, 237, 0.5), rgba(147, 112, 219, 0.3), rgba(72, 209, 204, 0.5), transparent);
    background-size: 200% 100%;
    animation: navShimmer 4s linear 1 forwards;
}
@keyframes navShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hero副标题打字淡入 */
.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.6s;
}

/* 粒子漂浮 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(2) { left: 25%; animation-delay: -2s; animation-duration: 11s; }
.particle:nth-child(3) { left: 40%; animation-delay: -4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 55%; animation-delay: -6s; animation-duration: 13s; }
.particle:nth-child(5) { left: 70%; animation-delay: -3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 85%; animation-delay: -8s; animation-duration: 12s; }
.particle:nth-child(7) { left: 15%; animation-delay: -1s; animation-duration: 17s; }
.particle:nth-child(8) { left: 60%; animation-delay: -5s; animation-duration: 10s; }
@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* 滚动渐入 - JS配合 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* section-title增加悬浮微动 */
.section-title {
    animation: fadeInUp 0.8s forwards 0.2s, subtleFloat 4s ease-in-out infinite 1s;
}
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Logo呼吸光 */
.logo {
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(100, 149, 237, 0.3); }
    50% { text-shadow: 0 0 20px rgba(100, 149, 237, 0.6), 0 0 40px rgba(100, 149, 237, 0.2); }
}

/* === 移动端全面优化 === */

/* iPhone 刘海屏安全区 */
header {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
main {
    padding-top: calc(60px + env(safe-area-inset-top));
}

/* 触控设备：hover 效果降级为 active */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: translateY(-4px);
    }
    .card:hover::before,
    .card:hover::after {
        opacity: 0;
    }
    .card:active {
        transform: scale(0.98);
    }
    .nav-link:hover {
        background: transparent;
    }
    .cursor-glow {
        display: none !important;
    }
}

/* iPhone 全面屏适配 */
@media (max-width: 430px) {
    .hero {
        height: auto;
        min-height: 280px;
        padding: 60px 16px 40px;
    }
    .hero h1 {
        font-size: clamp(28px, 10vw, 40px);
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 15px !important;
        padding: 0 8px;
    }
    .container {
        padding: 0 16px;
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 20px;
        margin: 40px 0 20px;
        padding-left: 12px;
    }
    .card {
        padding: 20px;
        border-radius: 16px;
    }
    .card h3 {
        font-size: 17px;
    }
    .card p {
        font-size: 13px;
        margin: 8px 0 14px;
    }
    .btn-more {
        font-size: 13px;
    }
    footer {
        padding: 40px 16px;
        font-size: 12px;
    }
    .grid:not(.grid-scroll) {
        gap: 14px;
    }
    .grid-tools:not(.grid-scroll) {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .grid-tools:not(.grid-scroll) .card {
        padding: 14px 10px;
    }
    .grid-tools:not(.grid-scroll) .card h4 {
        font-size: 13px;
    }
    /* 移动端减小光球和粒子 */
    .orb {
        opacity: 0.25;
        filter: blur(40px);
    }
    .particle {
        width: 2px;
        height: 2px;
    }
    /* 移动端只保留 2 个光球 + 4 个粒子，进一步减少合成层 */
    .orb:nth-child(n+3) { display: none; }
    .particle:nth-child(n+5) { display: none; }
    /* 移动端关闭 hero::before 装饰层与 nav shimmer，省 GPU */
    .hero::before, header::after { display: none; }
}

/* iPad 竖屏优化 */
@media (min-width: 431px) and (max-width: 820px) {
    .hero {
        min-height: 320px;
    }
    .hero h1 {
        font-size: clamp(36px, 6vw, 52px);
    }
    .grid:not(.grid-scroll) {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .container {
        padding: 0 24px;
    }
}

/* iPad 横屏（与桌面一致，微调间距） */
@media (min-width: 821px) and (max-width: 1194px) {
    .nav-wrapper {
        padding: 0 24px;
    }
    .container {
        padding: 0 24px;
    }
}

/* 横屏小屏手机 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 200px;
        padding: 30px 16px;
    }
    .hero h1 {
        font-size: 28px;
    }
}

/* 用户系统级"减少动效"偏好：关闭装饰动画，减少 CPU/GPU 占用 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .floating-orbs, .particles, .cursor-glow,
    .hero::before, header::after {
        display: none !important;
    }
    .scroll-reveal { opacity: 1; transform: none; }
}
