/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8940CB;
    --primary-dark: #2E1982;
    --primary-light: #218AD0;
    --gradient: linear-gradient(135deg, #8940CB 0%, #2E1982 53%, #218AD0 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e0e0e0;
        --text-secondary: #b0b0b0;
        --text-light: #808080;
        --bg-white: #1a1a1a;
        --bg-light: #252525;
        --bg-dark: #0f0f0f;
        --border-color: #333333;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

[data-theme="dark"] {
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-light: #808080;
    --bg-white: #1a1a1a;
    --bg-light: #252525;
    --bg-dark: #0f0f0f;
    --border-color: #333333;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('../assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'JetBrainsMono', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.download-btn .download-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* macOS App Store 提示页 */
.mac-store-page-shell {
    min-height: calc(100vh - 154px);
    background:
        radial-gradient(circle at 18% 18%, rgba(137, 64, 203, 0.08), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(33, 138, 208, 0.08), transparent 26%),
        var(--bg-light);
}

.mac-store-section {
    padding: 76px 0 84px;
}

.mac-store-container {
    max-width: 1020px;
}

.mac-store-panel {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    padding: 52px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.mac-store-product {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 270px;
    border: 1px solid rgba(137, 64, 203, 0.16);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(137, 64, 203, 0.1), rgba(33, 138, 208, 0.08));
}

.mac-store-app-icon {
    width: 132px;
    height: 132px;
    border-radius: 30px;
    box-shadow: 0 18px 36px rgba(47, 33, 119, 0.2);
}

.mac-store-apple {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.mac-store-apple svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.mac-store-copy h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.mac-store-copy > p {
    margin: 18px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.mac-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    margin-top: 28px;
}

.mac-store-button > svg:first-child {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.mac-store-button .mac-store-arrow {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.mac-store-notice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    margin-top: 26px;
    padding: 15px 16px;
    border: 1px solid rgba(33, 138, 208, 0.26);
    border-radius: 12px;
    background: rgba(33, 138, 208, 0.07);
    color: var(--text-secondary);
}

.mac-store-notice > svg {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
}

.mac-store-notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.mac-store-notice strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-primary);
    font-size: 14px;
}

.mac-store-region-alert {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(239, 139, 38, 0.36);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 167, 38, 0.13), rgba(137, 64, 203, 0.08));
    box-shadow: var(--shadow-sm);
}

.mac-store-region-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(239, 139, 38, 0.16);
    color: #df7413;
}

.mac-store-region-icon svg {
    width: 26px;
    height: 26px;
}

.mac-store-region-alert h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 19px;
    line-height: 1.4;
}

.mac-store-region-alert p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.mac-store-region-alert > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(137, 64, 203, 0.34);
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.mac-store-region-alert > a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.mac-store-search-guide {
    margin: 22px 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.mac-store-search-guide > img {
    display: block;
    width: 100%;
    height: auto;
    background: #1b1b1b;
}

.mac-store-search-guide figcaption {
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
}

.mac-store-search-guide strong {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
}

.mac-store-search-guide span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.mac-store-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.mac-store-points > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
}

.mac-store-points > div + div {
    border-left: 1px solid var(--border-color);
}

.mac-store-points > div > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.mac-store-points p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.65;
}

.mac-store-points strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-primary);
    font-size: 14px;
}

footer.mac-store-footer {
    padding: 0;
}

.footer .mac-store-footer-bottom {
    justify-content: center;
    min-height: 76px;
}

@media (max-width: 820px) {
    .mac-store-section {
        padding: 48px 0 58px;
    }

    .mac-store-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px;
    }

    .mac-store-product {
        min-height: 220px;
    }

    .mac-store-region-alert {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .mac-store-region-alert > a {
        grid-column: 2;
        justify-self: start;
    }

    .mac-store-points {
        grid-template-columns: 1fr;
    }

    .mac-store-points > div + div {
        border-top: 1px solid var(--border-color);
        border-left: 0;
    }
}

@media (max-width: 480px) {
    .mac-store-section {
        padding: 34px 0 42px;
    }

    .mac-store-panel {
        gap: 25px;
        padding: 22px 18px;
        border-radius: 17px;
    }

    .mac-store-product {
        min-height: 190px;
        border-radius: 16px;
    }

    .mac-store-app-icon {
        width: 108px;
        height: 108px;
        border-radius: 25px;
    }

    .mac-store-apple {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .mac-store-copy h1 {
        font-size: 28px;
    }

    .mac-store-copy > p {
        margin-top: 13px;
        font-size: 14px;
    }

    .mac-store-button {
        width: 100%;
        min-width: 0;
        margin-top: 22px;
        padding-right: 16px;
        padding-left: 16px;
        font-size: 14px;
    }

    .mac-store-notice {
        margin-top: 20px;
        padding: 13px;
    }

    .mac-store-region-alert {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    .mac-store-region-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .mac-store-region-icon svg {
        width: 22px;
        height: 22px;
    }

    .mac-store-region-alert h2 {
        font-size: 16px;
    }

    .mac-store-region-alert > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .mac-store-search-guide {
        border-radius: 14px;
    }

    .mac-store-search-guide figcaption {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 15px 16px;
    }
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="light"] .btn-outline {
    color: #8940CB;
    border-color: #8940CB;
}

[data-theme="dark"] .btn-outline {
    color: #8940CB;
    border-color: #8940CB;
}

.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 16px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.95);
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
}

@media (prefers-color-scheme: light) {
    .navbar {
        background: rgba(255, 255, 255, 0.95);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

[data-theme="light"] .nav-menu a {
    color: #1a1a1a;
}

[data-theme="light"] .btn-primary {
    color: #ffffff !important;
}

[data-theme="dark"] .nav-menu a {
    color: #e0e0e0;
}

@media (prefers-color-scheme: light) {
    .nav-menu a {
        color: #1a1a1a;
    }
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.theme-toggle-wrapper {
    margin-left: 16px;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    position: absolute;
    stroke: currentColor;
    fill: none;
}

.theme-icon.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-icon.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .theme-icon {
    color: #1a1a1a;
    stroke: #1a1a1a;
}


[data-theme="dark"] .theme-icon {
    color: #e0e0e0;
    stroke: #e0e0e0;
}

[data-theme="dark"] .theme-icon.moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-icon.sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

[data-theme="light"] .nav-toggle span {
    background: #1a1a1a;
}

[data-theme="dark"] .nav-toggle span {
    background: #e0e0e0;
}

@media (prefers-color-scheme: light) {
    .nav-toggle span {
        background: #1a1a1a;
    }
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    user-select: none;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

@media (prefers-color-scheme: light) {
    .hero {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }
}

@media (prefers-color-scheme: light) {

    .hero-subtitle,
    .hero-description {
        color: var(--text-primary);
        text-shadow: none;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* z-index: -1; */
    /* opacity: 0.15; */
    background-image: url('../assets/images/home/bg_maps.png');
    /* background-color: red; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: parallax 5s ease-in-out infinite;
}

@keyframes parallax {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

[data-theme="light"] .hero-background {
    /* opacity: 0.1; */
    background-color: #000000;
}

@media (prefers-color-scheme: dark) {
    .hero-background {
        opacity: 0.15;
    }
}

@media (prefers-color-scheme: light) {
    .hero-background {
        opacity: 0.1;
    }
}

.bg-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 60px 0;
}

.hero-content img {
    width: 80px;
    height: 80px;
}


.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-description {
    color: #1a1a1a;
    text-shadow: none;
}

@media (prefers-color-scheme: light) {

    .hero-subtitle,
    .hero-description {
        color: #1a1a1a;
        text-shadow: none;
    }
}

.hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
    gap: 16px;
    margin-bottom: 54px;
    animation: none;
}

.hero-actions .download-btn {
    width: 100%;
    min-width: 0;
    margin-top: 0;
}

.hero-device-recommendation {
    width: min(100%, 660px);
    margin: 0 auto;
}

.hero-detected-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -8px 0 18px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    animation: none;
    min-height: 26px;
}

.hero-detected-platform svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.smart-download-button,
.other-download-button {
    min-height: 60px;
}

.smart-download-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smart-download-icon svg,
.smart-download-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.visitor-platform-copy,
.smart-platform-label,
.smart-platform-icon {
    display: none;
}

html:not([data-visitor-platform]) .visitor-platform-copy-other,
html:not([data-visitor-platform]) .smart-platform-label-other,
html:not([data-visitor-platform]) .smart-platform-icon-other,
html[data-visitor-platform="other"] .visitor-platform-copy-other,
html[data-visitor-platform="other"] .smart-platform-label-other,
html[data-visitor-platform="other"] .smart-platform-icon-other,
html[data-visitor-platform="ios"] .visitor-platform-copy-ios,
html[data-visitor-platform="ios"] .smart-platform-label-ios,
html[data-visitor-platform="ios"] .smart-platform-icon-ios,
html[data-visitor-platform="macos"] .visitor-platform-copy-macos,
html[data-visitor-platform="macos"] .smart-platform-label-macos,
html[data-visitor-platform="macos"] .smart-platform-icon-macos,
html[data-visitor-platform="windows"] .visitor-platform-copy-windows,
html[data-visitor-platform="windows"] .smart-platform-label-windows,
html[data-visitor-platform="windows"] .smart-platform-icon-windows,
html[data-visitor-platform="android"] .visitor-platform-copy-android,
html[data-visitor-platform="android"] .smart-platform-label-android,
html[data-visitor-platform="android"] .smart-platform-icon-android,
html[data-visitor-platform="linux"] .visitor-platform-copy-linux,
html[data-visitor-platform="linux"] .smart-platform-label-linux,
html[data-visitor-platform="linux"] .smart-platform-icon-linux {
    display: block;
}

.other-download-button {
    background: var(--bg-white);
}

.other-download-button:hover .download-icon {
    transform: translateY(2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    animation: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    text-align: center;
}

.stat-group {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-end {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    margin-top: 8px;
}

[data-theme="light"] .stat-label {
    color: #666666;
}

@media (prefers-color-scheme: light) {
    .stat-label {
        color: #666666;
    }
}

.stat-item:hover .stat-group {
    transform: scale(1.05);
}

.stat-item:hover .stat-label {
    color: var(--primary-color);
}

/* 功能特性 */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

[data-theme="light"] .section-title {
    color: #1a1a1a;
}

[data-theme="dark"] .section-title {
    color: #e0e0e0;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

[data-theme="light"] .section-subtitle {
    color: #666666;
}

[data-theme="dark"] .section-subtitle {
    color: #b0b0b0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 定价方案 */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

/* VPN文档 */
.docs {
    padding: 100px 0;
    background: var(--bg-light);
}

.docs-page-shell {
    min-height: 100vh;
    padding-top: 88px;
    background: var(--bg-white);
}

.docs-page-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.docs-page-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.doc-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.doc-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(137, 64, 203, 0.16) 0%, rgba(33, 138, 208, 0.2) 100%);
    overflow: hidden;
}

.doc-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.doc-preview-system {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 107, 255, 0.18) 0%, rgba(86, 183, 255, 0.24) 100%);
}

.doc-system-icon {
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.doc-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.doc-body {
    padding: 28px;
}

.doc-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.doc-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 18px;
}

.doc-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 22px;
}

.doc-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.doc-actions .btn {
    min-width: 140px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.pricing-card {
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

[data-theme="light"] .pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 8px 32px rgba(137, 64, 203, 0.15);
    border-color: #8940CB;
}

@media (prefers-color-scheme: light) {
    .pricing-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid #e0e0e0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 32px rgba(137, 64, 203, 0.3);
    border-color: #8940CB;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .pricing-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    border: 2px solid #8940CB;
    box-shadow: 0 8px 32px rgba(137, 64, 203, 0.2);
}

@media (prefers-color-scheme: light) {
    .pricing-card.featured {
        background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
        border: 2px solid #8940CB;
        box-shadow: 0 8px 32px rgba(137, 64, 203, 0.2);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

[data-theme="light"] .pricing-name {
    color: #1a1a1a;
}

@media (prefers-color-scheme: light) {
    .pricing-name {
        color: #1a1a1a;
    }
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-currency {
    font-size: 20px;
    color: #ffffff;
}

[data-theme="light"] .price-currency {
    color: #666666;
}

@media (prefers-color-scheme: light) {
    .price-currency {
        color: #666666;
    }
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #8940CB;
}

.price-period {
    font-size: 16px;
    color: #ffffff;
}

[data-theme="light"] .price-period {
    color: #666666;
}

@media (prefers-color-scheme: light) {
    .price-period {
        color: #666666;
    }
}

.pricing-save {
    font-size: 14px;
    color: #8940CB;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: auto;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 16px;
    color: #ffffff;
    border-bottom: 1px solid #3a3a3a;
}

[data-theme="light"] .pricing-features li {
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
}

@media (prefers-color-scheme: light) {
    .pricing-features li {
        color: #1a1a1a;
        border-bottom: 1px solid #e0e0e0;
    }
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #4ade80;
    font-weight: bold;
    margin-right: 12px;
    display: inline-block;
}

/* 服务器节点 */
.servers {
    padding: 100px 0;
    background: var(--bg-light);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.server-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.server-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.server-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.server-card.selected {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(137, 64, 203, 0.05) 0%, rgba(33, 138, 208, 0.05) 100%);
}

.server-flag {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.server-info {
    flex: 1;
}

.server-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.server-ping {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.ping-value {
    font-size: 14px;
    color: var(--text-secondary);
}

.servers-more {
    text-align: center;
    margin-top: 40px;
}

.servers-more p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

[data-theme="light"] .servers-more p {
    color: #666666;
}

@media (prefers-color-scheme: light) {
    .servers-more p {
        color: #666666;
    }
}


/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

.download-meta span {
    margin-left: 5px;
}

.download-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.download-icon-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.download-platform {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.download-note {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
}

[data-theme="light"] .download-platform {
    color: #1a1a1a;
}

@media (prefers-color-scheme: light) {
    .download-platform {
        color: #1a1a1a;
    }
}

.download-meta {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

[data-theme="light"] .download-meta {
    color: #666666;
}

@media (prefers-color-scheme: light) {
    .download-meta {
        color: #666666;
    }
}

.download-card .download-btn {
    width: 100%;
}

.download-card-ios {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) minmax(250px, 310px);
    align-items: center;
    gap: 30px;
    padding: 36px 40px;
    text-align: left;
    background:
        radial-gradient(circle at 8% 20%, rgba(137, 64, 203, 0.14), transparent 34%),
        linear-gradient(120deg, rgba(33, 138, 208, 0.06), transparent 60%),
        var(--bg-white);
}

.download-card-ios .download-icon-wrapper {
    margin-bottom: 0;
}

.ios-download-icon-wrapper {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(137, 64, 203, 0.14), rgba(33, 138, 208, 0.1));
    color: var(--text-primary);
}

.ios-app-icon {
    width: 68px;
    height: 68px;
    padding: 8px;
    animation: none;
}

.ios-download-card-copy .download-platform,
.ios-download-card-copy .download-note {
    text-align: left;
}

.ios-download-warning {
    max-width: 640px;
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.ios-download-warning strong {
    color: #d76612;
}

.download-card-ios .download-btn {
    margin-top: 0;
}

.download-package-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 0;
}

.download-package-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(137, 64, 203, 0.12);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid rgba(137, 64, 203, 0.18);
}

[data-theme="dark"] .download-package-pill {
    background: rgba(137, 64, 203, 0.2);
    color: #f3e8ff;
    border-color: rgba(137, 64, 203, 0.35);
}

/* Linux 下载页 */
.linux-page-shell {
    min-height: 100vh;
    padding: 120px 0 100px;
    background: var(--bg-light);
}

.linux-page-intro {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.linux-page-logo {
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
}

.linux-page-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.linux-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.linux-support-notice,
.linux-domestic-guide {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.linux-support-notice {
    margin-top: 28px;
    padding: 24px 28px;
    border-left: 4px solid #ff8a00;
}

.linux-support-title,
.linux-domestic-title {
    font-size: 24px;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.linux-support-text {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.linux-domestic-guide {
    margin-top: 24px;
    padding: 28px;
}

.linux-domestic-list {
    display: grid;
    gap: 16px;
}

.linux-domestic-item {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.linux-domestic-item p {
    color: var(--text-secondary);
    margin: 10px 0 0;
}

.linux-domestic-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(33, 138, 208, 0.12);
    color: var(--text-primary);
    border: 1px solid rgba(33, 138, 208, 0.2);
    font-size: 14px;
    font-weight: 600;
}

.linux-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.linux-package-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.linux-package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.linux-package-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--gradient);
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.linux-package-title {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.linux-package-description {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.linux-package-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-word;
}

.linux-package-card .download-btn {
    width: 100%;
    margin-top: 24px;
}

/* macOS 下载页 */
.macos-page-shell {
    padding-top: 76px;
    background: var(--bg-white);
}

.macos-hero {
    padding: 92px 0 86px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.macos-hero-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.45fr);
    align-items: center;
    gap: 72px;
    max-width: 1040px;
}

.macos-hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.macos-hero-mark img {
    width: clamp(180px, 20vw, 260px);
    height: clamp(180px, 20vw, 260px);
}

.macos-hero-content h1 {
    color: var(--text-primary);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.macos-hero-content {
    min-width: 0;
    max-width: 100%;
}

.macos-hero-description {
    color: var(--text-secondary);
    font-size: 19px;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 20px;
}

.macos-download-meta {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 6px;
}

.macos-download-button {
    min-width: 280px;
    border-radius: var(--radius-md);
}

.macos-install-section {
    padding: 78px 0 86px;
}

.macos-install-section .section-title {
    margin-bottom: 46px;
}

.macos-install-steps {
    display: grid;
    grid-template-columns: 1fr 34px 1fr 34px 1fr;
    align-items: center;
    gap: 18px;
}

.macos-install-step {
    position: relative;
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.macos-step-number {
    position: absolute;
    top: -12px;
    left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 17px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.macos-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.macos-step-icon svg {
    width: 48px;
    height: 48px;
}

.macos-install-step h3 {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.macos-install-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.macos-step-arrow {
    color: var(--border-color);
}

.macos-step-arrow svg {
    display: block;
    width: 28px;
    height: 28px;
}

.macos-requirements {
    display: grid;
    grid-template-columns: auto auto auto minmax(260px, 1fr);
    align-items: center;
    margin-top: 70px;
    padding: 24px 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.macos-requirements-title,
.macos-requirement-item,
.macos-support-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 26px;
    border-right: 1px solid var(--border-color);
}

.macos-requirements-title {
    gap: 12px;
    padding-left: 0;
}

.macos-requirements-title svg {
    width: 30px;
    height: 30px;
    color: var(--primary-light);
}

.macos-requirements-title h2 {
    color: var(--text-primary);
    font-size: 18px;
    white-space: nowrap;
}

.macos-requirement-item,
.macos-support-item {
    color: var(--text-secondary);
    font-size: 14px;
}

.macos-support-item {
    padding-right: 0;
    border-right: 0;
}

.macos-support-item strong {
    color: var(--primary-light);
    margin-left: 5px;
}

.macos-footer {
    padding-top: 46px;
}

.macos-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.macos-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: none;
}

.macos-footer-brand .footer-logo,
.macos-footer-brand .footer-description {
    margin: 0;
}

.macos-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}

.macos-footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
}

.macos-footer-links a:hover {
    color: white;
}

/* macOS 下载页桌面优化 */
.macos-page-shell {
    padding-top: 76px;
    background: var(--bg-light);
}

.macos-download-page {
    padding: 48px 0 54px;
}

.macos-page-container {
    max-width: 1180px;
}

.macos-overview-grid,
.macos-guide-grid {
    display: grid;
    gap: 20px;
}

.macos-overview-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
}

.macos-guide-grid {
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.92fr);
    margin-top: 20px;
}

.macos-qa-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.macos-primary-panel {
    min-height: 334px;
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 40px 32px;
}

.macos-product-icon {
    display: block;
    width: 142px;
    height: 142px;
    border-radius: 32px;
    box-shadow: 0 16px 34px rgba(46, 25, 130, 0.2);
}

.macos-primary-content {
    min-width: 0;
}

.macos-primary-content h1 {
    color: var(--text-primary);
    font-size: clamp(34px, 3.2vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.macos-primary-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.75;
}

.macos-download-button {
    min-width: 292px;
    margin-top: 26px;
    border-radius: var(--radius-md);
}

.macos-details-panel {
    padding: 30px 32px;
}

.macos-panel-heading,
.macos-help-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.macos-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    color: var(--primary-color);
    background: rgba(137, 64, 203, 0.08);
    border: 1px solid rgba(137, 64, 203, 0.22);
    border-radius: 14px;
}

.macos-heading-icon svg {
    width: 28px;
    height: 28px;
}

.macos-panel-heading h2 {
    color: var(--text-primary);
    font-size: 24px;
    line-height: 1.3;
}

.macos-detail-list {
    margin-top: 22px;
}

.macos-detail-list > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    min-height: 48px;
    border-top: 1px solid var(--border-color);
}

.macos-detail-list dt {
    color: var(--text-light);
    font-size: 14px;
}

.macos-detail-list dd {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    overflow-wrap: anywhere;
}

.macos-install-panel {
    padding: 28px 30px 30px;
}

.macos-install-panel > h2 {
    color: var(--text-primary);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.macos-install-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.macos-install-row {
    display: grid;
    grid-template-columns: 54px 34px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.macos-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--primary-color);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.macos-row-icon svg {
    width: 27px;
    height: 27px;
}

.macos-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    background: var(--gradient);
    font-size: 14px;
    font-weight: 700;
}

.macos-install-row h3 {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 4px;
}

.macos-install-row p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.macos-row-chevron {
    width: 22px;
    height: 22px;
    color: var(--text-light);
}

.macos-help-panel {
    padding: 30px 30px 28px;
    border-color: rgba(137, 64, 203, 0.3);
    background: linear-gradient(145deg, rgba(137, 64, 203, 0.05), var(--bg-white) 46%);
}

.macos-help-title {
    color: var(--primary-color);
}

.macos-help-title svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.macos-help-title h2 {
    color: var(--text-primary);
    font-size: 26px;
    line-height: 1.3;
}

.macos-check-list {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
    list-style: none;
}

.macos-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.macos-check-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.macos-help-divider {
    height: 1px;
    margin: 28px 0;
    background: rgba(137, 64, 203, 0.24);
}

.macos-contact-block {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    color: var(--primary-light);
}

.macos-contact-block > svg {
    width: 30px;
    height: 30px;
}

.macos-contact-block h3 {
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.macos-contact-block p {
    color: var(--text-secondary);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.macos-contact-block strong {
    color: var(--primary-light);
}

.footer.macos-footer {
    padding: 24px 0 18px;
}

.footer .macos-footer-bottom {
    padding-top: 0;
    border-top: 0;
}

[data-theme="dark"] .macos-help-panel {
    background: linear-gradient(145deg, rgba(137, 64, 203, 0.13), var(--bg-white) 50%);
}

@media (max-width: 1024px) {
    .macos-primary-panel {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 28px;
        padding: 36px;
    }

    .macos-product-icon {
        width: 116px;
        height: 116px;
        border-radius: 26px;
    }

    .macos-primary-content h1 {
        font-size: 36px;
    }

    .macos-overview-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(320px, 1fr);
    }

    .macos-guide-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    }

    .macos-install-row {
        grid-template-columns: 50px 32px minmax(0, 1fr);
        gap: 12px;
    }

    .macos-row-chevron {
        display: none;
    }
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    [data-theme="light"] .nav-menu {
        background: #ffffff;
    }

    [data-theme="dark"] .nav-menu {
        background: #1a1a1a;
    }

    @media (prefers-color-scheme: light) {
        .nav-menu {
            background: #ffffff;
        }
    }

    @media (prefers-color-scheme: dark) {
        .nav-menu {
            background: #1a1a1a;
        }
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        width: 100%;
    }

    [data-theme="light"] .nav-menu a {
        color: #1a1a1a;
    }

    [data-theme="dark"] .nav-menu a {
        color: #e0e0e0;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        margin-bottom: 12px;
    }

    .theme-toggle-wrapper {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .theme-toggle {
        width: 100%;
        max-width: 200px;
    }

    [data-theme="light"] .theme-toggle {
        border-color: #e0e0e0;
        color: #1a1a1a;
    }

    [data-theme="dark"] .theme-toggle {
        border-color: #333333;
        color: #e0e0e0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .docs-page-shell {
        padding-top: 76px;
    }

    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .macos-hero {
        padding: 66px 0 64px;
    }

    .macos-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        text-align: center;
    }

    .macos-hero-mark img {
        width: 150px;
        height: 150px;
    }

    .macos-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .macos-hero-content h1,
    .macos-hero-description,
    .macos-download-meta {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .macos-install-steps {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .macos-install-step {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .macos-step-arrow {
        display: none;
    }

    .macos-requirements {
        grid-template-columns: 1fr;
        padding: 10px 24px;
    }

    .macos-requirements-title,
    .macos-requirement-item,
    .macos-support-item {
        min-height: 58px;
        justify-content: center;
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }

    .macos-support-item {
        border-bottom: 0;
        flex-wrap: wrap;
    }

    .macos-footer-row {
        flex-direction: column;
        text-align: center;
    }

    .macos-download-page {
        padding: 30px 0 40px;
    }

    .macos-overview-grid,
    .macos-guide-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .macos-primary-panel {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 36px 28px;
        text-align: center;
    }

    .macos-product-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        border-radius: 28px;
    }

    .macos-primary-content h1 {
        font-size: 34px;
    }

    .macos-download-button {
        min-width: 270px;
    }

    .macos-details-panel,
    .macos-install-panel,
    .macos-help-panel {
        padding: 26px;
    }

    .macos-install-row {
        grid-template-columns: 50px 32px minmax(0, 1fr);
    }

    .macos-footer {
        padding-top: 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .doc-body {
        padding: 22px;
    }

    .doc-title {
        font-size: 24px;
    }

    .doc-actions .btn {
        width: 100%;
    }

    .docs-page-actions .btn {
        width: 100%;
    }

    .download-card {
        padding: 40px 24px;
    }

    .linux-page-shell {
        padding: 108px 0 80px;
    }

    .linux-package-card {
        padding: 32px 24px;
    }

    .linux-support-notice,
    .linux-domestic-guide {
        padding: 22px 20px;
    }

    .macos-page-shell {
        padding-top: 72px;
    }

    .macos-hero {
        padding: 48px 0 54px;
    }

    .macos-hero-content h1 {
        font-size: 36px;
        letter-spacing: -0.03em;
    }

    .macos-hero-description {
        font-size: 16px;
    }

    .macos-download-button {
        min-width: 0;
        width: 100%;
    }

    .macos-install-section {
        padding: 62px 0 70px;
    }

    .macos-install-step {
        grid-template-columns: 72px 1fr;
        gap: 16px;
    }

    .macos-step-icon {
        width: 72px;
        height: 72px;
    }

    .macos-step-number {
        left: -6px;
    }

    .macos-requirements {
        margin-top: 52px;
    }

    .macos-footer-brand {
        flex-direction: column;
    }

    .macos-footer-links {
        justify-content: center;
    }

    .macos-download-page {
        padding: 22px 0 32px;
    }

    .macos-primary-panel {
        padding: 28px 20px;
    }

    .macos-product-icon {
        width: 96px;
        height: 96px;
        border-radius: 23px;
    }

    .macos-primary-content h1 {
        font-size: 31px;
        letter-spacing: -0.035em;
    }

    .macos-primary-content p {
        font-size: 15px;
    }

    .macos-download-button {
        width: 100%;
        min-width: 0;
    }

    .macos-details-panel,
    .macos-install-panel,
    .macos-help-panel {
        padding: 22px 18px;
    }

    .macos-panel-heading h2,
    .macos-help-title h2 {
        font-size: 21px;
    }

    .macos-detail-list > div {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .macos-install-panel > h2 {
        font-size: 24px;
    }

    .macos-install-row {
        grid-template-columns: 42px 28px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .macos-row-icon {
        width: 42px;
        height: 42px;
    }

    .macos-row-icon svg {
        width: 23px;
        height: 23px;
    }

    .macos-row-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .macos-install-row p {
        font-size: 12px;
    }

}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 打印样式 */
@media print {

    .navbar,
    .hero-actions,
    .btn {
        display: none;
    }
}

/* Windows 下载与安装页 */
.windows-page-shell {
    padding-top: 72px;
    background: var(--bg-light);
}

.windows-download-page {
    padding: 44px 0 52px;
}

.windows-page-container {
    max-width: 1180px;
}

.windows-qa-panel {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.windows-download-hero {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    min-height: 280px;
    padding: 38px 44px;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 12%, rgba(33, 138, 208, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(137, 64, 203, 0.08), rgba(255, 255, 255, 0) 55%),
        var(--bg-white);
}

[data-theme="dark"] .windows-download-hero {
    background:
        radial-gradient(circle at 94% 12%, rgba(33, 138, 208, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(137, 64, 203, 0.16), rgba(26, 26, 26, 0) 55%),
        var(--bg-white);
}

.windows-hero-icon {
    display: grid;
    place-items: center;
    width: 142px;
    height: 142px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(137, 64, 203, 0.12), rgba(33, 138, 208, 0.1));
}

.windows-hero-icon img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.windows-hero-content h1 {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.windows-hero-content > p {
    color: var(--text-secondary);
    font-size: 17px;
}

.windows-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.windows-hero-actions .download-btn,
.windows-other-platforms {
    min-height: 56px;
    margin-top: 0;
}

.windows-other-platforms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--bg-white);
}

.windows-other-platforms svg {
    width: 22px;
    height: 22px;
}

.windows-hero-content .windows-package-summary {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 14px;
}

.windows-safety-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 20px;
    padding: 22px 26px;
    border-color: rgba(33, 138, 208, 0.34);
    background: linear-gradient(90deg, rgba(33, 138, 208, 0.08), rgba(137, 64, 203, 0.04));
}

.windows-safety-note > svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    color: #218ad0;
}

.windows-safety-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.windows-safety-note strong {
    color: var(--text-primary);
}

.windows-tutorial {
    margin-top: 52px;
}

.windows-tutorial-heading {
    margin-bottom: 34px;
    text-align: center;
}

.windows-tutorial-heading h2 {
    color: var(--text-primary);
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.25;
}

.windows-tutorial-heading p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.windows-tutorial-list {
    position: relative;
}

.windows-tutorial-list::before {
    content: "";
    position: absolute;
    top: 29px;
    bottom: 36px;
    left: 27px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(137, 64, 203, 0.55), rgba(33, 138, 208, 0.18));
}

.windows-tutorial-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 286px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    min-height: 230px;
    padding: 26px 0;
}

.windows-step-marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 6px solid var(--bg-light);
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 5px 16px rgba(89, 48, 184, 0.24);
}

.windows-step-copy h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 22px;
    line-height: 1.3;
}

.windows-step-copy p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.85;
}

.windows-step-copy strong {
    color: var(--text-primary);
}

.windows-interface-mock {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 620px;
    min-height: 188px;
    margin-left: auto;
    border: 1px solid rgba(120, 138, 168, 0.42);
    border-radius: 14px;
    background: #f8faff;
    color: #182033;
    box-shadow: 0 12px 28px rgba(31, 55, 94, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mock-browser-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 1px solid #d9dfeb;
    background: #f1f4f9;
}

.mock-address-bar {
    height: 30px;
    flex: 1;
    border: 1px solid #d6dce8;
    border-radius: 18px;
    background: #fff;
}

.mock-toolbar-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #30394d;
    font-size: 16px;
    font-weight: 700;
}

.mock-download-panel {
    position: relative;
    padding: 14px 16px 18px;
}

.mock-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    font-size: 15px;
}

.mock-file-row {
    display: grid;
    grid-template-columns: 40px 1fr 28px;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 12px;
    border: 1px solid #dce2ed;
    border-radius: 10px;
    background: #fff;
}

.mock-file-row strong,
.mock-file-row small {
    display: block;
}

.mock-file-row strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.mock-file-row small {
    margin-top: 4px;
    color: #687184;
    font-size: 12px;
}

.mock-file-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(145deg, #7f3bd1, #218ad0);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.mock-folder-icon,
.mock-menu-trigger {
    color: #667085;
    text-align: center;
    font-weight: 700;
}

.mock-file-warning {
    border-color: #ef9a58;
    background: #fff9f4;
}

.mock-warning-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #ef8c35;
    border-radius: 50%;
    color: #d66e14;
    font-weight: 800;
}

.mock-download-menu {
    position: absolute;
    right: 22px;
    bottom: 10px;
    display: grid;
    width: 146px;
    overflow: hidden;
    border: 1px solid #ccd3df;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(24, 32, 51, 0.2);
}

.mock-download-menu span,
.mock-download-menu strong {
    padding: 8px 12px;
    color: #30394d;
    font-size: 12px;
    text-align: left;
}

.mock-download-menu strong {
    background: #dbeaff;
    color: #1259a7;
}

.smartscreen-states {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
}

.smartscreen-window {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #0877d1, #074995);
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 76, 151, 0.22);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.smartscreen-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.smartscreen-window p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.55;
}

.smartscreen-window dl {
    margin-top: 12px;
}

.smartscreen-window dl div {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
}

.smartscreen-window dd {
    margin: 0;
}

.smartscreen-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.smartscreen-more,
.smartscreen-run,
.smartscreen-cancel {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.smartscreen-more,
.smartscreen-run {
    border: 2px solid #ffe14f;
}

.smartscreen-cancel {
    background: #fff;
    color: #17466f;
}

.smartscreen-window-expanded {
    background: linear-gradient(135deg, #075db1, #063a78);
}

.start-menu-mock {
    min-height: 220px;
    padding: 20px;
    background: linear-gradient(150deg, #f4f7fc, #e7eef9);
}

.start-menu-search {
    padding: 10px 16px;
    border: 1px solid #cfd8e7;
    border-radius: 22px;
    background: #fff;
    color: #7a8495;
    font-size: 12px;
}

.start-menu-label {
    margin: 18px 4px 12px;
    font-size: 13px;
    font-weight: 700;
}

.start-menu-apps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.start-menu-app {
    display: grid;
    min-height: 96px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    color: #35405a;
    font-size: 11px;
    text-align: center;
}

.start-menu-app-primary {
    border: 1px solid rgba(137, 64, 203, 0.38);
    background: rgba(255, 255, 255, 0.74);
}

.start-menu-app img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.start-app-shape {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
}

.settings-shape {
    background: #718198;
}

.folder-shape {
    background: #efb526;
}

.windows-support-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.15fr);
    align-items: center;
    gap: 28px;
    margin-top: 36px;
    padding: 28px 34px;
    background: linear-gradient(110deg, rgba(137, 64, 203, 0.07), rgba(33, 138, 208, 0.05));
}

.windows-support-contact,
.windows-support-doc {
    display: flex;
    align-items: center;
    gap: 16px;
}

.windows-support-contact > svg,
.windows-support-doc > svg {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    color: var(--primary-color);
}

.windows-support-band h2 {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.35;
}

.windows-support-band p,
.windows-support-band a {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}

.windows-support-band a {
    display: inline-block;
    color: #218ad0;
    font-weight: 700;
}

.windows-support-divider {
    width: 1px;
    height: 62px;
    background: var(--border-color);
}

.footer.windows-footer {
    padding: 0;
}

.footer .windows-footer-bottom {
    padding: 24px 0;
    border-top: 0;
    text-align: center;
}

@media (max-width: 980px) {
    .windows-tutorial-step {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }

    .windows-interface-mock,
    .smartscreen-states {
        grid-column: 2;
        max-width: none;
        margin-top: 8px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .ios-page-shell,
    .ios-page-shell .windows-download-page,
    .ios-page-shell .windows-page-container,
    .ios-page-shell .windows-qa-panel,
    .ios-page-shell .windows-tutorial,
    .ios-page-shell .windows-tutorial-step,
    .ios-page-shell .windows-step-copy,
    .ios-page-shell .ios-interface-mock {
        min-width: 0;
        max-width: 100%;
    }

    .ios-page-shell .windows-page-container {
        width: 100%;
        overflow: hidden;
    }

    .hero-device-recommendation {
        width: 100%;
    }

    .hero-detected-platform {
        margin-top: -2px;
        font-size: 14px;
    }

    .windows-download-page {
        padding: 24px 0 36px;
    }

    .windows-download-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 22px;
        text-align: center;
    }

    .windows-hero-icon {
        width: 94px;
        height: 94px;
        margin: 0 auto;
        border-radius: 22px;
    }

    .windows-hero-icon img {
        width: 64px;
        height: 64px;
    }

    .windows-hero-content h1 {
        font-size: 32px;
    }

    .windows-hero-content > p {
        font-size: 14px;
    }

    .windows-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .windows-hero-actions .btn {
        width: 100%;
    }

    .windows-safety-note {
        padding: 18px;
    }

    .windows-tutorial {
        margin-top: 38px;
    }

    .windows-tutorial-heading {
        text-align: left;
    }

    .windows-tutorial-heading h2 {
        font-size: 28px;
    }

    .windows-tutorial-list::before {
        left: 21px;
    }

    .windows-tutorial-step {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 22px 0;
    }

    .windows-step-marker {
        width: 44px;
        height: 44px;
        border-width: 5px;
        font-size: 16px;
    }

    .windows-step-copy h3 {
        font-size: 19px;
    }

    .windows-interface-mock,
    .smartscreen-states {
        grid-column: 1 / -1;
        margin-top: 6px;
    }

    .windows-interface-mock {
        min-height: 174px;
    }

    .mock-download-menu {
        width: 128px;
    }

    .smartscreen-window {
        padding: 18px;
    }

    .smartscreen-title {
        font-size: 18px;
    }

    .windows-support-band {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 22px;
    }

    .windows-support-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        grid-template-columns: 1fr;
    }

    .smart-download-button,
    .other-download-button {
        min-height: 56px;
    }

    .windows-page-container {
        padding: 0 16px;
    }

    .windows-safety-note p,
    .windows-step-copy p {
        font-size: 13px;
    }

    .mock-file-row {
        grid-template-columns: 34px 1fr 22px;
        gap: 8px;
        padding: 10px 8px;
    }

    .mock-file-row strong {
        font-size: 11px;
    }

    .mock-download-menu {
        right: 12px;
        width: 116px;
    }

    .start-menu-apps {
        gap: 6px;
    }

    .start-menu-app {
        padding: 6px;
        font-size: 9px;
    }

    .windows-support-contact,
    .windows-support-doc {
        align-items: flex-start;
    }
}

/* iOS 下载与安装页 */
.ios-page-shell {
    min-height: 100vh;
}

.ios-download-hero {
    background:
        radial-gradient(circle at 92% 14%, rgba(33, 138, 208, 0.14), transparent 31%),
        linear-gradient(135deg, rgba(137, 64, 203, 0.1), rgba(255, 255, 255, 0) 58%),
        var(--bg-white);
}

[data-theme="dark"] .ios-download-hero {
    background:
        radial-gradient(circle at 92% 14%, rgba(33, 138, 208, 0.2), transparent 31%),
        linear-gradient(135deg, rgba(137, 64, 203, 0.18), rgba(26, 26, 26, 0) 58%),
        var(--bg-white);
}

.ios-hero-icon {
    color: var(--text-primary);
}

.ios-hero-icon svg {
    width: 88px;
    height: 88px;
}

.ios-region-note {
    border-color: rgba(230, 126, 34, 0.42);
    background: linear-gradient(90deg, rgba(230, 126, 34, 0.12), rgba(255, 193, 7, 0.05));
}

.ios-region-note > svg {
    color: #db771d;
}

.ios-region-note h2 {
    margin: 0 0 6px;
    color: var(--text-primary);
    font-size: 19px;
    line-height: 1.35;
}

.ios-region-note > div,
.ios-download-hero .windows-hero-content {
    min-width: 0;
}

.ios-region-note p {
    margin: 0;
}

.ios-account-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: -12px auto 36px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: 0 8px 22px rgba(31, 55, 94, 0.07);
}

.ios-account-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 11px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ios-account-tab span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
}

.ios-account-tab:hover {
    color: var(--primary-color);
    background: rgba(137, 64, 203, 0.07);
}

.ios-account-tab.is-active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 7px 18px rgba(89, 48, 184, 0.2);
}

.ios-mainland-solutions[hidden],
.ios-solution-content[hidden] {
    display: none;
}

.ios-mainland-solutions {
    max-width: 900px;
    margin: -10px auto 34px;
    scroll-margin-top: 92px;
}

.ios-mainland-solutions-heading {
    margin-bottom: 20px;
    text-align: center;
}

.ios-mainland-solutions-heading > span {
    color: #db771d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ios-mainland-solutions-heading h3 {
    margin-top: 6px;
    color: var(--text-primary);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
}

.ios-mainland-solutions-heading p {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.ios-solution-quick-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    margin: 0 0 4px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(120, 138, 168, 0.06);
}

.ios-solution-quick-guide > div {
    display: grid;
    gap: 3px;
    padding: 14px 12px;
    text-align: center;
}

.ios-solution-quick-guide > div + div {
    border-left: 1px solid var(--border-color);
}

.ios-solution-quick-guide span {
    color: var(--text-secondary);
    font-size: 12px;
}

.ios-solution-quick-guide strong {
    color: var(--text-primary);
    font-size: 13px;
}

.ios-solution-card {
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-white);
    box-shadow: 0 8px 24px rgba(31, 55, 94, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ios-solution-card.is-open {
    border-color: rgba(137, 64, 203, 0.36);
    box-shadow: 0 14px 32px rgba(89, 48, 184, 0.13);
}

.ios-solution-card-heading {
    padding: 30px 28px 24px;
    text-align: center;
}

.ios-solution-card-heading h4 {
    color: var(--text-primary);
    font-size: clamp(22px, 2.8vw, 31px);
    line-height: 1.35;
}

.ios-solution-card-heading p {
    margin-top: 7px;
    color: var(--text-secondary);
    font-size: 14px;
}

.ios-solution-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    margin-top: 13px;
    color: #748096;
    font-size: 12px;
}

.ios-solution-meta span + span::before {
    content: "\00b7";
    margin: 0 9px;
    color: #adb5c3;
}

.ios-solution-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-left: 8px;
    padding: 3px 9px;
    border: 2px solid currentColor;
    border-radius: 8px;
    font-size: 13px;
    vertical-align: 4px;
}

.ios-solution-badge.is-recommended {
    color: #168453;
}

.ios-solution-badge.is-warning {
    color: #cf5e23;
}

.ios-solution-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 64px;
    padding: 12px 20px;
    border: 0;
    border-top: 1px solid var(--border-color);
    background: rgba(120, 138, 168, 0.09);
    color: var(--text-secondary);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.ios-solution-toggle:hover,
.ios-solution-toggle[aria-expanded="true"] {
    background: rgba(137, 64, 203, 0.09);
    color: var(--primary-color);
}

.ios-solution-toggle:focus-visible,
.ios-solution-action:focus-visible,
.ios-solution-next a:focus-visible {
    outline: 3px solid rgba(33, 138, 208, 0.42);
    outline-offset: -3px;
}

.ios-solution-chevron {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.ios-solution-chevron::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 9px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.ios-solution-toggle[aria-expanded="true"] .ios-solution-chevron::after {
    top: 10px;
    transform: rotate(225deg);
}

.ios-solution-content {
    padding: 24px 28px 28px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    animation: ios-solution-content-in 0.24s ease-out both;
}

@keyframes ios-solution-content-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-solution-content ol {
    display: grid;
    gap: 10px;
    padding-left: 24px;
}

.ios-solution-content a {
    color: #218ad0;
    font-weight: 700;
}

.ios-solution-official-link {
    display: inline-flex;
    margin-top: 18px;
}

.ios-solution-callout {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(33, 138, 208, 0.3);
    border-radius: 10px;
    background: rgba(33, 138, 208, 0.07);
}

.ios-solution-callout.is-danger {
    border-color: rgba(230, 126, 34, 0.35);
    background: rgba(230, 126, 34, 0.08);
}

.ios-solution-callout strong {
    color: var(--text-primary);
}

.ios-solution-section {
    margin-bottom: 22px;
    padding: 17px 18px;
    border: 1px solid rgba(33, 138, 208, 0.2);
    border-radius: 12px;
    background: rgba(33, 138, 208, 0.045);
}

.ios-solution-section h5 {
    margin-bottom: 9px;
    color: var(--text-primary);
    font-size: 15px;
}

.ios-solution-checklist {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ios-solution-checklist li {
    position: relative;
    padding-left: 24px;
}

.ios-solution-checklist li::before {
    content: "\2713";
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(22, 132, 83, 0.12);
    color: #168453;
    font-size: 11px;
    font-weight: 900;
}

.ios-solution-detail-steps {
    display: grid;
    gap: 10px;
}

.ios-solution-detail-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 13px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
}

.ios-solution-detail-step > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 13px rgba(89, 48, 184, 0.2);
}

.ios-solution-detail-step h5 {
    margin: 0 0 2px;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.5;
}

.ios-solution-detail-step p {
    margin: 0;
}

.ios-solution-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(22, 132, 83, 0.28);
    border-radius: 11px;
    background: rgba(22, 132, 83, 0.07);
}

.ios-solution-result strong {
    color: #117246;
    white-space: nowrap;
}

.ios-solution-result.is-warning {
    border-color: rgba(230, 126, 34, 0.32);
    background: rgba(230, 126, 34, 0.07);
}

.ios-solution-result.is-warning strong {
    color: #bd571f;
}

.ios-solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ios-solution-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 15px;
    border: 1px solid rgba(137, 64, 203, 0.3);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-color) !important;
    line-height: 1.4;
    text-align: center;
    transition: var(--transition);
}

.ios-solution-action:hover {
    border-color: var(--primary-color);
    background: rgba(137, 64, 203, 0.06);
    transform: translateY(-1px);
}

.ios-solution-action.is-primary {
    border-color: transparent;
    background: var(--gradient);
    color: #fff !important;
    box-shadow: 0 7px 17px rgba(89, 48, 184, 0.2);
}

.ios-solution-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 17px 19px;
    border: 1px solid rgba(137, 64, 203, 0.2);
    border-radius: 14px;
    background: rgba(137, 64, 203, 0.055);
}

.ios-solution-next > div {
    display: grid;
    gap: 2px;
}

.ios-solution-next strong {
    color: var(--text-primary);
    font-size: 14px;
}

.ios-solution-next span {
    color: var(--text-secondary);
    font-size: 12px;
}

.ios-solution-next a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 9px;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .ios-solution-content {
        animation: none;
    }
}

#ios-step-1,
#ios-step-2,
#ios-step-3,
#ios-step-4,
#ios-step-5 {
    scroll-margin-top: 92px;
}

.windows-tutorial-step:target::after {
    content: "";
    position: absolute;
    inset: 8px 0;
    z-index: 0;
    border: 2px solid rgba(230, 126, 34, 0.68);
    border-radius: 18px;
    pointer-events: none;
    animation: ios-target-highlight 1.2s ease-out;
}

.windows-tutorial-step:target > * {
    position: relative;
    z-index: 1;
}

@keyframes ios-target-highlight {
    0% {
        border-color: rgba(230, 126, 34, 1);
        box-shadow: 0 0 0 9px rgba(230, 126, 34, 0.16);
    }

    100% {
        border-color: rgba(230, 126, 34, 0.68);
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.ios-official-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin: 0 0 26px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.6;
}

.ios-official-links a {
    color: #218ad0;
    font-weight: 700;
}

.ios-official-links a:hover {
    text-decoration: underline;
}

.ios-tutorial-figure {
    width: 100%;
    max-width: 620px;
    margin: 0 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(120, 138, 168, 0.32);
    border-radius: 18px;
    background: #eef3f9;
    box-shadow: 0 14px 32px rgba(31, 55, 94, 0.11);
}

.ios-tutorial-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.ios-account-safety {
    position: relative;
    z-index: 2;
    margin: 2px 0 2px 82px;
    padding: 15px 18px;
    border: 1px solid rgba(230, 126, 34, 0.35);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.ios-account-safety strong {
    color: #d56e18;
}

.ios-inline-store-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 16px;
    padding: 8px 15px;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(89, 48, 184, 0.2);
}

.ios-inline-store-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.ios-interface-mock {
    width: 100%;
    max-width: 620px;
    min-height: 204px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(120, 138, 168, 0.36);
    border-radius: 22px;
    background: #f4f5f9;
    color: #16171a;
    box-shadow: 0 14px 32px rgba(31, 55, 94, 0.11);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.ios-screen-heading,
.ios-account-row,
.ios-setting-row,
.ios-open-sheet,
.ios-store-app-row {
    display: flex;
    align-items: center;
}

.ios-screen-heading {
    justify-content: space-between;
    padding: 14px 18px 10px;
    font-size: 12px;
}

.ios-screen-heading strong {
    font-size: 17px;
}

.ios-avatar,
.ios-account-avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #8740cb, #218ad0);
    color: #fff;
    font-weight: 700;
}

.ios-avatar {
    width: 30px;
    height: 30px;
}

.ios-account-row {
    gap: 14px;
    margin: 10px 14px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
}

.ios-account-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.ios-account-row strong,
.ios-account-row small,
.ios-store-app-row strong,
.ios-store-app-row small {
    display: block;
}

.ios-account-row small,
.ios-store-app-row small {
    margin-top: 4px;
    color: #777b84;
    font-size: 12px;
}

.ios-setting-row {
    justify-content: space-between;
    gap: 18px;
    margin: 0 14px 14px;
    padding: 15px 16px;
    border-radius: 14px;
    background: #fff;
    font-size: 13px;
}

.ios-setting-row strong {
    color: #1673d1;
    text-align: right;
}

.ios-browser-mock {
    display: grid;
    align-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, #fbfbfd, #e8ebf3);
}

.ios-safari-bar {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #d6dae3;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #60646c;
    font-size: 12px;
    text-align: center;
}

.ios-safari-bar strong {
    color: #26282d;
    font-weight: 600;
}

.ios-open-sheet {
    gap: 12px;
    margin-top: 28px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(35, 45, 68, 0.13);
}

.ios-open-sheet img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
}

.ios-open-sheet div {
    flex: 1;
}

.ios-open-sheet strong,
.ios-open-sheet small {
    display: block;
}

.ios-open-sheet strong {
    font-size: 13px;
}

.ios-open-sheet small {
    margin-top: 4px;
    color: #747983;
    font-size: 11px;
}

.ios-open-action,
.ios-get-button {
    color: #1673d1;
    font-size: 13px;
    font-weight: 700;
}

.ios-store-mock {
    padding: 20px;
    background: #fff;
}

.ios-store-app-row {
    gap: 14px;
}

.ios-store-app-row > img {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border-radius: 18px;
}

.ios-store-app-row > div {
    min-width: 0;
    flex: 1;
}

.ios-store-app-row > div strong {
    font-size: 17px;
}

.ios-get-button {
    padding: 7px 18px;
    border-radius: 999px;
    background: #eef5ff;
}

.ios-store-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 12px;
    background: #e1e3e8;
}

.ios-store-meta span {
    display: grid;
    gap: 5px;
    padding: 13px 8px;
    background: #f7f8fa;
    text-align: center;
}

.ios-store-meta strong {
    font-size: 13px;
}

.ios-store-meta small {
    color: #777b84;
    font-size: 10px;
}

.ios-home-mock {
    padding: 28px;
    background: linear-gradient(145deg, #c9d7ff, #ead4fb 52%, #bbe7f7);
}

.ios-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ios-home-app {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #20242c;
    font-size: 11px;
    text-align: center;
}

.ios-home-app img,
.ios-generic-app {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(32, 38, 58, 0.16);
}

.ios-generic-app {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}

.ios-generic-blue {
    background: linear-gradient(145deg, #8b97aa, #536278);
}

.ios-generic-purple {
    background: linear-gradient(145deg, #6d5ae8, #2e85dd);
}

@media (max-width: 980px) {
    .ios-tutorial-figure {
        grid-column: 2;
        max-width: none;
        margin-top: 8px;
        margin-left: 0;
    }

    .ios-interface-mock {
        grid-column: 2;
        max-width: none;
        margin-top: 8px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .download-card-ios {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 42px 28px;
        text-align: center;
    }

    .ios-download-icon-wrapper {
        margin: 0 auto;
    }

    .ios-download-card-copy .download-platform,
    .ios-download-card-copy .download-note {
        text-align: center;
    }

    .ios-download-warning {
        text-align: left;
    }

    .ios-hero-icon svg {
        width: 60px;
        height: 60px;
    }

    .ios-download-hero .windows-hero-content h1 {
        font-size: clamp(25px, 7.4vw, 30px);
        overflow-wrap: anywhere;
    }

    .ios-download-hero .windows-hero-content > p,
    .ios-download-hero .windows-package-summary,
    .ios-page-shell .windows-step-copy p,
    .ios-setting-row strong,
    .ios-store-app-row strong,
    .ios-store-app-row small {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .ios-download-hero .btn {
        min-width: 0;
        padding-right: 18px;
        padding-left: 18px;
        white-space: normal;
    }

    .ios-region-note h2 {
        font-size: 17px;
    }

    .ios-region-note p {
        overflow-wrap: anywhere;
    }

    .ios-interface-mock {
        grid-column: 1 / -1;
        margin-top: 6px;
    }

    .ios-account-tabs {
        margin-top: -8px;
        margin-bottom: 22px;
    }

    .ios-solution-next {
        align-items: flex-start;
        flex-direction: column;
    }

    .ios-tutorial-figure {
        grid-column: 1 / -1;
        margin-top: 6px;
    }

    .ios-account-safety {
        margin-left: 58px;
    }
}

@media (max-width: 480px) {
    .download-card-ios {
        padding: 36px 20px;
    }

    .ios-download-icon-wrapper {
        width: 92px;
        height: 92px;
    }

    .ios-app-icon {
        width: 58px;
        height: 58px;
    }

    .ios-region-note {
        align-items: flex-start;
    }

    .ios-account-tabs {
        grid-template-columns: 1fr;
        padding: 5px;
        border-radius: 14px;
    }

    .ios-account-tab {
        justify-content: flex-start;
        min-height: 44px;
        font-size: 13px;
        text-align: left;
    }

    .ios-mainland-solutions {
        margin-top: 0;
        margin-bottom: 26px;
    }

    .ios-mainland-solutions-heading {
        text-align: left;
    }

    .ios-mainland-solutions-heading h3 {
        font-size: 23px;
    }

    .ios-solution-quick-guide {
        grid-template-columns: 1fr;
    }

    .ios-solution-quick-guide > div {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: center;
        padding: 11px 13px;
        text-align: left;
    }

    .ios-solution-quick-guide > div + div {
        border-top: 1px solid var(--border-color);
        border-left: 0;
    }

    .ios-solution-card {
        margin-top: 14px;
        border-radius: 14px;
    }

    .ios-solution-card-heading {
        padding: 24px 17px 20px;
    }

    .ios-solution-card-heading h4 {
        font-size: 21px;
    }

    .ios-solution-card-heading p {
        font-size: 13px;
    }

    .ios-solution-meta {
        gap: 5px;
    }

    .ios-solution-meta span + span::before {
        margin: 0 5px 0 1px;
    }

    .ios-solution-badge {
        min-height: 26px;
        margin-left: 4px;
        padding: 2px 7px;
        font-size: 11px;
        vertical-align: 3px;
    }

    .ios-solution-toggle {
        min-height: 56px;
        font-size: 14px;
    }

    .ios-solution-content {
        padding: 20px 17px 22px;
        font-size: 13px;
    }

    .ios-solution-section {
        padding: 14px;
    }

    .ios-solution-detail-step {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 11px;
    }

    .ios-solution-detail-step > span {
        width: 30px;
        height: 30px;
    }

    .ios-solution-result {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .ios-solution-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ios-solution-next {
        gap: 12px;
        padding: 15px;
    }

    .ios-solution-next a {
        width: 100%;
        text-align: center;
    }

    .ios-official-links {
        justify-content: flex-start;
    }

    .ios-tutorial-figure {
        border-radius: 13px;
    }

    .ios-account-safety {
        margin-left: 0;
        padding: 13px 14px;
    }

    .ios-store-app-row {
        align-items: flex-start;
    }

    .ios-store-app-row > img {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .ios-get-button {
        padding: 6px 12px;
    }

    .ios-home-mock {
        padding: 22px 14px;
    }

    .ios-home-grid {
        gap: 10px;
    }
}
