/* mirrored from assets/css/style.css */
/* 全局样式 */
:root {
    --primary-color: #0066ff;
    --secondary-color: #00d4ff;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.site-header {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* 简洁Hero区块 */
.hero-lite {
    background: linear-gradient(135deg, #0b64ff 0%, #00d4ff 100%);
    color: white;
    padding: 3.5rem 0 2.5rem;
}
.hero-lite .hero-row { display:flex; align-items:center; gap:2rem; }
.hero-lite .hero-title { font-size:2.25rem; font-weight:800; margin-bottom:.5rem; }
.hero-lite .hero-subtitle { opacity:.95; max-width:640px; }
.hero-lite .hero-cta { margin-top:1rem; display:flex; gap:.75rem; flex-wrap:wrap; }
.hero-lite .hero-badge { display:inline-flex; align-items:center; gap:.5rem; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25); padding:.35rem .6rem; border-radius:999px; font-size:.9rem; }
@media (max-width: 768px) {
  .hero-lite .hero-row { flex-direction: column; text-align:center; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Section样式 */
section {
    padding: 5rem 0;
}

/* 压缩的优势区块样式 */
.features-section.compact {
    padding: 3rem 0;
}
.feature-card.small {
    padding: 1.25rem;
}
.feature-card.small .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}
.feature-card.small h3 {
    margin-top: .25rem;
    font-size: 1.25rem;
}
.feature-card.small p {
    font-size: .95rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Promotions Section */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.promotion-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.promotion-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
}

.promotion-content {
    padding: 2rem;
}

.promotion-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.promotion-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.promotion-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.promotion-discount {
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.date-month {
    font-size: 0.875rem;
    opacity: 0.9;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    margin-bottom: 1rem;
}

.news-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: var(--dark-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: rgba(255,255,255,0.8);
}

/* News List */
.news-list-section {
    padding: 4rem 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.news-item-date .date-box {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
}

.date-box .day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.date-box .month,
.date-box .year {
    font-size: 0.875rem;
    display: block;
}

.news-item-content {
    flex: 1;
}

.news-item-content h2 {
    margin-bottom: 0.75rem;
}

.news-item-content h2 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-content h2 a:hover {
    color: var(--primary-color);
}

.news-item-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 0.75rem;
}

/* Article */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 3rem 0;
}

.article-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.article-body {
    line-height: 1.8;
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.article-sidebar .sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.related-news-list {
    list-style: none;
}

.related-news-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-news-list li:last-child {
    border-bottom: none;
}

.related-news-list a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.related-news-list a:hover .related-title {
    color: var(--primary-color);
}

.related-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tag-chip {
    display: inline-block;
    padding: .25rem .6rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: .875rem;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.tag-chip:hover {
    background: #eef4ff;
    border-color: #c7d2fe;
}

/* Breadcrumbs & Pagination */
.breadcrumbs { color: rgba(255,255,255,0.85); margin-bottom: .5rem; }
.breadcrumbs a { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 .35rem; opacity: .7; }

.pagination { display:flex; align-items:center; gap: .75rem; margin-top: 1.5rem; }
.page-link {
    padding: .4rem .8rem; border:1px solid var(--border-color); border-radius:8px;
    color: var(--primary-color); text-decoration: none; background: #fff;
}
.page-link:hover { background: var(--light-color); }
.page-status { color: var(--text-light); }
/* Software */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.software-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.software-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.software-version {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.version-badge,
.size-badge {
    background: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.software-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.software-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.software-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.download-btn {
    width: 100%;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* 动画 */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-fade-in.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .section-footer {
        text-align: center;
        margin-top: 2rem;
    }
}

