* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #34495e;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 首屏 Hero ===== */
.site-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #eef1f4;
    padding: 2.75rem 0 4.5rem;
    margin-bottom: 0;
}

.site-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 55% 45% at 72% 0%, rgba(52, 152, 219, .14), transparent 55%),
        radial-gradient(ellipse 40% 35% at 10% 100%, rgba(26, 154, 140, .1), transparent 50%),
        linear-gradient(168deg, #0a0d12 0%, #111820 50%, #0d1218 100%);
}

.site-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(238, 241, 244, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 241, 244, .025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.site-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    z-index: 0;
    background: linear-gradient(to bottom, transparent, #f5f7fa);
    pointer-events: none;
}

.site-hero-wrap {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.site-hero-kicker {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(238, 241, 244, .42);
    margin: 0 0 1rem;
}

.site-hero-brand {
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: .5rem;
}

.site-hero-title {
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.45;
    color: rgba(238, 241, 244, .78);
    margin: 0 0 .75rem;
}

.site-hero-lead {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(238, 241, 244, .45);
    max-width: 30em;
    margin: 0 0 1.35rem;
}

.site-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.15rem;
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: .84rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.hero-btn-fill {
    background: #eef1f4;
    color: #0a0d12;
}

.hero-btn-fill:hover {
    background: #fff;
}

.hero-btn-ghost {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(238, 241, 244, .18);
    color: rgba(238, 241, 244, .85);
}

.hero-btn-ghost:hover {
    border-color: rgba(238, 241, 244, .4);
    color: #fff;
}

.hero-mock {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(8, 12, 18, .55);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.hero-mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .25);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero-mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.hero-mock-dot:first-child { background: #ff5f57; }
.hero-mock-dot:nth-child(2) { background: #febc2e; }
.hero-mock-dot:nth-child(3) { background: #28c840; }

.hero-mock-bar code {
    margin-left: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    color: rgba(238, 241, 244, .4);
}

.hero-mock-body {
    padding: 18px 16px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .78rem;
    line-height: 1.85;
}

.hero-mock-body p {
    margin: 0;
    color: rgba(238, 241, 244, .75);
}

.hero-mock-prompt {
    color: rgba(52, 152, 219, .85);
    margin-right: 6px;
}

.hero-mock-ok {
    color: rgba(46, 204, 113, .9) !important;
    padding-left: 1em;
}

.hero-mock-dim {
    color: rgba(238, 241, 244, .35) !important;
    margin-top: 4px !important;
    font-size: .72rem !important;
}

.site-hero-trust.stats-bar {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    margin: 0;
    padding: 14px 0;
    box-shadow: none;
}

.site-hero-trust .stats-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.site-hero-trust .stat-item {
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.site-hero-trust .stat-item:last-child {
    border-right: none;
}

.site-hero-trust .stat-number {
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(238, 241, 244, .92);
}

.site-hero-trust .stat-label {
    font-size: .68rem;
    color: rgba(238, 241, 244, .35);
    letter-spacing: .03em;
}

.site-hero-trust .counting-number {
    color: rgba(238, 241, 244, .92);
}

.site-main {
    position: relative;
    z-index: 2;
    margin-top: -2.5rem;
}

.home-sec-head {
    text-align: left;
    margin: 0 0 1.25rem;
    padding-top: .5rem;
}

.home-sec-label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .65rem;
    letter-spacing: .14em;
    color: #3498db;
    margin-bottom: .35rem;
}

.home-sec-title {
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}

.home-sec-desc {
    font-size: .88rem;
    color: #95a5a6;
    margin: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 兼容旧选择器（子页若仍用 header 居中样式） */
header:not(.site-hero):not(.hero):not(.home-sec-head) {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

header:not(.site-hero):not(.hero):not(.home-sec-head) h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    margin: 40px 0 25px;
    font-size: 1.8rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #3498db;
    margin: 10px auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    background: #3498db;
    color: white;
    font-size: 1.5rem;
    padding: 20px 0;
    text-align: center;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card p {
    margin-bottom: 15px;
    color: #546e7a;
    flex-grow: 1;
    font-size: 0.95rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    background: #2980b9;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #219653;
}

/* 关于作者区域 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.about-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card .card-content {
    padding: 25px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    border: 1px dashed #ddd;
}

/* 统计指标 */
.stats-bar {
    background: linear-gradient(135deg, #2c3e50, #3d566e);
    color: white;
    padding: 22px 0;
    margin: 20px 0 28px;
    border-radius: 10px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 0 16px;
}

.stat-number {
    display: block;
    font-size: 1.85rem;
    font-weight: bold;
    margin-bottom: 2px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 客户案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.case-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.case-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.case-card p {
    color: #546e7a;
    margin-bottom: 15px;
}

.case-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 技术博客 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.blog-card p {
    color: #546e7a;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-card a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.blog-card a:hover {
    text-decoration: underline;
}

/* 服务流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.step p {
    color: #546e7a;
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    color: #546e7a;
}

/* 联系方式 */
.contact-cta {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 闲鱼轮播样式 */
.xianyu-review-container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

.xianyu-review-header {
    background: #2c3e50;
    color: white;
    padding: 25px;
    text-align: center;
}

.xianyu-review-header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.xianyu-review-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.xianyu-review-content {
    display: flex;
    min-height: 450px;
}

.xianyu-image-section {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid #e9ecef;
}

.xianyu-review-image {
    max-width: 100%;
    max-height: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
}

.xianyu-text-section {
    flex: 0 0 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xianyu-review-text {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #2c3e50;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 3px solid #3498db;
    padding-left: 15px;
}

.xianyu-review-meta {
    margin-bottom: 25px;
}

.xianyu-user-info {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.xianyu-review-date {
    font-size: 0.9rem;
    color: #adb5bd;
}

.xianyu-navigation {
    display: flex;
    gap: 10px;
}

.xianyu-nav-btn {
    flex: 1;
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.xianyu-nav-btn:hover:not(:disabled) {
    background: #2980b9;
}

.xianyu-nav-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.xianyu-thumbnail-strip {
    display: flex;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    overflow-x: auto;
}

.xianyu-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    border: 2px solid transparent;
    object-fit: cover;
}

.xianyu-thumbnail:hover {
    opacity: 0.8;
}

.xianyu-thumbnail.active {
    opacity: 1;
    border-color: #3498db;
}

.xianyu-review-counter {
    text-align: center;
    padding: 12px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 0.85rem;
}

/* 灯箱样式 */
.xianyu-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.xianyu-lightbox.active {
    display: flex;
}

.xianyu-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.xianyu-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer样式 */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0 20px;
}

.footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.footer-cta-desc {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 15px 0 8px;
    color: #ecf0f1;
}

.footer-email {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #5dade2;
    transform: translateY(-2px);
}

.footer-legal {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    width: 100%;
    margin-top: 10px;
}

.beian-link {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #bdc3c7;
}

/* 动画效果 */
.about-card, .step, .case-card, .xianyu-review-container {
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-card:hover, .case-card:hover, .step:hover, .xianyu-review-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* 数字计数动画 */
.counting-number {
    display: inline-block;
    font-weight: bold;
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.counting-number.animated {
    animation: countUp 0.6s ease-out;
}

/* FAQ 3D特效样式 */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:nth-child(odd) {
    transform: translateX(-50px) rotateY(-5deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item:nth-child(even) {
    transform: translateX(50px) rotateY(5deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.animate-in {
    transform: translateX(0) rotateY(0deg) !important;
    opacity: 1 !important;
}

.faq-item:hover {
    transform: translateY(-5px) rotateX(2deg) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(52, 152, 219, 0.1);
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.faq-item h4::before {
    content: 'Q:';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-item p {
    color: #546e7a;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.faq-item p::before {
    content: 'A:';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* 背景装饰元素 */
.faq-bg-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

.faq-bg-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.faq-bg-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.faq-bg-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* CTA按钮 */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* 全局样式 */
html {
    scroll-behavior: smooth;
}

a:focus, button:focus:not(.ps-cat) {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 响应式设计 ========== */
/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 0 0 45%;
    }
}

/* 移动设备 (768px以下) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* 头部响应式 */
    .site-hero {
        padding: 2rem 0 3.5rem;
    }

    .site-hero-wrap {
        width: calc(100% - 2rem);
    }

    .site-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .site-hero-panel {
        order: -1;
    }

    .site-hero-brand {
        font-size: 1.65rem;
    }

    .site-hero-trust .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 0;
    }

    .site-hero-trust .stat-item {
        border-right: none;
        padding: 8px 0;
    }

    .site-hero-trust .stat-number {
        font-size: 1.15rem;
    }

    .site-main {
        margin-top: -1.5rem;
    }

    header:not(.site-hero):not(.hero):not(.home-sec-head) {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    header:not(.site-hero):not(.hero):not(.home-sec-head) h1 {
        font-size: 1.8rem;
    }

    .brand-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin: 30px 0 20px;
    }

    /* 卡片网格响应式 */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .card-content {
        padding: 15px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    /* 统计栏响应式 */
    .stats-bar {
        padding: 18px 0;
        margin: 18px 0 24px;
        border-radius: 8px;
    }

    .stats-container {
        flex-direction: column;
        gap: 25px;
    }

    .stat-item {
        padding: 0 15px;
    }

    .stat-number {
        font-size: 2rem;
        min-height: 50px;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* 关于作者区域响应式 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .about-card .card-content {
        padding: 20px;
    }

    /* 微信二维码响应式 */
    .qr-code {
        width: 150px;
        height: 150px;
        margin: 10px auto;
    }

    /* 客户案例响应式 */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .case-card {
        padding: 20px;
    }

    /* 技术博客响应式 */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .blog-card {
        padding: 15px;
    }

    /* 服务流程响应式 */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .step {
        padding: 20px;
    }

    /* FAQ响应式 */
    .faq-list {
        margin-bottom: 30px;
    }

    .faq-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .faq-item h4 {
        font-size: 1rem;
        padding-left: 25px;
    }

    .faq-item p {
        padding-left: 25px;
        font-size: 0.9rem;
    }

    .faq-item:nth-child(odd),
    .faq-item:nth-child(even) {
        transform: translateY(30px);
        opacity: 0;
    }

    .faq-item.animate-in {
        transform: translateY(0) !important;
    }

    /* 闲鱼轮播响应式 */
    .xianyu-review-container {
        margin: 30px auto;
        border-radius: 8px;
    }

    .xianyu-review-header {
        padding: 20px;
    }

    .xianyu-review-header h1 {
        font-size: 1.5rem;
    }

    .xianyu-review-stats {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .xianyu-review-content {
        flex-direction: column;
        min-height: auto;
    }

    .xianyu-image-section {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .xianyu-review-image {
        max-height: 300px;
    }

    .xianyu-text-section {
        flex: 1;
        padding: 20px;
    }

    .xianyu-review-text {
        font-size: 1rem;
    }

    .xianyu-thumbnail {
        width: 50px;
        height: 50px;
    }

    /* Footer响应式 */
    footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer-content {
        gap: 20px;
        padding: 30px 0 15px;
    }

    .footer-brand h2 {
        font-size: 1.5rem;
    }

    .footer-cta-desc {
        font-size: 0.95rem;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* 联系方式响应式 */
    .contact-cta {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .contact-cta h2 {
        font-size: 1.6rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

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

    .cta-buttons .btn {
        width: 200px;
        justify-content: center;
    }

    /* 移动端触摸优化 */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* 超小屏幕 (480px以下) */
@media (max-width: 480px) {
    /* 卡片网格超小屏 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* 统计栏超小屏 */
    .stats-bar {
        padding: 25px 0;
        margin: 25px 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* 技术博客超小屏 */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* 服务流程超小屏 */
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 15px;
    }

    /* 关于作者超小屏 */
    .about-card .card-content {
        padding: 15px;
    }

    .qr-code {
        width: 130px;
        height: 130px;
    }

    /* 闲鱼轮播超小屏 */
    .xianyu-review-image {
        max-height: 250px;
    }

    .xianyu-thumbnail {
        width: 45px;
        height: 45px;
    }

    /* Footer超小屏 */
    .footer-brand h2 {
        font-size: 1.3rem;
    }

    .footer-cta-desc {
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-link {
        width: 200px;
        justify-content: center;
    }
}

/* 大屏幕优化 (1024px以上) */
@media (min-width: 1025px) {
    .container {
        padding: 0 30px;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .card:hover, .about-card:hover, .step:hover, .case-card:hover, .blog-card:hover {
        transform: none;
    }

    .xianyu-review-container:hover {
        transform: none;
    }
}


/*商城样式*/
/* ========== 文档商城横幅卡片 ========== */
/* ========== 专业文档商城横幅 ========== */
.doc-mall-banner {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e9edf4;
    border-radius: 12px;
    padding: 30px 35px;
    margin: 45px 0 35px 0;
    box-shadow: 0 6px 25px rgba(41, 128, 185, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-mall-banner:hover {
    box-shadow: 0 10px 35px rgba(41, 128, 185, 0.12);
    border-color: #d0d9e7;
}

.doc-mall-header {
    text-align: center;
    margin-bottom: 30px;
}

.doc-mall-title {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.doc-icon {
    font-size: 1.8rem;
}

.doc-mall-subtitle {
    color: #546e7a;
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* 技术栈展示 */
.doc-tech-stack {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tech-category {
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.tech-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #3498db;
}

.tech-content h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.tech-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.tech-content li {
    color: #546e7a;
    font-size: 0.85rem;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.tech-content li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 特性标签 */
.doc-mall-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #f0f4f8;
    border-bottom: 1px solid #f0f4f8;
}

.feature-tag {
    background: rgba(52, 152, 219, 0.08);
    color: #2980b9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* CTA区域 */
.doc-mall-cta {
    text-align: center;
}

.doc-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.doc-cta-btn:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.25);
}

.cta-desc {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 12px;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .doc-tech-stack {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doc-mall-banner {
        padding: 25px;
        margin: 35px 0 25px 0;
    }

    .doc-mall-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }

    .doc-tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tech-category {
        padding: 15px;
    }

    .doc-cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .doc-tech-stack {
        grid-template-columns: 1fr;
    }

    .tech-category {
        padding: 15px 20px;
    }

    .doc-mall-features {
        gap: 8px;
    }

    .feature-tag {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

/* 卡片链接层样式 */
.tech-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    /* 完全透明，不影响样式 */
    background: transparent;
}

/* 确保卡片有相对定位 */
.tech-category {
    position: relative;  /* 关键：让链接层能覆盖整个卡片 */
    /* 你原有的其他样式不变 */
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 如果需要，可以添加悬停提示 */
.tech-category:hover .tech-card-link::after {
    content: '点击查看详情';
    position: absolute;
    bottom: 0px;
    right: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 或者更简单的方式：鼠标悬停时显示小手 */
.tech-category:hover {
    cursor: pointer;  /* 显示小手 */
}