/* ==========================================================================
   知予AI · Aurora OS
   Apple-inspired design system layered over a deep-space canvas.
   1. 设计令牌 / 基础排版
   2. 深空背景（星云 · 银河 · 噪点）
   3. 材质与通用控件（玻璃 · 按钮 · 发丝描边）
   4. 浮动导航岛
   5. 英雄区与快捷入口
   6. 项目卡片 / 内容板块 / 弹窗 / Toast
   7. 动效：滚动显现 · 页面切换 · 指针光晕
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
    --void-1: #04050B;
    --void-2: #080B17;
    --void-3: #0E1326;

    --label-1: #F5F5F7;
    --label-2: rgba(235, 235, 245, .66);
    --label-3: rgba(235, 235, 245, .42);

    --hairline: rgba(255, 255, 255, .10);
    --hairline-2: rgba(255, 255, 255, .18);

    --mat-1: rgba(255, 255, 255, .05);
    --mat-2: rgba(255, 255, 255, .085);

    --accent: #6E8BFF;
    --accent-2: #8B7BFF;
    --accent-3: #A78BFA;
    --accent-4: #C084FC;
    --accent-sky: #7DD3FC;
    --warm: #F0B07A;

    --grad-aurora: linear-gradient(135deg, #7C9BFF 0%, #6E8BFF 42%, #9B82FF 100%);
    --grad-warm: linear-gradient(135deg, #F7CC95 0%, #EDA066 55%, #E2854F 100%);

    --ease-apple: cubic-bezier(.32, .72, 0, 1);
    --ease-soft: cubic-bezier(.22, 1, .36, 1);

    --r-xl: 30px;
    --r-lg: 24px;
    --r-md: 18px;
    --r-sm: 12px;
}

body.aurora-os {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    background: var(--void-1);
    color: var(--label-1);
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.aurora-os h1,
body.aurora-os h2,
body.aurora-os h3 {
    font-weight: 600;
    letter-spacing: -.028em;
    color: var(--label-1);
}

body.aurora-os p { letter-spacing: -.006em; }

body.aurora-os ::selection { background: rgba(110, 139, 255, .38); color: #fff; }

body.aurora-os ::-webkit-scrollbar { width: 10px; height: 10px; }
body.aurora-os ::-webkit-scrollbar-track { background: transparent; }
body.aurora-os ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
}
body.aurora-os ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .22); background-clip: content-box; }

body.aurora-os a,
body.aurora-os button { -webkit-tap-highlight-color: transparent; }

body.aurora-os :focus-visible {
    outline: 2px solid rgba(124, 155, 255, .75);
    outline-offset: 3px;
    border-radius: 8px;
}

/* 页面切换（子页面） */
body.aurora-os .page { display: none; }
body.aurora-os .page.active { display: block; animation: auroraPageIn .62s var(--ease-apple) both; }
@keyframes auroraPageIn {
    from { opacity: 0; transform: translateY(18px) scale(.994); }
    to { opacity: 1; transform: none; }
}

/* ---------- 2. 深空背景 ---------- */
body.aurora-os .cosmos {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(125% 72% at 50% -14%, rgba(74, 88, 214, .30), transparent 58%),
        radial-gradient(58% 48% at 6% 6%, rgba(56, 120, 255, .15), transparent 62%),
        radial-gradient(56% 46% at 94% 14%, rgba(150, 86, 247, .17), transparent 60%),
        radial-gradient(75% 52% at 50% 110%, rgba(64, 104, 220, .14), transparent 62%),
        radial-gradient(120% 90% at 50% 38%, transparent 42%, rgba(0, 0, 0, .55) 100%),
        linear-gradient(180deg, #05060F 0%, #070A16 44%, #04050C 100%);
}

/* 银河光带 */
body.aurora-os .cosmos::before {
    content: "";
    position: absolute;
    left: -30%;
    right: -30%;
    top: 12%;
    height: 52%;
    background: radial-gradient(46% 40% at 50% 50%, rgba(168, 188, 255, .13), rgba(120, 140, 255, .05) 45%, transparent 72%);
    transform: rotate(-16deg);
    filter: blur(46px);
    opacity: .9;
}

/* 胶片颗粒 */
body.aurora-os .cosmos::after {
    content: "";
    position: absolute;
    inset: -50%;
    opacity: .22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

body.aurora-os .cosmos .nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    will-change: transform;
    opacity: .42;
}
body.aurora-os .cosmos .nebula-a {
    width: 48vw; height: 48vw; left: -12vw; top: -14vw;
    background: radial-gradient(circle, rgba(70, 92, 229, .55), transparent 66%);
    animation: nebulaFloat 28s ease-in-out infinite alternate;
}
body.aurora-os .cosmos .nebula-b {
    width: 42vw; height: 42vw; right: -14vw; top: 6vh;
    background: radial-gradient(circle, rgba(138, 92, 240, .46), transparent 66%);
    animation: nebulaFloat 34s ease-in-out infinite alternate-reverse;
}
body.aurora-os .cosmos .nebula-c {
    width: 56vw; height: 36vw; left: 20vw; bottom: -20vw;
    background: radial-gradient(circle, rgba(72, 140, 240, .30), transparent 66%);
    animation: nebulaFloat 40s ease-in-out infinite alternate;
}
body.aurora-os .cosmos canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
@keyframes nebulaFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(4vw, 3vh, 0) scale(1.14); }
}

/* ---------- 3. 材质与通用控件 ---------- */
body.aurora-os .soft-border { border-color: var(--hairline) !important; }

body.aurora-os .glass {
    background: rgba(10, 14, 30, .55) !important;
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
}

body.aurora-os .bg-white\/5 { background-color: rgba(255, 255, 255, .055) !important; }
body.aurora-os .bg-white\/10 { background-color: rgba(255, 255, 255, .09) !important; }

body.aurora-os .text-shadow { text-shadow: 0 6px 40px rgba(120, 150, 255, .22); }

body.aurora-os .gradient-text {
    background: linear-gradient(100deg, #FFFFFF 0%, #DCE4FF 32%, #A9BCFF 66%, #C9B4FF 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 4px 26px rgba(140, 165, 255, .28));
}

/* 统一文字色阶 */
body.aurora-os .text-slate-100 { color: var(--label-1) !important; }
body.aurora-os .text-slate-300 { color: var(--label-2) !important; }
body.aurora-os .text-slate-400 { color: var(--label-3) !important; }
body.aurora-os .text-slate-500 { color: rgba(235, 235, 245, .32) !important; }
body.aurora-os .text-primary,
body.aurora-os .text-success,
body.aurora-os .text-cxai,
body.aurora-os .text-accent,
body.aurora-os .text-cyan-300,
body.aurora-os .text-cyan-200,
body.aurora-os .text-orange-300,
body.aurora-os .text-orange-100,
body.aurora-os .text-emerald-200\/90,
body.aurora-os .text-violet-200\/90,
body.aurora-os .text-blue-200\/90,
body.aurora-os .text-orange-200\/90 { color: #A8B7E6 !important; }

body.aurora-os .card-hover {
    transition: transform .55s var(--ease-apple), box-shadow .55s var(--ease-apple), border-color .4s var(--ease-apple);
}
body.aurora-os .card-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 34px 80px rgba(2, 4, 12, .6) !important;
}

/* 按钮：主行动 = 极光渐变胶囊 */
body.aurora-os .bg-success,
body.aurora-os .bg-cxai,
body.aurora-os .bg-accent,
body.aurora-os .bg-accent\/90,
body.aurora-os .bg-orange-500,
body.aurora-os .bg-cyan-400,
body.aurora-os .platform-primary {
    background-image: var(--grad-aurora) !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        inset 0 -12px 20px rgba(28, 40, 110, .22),
        0 14px 34px rgba(94, 120, 255, .32),
        0 2px 6px rgba(2, 4, 12, .4) !important;
    text-shadow: 0 1px 2px rgba(18, 28, 74, .28);
    transition: transform .32s var(--ease-apple), box-shadow .32s var(--ease-apple), filter .32s var(--ease-apple) !important;
}
body.aurora-os .bg-success:hover,
body.aurora-os .bg-cxai:hover,
body.aurora-os .bg-accent:hover,
body.aurora-os .bg-accent\/90:hover,
body.aurora-os .bg-orange-500:hover,
body.aurora-os .bg-cyan-400:hover,
body.aurora-os .platform-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .5),
        inset 0 -12px 20px rgba(28, 40, 110, .22),
        0 20px 46px rgba(94, 120, 255, .42),
        0 3px 8px rgba(2, 4, 12, .45) !important;
}
body.aurora-os .bg-success:active,
body.aurora-os .bg-cxai:active,
body.aurora-os .bg-accent:active,
body.aurora-os .bg-orange-500:active,
body.aurora-os .bg-cyan-400:active,
body.aurora-os .platform-primary:active {
    transform: translateY(1px) scale(.975) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 6px 18px rgba(94, 120, 255, .3) !important;
}

/* 按钮：次行动 = 玻璃胶囊 */
body.aurora-os .bg-primary,
body.aurora-os .platform-secondary {
    background-color: rgba(122, 142, 255, .10) !important;
    color: #DDE5FF !important;
    border: 1px solid rgba(150, 168, 255, .22) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transition: transform .32s var(--ease-apple), background-color .32s var(--ease-apple), border-color .32s var(--ease-apple) !important;
}
body.aurora-os .bg-primary:hover,
body.aurora-os .platform-secondary:hover {
    background-color: rgba(122, 142, 255, .17) !important;
    border-color: rgba(170, 189, 255, .38) !important;
    transform: translateY(-2px);
}
body.aurora-os .bg-primary:active,
body.aurora-os .platform-secondary:active { transform: translateY(1px) scale(.975) !important; }

body.aurora-os .btn-shine {
    position: relative;
    overflow: hidden;
    border-radius: 999px !important;
    transition: transform .32s var(--ease-apple), box-shadow .32s var(--ease-apple) !important;
}
body.aurora-os .btn-shine::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 70%; height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transition: left .8s var(--ease-apple);
}
body.aurora-os .btn-shine:hover::after { left: 130%; }

body.aurora-os .entry-hint { letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* ---------- 4. 浮动导航岛 ---------- */
body.aurora-os nav.glass {
    top: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px));
    border-radius: 22px;
    border: 1px solid var(--hairline) !important;
    background: rgba(12, 16, 32, .48) !important;
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    box-shadow: 0 16px 44px rgba(2, 4, 12, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
    overflow: hidden;
    transition: background-color .5s var(--ease-apple), box-shadow .5s var(--ease-apple), border-color .5s var(--ease-apple);
}
body.aurora-os nav.glass.is-scrolled {
    background: rgba(9, 12, 26, .78) !important;
    border-color: var(--hairline-2) !important;
    box-shadow: 0 24px 68px rgba(2, 4, 12, .62), inset 0 1px 0 rgba(255, 255, 255, .16);
}
body.aurora-os nav.glass > div { transition: padding .5s var(--ease-apple); }
body.aurora-os nav.glass.is-scrolled > div { padding-top: .55rem; padding-bottom: .55rem; }

body.aurora-os nav.glass .nav-back {
    width: 2.5rem; height: 2.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--hairline);
    color: #DDE5FF;
    transition: background-color .3s var(--ease-apple), transform .3s var(--ease-apple);
}
body.aurora-os nav.glass .nav-back:hover { background: rgba(255, 255, 255, .14); transform: translateX(-2px); }

/* Logo 魔方 */
body.aurora-os .brand-mark {
    width: 2.5rem; height: 2.5rem;
    border-radius: .8rem;
    display: grid; place-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(124, 155, 255, .34), rgba(155, 130, 255, .18));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 22px rgba(94, 120, 255, .28);
}
body.aurora-os .brand-mark span { font-weight: 700; letter-spacing: -.02em; color: #EAF0FF; }

/* 滚动进度条 */
body.aurora-os .nav-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: rgba(255, 255, 255, .05);
    opacity: 0; transition: opacity .5s var(--ease-apple);
}
body.aurora-os nav.glass.is-scrolled .nav-progress { opacity: 1; }
body.aurora-os .nav-progress i {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, #7C9BFF, #9B82FF, #C084FC);
    box-shadow: 0 0 12px rgba(124, 155, 255, .6);
}

/* ---------- 5. 英雄区 ---------- */
body.aurora-os .aurora-hero { padding-top: 6.5rem; padding-bottom: 2rem; }
body.aurora-os .aurora-hero-copy { max-width: 60rem; }

body.aurora-os .aurora-badge {
    align-items: center;
    gap: .6rem;
    padding: .5rem 1.1rem .5rem .85rem;
    border-radius: 999px;
    background: rgba(122, 142, 255, .10);
    border: 1px solid rgba(150, 168, 255, .20);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
body.aurora-os .aurora-badge-dot {
    width: .45rem; height: .45rem;
    border-radius: 999px;
    background: #8FB0FF;
    box-shadow: 0 0 0 4px rgba(143, 176, 255, .14);
    animation: auroraPulse 2.4s ease-in-out infinite;
}
@keyframes auroraPulse { 50% { opacity: .45; transform: scale(.8); } }

body.aurora-os .aurora-badge-text { font-size: .82rem; font-weight: 500; color: #C9D4F5; letter-spacing: .01em; }

body.aurora-os .aurora-hero-title {
    font-size: clamp(2.35rem, 5.4vw, 4.2rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.038em;
    margin: 0 0 1.25rem;
    text-shadow: 0 10px 60px rgba(90, 120, 255, .18);
    text-wrap: balance;
}
body.aurora-os .aurora-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
    color: var(--label-2);
    max-width: 40rem;
    margin: 0 auto 2rem;
}

body.aurora-os .aurora-hero-actions {
    display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center;
}
body.aurora-os .btn-aurora-primary,
body.aurora-os .btn-aurora-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    height: 3.25rem;
    padding: 0 1.6rem;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: transform .32s var(--ease-apple), box-shadow .32s var(--ease-apple), background-color .32s var(--ease-apple), filter .32s var(--ease-apple);
}
body.aurora-os .btn-aurora-primary {
    background: var(--grad-aurora);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 16px 40px rgba(94, 120, 255, .34), 0 2px 6px rgba(2, 4, 12, .4);
    text-shadow: 0 1px 2px rgba(18, 28, 74, .28);
}
body.aurora-os .btn-aurora-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 22px 54px rgba(94, 120, 255, .44), 0 3px 8px rgba(2, 4, 12, .45); }
body.aurora-os .btn-aurora-primary:active { transform: translateY(1px) scale(.975); }
body.aurora-os .btn-aurora-ghost {
    background: rgba(255, 255, 255, .06);
    color: #E4E9FF;
    border: 1px solid var(--hairline-2);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
body.aurora-os .btn-aurora-ghost:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
body.aurora-os .btn-aurora-ghost:active { transform: translateY(1px) scale(.975); }

/* ---------- 6. 项目卡片 ---------- */
body.aurora-os .platforms-section { padding: 1rem 0 0; }
body.aurora-os .platform-count {
    display: flex; align-items: baseline; gap: .65rem;
    color: var(--label-3);
    white-space: nowrap;
}
body.aurora-os .platform-count strong {
    font-size: 2rem; line-height: 1; font-weight: 600; letter-spacing: -.04em;
    background: linear-gradient(120deg, #FFFFFF, #A9BCFF 70%, #C9B4FF);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.aurora-os .platform-count span { font-size: .8rem; }

body.aurora-os .platform-window-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: .85rem;
}
body.aurora-os .platform-window-grid > * { grid-column: span 1; }

body.aurora-os .platform-window {
    --win: #6E8BFF;
    --win-rgb: 110, 139, 255;
    min-width: 0;
    min-height: 0;
    padding: 1.05rem;
    border-radius: var(--r-lg) !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    background:
        radial-gradient(340px circle at var(--mx, 50%) var(--my, -12%), rgba(var(--win-rgb), .18), transparent 68%),
        radial-gradient(120% 55% at 50% 0%, rgba(var(--win-rgb), .16), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022) 46%, rgba(255, 255, 255, .012)) !important;
    backdrop-filter: saturate(180%) blur(26px);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -1px 0 rgba(2, 4, 12, .3),
        0 26px 62px rgba(2, 4, 12, .55) !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--ease-apple), border-color .4s var(--ease-apple), box-shadow .5s var(--ease-apple) !important;
}
body.aurora-os .platform-window::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .10), transparent 34%);
    pointer-events: none;
}
body.aurora-os .platform-window::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, rgba(var(--win-rgb), 0), rgba(var(--win-rgb), 1), rgba(var(--win-rgb), 0));
    transform: scaleX(.2);
    transform-origin: center;
    transition: transform .55s var(--ease-apple);
}
body.aurora-os .platform-window:hover,
body.aurora-os .platform-window:focus-within,
body.aurora-os .platform-window:focus {
    transform: translateY(-8px);
    border-color: rgba(var(--win-rgb), .42) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -1px 0 rgba(2, 4, 12, .28),
        0 40px 92px rgba(2, 4, 12, .62),
        0 18px 54px rgba(var(--win-rgb), .18) !important;
    outline: none;
}
body.aurora-os .platform-window:hover::after,
body.aurora-os .platform-window:focus-within::after { transform: scaleX(1); }

body.aurora-os .platform-window-creator { --win: #6E8BFF; --win-rgb: 110, 139, 255; }
body.aurora-os .platform-window-aggregate { --win: #8B7BFF; --win-rgb: 139, 123, 255; }
body.aurora-os .platform-window-live { --win: #A78BFA; --win-rgb: 167, 139, 250; }
body.aurora-os .platform-window-rainyun { --win: #C084FC; --win-rgb: 192, 132, 252; }
body.aurora-os .platform-window-relay { --win: #7DD3FC; --win-rgb: 125, 211, 252; }
body.aurora-os .platform-window-player { --win: #A3B4FF; --win-rgb: 163, 180, 255; }

body.aurora-os .platform-window-topline {
    display: flex; align-items: center; gap: .4rem;
    font-size: .66rem; font-weight: 500; color: var(--label-3);
    min-height: 1.2rem; position: relative; z-index: 1;
}
body.aurora-os .live-dot {
    width: .45rem; height: .45rem; flex: 0 0 auto;
    border-radius: 999px;
    background: var(--win, #8FB0FF);
    box-shadow: 0 0 0 4px rgba(var(--win-rgb, 143, 176, 255), .14);
    animation: auroraPulse 2.4s ease-in-out infinite;
}
body.aurora-os .platform-index {
    margin-left: auto;
    font: 600 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    color: rgba(var(--win-rgb), .8);
    letter-spacing: .08em;
}
body.aurora-os .platform-icon {
    width: 2.4rem; height: 2.4rem;
    margin: .9rem 0 .8rem;
    border-radius: .78rem !important;
    display: grid; place-items: center;
    font-size: 1rem;
    color: #E6ECFF !important;
    background: linear-gradient(145deg, rgba(var(--win-rgb), .30), rgba(var(--win-rgb), .12)) !important;
    border: 1px solid rgba(var(--win-rgb), .30) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 26px rgba(var(--win-rgb), .26);
    position: relative; z-index: 1;
}
body.aurora-os .platform-window h3 {
    font-size: 1rem; line-height: 1.36; font-weight: 600; letter-spacing: -.018em;
    color: var(--label-1); position: relative; z-index: 1;
}
body.aurora-os .platform-subtitle {
    color: rgba(var(--win-rgb), .95) !important;
    font-size: .78rem; font-weight: 600; letter-spacing: -.005em;
    margin: .3rem 0 .5rem; position: relative; z-index: 1;
}
body.aurora-os .platform-description {
    color: var(--label-2);
    line-height: 1.62; font-size: .78rem;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    position: relative; z-index: 1;
}
body.aurora-os .platform-tags {
    display: flex; flex-wrap: wrap; gap: .3rem; margin: .7rem 0;
    position: relative; z-index: 1;
}
body.aurora-os .platform-tags span {
    padding: .24rem .48rem;
    border-radius: 999px !important;
    color: #DCE4FF;
    background: rgba(var(--win-rgb), .12) !important;
    border: 1px solid rgba(var(--win-rgb), .22);
    font-size: .64rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.aurora-os .platform-price {
    display: flex; align-items: baseline; gap: .4rem;
    color: var(--win); position: relative; z-index: 1;
}
body.aurora-os .platform-price strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; }
body.aurora-os .platform-price span { color: var(--label-3); font-size: .7rem; }
body.aurora-os .platform-actions { display: grid; gap: .45rem; margin-top: auto; position: relative; z-index: 1; }
body.aurora-os .platform-primary,
body.aurora-os .platform-secondary {
    width: 100%; min-height: 2.35rem; padding: .5rem .5rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    font-weight: 600; font-size: .78rem; letter-spacing: -.005em;
}
body.aurora-os .license-panel {
    margin-top: .8rem; padding: .9rem 1rem;
    border-radius: 16px !important;
    color: #C9D4F5;
    background: rgba(122, 142, 255, .08) !important;
    border: 1px solid rgba(150, 168, 255, .20) !important;
    font-size: .78rem; line-height: 1.6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative; z-index: 1;
}
body.aurora-os .license-panel > div { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .4rem; }
body.aurora-os .license-panel strong { color: #FFFFFF !important; font-size: 1.15rem; font-weight: 600; }
body.aurora-os .license-panel button { margin-top: .6rem; color: #C9D4F5 !important; font-weight: 600; }

/* ---------- 7. 内容板块 ---------- */
body.aurora-os .section-showcase {
    border-radius: var(--r-xl) !important;
    border: 1px solid var(--hairline) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)) !important;
    backdrop-filter: saturate(180%) blur(26px);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(2, 4, 12, .28), 0 26px 62px rgba(2, 4, 12, .48) !important;
    position: relative;
    overflow: hidden;
}
body.aurora-os .section-showcase::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 88% -8%, rgba(122, 142, 255, .16), transparent 62%);
    pointer-events: none;
}
body.aurora-os .section-showcase > * { position: relative; z-index: 1; }
body.aurora-os .section-showcase h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.03em; }
body.aurora-os .section-showcase h3 { font-size: 1.15rem; letter-spacing: -.02em; }

body.aurora-os .feature-tile,
body.aurora-os .daily-tile,
body.aurora-os .reason-tile {
    border-radius: var(--r-md) !important;
    background:
        radial-gradient(260px circle at var(--mx, 50%) var(--my, -10%), rgba(160, 185, 255, .10), transparent 70%),
        rgba(255, 255, 255, .045) !important;
    border: 1px solid rgba(255, 255, 255, .085) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    transition: transform .5s var(--ease-apple), border-color .4s var(--ease-apple), background-color .4s var(--ease-apple), box-shadow .5s var(--ease-apple) !important;
}
body.aurora-os .feature-tile:hover,
body.aurora-os .daily-tile:hover,
body.aurora-os .reason-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(150, 168, 255, .26) !important;
    background:
        radial-gradient(300px circle at var(--mx, 50%) var(--my, -10%), rgba(170, 195, 255, .18), transparent 70%),
        rgba(122, 142, 255, .07) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 22px 48px rgba(2, 4, 12, .5) !important;
}
body.aurora-os .daily-tile .inline-flex { background: rgba(122, 142, 255, .10) !important; color: #B9C6F0 !important; border: 1px solid rgba(150, 168, 255, .18); }

/* 资料区卡片 */
body.aurora-os #resourceLinksGrid > div {
    border-radius: var(--r-lg) !important;
    background: rgba(255, 255, 255, .045) !important;
    border-color: var(--hairline) !important;
}
body.aurora-os #resourceLinksGrid img { border-radius: 16px !important; }

/* 子页头图 */
body.aurora-os #cbPage .bg-gradient-to-br,
body.aurora-os #cxaiPage .bg-gradient-to-br,
body.aurora-os #relayPage .bg-gradient-to-br,
body.aurora-os #rainyunPage .bg-gradient-to-br {
    border-radius: var(--r-xl) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025)) !important;
    border-color: var(--hairline) !important;
    backdrop-filter: saturate(180%) blur(26px);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px rgba(2, 4, 12, .5);
}
body.aurora-os #cbPage h1,
body.aurora-os #cxaiPage h1,
body.aurora-os #relayPage h1,
body.aurora-os #rainyunPage h1 { letter-spacing: -.035em; font-weight: 700; }
body.aurora-os #cbPage .bg-white\/5,
body.aurora-os #cxaiPage .bg-white\/5,
body.aurora-os #relayPage .bg-white\/5,
body.aurora-os #rainyunPage .bg-white\/5 {
    border-radius: var(--r-md) !important;
    background: rgba(255, 255, 255, .045) !important;
    border: 1px solid var(--hairline) !important;
}
body.aurora-os #rainyunPage article {
    border-radius: var(--r-md) !important;
    background: rgba(255, 255, 255, .04) !important;
    border-color: var(--hairline) !important;
}
body.aurora-os #rainyunPage article strong { color: #EDF2FC !important; }
body.aurora-os #rainyunPage article i { color: #D8C6FF !important; }
body.aurora-os #rainyunPage .text-orange-300,
body.aurora-os #rainyunPage .text-orange-100 { color: #C9B4FF !important; }
body.aurora-os #rainyunPage .bg-orange-500\/15 { background-color: rgba(122, 142, 255, .12) !important; }
body.aurora-os #rainyunPage .border-orange-400\/25 { border-color: rgba(150, 168, 255, .18) !important; }
body.aurora-os #rainyunPage .bg-orange-500\/10 { background-color: rgba(122, 142, 255, .09) !important; }
body.aurora-os #rainyunPage .border-orange-400\/20 { border-color: rgba(150, 168, 255, .16) !important; }
body.aurora-os #relayPage .text-cyan-300,
body.aurora-os #relayPage .text-cyan-200 { color: #A8C9E8 !important; }
body.aurora-os #relayPage .border-cyan-400\/30 { border-color: rgba(150, 168, 255, .2) !important; }
body.aurora-os #cbPage .text-primary,
body.aurora-os #cxaiPage .text-cxai { color: #A8B7E6 !important; }

/* 页脚 */
body.aurora-os footer.bg-dark {
    background: rgba(6, 8, 18, .5) !important;
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-color: var(--hairline) !important;
    color: var(--label-3) !important;
}

/* ---------- 8. 弹窗（iOS 卡片） ---------- */
body.aurora-os #modalOverlay {
    background: rgba(3, 5, 12, .68) !important;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    animation: auroraFade .35s var(--ease-apple) both;
}
@keyframes auroraFade { from { opacity: 0; } to { opacity: 1; } }
body.aurora-os #welcomeModal,
body.aurora-os #wechatModal {
    animation: auroraSheet .55s var(--ease-apple) both;
}
@keyframes auroraSheet {
    from { opacity: 0; transform: translateY(26px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
body.aurora-os .welcome-bg {
    background: linear-gradient(165deg, rgba(24, 29, 56, .80), rgba(10, 13, 28, .86)) !important;
    backdrop-filter: saturate(190%) blur(40px) !important;
    -webkit-backdrop-filter: saturate(190%) blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: var(--r-xl) !important;
    box-shadow: 0 50px 140px rgba(2, 4, 12, .78), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}
body.aurora-os #wechatModal {
    background: linear-gradient(165deg, rgba(24, 29, 56, .78), rgba(10, 13, 28, .84)) !important;
    border-radius: var(--r-xl) !important;
    box-shadow: 0 44px 120px rgba(2, 4, 12, .76), inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}
body.aurora-os .platform-btn-left,
body.aurora-os .platform-btn-right,
body.aurora-os .platform-btn-code,
body.aurora-os .platform-btn-relay {
    border-radius: var(--r-md) !important;
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid var(--hairline) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .4s var(--ease-apple), background-color .4s var(--ease-apple), border-color .4s var(--ease-apple) !important;
}
body.aurora-os .platform-btn-left:hover,
body.aurora-os .platform-btn-right:hover,
body.aurora-os .platform-btn-code:hover,
body.aurora-os .platform-btn-relay:hover {
    background: rgba(122, 142, 255, .12) !important;
    border-color: rgba(170, 189, 255, .3) !important;
    transform: translateY(-3px);
}
body.aurora-os .bg-success\/10 { background-color: rgba(122, 142, 255, .08) !important; }
/* ---------- 微信二维码卡片 ---------- */
body.aurora-os .qr-card {
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    display: inline-flex;
    line-height: 0;
    box-shadow: 0 18px 44px rgba(2, 4, 12, .5), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}
body.aurora-os .qr-card .qr-image {
    display: block;
    width: 224px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    height: auto;
    border-radius: 10px;
}
body.aurora-os .qr-card--md { padding: 8px; border-radius: 16px; }
body.aurora-os .qr-card--md .qr-image { width: 168px; border-radius: 9px; }
body.aurora-os .qr-card--sm { padding: 7px; border-radius: 14px; }
body.aurora-os .qr-card--sm .qr-image { width: 132px; border-radius: 8px; }
@media (max-width: 420px) {
    body.aurora-os .qr-card:not(.qr-card--md):not(.qr-card--sm) .qr-image { width: 200px; }
}

body.aurora-os .border-success\/30 { border-color: rgba(150, 168, 255, .18) !important; }
body.aurora-os #welcomeModal .text-success { color: #A8B7E6 !important; }
body.aurora-os #welcomeModal .text-3xl.text-success { color: var(--warm) !important; }
body.aurora-os .platform-window-rainyun .platform-price { color: var(--warm); }
body.aurora-os #rainyunPage .bg-orange-500 {
    background-image: var(--grad-warm) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 14px 34px rgba(224, 133, 79, .30), 0 2px 6px rgba(2, 4, 12, .4) !important;
}
body.aurora-os .rounded-2xl { border-radius: var(--r-md) !important; }

/* Toast */
body.aurora-os #toast {
    border-radius: 999px !important;
    background: rgba(18, 22, 42, .8) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    color: #F0F3FF !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 18px 48px rgba(2, 4, 12, .6), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
    font-size: .9rem;
    font-weight: 500;
    transition: opacity .4s var(--ease-apple), transform .5s var(--ease-apple) !important;
    transform: translate(-50%, -14px);
}
body.aurora-os #toast.is-on { transform: translate(-50%, 0); }

/* 侧边悬浮按钮 */
body.aurora-os .bottom-5 button {
    background: var(--grad-aurora) !important;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 34px rgba(94, 120, 255, .36) !important;
    color: #fff;
    transition: transform .34s var(--ease-apple), box-shadow .34s var(--ease-apple) !important;
}
body.aurora-os .bottom-5 button:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- 9. 动效：滚动显现 ---------- */
html.js body.aurora-os .reveal {
    opacity: 0;
    transform: translateY(30px) scale(.99);
    filter: blur(8px);
    transition:
        opacity .95s var(--ease-apple),
        transform .95s var(--ease-apple),
        filter .95s var(--ease-apple);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
html.js body.aurora-os .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* 指针光晕（跟随鼠标的柔光） */
body.aurora-os .spotlight { position: relative; }
body.aurora-os .spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(160, 185, 255, .14), transparent 68%);
    opacity: 0;
    transition: opacity .45s var(--ease-apple);
    pointer-events: none;
}
body.aurora-os .spotlight:hover::after { opacity: 1; }

/* ---------- 10. 响应式与降级 ---------- */
@media (max-width: 991px) {
    body.aurora-os .platform-window-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    body.aurora-os .platform-window-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    body.aurora-os .aurora-hero { padding-top: 7.5rem; }
}
@media (max-width: 639px) {
    body.aurora-os .platform-window-grid { grid-template-columns: 1fr; }
    body.aurora-os .aurora-hero { padding-top: 6.5rem; }
    body.aurora-os .aurora-hero-title { letter-spacing: -.03em; }
    body.aurora-os nav.glass { width: calc(100% - 20px); top: 10px !important; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    body.aurora-os .cosmos .nebula { animation: none; }
    body.aurora-os .platform-window,
    body.aurora-os .platform-primary,
    body.aurora-os .platform-secondary,
    body.aurora-os .btn-shine,
    body.aurora-os .card-hover,
    body.aurora-os .btn-aurora-primary,
    body.aurora-os .btn-aurora-ghost { transition: none !important; }
    html.js body.aurora-os .reveal { opacity: 1; transform: none; filter: none; }
    body.aurora-os .page.active { animation: none; }
    body.aurora-os #welcomeModal,
    body.aurora-os #wechatModal { animation: none; }
}
