/* 设计规范颜色变量 */
:root {
    --color-primary: #1054ff;
    --color-primary-dark: #0d42cc;
    --color-primary-darker: #0a35a8;
    --color-primary-light: #4d8aff;
    --color-primary-rgb: 16, 84, 255;
    --color-text: #34495e;
    --color-text-muted: #9aabb8;
    --color-bg: #f7faff;
    --color-bg-white: #fff;
    --color-bg-hero-end: #e8f0fe;
    --color-bg-hero-mid: #f0f5ff;
    --color-green: #1ab394;
    --color-green-light: #e4f6f2;
    --color-green-light-2: #d4f0e8;
    --color-gray: #909399;
    --color-gray-light: #f4f4f5;
    --color-yellow: #e6a23c;
    --color-yellow-light: #fdf6ec;
    --color-red: #f56c6c;
    --color-red-light: #fef0f0;
    --color-footer-bg: #2c3e50;
    --color-white: #fff;
    --color-white-rgb: 255, 255, 255;
    --color-black-rgb: 0, 0, 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; height: 100%; width: 100%; }
body {
    font-family: "PingFang SC", "Microsoft Yahei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(var(--color-primary-rgb), 0.2); color: var(--color-text); }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s, opacity 0.2s, transform 0.2s; }
a:hover { color: var(--color-primary-dark); opacity: 0.9; }

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(var(--color-white-rgb), 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(var(--color-primary-rgb), 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: box-shadow 0.2s;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
}
.nav a:hover { color: var(--color-primary); }
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4); color: var(--color-white) !important; }
.menu-toggle { display: none; }

/* 主视觉区 */
.hero {
    padding: 64px 24px 80px;
    margin-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-bg-hero-end) 45%, var(--color-bg-hero-mid) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::before {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}
.hero::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero .badge {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.hero .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}
.hero .highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 8px;
    background: rgba(var(--color-primary-rgb), 0.2);
    border-radius: 4px;
    z-index: -1;
}
.hero .subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero .cta-wrap { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-large {
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-large.primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.35);
}
.btn-large.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.4); }
.btn-large.outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid rgba(var(--color-primary-rgb), 0.4);
}
.btn-large.outline:hover {
    background: rgba(var(--color-primary-rgb), 0.06);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* 区块通用 */
.section {
    max-width: 1200px;
    margin: 16px auto;
    padding: 32px 24px;
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
    margin: 16px auto 0;
}
.section-desc {
    text-align: center;
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 56px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 服务列表 */
.services {
    background: var(--color-bg-white);
    box-shadow: 0 1px 0 rgba(var(--color-black-rgb), 0.04);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--color-bg-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.08);
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.service-card:hover {
    box-shadow: 0 16px 48px rgba(var(--color-primary-rgb), 0.12);
    transform: translateY(-4px);
    border-color: rgba(var(--color-primary-rgb), 0.15);
}
.service-card .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.25);
}
.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 10px;
}
.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.65;
}

/* 优势/特点 */
.features {
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-bg) 100%);
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--color-bg-white);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(var(--color-black-rgb), 0.04);
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-item:hover {
    box-shadow: 0 12px 36px rgba(var(--color-primary-rgb), 0.08);
    transform: translateY(-2px);
}
.feature-item .num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-green-light-2) 100%);
    color: var(--color-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 17px;
    color: var(--color-text);
    margin: 0 0 8px;
    font-weight: 600;
}
.feature-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 项目案例 */
.projects {
    background: var(--color-bg-white);
    box-shadow: 0 1px 0 rgba(var(--color-black-rgb), 0.04);
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.08);
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.project-card:hover {
    box-shadow: 0 20px 50px rgba(var(--color-primary-rgb), 0.12);
    transform: translateY(-4px);
    border-color: rgba(var(--color-primary-rgb), 0.12);
}
.project-card .thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, var(--color-bg-hero-end) 0%, var(--color-bg-hero-mid) 50%, var(--color-gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    font-size: 13px;
}
.project-card .thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}
.project-card .thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(var(--color-white-rgb), 0.6) 25%, transparent 25%),
                      linear-gradient(-45deg, rgba(var(--color-white-rgb), 0.6) 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, rgba(var(--color-white-rgb), 0.6) 75%),
                      linear-gradient(-45deg, transparent 75%, rgba(var(--color-white-rgb), 0.6) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    opacity: 0.5;
}
.project-card .thumb span {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}
.project-card .body {
    padding: 24px;
}
.project-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 8px;
}
.project-card .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 10px;
}
.project-card .price .unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.project-card .desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0 0 14px;
    line-height: 1.6;
}
.project-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-card .tag {
    font-size: 12px;
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 500;
}
.project-card .tag.green { color: var(--color-green); background: var(--color-green-light); }
.project-card .tag.gray { color: var(--color-gray); background: var(--color-gray-light); }
.project-more {
    text-align: center;
    margin-top: 40px;
}
.project-more .btn-more {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 28px;
    border: 2px solid rgba(var(--color-primary-rgb), 0.4);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.project-more .btn-more:hover {
    background: rgba(var(--color-primary-rgb), 0.06);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* CTA 区块 */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary-darker) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.06);
    top: -100px;
    left: -50px;
}
.cta-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.05);
    bottom: -50px;
    right: -20px;
}
.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--color-white);
    position: relative;
}
.cta-section p {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 28px;
    color: rgba(var(--color-white-rgb), 0.95);
    position: relative;
}
.cta-section .btn-white {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(var(--color-black-rgb), 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.cta-section .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(var(--color-black-rgb), 0.2);
}

/* 页脚 */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-text-muted);
    padding: 40px 24px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(var(--color-white-rgb), 0.06);
}
.footer p { margin: 0 0 6px; }
.footer a { color: rgba(var(--color-white-rgb), 0.75); }
.footer a:hover { color: var(--color-white); }
footer.footer{margin-top: 0 !important;}
.project-details-page{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.project-details-page .store-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: var(--color-bg-white);
    margin-top: 80px;
    padding: 34px;
    border-radius: 16px;
    gap: 32px;
}
.project-details-page .store-header-left{
    width: 50%;
}
.project-details-page .store-header-left-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 34px;
    background: #efefef;
    border-radius: 16px;
}
.project-details-page .store-header-left-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-details-page .store-header-right{
    width: 50%;
}
.project-details-page .store-header-right-title{
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    margin: 0 0 16px 0;
}
.project-details-page .store-header-right-desc{
    font-size: 16px;
    color: var(--color-text-muted);
    margin: 0 0 16px 0;
}
.project-details-page .store-header-right-price{
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 16px 0;
}
.project-details-page .store-header-right-price-unit{
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: 4px;
}
.project-details-page .store-header-right-tips{
    font-size: 14px;
    color: var(--color-text-muted);
    padding: 16px;
    background: #fff7f7;
    border-radius: 16px;
    color: #f75444;
    font-weight: 700;
    margin-top: 16px;
    line-height: 1.5;
}
.project-details-page .store-header-right-demo{
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.project-details-page .store-header-right-demo div,.project-details-page .store-header-right-demo a{
    font-size: 14px;
    color: var(--color-text-muted);
    border: 1px solid var(--color-primary)  ;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}
.project-details-page .store-header-right-demo .demo-qrcode-trigger{
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
}
.project-details-page .store-header-right-demo .demo-qrcode-trigger:hover,
.project-details-page .store-header-right-demo .demo-qrcode-trigger:focus{
    background: rgba(var(--color-primary-rgb), 0.06);
}
.project-details-page .store-header-right-demo .demo-qrcode-pop{
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: 206px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: var(--color-bg-white);
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
    box-shadow: 0 14px 40px rgba(var(--color-black-rgb), 0.16);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop::before{
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-bg-white);
    border-left: 1px solid rgba(var(--color-primary-rgb), 0.18);
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.18);
    transform: translateX(-50%) rotate(45deg);
}
.project-details-page .store-header-right-demo .demo-qrcode-trigger:hover .demo-qrcode-pop,
.project-details-page .store-header-right-demo .demo-qrcode-trigger:focus .demo-qrcode-pop{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(2px);
}
.project-details-page .store-header-right-demo .demo-qrcode-pop-title{
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    text-align: center;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop > img{
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 10px;
    background: var(--color-bg);
    object-fit: contain;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop > img[src=""],
.project-details-page .store-header-right-demo .demo-qrcode-pop > img:not([src]){
    display: none;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop-code{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 182px;
    height: 182px;
    margin: 0 auto;
    border-radius: 10px;
    background: var(--color-bg);
    overflow: hidden;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop-code img,
.project-details-page .store-header-right-demo .demo-qrcode-pop-code canvas{
    max-width: 160px;
    max-height: 160px;
}
.project-details-page .store-header-right-demo .demo-qrcode-pop-tip{
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}
.store-header-right-btn .btn{
    padding: 16px 64px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
}

.store-content{
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-top: 32px;
}
.store-content-left{
    width: 100%;
}
.inner-title{
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}
.function-item{
    display: flex;
    flex-direction: row;
    gap: 16px;
    background: var(--color-bg);
    padding: 16px;
    border-radius: 8px;
}
.inner-box{
    background: var(--color-bg-white);
    border-radius: 16px;
}
.inner-box+.inner-box{
    margin-top: 16px;
}
.inner-content{
    padding: 16px;
}
.function-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
}

.function-item-img{
    width: 65px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.function-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.function-item-content{
    flex: 1;
}
.function-item-title{
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}
.function-item-desc{
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.inner-tab{
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    list-style: none;
}
.inner-tab-item{
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}
.inner-tab-item.active{
    color: var(--color-primary);
}
.inner-tab-item:hover{
    color: var(--color-primary);
}
.screenshot-list{
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px;
}
.screenshot-item{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    background: #efefef;
}
.screenshot-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.screenshot-item-box{
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #efefef;
    border-radius: 8px;
    overflow: hidden;
    background: #efefef;
}

/* 项目截图：Tab 切换 + 幻灯片 */
.screenshot-tabs-box .screenshot-panes { position: relative; }
.screenshot-pane {
    display: none;
    padding: 16px;
    animation: screenshotPaneIn 0.25s ease;
}
.screenshot-pane.active { display: block; }
@keyframes screenshotPaneIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Swiper 项目截图：沿用主题色 */
.screenshot-swiper {
    border-radius: 12px;
    background: var(--color-gray-light);
    overflow: hidden;
}
.screenshot-swiper .swiper-slide {
    padding: 8px;
    box-sizing: border-box;
}
.screenshot-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    background: #fff;
    cursor: zoom-in;
}
.screenshot-swiper .swiper-button-prev,
.screenshot-swiper .swiper-button-next {
    color: #fff;
    background: rgba(var(--color-black-rgb), 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.screenshot-swiper .swiper-button-prev:after,
.screenshot-swiper .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}
.screenshot-swiper .swiper-button-prev:hover,
.screenshot-swiper .swiper-button-next:hover {
    background: rgba(var(--color-primary-rgb), 0.9);
    color: #fff;
}
.screenshot-swiper .swiper-pagination-bullet {
    background: rgba(var(--color-primary-rgb), 0.3);
}
.screenshot-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
    transform: scale(1.2);
}
.screenshot-empty {
    padding: 48px 16px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    background: var(--color-gray-light);
    border-radius: 12px;
}

/* 截图放大灯箱 */
.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.screenshot-lightbox.open {
    visibility: visible;
    opacity: 1;
}
.screenshot-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}
.screenshot-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}
.screenshot-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.screenshot-lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 22px;
        color: var(--color-text);
        cursor: pointer;
    }
    .hero h1 { font-size: 30px; }
    .hero .subtitle { font-size: 15px; }
    .hero .badge { font-size: 11px; padding: 5px 12px; }
    .section { padding: 64px 20px; }
    .section-title { font-size: 22px; }
    .section-title::after { width: 40px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: 1fr; }
    .project-details-page.store-style .store-header .details-title { font-size: 24px; }
    .project-details-page .function-grid { grid-template-columns: 1fr; }
    .project-details-page .tab-label { padding: 10px 14px; font-size: 13px; }

    /* 项目详情页（details.html）移动端适配 */
    .project-details-page { padding: 0 12px; }
    .project-details-page .store-header{
        flex-direction: column;
        padding: 16px;
        gap: 16px;
        margin-top: 72px;
    }
    .project-details-page .store-header-left,
    .project-details-page .store-header-right{
        width: 100%;
    }
    .project-details-page .store-header-left-img{
        padding: 12px;
    }
    .project-details-page .store-header-right-title{
        font-size: 18px;
        line-height: 1.35;
    }
    .project-details-page .store-header-right-desc{
        font-size: 14px;
        line-height: 1.6;
    }
    .project-details-page .store-header-right-price{
        font-size: 20px;
    }
    .store-header-right-btn .btn{
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        letter-spacing: 2px;
        text-align: center;
    }
    .project-details-page .store-header-right-demo{
        gap: 10px;
        margin-top: 12px;
    }
    .project-details-page .store-header-right-demo div,
    .project-details-page .store-header-right-demo a{
        margin-bottom: 0;
    }

    .store-content{ gap: 16px; margin-top: 16px; }
    .function-list{ grid-template-columns: 1fr; padding: 12px; }
    .function-item{ align-items: flex-start; }

    .inner-tab{
        gap: 12px;
        padding: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .inner-tab::-webkit-scrollbar{ display: none; }
    .inner-tab-item{ white-space: nowrap; flex: 0 0 auto; }

    /* 二维码浮层在小屏避免被边缘裁切 */
    .project-details-page .store-header-right-demo .demo-qrcode-pop{
        left: 0;
        transform: translateX(0);
        max-width: min(206px, calc(100vw - 24px));
    }
    .project-details-page .store-header-right-demo .demo-qrcode-trigger:hover .demo-qrcode-pop,
    .project-details-page .store-header-right-demo .demo-qrcode-trigger:focus .demo-qrcode-pop{
        transform: translateX(0) translateY(2px);
    }
}