:root {
    --coral:       #E8552A;
    --coral-light: #FF6B3D;
    --coral-dark:  #C43D18;
    --coral-pale:  #FEF0EB;
    --coral-mid:   #FDDDD2;
    --gray-900:    #1F2328;
    --gray-700:    #4A4F57;
    --gray-400:    #9CA3AF;
    --gray-100:    #F8F9FA;
    --shadow:      0 4px 24px rgba(232,85,42,.10);
    --radius:      12px;
    --ease:        .3s cubic-bezier(.4,0,.2,1);
}
* { box-sizing: border-box; }
body { font-family: "PingFang SC","Microsoft YaHei",sans-serif; color: var(--gray-700); background: #fff; margin: 0; }
/*a { text-decoration: none; color: inherit; }*/
img { max-width: 100%; height: auto; /*display: block;*/ }
section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ── 导航栏 ── */
/*#navbar { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(232,85,42,.10); position: sticky; top: 0; z-index: 1030; transition: box-shadow var(--ease); }
#navbar.scrolled { box-shadow: 0 2px 20px rgba(232,85,42,.10); }
.navbar-brand img { height: 38px; width: auto; }
.nav-link { color: var(--gray-700) !important; font-weight: 500; padding: .5rem 1rem !important; border-radius: 8px; transition: all var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--coral) !important; background: var(--coral-pale); }
.dropdown-item:hover { color: var(--coral); background: var(--coral-pale); }*/
.btn-coral { background: var(--coral); color: #fff; border: none; padding: .45rem 1.2rem; border-radius: 8px; font-weight: 600; transition: all var(--ease); display: inline-flex; align-items: center; gap: .3rem; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,85,42,.35); }
.btn-outline-coral { border: 2px solid var(--coral); color: var(--coral); border-radius: 8px; padding: .42rem 1.15rem; font-weight: 600; background: transparent; transition: all var(--ease); display: inline-flex; align-items: center; gap: .3rem; }
.btn-outline-coral:hover { background: var(--coral); color: #fff; }

/* ── 信任带 ── */
.trust-bar { background: var(--coral-pale); border-bottom: 1px solid rgba(232,85,42,.12); padding: .55rem 0; font-size: .82rem; color: var(--gray-700); }
.trust-item { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.trust-item i { color: var(--coral); }

/* ══════════════════════════════════════════════
   ✅ 修复1：Hero — 换成亮色珊瑚渐变遮罩
   左侧饱满珊瑚色 → 右侧完全透明
   文字在珊瑚背景上用白色，对比度 WCAG AA 通过
══════════════════════════════════════════════ */
#heroCarousel { background: var(--coral-pale); }
.hero-slide { position: relative; height: 520px; overflow: hidden; }
@media (min-width: 992px) { .hero-slide { height: 600px; } }

.hero-slide .hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center right;
    filter: brightness(.95);
    transition: transform 8s ease;
}
#heroCarousel .carousel-item.active .hero-bg { transform: scale(1.04); }

/* 亮色遮罩：珊瑚 → 透明（从左到右） */
.hero-slide .hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(
            100deg,
            rgba(232, 85, 42, 0.93)  0%,
            rgba(232, 85, 42, 0.80) 28%,
            rgba(232, 85, 42, 0.38) 56%,
            rgba(232, 85, 42, 0.00) 78%
    );
}

/* ✅ 修复2：手机两侧留白 */
.hero-content {
    position: relative; z-index: 3;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 2rem; padding-bottom: 2rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
@media (min-width: 576px) { .hero-content { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 992px) { .hero-content { padding-left: 0; padding-right: 0; } }

.hero-badge { display: inline-block; background: rgba(255,255,255,.20); border: 1px solid rgba(255,255,255,.50); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .05em; padding: .25rem .85rem; border-radius: 20px; margin-bottom: 1rem; backdrop-filter: blur(6px); }
.hero-title { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.hero-title span { color: #FFE033; }
.hero-desc { font-size: clamp(.88rem, 1.5vw, 1.05rem); color: rgba(255,255,255,.92); max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 主CTA：白底珊瑚字 — 在珊瑚背景上高对比 */
.btn-hero-primary { background: #fff; color: var(--coral); border: none; padding: .72rem 1.8rem; border-radius: 10px; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,.18); transition: all var(--ease); display: inline-flex; align-items: center; gap: .4rem; }
.btn-hero-primary:hover { background: var(--coral-pale); color: var(--coral-dark); transform: translateY(-2px); }
.btn-hero-secondary { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.75); padding: .7rem 1.7rem; border-radius: 10px; font-weight: 600; font-size: 1rem; backdrop-filter: blur(4px); transition: all var(--ease); display: inline-flex; align-items: center; gap: .4rem; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.28); border-color: #fff; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-stat-number { font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-label  { font-size: .76rem; color: rgba(255,255,255,.78); margin-top: .2rem; }

/* 亮色轮播控件 */
.carousel-control-prev, .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.28); border: 2px solid rgba(255,255,255,.6); border-radius: 50%; margin: 0 .75rem; opacity: 1; backdrop-filter: blur(4px); transition: background var(--ease); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: rgba(255,255,255,.50); }
.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); border: none; transition: all var(--ease); }
.carousel-indicators .active { background: #fff; width: 44px; }

/* ── 区块标题 ── */
.section-label    { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--coral); text-transform: uppercase; margin-bottom: .5rem; }
.section-title    { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--gray-900); margin-bottom: .6rem; padding-bottom: 0;}
.section-subtitle { color: var(--gray-700); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-divider  { width: 48px; height: 4px; background: var(--coral); border-radius: 2px; margin: .6rem auto 0; }

/* ── 套餐卡片 ── */
.plan-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem 2rem; border: 2px solid transparent; transition: all var(--ease); height: 100%; }
.plan-card:hover { border-color: var(--coral); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,85,42,.16); }
.plan-card.featured { border-color: var(--coral); background: linear-gradient(140deg, #fff 55%, var(--coral-pale)); }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--coral); }
.plan-price sup { font-size: 1.1rem; font-weight: 700; vertical-align: super; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.plan-feature { display: flex; align-items: flex-start; gap: .5rem; font-size: .93rem; padding: .4rem 0; color: var(--gray-700); }
.plan-feature i { color: var(--coral); flex-shrink: 0; margin-top: .14rem; }

/* ── 特性卡片 ── */
.feature-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-top: 3px solid transparent; transition: all var(--ease); height: 100%; }
.feature-card:hover { border-top-color: var(--coral); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; background: var(--coral-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--coral); font-size: 1.5rem; }
.feature-title { font-weight: 700; color: var(--gray-900); margin-bottom: .4rem; font-size: 1.05rem; }
.feature-desc  { font-size: .9rem; color: var(--gray-700); line-height: 1.65; margin: 0; }

/* ══════════════════════════════════════════════
   ✅ 修复3：Swiper 分页点与卡片间距
   padding-bottom 给底部留出 52px，
   .swiper-pagination 定位在 bottom:10px
══════════════════════════════════════════════ */
#templateSwiper {
    padding-bottom: 52px !important;
}
#templateSwiper .swiper-pagination {
    bottom: 10px !important;
}
#templateSwiper .swiper-pagination-bullet { background: var(--coral-mid); opacity: 1; width: 8px; height: 8px; }
#templateSwiper .swiper-pagination-bullet-active { background: var(--coral); width: 24px; border-radius: 4px; }

.template-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--ease); height: 100%; display: flex; flex-direction: column; }
.template-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(232,85,42,.18); }
.template-card .img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/8; flex-shrink: 0; }
.template-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.template-card:hover .img-wrap img { transform: scale(1.06); }
.template-card .tag { position: absolute; top: .75rem; left: .75rem; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; padding: .18rem .55rem; border-radius: 6px; }
.template-card .card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.template-card .card-title { font-weight: 700; font-size: 1rem; color: var(--gray-900); margin-bottom: .3rem; }
.template-card .card-text  { font-size: .83rem; color: var(--gray-700); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.template-card .card-link  { font-size: .85rem; color: var(--coral); font-weight: 600; display: inline-flex; align-items: center; gap: .2rem; margin-top: .75rem; }
.template-card .card-link:hover { color: var(--coral-dark); }

/* ══════════════════════════════════════════════
   ✅ 修复4：独立保留建站素材区块 + Tab
══════════════════════════════════════════════ */
.material-tabs { border-bottom: 2px solid var(--coral-mid); margin-bottom: 0; }
.material-tabs .nav-link { color: var(--gray-700); font-weight: 600; font-size: .95rem; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: .6rem 1.25rem; transition: all var(--ease); border-radius: 0; background: transparent; }
.material-tabs .nav-link:hover { color: var(--coral); }
.material-tabs .nav-link.active { color: var(--coral); border-bottom-color: var(--coral); }

.material-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--ease); height: 100%; display: flex; flex-direction: column; }
.material-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(232,85,42,.15); }
.material-card .img-wrap { aspect-ratio: 16/8; overflow: hidden; flex-shrink: 0; }
.material-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.material-card:hover .img-wrap img { transform: scale(1.06); }
.material-card .card-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.material-card .card-title { font-weight: 700; font-size: .95rem; color: var(--gray-900); margin-bottom: .3rem; }
.material-card .card-text  { font-size: .8rem; color: var(--gray-700); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.material-card .card-link  { font-size: .82rem; color: var(--coral); font-weight: 600; display: inline-flex; align-items: center; gap: .2rem; margin-top: .6rem; }

/* ── EEAT（珊瑚渐变，与 Hero 风格一致） ── */
.eeat-section { background: linear-gradient(135deg, var(--coral) 0%, #D44520 100%); padding: 5rem 0; }
.eeat-stat { text-align: center; padding: 1.5rem 1rem; }
.eeat-stat .num   { font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; }
.eeat-stat .unit  { font-size: 1.2rem; font-weight: 700; }
.eeat-stat .label { font-size: .85rem; color: rgba(255,255,255,.72); margin-top: .4rem; }
.eeat-card { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1.75rem; transition: background var(--ease); }
.eeat-card:hover { background: rgba(255,255,255,.22); }

/* ── FAQ ── */
.faq-section { background: var(--gray-100); }
.accordion-item { border: none; border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.accordion-button { font-weight: 600; color: var(--gray-900); background: #fff; border-radius: var(--radius) !important; }
.accordion-button:not(.collapsed) { color: var(--coral); background: var(--coral-pale); box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(38%) sepia(82%) saturate(760%) hue-rotate(354deg); }
.accordion-body { background: #fff; color: var(--gray-700); font-size: .94rem; line-height: 1.75; }

/* ── 客户评价 ── */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-left: 4px solid var(--coral); height: 100%; }
.testimonial-text { font-size: .95rem; color: var(--gray-700); line-height: 1.75; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--coral-pale); display: flex; align-items: center; justify-content: center; color: var(--coral); font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.testimonial-role { font-size: .78rem; color: var(--gray-400); }

/* ══════════════════════════════════════════════
   ✅ 修复5：客户 Logo 横向无限自动轮播（CSS Marquee）
   复制两份，translate -50% 实现无缝循环
══════════════════════════════════════════════ */
.logo-marquee-wrap { overflow: hidden; }
.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: logo-run 24s linear infinite;
}
.logo-marquee-track:hover { animation-play-state: paused; }

@keyframes logo-run {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    width: 160px; height: 72px;
    margin: 0 1.25rem;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 10px;
    padding: .75rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    filter: grayscale(60%) opacity(.65);
    transition: all var(--ease);
}
.logo-item:hover { filter: none; box-shadow: 0 6px 20px rgba(232,85,42,.18); transform: translateY(-2px); }
.logo-item img { max-width: 100%; max-height: 40px; object-fit: contain; }

/* ── 资讯 ── */
.news-item { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); display: flex; gap: 1.1rem; align-items: flex-start; transition: all var(--ease); }
.news-item:hover { transform: translateX(4px); box-shadow: 0 8px 32px rgba(232,85,42,.12); }
.news-item { padding: 1.4rem 1.4rem 1.4rem 1.1rem; border-left: 4px solid var(--coral); }
.news-tag-date { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--gray-400); margin-bottom: .45rem; }
.news-tag-date i { color: var(--coral); font-size: .8rem; }
.news-title { font-weight: 700; font-size: .95rem; color: var(--gray-900); margin-bottom: .3rem; line-height: 1.5; }
.news-title:hover { color: var(--coral); }
.news-excerpt { font-size: .82rem; color: var(--gray-700); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%); border-radius: var(--radius); padding: 4rem 2.5rem; position: relative; overflow: hidden; }
.cta-banner::before { content:''; position:absolute; top:-60px; right:-60px; width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,.07); }
.cta-banner::after  { content:''; position:absolute; bottom:-80px; left:20%; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,.05); }

/* ── About ── */
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 48px rgba(232,85,42,.18); border: 3px solid rgba(232,85,42,.15); }
.about-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ── 滚动动画 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

.bg-coral-pale { background: var(--coral-pale); }
.text-coral { color: var(--coral); }