/* =========================================================
   NyouOS 官网样式 · site.css
   设计基调：Apple.com + Microsoft.com + iCloud
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
    /* 浅色（默认） */
    --bg: #fbfbfd;
    --bg-elev: #ffffff;
    --bg-soft: #f5f5f7;
    --bg-dark: #000000;
    --text: #1d1d1f;
    --text-soft: #6e6e73;
    --text-mute: #86868b;
    --line: #d2d2d7;
    --line-soft: #e5e5ea;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-2: #0078d4;
    --nav-bg: rgba(251, 251, 253, 0.72);
    --nav-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12), 0 24px 80px rgba(0, 0, 0, 0.16);
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --maxw: 1200px;
    --nav-h: 52px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI",
        "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue",
        Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-elev: #0a0a0c;
    --bg-soft: #161618;
    --bg-dark: #000000;
    --text: #f5f5f7;
    --text-soft: #a1a1a6;
    --text-mute: #86868b;
    --line: #2a2a2e;
    --line-soft: #1f1f22;
    --accent: #2997ff;
    --accent-hover: #47a5ff;
    --accent-2: #2997ff;
    --nav-bg: rgba(0, 0, 0, 0.72);
    --nav-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.5);
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height:1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

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

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

code {
    font-family: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
    font-size: 0.9em;
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- 进度条 ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--accent);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 30px;
    font-size: 17px;
}

/* ---------- 导航栏 ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--nav-border);
    z-index: 900;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-brand-name {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-soft);
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: transparent;
    color: var(--text-soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--line);
    transform: rotate(15deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
}

.theme-toggle svg circle,
.theme-toggle svg path,
.theme-toggle svg line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.theme-toggle svg circle {
    fill: currentColor;
    stroke: none;
}

.nav-burger {
    display: none;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.nav-burger span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-burger span:first-child {
    top: 13px;
}

.nav-burger span:last-child {
    bottom: 13px;
}

.nav-burger[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* ---------- 语言切换器 ---------- */
.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font);
    transition: all 0.25s ease;
    display: grid;
    place-items: center;
}

.lang-btn:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--bg-soft);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--bg-elev);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text-soft);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: var(--font);
}

.lang-menu-item:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.lang-menu-item.active {
    color: var(--accent);
    background: rgba(0, 120, 212, 0.08);
}

.lang-menu-item .lang-check {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.lang-menu-item.active .lang-check {
    opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 22px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../26.1/Theme/Picture/Fluent-1.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: saturate(1.1);
    z-index: -2;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.78) 100%);
    z-index: -1;
}

[data-theme="dark"] .hero-bg-overlay {
    background:
        radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.92) 100%);
}

.hero-content {
    color: #fff;
    max-width: 880px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 980px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
}

.hero-badge img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(54px, 11vw, 140px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin: 0 0 18px;
}

.hero-title-line {
    display: block;
    background: linear-gradient(180deg, #ffffff, #d8e6f5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title-sub {
    display: block;
    font-size: 0.46em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: -0.02em;
    margin-top: 6px;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: clamp(15px, 1.8vw, 19px);
    color: rgba(255, 255, 255, 0.72);
    max-width: 680px;
    margin: 0 auto 34px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.hero-hint code {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.hero-scroll span {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    80% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0; }
}

/* ---------- 通用 section ---------- */
.section {
    padding: 110px 0;
}

.dark-section {
    background: var(--bg-dark);
    color: #f5f5f7;
}

.dark-section .text-soft,
.dark-section .lede {
    color: rgba(245, 245, 247, 0.7);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.dark-section .eyebrow {
    color: var(--accent);
}

.section-head h2 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0 0 18px;
}

.lede {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Overview stats ---------- */
.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 36px 16px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-num {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-soft);
}

/* ---------- Design ---------- */
.design-showcase {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

.design-hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-md);
}

.design-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-hero-caption {
    position: relative;
    z-index: 1;
    padding: 32px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    width: 100%;
}

.design-hero-caption h3 {
    font-size: 24px;
    margin: 0 0 6px;
    font-weight: 600;
}

.design-hero-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.design-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    min-height: 222px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.design-card:hover {
    transform: translateY(-4px);
}

.design-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-card-body {
    position: relative;
    z-index: 1;
    padding: 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    width: 100%;
}

.design-card-body h4 {
    font-size: 16px;
    margin: 0 0 4px;
    font-weight: 600;
}

.design-card-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12.5px;
}

/* ---------- Features ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.feature {
    grid-column: span 2;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-tall {
    grid-row: span 2;
    background: linear-gradient(160deg, var(--accent), var(--accent-2));
    color: #fff;
    justify-content: space-between;
    min-height: 576px;
}

.feature-wide {
    grid-column: span 4;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-elev);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.feature-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.feature-tall .feature-icon {
    background: rgba(255, 255, 255, 0.18);
}

.feature h3 {
    font-size: 22px;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-tall h3 {
    font-size: 32px;
}

.feature p {
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
}

.feature-tall p {
    color: rgba(255, 255, 255, 0.86);
}

.feature-art {
    margin-top: 24px;
    display: grid;
    place-items: center;
}

.feature-art img {
    width: 60%;
    max-width: 180px;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
}

.feature-link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

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

/* ---------- Apps wall ---------- */
.apps-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 22px 18px;
    max-width: 980px;
    margin: 0 auto;
}

.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-tile:hover .app-icon {
    transform: scale(1.08) translateY(-3px);
}

.app-name {
    font-size: 12.5px;
    color: rgba(245, 245, 247, 0.82);
    line-height: 1.3;
}

.apps-note {
    text-align: center;
    margin-top: 50px;
    color: rgba(245, 245, 247, 0.5);
    font-size: 13px;
}

/* ---------- Performance ---------- */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.perf-card {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: left;
    transition: transform 0.3s ease;
}

.perf-card:hover {
    transform: translateY(-4px);
}

.perf-value {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.perf-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.perf-card p {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Developer ---------- */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dev-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.dev-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4px);
}

.dev-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.dev-card h3 {
    font-size: 19px;
    margin: 0 0 10px;
    font-weight: 600;
}

.dev-card p {
    font-size: 14px;
    color: rgba(245, 245, 247, 0.7);
    line-height: 1.55;
    margin: 0;
}

/* ---------- CTA ---------- */
.section-cta {
    padding: 80px 0 120px;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 90px 32px;
    text-align: center;
    color: #fff;
    background: var(--bg-soft);
    box-shadow: var(--shadow-lg);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 113, 227, 0.55), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(0, 120, 212, 0.45), transparent 55%),
        linear-gradient(135deg, #0a1a2f, #06101f);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.cta-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.cta-hint code {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.cta-legacy {
    margin: 12px 0 0;
}

.cta-legacy a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.cta-legacy a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line-soft);
    padding: 50px 0 30px;
    font-size: 13px;
    color: var(--text-soft);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 22px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.footer-brand-tag {
    font-size: 12px;
    color: var(--text-mute);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 50px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--text-mute);
    line-height: 1.6;
}

.footer-sep {
    margin: 0 6px;
    opacity: 0.5;
}

.footer-note {
    color: var(--text-mute);
}

.footer-region {
    color: var(--text-mute);
}

/* ---------- 滚动揭示 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .design-showcase {
        grid-template-columns: 1fr;
    }
    .design-hero-card {
        min-height: 360px;
    }
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-tall {
        grid-column: span 2;
        grid-row: auto;
        min-height: 320px;
    }
    .feature-wide {
        grid-column: span 4;
    }
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--nav-bg);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--nav-border);
        padding: 12px 22px 20px;
        gap: 2px;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a {
        padding: 12px 10px;
        font-size: 15px;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
    }
    .nav-burger {
        display: block;
    }
    .nav-actions .btn-sm {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .overview-stats,
    .perf-grid,
    .dev-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature,
    .feature-tall,
    .feature-wide {
        grid-column: span 1;
        min-height: 240px;
    }
    .feature-tall {
        min-height: 320px;
    }
    .design-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    .footer-cols {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .cta-card {
        padding: 60px 22px;
    }
}

@media (max-width: 480px) {
    .overview-stats,
    .perf-grid,
    .dev-grid {
        grid-template-columns: 1fr;
    }
    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }
    .apps-wall {
        grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
        gap: 18px 12px;
    }
    .app-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }
}

/* ============================================================
   26.1 What's New · 新功能展示区
   ============================================================ */
.whatsnew {
    background: var(--bg-soft);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.whatsnew::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 120, 212, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.whatsnew .container { position: relative; z-index: 1; }

.whatsnew-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.whatsnew-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 120, 212, 0.28);
}

.whatsnew-pill::before {
    content: "✦";
    font-size: 12px;
}

.whatsnew-head h2 {
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.whatsnew-head .lede {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.6;
}

.whatsnew-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.whatsnew-card {
    background: var(--bg-elev);
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    padding: 32px 30px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.whatsnew-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.whatsnew-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.whatsnew-card-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.whatsnew-card-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-faint, rgba(0,0,0,0.25));
    letter-spacing: 0.08em;
}

.whatsnew-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.whatsnew-card p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.whatsnew-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whatsnew-card li {
    position: relative;
    padding-left: 22px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.whatsnew-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* 大图卡片（多语言） */
.whatsnew-card.feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.whatsnew-card.feature .feature-body {
    padding: 36px 32px 36px 38px;
}

.whatsnew-card.feature .feature-img {
    height: 100%;
    min-height: 280px;
    background: #000;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.whatsnew-card.feature .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsnew-lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.whatsnew-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 120, 212, 0.1);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.whatsnew-lang-chip.new {
    background: rgba(48, 161, 78, 0.12);
    color: #1d8e42;
}

.whatsnew-lang-chip.new::before {
    content: "+";
    font-weight: 800;
}

.whatsnew-cta {
    text-align: center;
    margin-top: 56px;
}

.whatsnew-cta .btn {
    margin: 0 auto;
}

@media (max-width: 860px) {
    .whatsnew-grid {
        grid-template-columns: 1fr;
    }
    .whatsnew-card.feature {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .whatsnew-card.feature .feature-img {
        min-height: 200px;
    }
    .whatsnew-card.feature .feature-body {
        padding: 28px 24px;
    }
}

/* =========================================================
   人机验证弹窗 · Cloudflare Turnstile
   ========================================================= */
.verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: verifyFadeIn 0.25s ease;
}

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

.verify-modal {
    width: 90%;
    max-width: 380px;
    padding: 36px 32px 32px;
    background: var(--bg-elev);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: verifyPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes verifyPop {
    from { transform: scale(0.92) translateY(8px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.verify-icon {
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.verify-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.verify-desc {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0 0 24px;
}

.verify-widget {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-loading {
    font-size: 13px;
    color: var(--text-mute);
}

@media (max-width: 480px) {
    .verify-modal {
        padding: 28px 22px 24px;
    }
    .verify-title {
        font-size: 19px;
    }
}
