/* ========================================
   WPS下载网站 - 样式表
   ======================================== */

/* CSS变量 */
:root {
    --primary: #2856D0;
    --primary-dark: #1E4198;
    --primary-light: #4A7AE8;
    --secondary: #00C1DE;
    --accent: #FF6B35;
    --accent-dark: #E55A28;
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --success: #10B981;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 章节通用 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* ========================================
   导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: 0 2px 8px var(--shadow);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* 移动端导航 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 12px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 86, 208, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ========================================
   轮播图
   ======================================== */
.hero {
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 500px;
}

@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    padding-left: 60px;
}

@media (max-width: 768px) {
    .slide-content {
        padding-left: 20px;
        text-align: center;
        align-items: center;
    }
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
}

.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.6s 0.2s ease forwards;
    opacity: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   产品特色
   ======================================== */
.features {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 32px;
    background: var(--background);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   统计
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: inline;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 4px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
}

/* ========================================
   产品卡片
   ======================================== */
.products {
    background: var(--surface);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    position: relative;
    padding: 32px;
    background: var(--background);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
    border-color: var(--primary-light);
}

.product-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, #FFF7F5 0%, #FFF 100%);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

.product-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-version {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.product-size {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========================================
   快捷链接
   ======================================== */
.quick-links {
    background: var(--background);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.quick-link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
    color: var(--primary);
}

.link-icon {
    font-size: 2rem;
}

.link-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: rgba(255, 255, 255, 0.2);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: white;
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(40, 86, 208, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ========================================
   页面标题
   ======================================== */
.page-header {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   下载页面
   ======================================== */
.download-section {
    background: var(--surface);
}

.download-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 12px 24px;
    background: var(--background);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    background: var(--primary-light);
    color: white;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.download-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

@media (max-width: 992px) {
    .download-card {
        grid-template-columns: 1fr;
    }
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

.download-platform {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.platform-icon {
    font-size: 3rem;
}

.platform-icon + div h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.platform-version {
    color: var(--primary);
    font-weight: 500;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-item {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-features li {
    color: var(--text-secondary);
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.version-select {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.version-select select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.download-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.linux-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 历史版本表格 */
.history-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.history-table th,
.history-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.history-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.history-table tr:hover {
    background: var(--background);
}

/* 安装帮助 */
.install-help {
    background: var(--background);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .help-grid {
        grid-template-columns: 1fr;
    }
}

.help-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.help-card h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.help-card ol {
    list-style: decimal;
    padding-left: 20px;
}

.help-card li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* ========================================
   关于页面
   ======================================== */
.about-intro {
    background: var(--surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.highlight-label {
    color: var(--text-secondary);
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* 发展历程时间线 */
.timeline {
    background: var(--background);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 60px;
    }
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-year {
        left: 20px;
    }
}

.timeline-content {
    width: 45%;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px var(--shadow);
}

@media (max-width: 768px) {
    .timeline-content {
        width: 100%;
    }
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 核心价值观 */
.values {
    background: var(--surface);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    padding: 32px;
    background: var(--background);
    border-radius: var(--radius-lg);
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
}

/* 团队介绍 */
.team {
    background: var(--background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 16px;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 产品矩阵 */
.products-showcase {
    background: var(--surface);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

.showcase-card {
    padding: 32px;
    background: var(--background);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.showcase-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.showcase-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.showcase-card p {
    color: var(--text-secondary);
}

/* 帮助支持 */
.support {
    background: var(--background);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

.support-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ========================================
   联系页面
   ======================================== */
.contact-section {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.method-icon {
    font-size: 2rem;
}

.method-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.method-value {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.method-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.social-links h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-item:hover {
    background: var(--primary);
    color: white;
}

.social-item span:first-child {
    font-size: 1.5rem;
}

.social-item span:last-child {
    font-size: 0.75rem;
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--background);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 86, 208, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.captcha-group {
    max-width: 300px;
}

.captcha-wrapper {
    display: flex;
    gap: 8px;
}

.captcha-code {
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 4px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.refresh-captcha {
    padding: 12px;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section {
    background: var(--background);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--background);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 地图区域 */
.map-section {
    background: var(--surface);
    padding: 80px 0;
}

.map-placeholder {
    background: linear-gradient(135deg, #E8F4FD 0%, #D1E8F9 100%);
    height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.map-content p {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.map-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--success);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 1.25rem;
}

/* ========================================
   响应式调整
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-highlights {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }
}
