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

:root {
    color-scheme: light;
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --background-color: #ffffff;
    --surface-color: #ffffff;
    --surface-muted: #f8fafc;
    --navbar-background: rgba(255, 255, 255, 0.95);
    --navbar-background-scrolled: rgba(255, 255, 255, 0.98);
    --navbar-border: rgba(226, 232, 240, 0.8);
    --navbar-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
    --hero-background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --card-background: #ffffff;
    --section-background: #ffffff;
    --footer-background: #0f172a;
    --footer-border: rgba(148, 163, 184, 0.15);
    --download-background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --download-text-primary: #ffffff;
    --download-text-secondary: rgba(255, 255, 255, 0.9);
    --download-card-background: rgba(255, 255, 255, 0.1);
    --download-card-text: rgba(255, 255, 255, 0.8);
    --download-icon-color: rgba(255, 255, 255, 0.9);
    --blog-background: linear-gradient(180deg, rgba(248, 250, 253, 0.85) 0%, rgba(255, 255, 255, 0.98) 100%);
    --blog-card-border: rgba(148, 163, 184, 0.15);
    --blog-empty-background: rgba(148, 163, 184, 0.1);
    --blog-button-shadow: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] {
    color-scheme: dark;
    --primary-color: #818cf8;
    --primary-dark: #6366f1;
    --secondary-color: #10172a;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5f5;
    --text-light: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.45);
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.35);
    --shadow-md: 0 4px 12px -3px rgb(15 23 42 / 0.6), 0 2px 4px -2px rgb(15 23 42 / 0.4);
    --shadow-lg: 0 12px 28px -12px rgb(2 6 23 / 0.7), 0 16px 30px -18px rgb(15 23 42 / 0.6);
    --shadow-xl: 0 24px 56px -16px rgb(2 6 23 / 0.85), 0 20px 40px -24px rgb(15 23 42 / 0.65);
    --background-color: #0f172a;
    --surface-color: #111827;
    --surface-muted: #1e293b;
    --navbar-background: rgba(15, 23, 42, 0.9);
    --navbar-background-scrolled: rgba(15, 23, 42, 0.96);
    --navbar-border: rgba(51, 65, 85, 0.75);
    --navbar-shadow: 0 8px 32px rgba(2, 6, 23, 0.55);
    --hero-background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    --card-background: #15213b;
    --section-background: rgba(17, 24, 39, 0.9);
    --footer-background: #0b1120;
    --footer-border: rgba(71, 85, 105, 0.45);
    --download-background: rgba(17, 24, 39, 0.95);
    --download-text-primary: var(--text-primary);
    --download-text-secondary: var(--text-secondary);
    --download-card-background: rgba(15, 23, 42, 0.65);
    --download-card-text: var(--text-light);
    --download-icon-color: var(--text-secondary);
    --blog-background: linear-gradient(180deg, rgba(17, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
    --blog-card-border: rgba(71, 85, 105, 0.4);
    --blog-empty-background: rgba(148, 163, 184, 0.08);
    --blog-button-shadow: rgba(129, 140, 248, 0.32);
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--navbar-border);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar--scrolled {
    background: var(--navbar-background-scrolled);
    box-shadow: var(--navbar-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo-link span {
    line-height: 1;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links {
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.app-store-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.app-store-btn img {
    transition: transform 0.3s ease;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: var(--surface-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.language-dropdown.is-open .language-toggle {
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.language-dropdown.is-open .language-toggle i {
    transform: rotate(-180deg);
}

.language-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 160px;
    background: var(--surface-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 50;
}

.language-dropdown.is-open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.language-option:hover,
.language-option:focus {
    background: var(--surface-muted);
    color: var(--primary-color);
}

.language-option.is-active {
    color: var(--primary-color);
    font-weight: 600;
}

.language-option i {
    font-size: 0.75rem;
}

.theme-toggle-btn {
    border: none;
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle-btn:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.theme-toggle-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle-btn i {
    font-size: 1.1rem;
}

.theme-toggle-btn.is-light,
.theme-toggle-btn.is-dark {
    background: var(--surface-muted);
}

.theme-toggle-btn.is-light {
    color: #f59e0b;
}

.theme-toggle-btn.is-dark {
    color: #cbd5f5;
}

.theme-toggle-btn.is-system {
    color: var(--text-secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.ios-requirements {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ios-requirements i {
    font-size: 1.2rem;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    padding: 70px 0 0;
    background: var(--hero-background);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 英雄区域图片展示 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot {
    position: relative;
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: none;
}

.hero-screenshot.active {
    display: block;
}

.hero-app-image {
    /* width: 100%; */
    max-width: 400px;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-app-image:hover {
    transform: scale(1.02);
}

.screenshot-placeholder {
    width: 100%;
    height: 70vh;
    max-height: 600px;
    background: var(--surface-muted);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

/* Carousel (hero) */
.hero-screenshot.carousel {
    padding: 0 3rem;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.carousel .hero-app-image {
    flex: 0 0 auto;
    max-width: 400px;
    width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 20, 0.4);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(15, 15, 20, 0.65);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dots button.active,
.carousel-dots button:focus-visible {
    background: var(--surface-color);
    transform: scale(1.1);
    outline: none;
}

.screenshot-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.screenshot-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.scroll-down:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.scroll-down i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 功能特性 */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-icon.ios-blue {
    background: linear-gradient(135deg, #007AFF, #0051D5);
}

.feature-icon.ios-green {
    background: linear-gradient(135deg, #34C759, #248A3D);
}

.feature-icon.ios-purple {
    background: linear-gradient(135deg, #AF52DE, #8E44AD);
}

.feature-icon.ios-orange {
    background: linear-gradient(135deg, #FF9500, #FF6B00);
}

.feature-icon.ios-red {
    background: linear-gradient(135deg, #FF3B30, #D70015);
}

.feature-icon.ios-teal {
    background: linear-gradient(135deg, #5AC8FA, #007AFF);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 应用截图 */
.screenshots {
    padding: 100px 0;
    background: var(--secondary-color);
}

.screenshots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-item {
    text-align: center;
}

.screenshot-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.app-screenshot {
    max-width: 200px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-5px) scale(1.02);
}

.screenshot-image .screenshot-placeholder {
    width: 200px;
    height: 400px;
    background: var(--surface-muted);
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.screenshot-image .screenshot-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.screenshot-image .screenshot-placeholder p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.screenshot-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--download-background);
    color: var(--download-text-primary);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text .section-title {
    color: var(--download-text-primary);
    margin-bottom: 1rem;
}

.download-text .section-subtitle {
    color: var(--download-text-secondary);
    margin-bottom: 2rem;
}

.app-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--download-card-background);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--download-icon-color);
    width: 24px;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--download-text-primary);
}

.info-item span {
    color: var(--download-card-text);
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.app-store-download {
    transition: transform 0.3s ease;
}

.app-store-download:hover {
    transform: scale(1.05);
}

.qr-code {
    text-align: center;
}

.qr-image {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.qr-code .qr-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.qr-code .qr-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.qr-code .qr-placeholder p {
    font-size: 0.7rem;
    line-height: 1.2;
}

.qr-code span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon-showcase {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.app-icon-large {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    border-radius: 30px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.app-icon-large:hover {
    transform: scale(1.05);
}

.icon-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.icon-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 页脚 */
.footer {
    background: var(--footer-background);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.footer-logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-links,
    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .language-dropdown {
        width: 100%;
    }

    .language-toggle {
        width: 100%;
        justify-content: center;
    }

    .theme-toggle-btn {
        width: 44px;
    }

    .hero {
        min-height: 100vh;
        padding: 70px 0 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: calc(100vh - 70px);
        justify-content: center;
    }

    .hero-screenshot.carousel {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-top: 0;
    }

    .nav-menu {
        display: none;
    }

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

    .screenshots-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-app-image {
        max-width: 280px;
        max-height: 50vh;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .carousel-dots {
        bottom: 0.5rem;
    }

    .screenshot-placeholder {
        height: 50vh;
        max-height: 400px;
    }

    .app-screenshot {
        max-width: 180px;
        max-height: 360px;
    }

    .app-icon-large {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }

    .screenshot-image .screenshot-placeholder {
        width: 180px;
        height: 360px;
    }

    .icon-placeholder {
        width: 120px;
        height: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .app-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .info-item {
        padding: 0.75rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-down {
        width: 45px;
        height: 45px;
    }

    .scroll-down i {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog {
    padding: 120px 0;
    background: var(--blog-background);
}

.article-hero {
    padding: 140px 0 80px;
    background: var(--hero-background);
}

.article-hero .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: var(--primary-color);
}

.article-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--text-primary);
    max-width: 820px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 0.95rem;
    color: var(--text-light);
    align-items: center;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-article-notice {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.18);
    color: #b45309;
    font-size: 0.92rem;
}

.article-layout {
    padding: 120px 0 120px;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 48px;
    align-items: flex-start;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 110px;
}

.article-card {
    background: var(--card-background);
    border-radius: 24px;
    border: 1px solid var(--blog-card-border);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.article-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-toc {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-toc a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.4;
}

.article-toc a:hover,
.article-toc a.is-active {
    color: var(--primary-color);
}

.article-toc-empty {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-related {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-related a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
}

.article-related a:hover {
    color: var(--primary-color);
}

.blog-article-content {
    background: var(--card-background);
    border-radius: 36px;
    padding: clamp(28px, 4vw, 56px);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--blog-card-border);
}

.blog-article-body {
    color: var(--text-primary);
    line-height: 1.85;
    font-size: 1.08rem;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.blog-article-body p {
    margin-bottom: 20px;
}

.blog-article-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 28px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-article-body img {
    max-width: 100%;
    border-radius: 24px;
    margin: 32px 0;
    box-shadow: var(--shadow-lg);
}

.article-share {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.article-share-buttons {
    display: flex;
    gap: 12px;
}

.article-share-buttons button,
.article-share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.article-share-buttons button:hover,
.article-share-buttons a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.article-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.article-pagination a {
    flex: 1 1 260px;
    padding: 18px 24px;
    border-radius: 24px;
    border: 1px solid var(--blog-card-border);
    background: var(--card-background);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-pagination a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.article-pagination span {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-pagination strong {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 120px 0 60px;
    }

    .article-hero-title {
        font-size: 2rem;
    }

    .article-meta {
        gap: 10px 14px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-share-buttons {
        flex-wrap: wrap;
    }
}

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

.blog-card {
    background: var(--card-background);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--blog-card-border);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.98rem;
}

.blog-card-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card-link::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
}

.blog-actions {
    margin-top: 48px;
    text-align: center;
}

.blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px var(--blog-button-shadow);
}

.blog-empty {
    text-align: center;
    padding: 60px;
    border-radius: 24px;
    background: var(--blog-empty-background);
    color: var(--text-secondary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .blog {
        padding: 80px 0;
    }

    .blog-card {
        padding: 24px;
    }
}

.blog-page {
    padding-top: 160px;
}

.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .pagination {
    display: inline-flex;
    gap: 8px;
}

.blog-pagination .pagination li {
    list-style: none;
}

.blog-pagination .pagination a,
.blog-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-pagination .pagination .active span {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}
