/* ============================================
   i社游戏 - isheyouxi.cc
   白色明亮风格 + Illusion 品牌红色
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --border-color: #e5e7eb;
    --border-light: #f0f0f0;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent-red: #e60033;
    --accent-red-light: #ff1a4a;
    --accent-red-dark: #b8002a;
    --accent-gradient: linear-gradient(135deg, #b8002a, #e60033, #ff1a4a);
    --accent-gradient-hover: linear-gradient(135deg, #a00025, #cc002e, #e60033);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 4px 20px rgba(230, 0, 51, 0.25);
    --shadow-red-hover: 0 6px 30px rgba(230, 0, 51, 0.35);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- 按钮系统 --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 22px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: var(--shadow-red-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 16px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
}

.btn-xl {
    font-size: 18px;
    padding: 18px 42px;
    border-radius: var(--radius-md);
}

/* --- 导航栏 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--accent-red);
    background: rgba(230, 0, 51, 0.05);
}

.nav-btn {
    font-size: 13px;
    padding: 8px 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 0 60px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-red), transparent 70%);
    top: -10%;
    left: -5%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-red-light), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-red), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
    animation: orbFloat3 15s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, 30px); }
    66% { transform: translate(-20px, 50px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, -40px); }
    66% { transform: translate(20px, -20px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-title-accent {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 28px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 16px 32px;
    box-shadow: var(--shadow-md);
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* --- 通用 Section --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --- 功能卡片 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(230, 0, 51, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- 新闻动态 --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: rgba(230, 0, 51, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}

.tag-announce { background: rgba(230, 0, 51, 0.08); color: #e60033; }
.tag-update { background: rgba(59, 130, 246, 0.08); color: #2563eb; }
.tag-mod { background: rgba(236, 72, 153, 0.08); color: #db2777; }
.tag-tutorial { background: rgba(16, 185, 129, 0.08); color: #059669; }
.tag-event { background: rgba(245, 158, 11, 0.08); color: #d97706; }
.tag-dev { background: rgba(99, 102, 241, 0.08); color: #4f46e5; }

.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-primary);
}

.news-card time {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.news-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-red);
    transition: all var(--transition);
}

.news-link:hover {
    color: var(--accent-red-dark);
    gap: 10px;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: rgba(230, 0, 51, 0.25);
}

.faq-item.active {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 1px var(--accent-red);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: all var(--transition);
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-question i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- 用户评价 --- */
.reviews-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 48px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.reviews-score {
    text-align: center;
}

.score-big {
    font-size: 56px;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 8px;
}

.score-stars {
    color: #f59e0b;
    font-size: 18px;
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.score-count {
    font-size: 13px;
    color: var(--text-muted);
}

.reviews-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 280px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.bar-label {
    color: var(--text-secondary);
    width: 30px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

.bar-pct {
    color: var(--text-muted);
    width: 34px;
    text-align: right;
    flex-shrink: 0;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.review-tag {
    font-size: 13px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.review-tag:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(230, 0, 51, 0.04);
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.review-card:hover {
    border-color: rgba(230, 0, 51, 0.25);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-stars {
    margin-left: auto;
    color: #f59e0b;
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.review-helpful {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-helpful i {
    color: var(--accent-red);
}

/* --- CTA --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: var(--accent-red);
    color: #ffffff;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: #ff1a4a;
    top: -20%;
    right: 10%;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: #b8002a;
    bottom: -20%;
    left: 10%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 36px;
    font-weight: 300;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--accent-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: #fff;
    color: var(--accent-red-dark);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- 页脚 --- */
.footer {
    background: #111111;
    padding: 60px 0 0;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul a {
    font-size: 13px;
    color: #888;
    transition: color var(--transition);
}

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

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

.footer-bottom p {
    font-size: 13px;
    color: #555;
}

/* --- 返回顶部 --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(230, 0, 51, 0.3);
    z-index: 900;
}

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

.back-to-top:hover {
    background: var(--accent-red-dark);
    transform: translateY(-2px);
}

/* --- 内页通用样式 --- */
.page-header {
    background: var(--bg-secondary);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-content {
    padding: 60px 0 80px;
}

.page-content .container {
    max-width: 860px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-secondary);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 10px;
}

.page-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.page-content ul, .page-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.page-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.page-content .last-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.page-content .info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.page-content .info-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-content .info-card h4 i {
    color: var(--accent-red);
}

.page-content .info-card p {
    margin-bottom: 0;
}

/* 用户手册目录 */
.guide-toc {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.guide-toc h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.guide-toc ol {
    margin-bottom: 0;
    padding-left: 20px;
}

.guide-toc li {
    margin-bottom: 4px;
}

.guide-toc a {
    color: var(--accent-red);
    transition: color var(--transition);
}

.guide-toc a:hover {
    color: var(--accent-red-dark);
}

/* 反馈表单 */
.feedback-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 51, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- 文章内页 --- */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta .news-tag {
    margin: 0;
    font-size: 12px;
}

.article-meta time {
    font-size: 14px;
    color: var(--text-muted);
}

.article-meta .article-author {
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta .article-author i {
    color: var(--accent-red);
    margin-right: 4px;
}

.article-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-body h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-secondary);
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 10px;
}

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

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-red);
    background: var(--bg-secondary);
    margin: 20px 0;
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body .highlight-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 20px 0;
}

.article-body .highlight-box h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-body .highlight-box h4 i {
    color: var(--accent-red);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.article-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
    max-width: 48%;
}

.article-nav a:hover {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-sm);
}

.article-nav .nav-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-nav .nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.article-nav .next-article {
    text-align: right;
    margin-left: auto;
}

.article-cta {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 40px;
}

.article-cta p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px !important;
}

.article-cta .btn {
    display: inline-flex;
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 20px;
        padding: 16px 24px;
        color: var(--text-primary);
    }

    .nav-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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);
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
        padding: 16px 24px;
    }

    .stat-divider {
        height: 30px;
    }

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

    .reviews-overview {
        flex-direction: column;
        gap: 30px;
        padding: 28px 24px;
    }

    .reviews-bars {
        min-width: unset;
        width: 100%;
    }

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

    .section {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 22px;
    }

    .hero-stats {
        gap: 16px;
        padding: 14px 20px;
    }
}
