/* GiteeHub - 苹果风格主样式文件 */

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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #f8f9fa;
}

.page-body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* 苹果风格颜色变量 */
:root {
    --primary-color: #007AFF;
    --primary-hover: #0056CC;
    --primary-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --secondary-color: #8E8E93;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --background-color: #F2F2F7;
    --card-background: #FFFFFF;
    --border-color: #D1D1D6;
    --text-primary: #000000;
    --text-secondary: #8E8E93;
    --text-tertiary: #C7C7CC;
    --text-muted: #6c757d;
    --glass-background: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-secondary: linear-gradient(135deg, #FF9500 0%, #FF6B35 100%);
    --gradient-success: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 苹果风格玻璃态效果 */
.glass-effect {
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* 价格显示样式 */
.price-display {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(52, 199, 89, 0.2);
}

.price-tag span {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 苹果风格按钮 */
.btn-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

@media (min-width: 640px) {
    .btn-large {
        padding: 16px 48px;
        font-size: 18px;
    }
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

.btn-glass:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-apple-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.btn-apple-primary:hover {
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-apple-secondary {
    background: var(--card-background);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-apple-secondary:hover {
    background: var(--background-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 全局按钮样式 - Bootstrap兼容 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 主要按钮样式 */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.btn-primary:active {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* 次要按钮样式 */
.btn-secondary {
    background: var(--card-background);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--background-color);
    border-color: var(--secondary-color);
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:focus {
    background: var(--background-color);
    border-color: var(--secondary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(142, 142, 147, 0.25);
}

/* 成功按钮样式 */
.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: #28a745;
    border-color: #28a745;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 警告按钮样式 */
.btn-warning {
    background: var(--warning-color);
    border-color: var(--warning-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-warning:hover {
    background: #e68900;
    border-color: #e68900;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 危险按钮样式 */
.btn-danger {
    background: var(--error-color);
    border-color: var(--error-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 信息按钮样式 */
.btn-info {
    background: #17a2b8;
    border-color: #17a2b8;
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-info:hover {
    background: #138496;
    border-color: #138496;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 轮廓按钮样式 */
.btn-outline-primary {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-outline-secondary {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* 按钮尺寸 */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 10px;
}

/* 块级按钮 */
.btn-block {
    display: block;
    width: 100%;
}

/* 全局表单控件样式 */
.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--card-background);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--text-primary);
    background-color: var(--card-background);
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--background-color);
    opacity: 1;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* 选择框样式 */
.form-select {
    display: block;
    width: 100%;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--card-background);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

/* 复选框和单选框样式 */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-left: -1.5em;
    vertical-align: top;
    background-color: var(--card-background);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--border-color);
    appearance: none;
    color-adjust: exact;
}

.form-check-input[type="checkbox"] {
    border-radius: 4px;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input:active {
    filter: brightness(90%);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type="radio"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-label {
    color: var(--text-primary);
    cursor: pointer;
}

/* 全局卡片样式 */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--card-background);
    background-clip: border-box;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-header {
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-text {
    color: var(--text-primary);
    line-height: 1.6;
}

/* 警告框样式 */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-primary {
    color: #004085;
    background-color: #cce7ff;
    border-color: #b3d7ff;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    color: white;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
}

.badge-primary {
    background-color: var(--primary-color);
}

.badge-secondary {
    background-color: var(--secondary-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-danger {
    background-color: var(--error-color);
}

.badge-warning {
    background-color: var(--warning-color);
}

.badge-info {
    background-color: #17a2b8;
}

/* 进度条样式 */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: var(--background-color);
    border-radius: 8px;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-color);
    transition: width 0.6s ease;
}

/* 苹果风格卡片 */
.card-apple {
    background: var(--card-background);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 导航栏样式 */
.navbar-apple {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1d1d1f;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1d1d1f;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007AFF;
}

.nav-menu .nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: #007AFF;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 移动端英雄区域优化 */
@media (max-width: 767px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-main-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.1);
}

.hero-decoration:nth-child(2) {
    top: 20%;
    right: 10%;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 1s;
}

.hero-decoration:nth-child(3) {
    bottom: 10%;
    left: 20%;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.03);
    animation-delay: 2s;
}

/* 苹果风格渐变背景 */
.hero-gradient {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 苹果风格动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* 动画类 */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

/* 统计数据区域样式 */
.stats-section {
    padding: 4rem 0;
    background: var(--background-color);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 功能特色区域样式 */
.features-section {
    padding: 6rem 0;
    background: var(--card-background);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

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

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* 关于我们区域样式 */
.about-section {
    padding: 6rem 0;
    background: var(--background-color);
}

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

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature-icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.about-feature-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: var(--card-background);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.about-image-placeholder p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 页脚样式 */
.footer-section {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: var(--primary-color);
    margin-right: 0.75rem;
}

.footer-logo .brand-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

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

.footer-column {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright,
.footer-icp {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 卡片悬停效果增强 */
.card, .feature-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card:hover, .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 按钮交互增强 */
.btn, .button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:active, .button:active {
    transform: scale(0.98);
}

/* 加载状态样式 */
.loading-placeholder {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent !important;
    min-height: 1.2em;
    display: inline-block;
    min-width: 100px;
    overflow: hidden;
}

.loading-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 深色模式下的加载状态 */
@media (prefers-color-scheme: dark) {
    .loading-placeholder {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        background-size: 200% 100%;
    }
}

/* 空内容时的最小高度 */
[data-site-name]:empty {
    min-height: 2.5em;
}

[data-site-description]:empty {
    min-height: 1.5em;
}

[data-site-introduction]:empty {
    min-height: 1.2em;
}

[data-icp-number]:empty {
    min-height: 1em;
}

/* 响应式优化 */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 焦点样式优化 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
     background: var(--primary-color);
     color: white;
 }
 
 /* 自定义动画类 - 兼容Tailwind v3 */
 .animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    animation-fill-mode: both;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    animation-fill-mode: both;
}

/* 防止动画闪烁的预加载状态 */
.animate-fade-in-up.loaded,
.animate-scale-in.loaded {
    opacity: 1;
}

/* 无动画回退 - 用户禁用动画时的处理 */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-scale-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* 延迟动画类已移除 - 使用内联样式 animation-delay 替代 */

/* 苹果风格导航栏 */
.navbar-apple {
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

/* 统计数据区域样式 */
.stats-section {
    padding: 6rem 0;
    background: white;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.stat-green .stat-number {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-purple .stat-number {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-orange .stat-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 功能区域样式 */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f9fafb, white);
}

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

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

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

/* 苹果风格图标容器 */
.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-container:hover {
    transform: scale(1.1);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* 使用流程区域样式 */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f9fafb, white);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.process-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.process-number {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.process-number-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.process-number-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.process-number-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.process-description {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn-apple {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .btn-glass {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .card-apple {
        padding: 20px;
        border-radius: 12px;
    }
    
    .icon-container {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    /* 导航栏移动端优化 */
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    /* 英雄区域移动端优化 */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 1.5rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    /* 统计数据移动端优化 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 功能卡片移动端优化 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 流程步骤移动端优化 */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* CTA区域移动端优化 */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    /* 页脚移动端优化 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-content {
        padding: 0.5rem 0;
    }
    
    .nav-menu {
        font-size: 14px;
    }
}

/* CTA区域样式 */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.cta-decorations {
    position: absolute;
    inset: 0;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.cta-decoration-1 {
    top: 5rem;
    left: 5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.1);
}

.cta-decoration-2 {
    bottom: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 1s;
}

.cta-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3.75rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 3rem;
    background: white;
    color: #3b82f6;
    font-weight: 600;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #f9fafb;
    transform: translateY(-2px) scale(1.05);
}

.cta-arrow {
    margin-left: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* 页脚样式 */
.footer-apple {
    background: #1f2937;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-container {
    padding: 4rem 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.footer-column {
    margin-bottom: 1.5rem;
}

.footer-column-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 1rem;
}

.footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #3b82f6 100%);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056CC, #4A47A3);
}

/* 苹果风格表单输入框 */
.form-input-apple {
    appearance: none;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #1d1d1f;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input-apple:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-input-apple::placeholder {
    color: #86868b;
}

.form-input-apple:disabled {
    background: rgba(0, 0, 0, 0.05);
    color: #86868b;
    cursor: not-allowed;
}

/* 表单标签样式 */
.form-label-apple {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 6px;
}

/* 表单错误提示 */
.form-error-apple {
    color: #ff3b30;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-error-apple.show {
    display: block;
}

/* 表单帮助文本 */
.form-help-apple {
    color: #86868b;
    font-size: 12px;
    margin-top: 4px;
}

/* 复选框样式 */
.checkbox-apple {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d1d6;
    border-radius: 4px;
    background: white;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-apple:checked {
    background: #007AFF;
    border-color: #007AFF;
}

.checkbox-apple:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-apple:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* 移动端菜单样式 */
.mobile-menu {
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-toggle {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    padding: 0.75rem 1rem;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mobile-menu-item:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.mobile-menu-primary {
    background: #007AFF;
    color: white !important;
}

.mobile-menu-primary:hover {
    background: #0056CC;
    color: white !important;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

/* 权限级别对比表格样式 */
.levels-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.levels-comparison-table th,
.levels-comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.levels-comparison-table th {
    background: var(--background-color);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.levels-comparison-table th:first-child,
.levels-comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #f8f9fa;
    min-width: 120px;
}

.level-column {
    min-width: 120px;
    max-width: 150px;
    position: relative;
}

/* 当前级别高亮样式 */
.levels-comparison-table .current-level {
    background-color: #5f7bafed;
    color: white !important;
    font-weight: 600;
    position: relative;
}

.levels-comparison-table .current-level::before {
    content: '当前';
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.7rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* 确保当前级别的文字清晰可见 */
.levels-comparison-table .current-level * {
    color: white !important;
}

.levels-comparison-table .current-level .price-display,
.levels-comparison-table .current-level .cards-display {
    color: white !important;
    font-weight: 600;
}

.levels-comparison-table .current-level .permission-status i {
    color: white !important;
}

/* 自定义参数指示器样式 */
.custom-params-indicator {
    color: #28a745;
    font-size: 11px;
    font-weight: 500;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-params-indicator i {
    font-size: 0.7rem;
}

/* 权限描述样式 */
.permission-description {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.permission-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

/* 权限状态样式 */
.permission-status {
    font-size: 1.25rem;
}

.permission-enabled i {
    color: var(--success-color);
}

.permission-disabled i {
    color: var(--error-color);
}

/* 价格显示样式 */
.price-display {
    font-weight: 600;
    font-size: 1rem;
}

.price-display.free {
    color: var(--success-color);
}

.price-display.paid {
    color: var(--primary-color);
}

/* 卡片显示样式 */
.cards-display {
    font-weight: 500;
    color: var(--text-secondary);
}

/* 资源限制文本样式 */
.resource-limit {
    display: inline-block;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.2;
}

/* 可自定义状态的资源限制文本 - 绿色 */
.level-column:has(.custom-params-indicator) .resource-limit {
    color: #28a745;
    font-weight: 500;
}

/* 当前级别的资源限制文本 - 保持白色 */
.current-level .resource-limit {
    color: white !important;
    font-weight: 600;
}

/* 统计卡片移动端优化 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* 功能卡片移动端优化 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem !important;
    }
    
    .feature-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

/* 关于我们区域移动端优化 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 767px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-title {
        font-size: 1.75rem !important;
        text-align: center;
    }
    
    .about-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
        text-align: center;
    }
    
    .about-feature {
        justify-content: center;
    }
}

/* 返回顶部按钮样式 */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #212529;
}

.back-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 移动端返回顶部按钮优化 */
@media (max-width: 767px) {
    .back-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* 前往后台按钮样式 */
.btn-dashboard {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

.btn-dashboard:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* 用户状态容器样式 */
.user-state-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
}

.user-email {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.user-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-actions .btn-primary {
    background: rgba(0, 122, 255, 0.9);
    color: white;
    border: 1px solid rgba(0, 122, 255, 0.3);
}

.user-actions .btn-primary:hover {
    background: rgba(0, 122, 255, 1);
    transform: translateY(-1px);
}

.user-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

/* 移动端用户状态样式 */
@media (max-width: 768px) {
    .user-state-container {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
        margin: 10px 0;
        max-width: calc(100vw - 40px);
    }
    
    .user-info {
        justify-content: center;
        width: 100%;
    }
    
    .user-details {
        text-align: center;
        min-width: 0;
        flex: 1;
    }
    
    .user-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .user-email {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .user-actions .btn {
        flex: 1;
        text-align: center;
        padding: 8px 16px;
        min-width: 80px;
    }
    
    /* 移动端菜单中的用户状态 */
    .mobile-auth .user-state-container {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-auth .user-name,
    .mobile-auth .user-email {
        color: white;
    }
    
    .mobile-auth .user-email {
        color: rgba(255, 255, 255, 0.7);
    }
}

@media (max-width: 480px) {
    .user-state-container {
        padding: 8px;
        gap: 8px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .avatar-placeholder {
        font-size: 12px;
    }
    
    .user-name {
        font-size: 13px;
        max-width: 120px;
    }
    
    .user-email {
        font-size: 11px;
        max-width: 120px;
    }
    
    .user-actions .btn {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 70px;
    }
}

/* 页脚移动端优化 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

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

@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
}

/* ==================== 版本检测页面样式 ==================== */
.version-check-container {
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.version-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.version-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.version-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-card .card-header h3 i {
    color: #3b82f6;
}

.version-card .card-actions {
    display: flex;
    gap: 0.75rem;
}

.version-card .card-body {
    padding: 2rem;
}

.version-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.info-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.version-tag {
    display: inline-block;
    color: #007AFF !important;
    border-radius: 12px;
    font-size: 1.2em !important;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-status {
    margin-bottom: 1.5rem;
}

.status-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.status-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-message.update-available {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.status-message.up-to-date {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.status-message i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.latest-version-info {
    margin-top: 1.5rem;
}

.changelog-content {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.changelog-content .markdown-content {
    line-height: 1.7;
    white-space: pre-wrap;
}

.changelog-content .markdown-content p {
    white-space: pre-wrap;
    margin: 0.5rem 0;
}

.changelog-content .markdown-content h1,
.changelog-content .markdown-content h2,
.changelog-content .markdown-content h3 {
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.changelog-content .markdown-content h1 {
    font-size: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.changelog-content .markdown-content h2 {
    font-size: 1.25rem;
}

.changelog-content .markdown-content h3 {
    font-size: 1.1rem;
}

.changelog-content .markdown-content ul,
.changelog-content .markdown-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.changelog-content .markdown-content li {
    margin: 0.5rem 0;
}

.changelog-content .markdown-content code {
    background: #e2e8f0;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.changelog-content .markdown-content pre {
    background: #1e293b;
    color: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.changelog-content .plain-text {
    white-space: pre-wrap;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 更新进度模态框样式 */
#updateProgressModal {
    animation: modalFadeIn 0.3s ease-out;
}

#updateProgressModal .modal-dialog {
    animation: modalSlideIn 0.3s ease-out;
}

#updateProgressModal .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

#updateProgressModal .modal-header {
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

#updateProgressModal .modal-title {
    color: var(--text-primary);
    font-weight: 600;
}

#updateProgressModal .progress {
    height: 12px;
    border-radius: 6px;
    background-color: #e9ecef;
    overflow: hidden;
}

#updateProgressModal .progress-bar {
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

#updateProgressModal #updateStatusText {
    color: var(--text-secondary);
    font-size: 14px;
    min-height: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.loading-spinner {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.loading-spinner i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.loading-spinner p {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

.btn .loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn .loading i {
    animation: spin 1s linear infinite;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.25);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 下载区域样式 */
.download-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.download-section h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-section h4 i {
    color: #3b82f6;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-platform {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-platform:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.download-platform.recommended {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    position: relative;
}

.download-platform.recommended::before {
    content: "推荐";
    position: absolute;
    top: -8px;
    right: 12px;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.platform-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 1.25rem;
    color: #64748b;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.download-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn .arch-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn .arch-name {
    font-weight: 600;
}

.download-btn .arch-desc {
    color: #6b7280;
    font-size: 0.8125rem;
}

.download-btn .download-icon {
    color: #9ca3af;
    transition: color 0.2s;
}

.download-btn:hover .download-icon {
    color: #3b82f6;
}

.download-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1.5rem;
}

.recommended-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.recommended-platform i {
    color: #10b981;
}

.gitee-releases-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.gitee-releases-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.download-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-notification.show {
    transform: translateX(0);
}

.download-notification.success {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.download-notification.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.download-notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.download-notification.success i {
    color: #10b981;
}

.download-notification.error i {
    color: #ef4444;
}

.download-notification .message {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

@media (max-width: 768px) {
    .version-check-container {
        padding: 1rem;
    }
    
    .download-section {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .download-platform {
        padding: 1.25rem;
    }
    
    .download-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100%);
    }
    
    .download-notification.show {
        transform: translateY(0);
    }
    
    .version-card .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .version-card .card-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .version-info-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* 通用工具类 */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--error-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-light { color: var(--light-color) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--error-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-white { background-color: #ffffff !important; }

/* 边距工具类 */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-0, .ms-0 { margin-left: 0 !important; }
.ml-1, .ms-1 { margin-left: 0.25rem !important; }
.ml-2, .ms-2 { margin-left: 0.5rem !important; }
.ml-3, .ms-3 { margin-left: 1rem !important; }
.ml-4, .ms-4 { margin-left: 1.5rem !important; }
.ml-5, .ms-5 { margin-left: 3rem !important; }

.mr-0, .me-0 { margin-right: 0 !important; }
.mr-1, .me-1 { margin-right: 0.25rem !important; }
.mr-2, .me-2 { margin-right: 0.5rem !important; }
.mr-3, .me-3 { margin-right: 1rem !important; }
.mr-4, .me-4 { margin-right: 1.5rem !important; }
.mr-5, .me-5 { margin-right: 3rem !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

/* 内边距工具类 */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pl-0, .ps-0 { padding-left: 0 !important; }
.pl-1, .ps-1 { padding-left: 0.25rem !important; }
.pl-2, .ps-2 { padding-left: 0.5rem !important; }
.pl-3, .ps-3 { padding-left: 1rem !important; }
.pl-4, .ps-4 { padding-left: 1.5rem !important; }
.pl-5, .ps-5 { padding-left: 3rem !important; }

.pr-0, .pe-0 { padding-right: 0 !important; }
.pr-1, .pe-1 { padding-right: 0.25rem !important; }
.pr-2, .pe-2 { padding-right: 0.5rem !important; }
.pr-3, .pe-3 { padding-right: 1rem !important; }
.pr-4, .pe-4 { padding-right: 1.5rem !important; }
.pr-5, .pe-5 { padding-right: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* 显示工具类 */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Flexbox工具类 */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* 文本对齐 */
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.text-justify { text-align: justify !important; }

/* 字体权重 */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-bolder { font-weight: 800 !important; }

/* 字体大小 */
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* 边框圆角 */
.rounded { border-radius: var(--border-radius) !important; }
.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-xl { border-radius: var(--border-radius-xl) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-0 { border-radius: 0 !important; }

/* 阴影 */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* 宽度和高度 */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

/* 响应式设计 */
@media (max-width: 768px) {
    .version-check-container {
        margin: 1rem;
        padding: 1rem;
        border-radius: var(--border-radius);
    }
    
    .version-card .card-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .version-card .card-body {
        padding: 1.5rem;
    }
    
    .version-info {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .version-title {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-number {
        align-self: flex-start;
    }
    
    .version-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .version-detail-item {
        padding: 0.75rem;
    }
    
    .version-detail-label {
        font-size: 0.75rem;
    }
    
    .version-detail-value {
        font-size: 1rem;
    }
    
    .update-status {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .changelog {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .changelog-title {
        font-size: 1.125rem;
    }
    
    .changelog-item {
        padding: 0.5rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .changelog-type {
        align-self: flex-start;
    }
    
    .version-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .version-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .version-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .card-actions .btn {
        flex: 1;
    }
    
    .changelog-content {
        max-height: 300px;
    }
    
    /* 工具类移动端调整 */
    .fs-1 { font-size: 2rem !important; }
    .fs-2 { font-size: 1.75rem !important; }
    .fs-3 { font-size: 1.5rem !important; }
    .fs-4 { font-size: 1.25rem !important; }
    .fs-5 { font-size: 1.125rem !important; }
    .fs-6 { font-size: 1rem !important; }
}