/* ==========================================================================
   漫画岛 - 主样式表
   说明：全站样式外置，降低首屏 HTML 体积，配合浏览器缓存加速二次访问。
   品牌色：#2D1B4E（深紫） / #F5A623（明橙）
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #2D1B4E;
    --primary-light: #4A2D7A;
    --accent: #F5A623;
    --accent-light: #FFD166;
    --bg: #F8F6FA;
    --card: #FFFFFF;
    --text: #1A1A2E;
    --text-light: #6B6B7A;
    --shadow: 0 8px 30px rgba(45, 27, 78, 0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    padding-top: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--accent);
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 27, 78, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 2px solid rgba(245, 166, 35, 0.25);
    transition: background var(--transition);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.nav-brand {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}
.nav-brand span {
    color: var(--accent);
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    padding: 0 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover {
    color: #fff;
}
.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0 2px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}
.breadcrumb a:hover {
    color: var(--accent);
}
.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}
.breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
}

/* 英雄区 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(145deg, #1A0F2E 0%, var(--primary) 60%, #3D1F6E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at 70% 50%, rgba(245, 166, 35, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.hero-text h1 .highlight {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: clamp(16px, 1.4vw, 20px);
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 44px;
    padding: 0 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.35);
    gap: 8px;
    text-align: center;
}
.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(245, 166, 35, 0.45);
}
.btn-outline {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-visual .badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}
.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition);
}
.hero-badge:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
}
.hero-badge .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1.2;
}
.hero-badge .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* 通用标题 */
.section-title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.section-title .hl {
    color: var(--accent);
}
.section-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.section-pad {
    padding: 70px 0;
}
.section-pad-sm {
    padding: 50px 0;
}
.bg-white {
    background: #fff;
}

/* 简介区 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-content p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.9;
}
.about-content .highlight-text {
    color: var(--primary);
    font-weight: 600;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-item {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.stat-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.stat-item .num {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}
.stat-item .label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* 作品展示区 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 10px;
}
.work-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(45, 27, 78, 0.06);
}
.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(45, 27, 78, 0.18);
    border-color: var(--accent);
}
.work-card .img-wrap {
    position: relative;
    padding-top: 140%;
    background: var(--bg);
    overflow: hidden;
}
.work-card .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.work-card:hover .img-wrap img {
    transform: scale(1.05);
}
.work-card .badge-update {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF3B30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
    z-index: 2;
    animation: pulse-badge 2.4s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}
.work-card .info {
    padding: 16px 18px 20px;
}
.work-card .info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}
.work-card .info .meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.work-card .info .meta .tag {
    background: var(--bg);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
}
.work-card .info .desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 核心优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 10px;
}
.advantage-item {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(45, 27, 78, 0.05);
    position: relative;
    overflow: hidden;
}
.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}
.advantage-item:hover::before {
    opacity: 1;
}
.advantage-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(45, 27, 78, 0.12);
}
.advantage-item .icon {
    font-size: 44px;
    margin-bottom: 12px;
    display: block;
}
.advantage-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}
.advantage-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 资讯区 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}
.news-item {
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(45, 27, 78, 0.05);
    transition: all var(--transition);
    border-left: 4px solid transparent;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.news-item:hover {
    border-left-color: var(--accent);
    transform: translateX(6px);
    box-shadow: var(--shadow);
}
.news-item .date {
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 14px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}
.news-item .title {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
}
.news-item .title a {
    color: inherit;
}
.news-item .title a:hover {
    color: var(--accent);
}
.news-item .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.news-item .tags .tag {
    font-size: 12px;
    background: var(--bg);
    padding: 2px 12px;
    border-radius: 20px;
    color: var(--text-light);
}

/* FAQ 手风琴 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    max-width: 820px;
}
.faq-item {
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(45, 27, 78, 0.05);
    overflow: hidden;
    border: 1px solid rgba(45, 27, 78, 0.06);
    transition: all var(--transition);
}
.faq-item:hover {
    border-color: rgba(245, 166, 35, 0.3);
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    min-height: 56px;
    transition: background var(--transition);
}
.faq-question:hover {
    background: rgba(45, 27, 78, 0.02);
}
.faq-question .q-mark {
    color: var(--accent);
    font-weight: 800;
    margin-right: 4px;
}
.faq-question .arrow {
    font-size: 14px;
    color: var(--text-light);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}
.faq-item.open .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 600px;
}
.faq-answer strong {
    color: var(--primary);
}

/* 留言展示区 */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 10px;
}
.comment-card {
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(45, 27, 78, 0.05);
    transition: all var(--transition);
    border: 1px solid rgba(45, 27, 78, 0.04);
}
.comment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(245, 166, 35, 0.2);
}
.comment-card .user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.comment-card .user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent);
}
.comment-card .user .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-card .user .name {
    font-weight: 600;
    font-size: 15px;
}
.comment-card .user .time {
    font-size: 12px;
    color: var(--text-light);
}
.comment-card .content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}
.comment-card .content .kw {
    color: var(--accent);
    font-weight: 600;
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.modal-box {
    background: var(--card);
    border-radius: var(--radius);
    max-width: 580px;
    width: 100%;
    padding: 32px 36px 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}
.modal-box .close {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: all var(--transition);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    line-height: 1;
}
.modal-box .close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}
.modal-box h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    padding-right: 40px;
}
.modal-box .modal-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.modal-box .modal-meta .tag {
    background: var(--bg);
    padding: 2px 14px;
    border-radius: 20px;
}
.modal-box .modal-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.modal-box .modal-body p {
    margin-bottom: 12px;
}

/* ==========================================================================
   下载区（漫画岛 App：本地 / 迅雷 / 夸克）
   ========================================================================== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.download-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(45, 27, 78, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.download-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(45, 27, 78, 0.12);
}
.download-card .dl-icon {
    font-size: 44px;
    margin-bottom: 12px;
    display: block;
}
.download-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}
.download-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    min-height: 3.4em;
}
.btn-dl {
    min-height: 46px;
    padding: 0 26px;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}
.btn-dl-xunlei {
    background: linear-gradient(135deg, #0077E6, #0055CC);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 119, 230, 0.35);
}
.btn-dl-xunlei:hover {
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 119, 230, 0.5);
}
.btn-dl-quark {
    background: linear-gradient(135deg, #2D1B4E, #4A2D7A);
    color: #fff;
    box-shadow: 0 6px 20px rgba(45, 27, 78, 0.35);
}
.btn-dl-quark:hover {
    color: #fff;
    box-shadow: 0 12px 32px rgba(45, 27, 78, 0.5);
}

/* SEO 文本区 */
.seo-text {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin-top: 10px;
    line-height: 1.9;
    font-size: 15px;
    color: var(--text);
    border-left: 4px solid var(--accent);
}
.seo-text p {
    margin-bottom: 12px;
}
.seo-text p:last-child {
    margin-bottom: 0;
}
.seo-text strong {
    color: var(--primary);
}

/* 页脚 */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 28px;
    border-top: 3px solid var(--accent);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer .brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.footer .brand span {
    color: var(--accent);
}
.footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.footer .links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.footer .links a:hover {
    color: var(--accent);
}
.footer .copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    .download-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .navbar {
        padding: 8px 0;
    }
    .nav-brand {
        font-size: 19px;
    }
    .nav-links {
        gap: 4px 10px;
    }
    .nav-links a {
        font-size: 14px;
        min-height: 40px;
        line-height: 40px;
    }
    .hero {
        padding: 110px 0 50px;
        min-height: auto;
    }
    .hero-visual .badge-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-badge {
        padding: 14px 12px;
    }
    .hero-badge .num {
        font-size: 24px;
    }
    .section-pad {
        padding: 50px 0;
    }
    .section-pad-sm {
        padding: 36px 0;
    }
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    .work-card .info {
        padding: 12px 14px 16px;
    }
    .work-card .info h3 {
        font-size: 15px;
    }
    .advantage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .advantage-item {
        padding: 22px 16px 20px;
    }
    .advantage-item .icon {
        font-size: 34px;
    }
    .news-item {
        padding: 16px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .comments-grid {
        grid-template-columns: 1fr;
    }
    .modal-box {
        padding: 24px 20px 20px;
        margin: 12px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer .links {
        justify-content: center;
    }
    .container {
        padding: 0 16px;
    }
    .breadcrumb {
        font-size: 12px;
    }
    .btn {
        min-height: 48px;
        padding: 0 24px;
        font-size: 15px;
    }
    .download-grid {
        grid-template-columns: 1fr;
    }
    .download-card p {
        min-height: 0;
    }
}
@media (max-width: 480px) {
    .works-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-item {
        padding: 16px 12px;
    }
    .stat-item .num {
        font-size: 26px;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .section-title {
        font-size: 24px;
    }
    .nav-links a {
        font-size: 13px;
        min-height: 36px;
        line-height: 36px;
        padding: 0 2px;
    }
}

/* 通用工具 */
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.gap-8 {
    gap: 8px;
}
.mt-8 {
    margin-top: 8px;
}
.mt-16 {
    margin-top: 16px;
}
.lazy-placeholder {
    background: linear-gradient(135deg, #e8e4ee 0%, #d5cfe0 100%);
    position: relative;
    overflow: hidden;
}
.lazy-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
img.loaded {
    animation: imgFade 0.5s ease;
}
@keyframes imgFade {
    from {
        opacity: 0.3;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 触控优化 */
button,
a,
.clickable {
    touch-action: manipulation;
}
.btn,
.nav-links a,
.faq-question,
.modal-box .close,
.work-card {
    cursor: pointer;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
