/* ==========================================================================
   360系统急救箱 落地页样式
   说明：所有 class 名与原版保持一致，如想用回你原来的 index.css 直接覆盖即可。
   新增 class：.cta-note / .hero-note / .footer-copy / .footer-icp
   ========================================================================== */

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

:root {
    --green-dark:  #2E7D32;
    --green:       #43A047;
    --green-light: #E8F5E9;
    --blue:        #1E88E5;
    --amber:       #F59E0B;
    --text:        #1F2328;
    --text-mid:    #555B63;
    --text-mute:   #8A9199;
    --line:        #E8EBEE;
    --bg-soft:     #F7F9F8;
    --radius:      14px;
    --shadow-sm:   0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md:   0 4px 16px rgba(16, 24, 40, .08);
    --shadow-lg:   0 12px 40px rgba(16, 24, 40, .12);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }

/* ---------- 导航 ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; font-weight: 700; letter-spacing: -.2px;
}
.nav-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo em { font-style: normal; color: var(--green-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 15px; color: var(--text-mid);
    transition: color .18s;
}
.nav-links a:hover { color: var(--green-dark); }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1000px 500px at 80% -10%, var(--green-light) 0%, transparent 65%),
        linear-gradient(180deg, #FBFDFB 0%, #fff 100%);
    padding: 72px 0 88px;
    overflow: hidden;
}
.hero-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 100px;
    background: #fff; border: 1px solid var(--line);
    font-size: 13px; color: var(--text-mid); font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
/* h1 拆两行：第一行放产品名（SEO 关键词），第二行是标语视觉主体 */
.hero-text h1 {
    margin: 20px 0 18px;
    letter-spacing: -1px;
}
.hero-text h1 .h1-name {
    display: block;
    font-size: clamp(19px, 2.1vw, 23px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--green-dark);
    margin-bottom: 7px;
}
.hero-text h1 .h1-slogan {
    display: block;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.2;
}
.hero-text h1 .h1-slogan em {
    font-style: normal;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ⚠️ 注意 :not(.hero-note) —— 下面的 .hero-note 也是 .hero-text 的直接子 <p>，
   不加这个排除会被这条 17px 规则覆盖掉（特异性 0,1,1 > 0,1,0） */
.hero-text > p:not(.hero-note) {
    font-size: 17px; color: var(--text-mid); max-width: 480px; margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 下载按钮下方的告知条（黄色底框 + 小字号） */
.hero-note {
    display: flex; align-items: flex-start; gap: 6px;
    margin: 14px 0 0;
    padding: 9px 13px;
    background: #FFF9E8;
    border: 1px solid #FFE7A3;
    border-left: 3px solid #F59E0B;
    border-radius: 8px;
    font-size: 12.5px; line-height: 1.6; color: #8A6100;
}
.hero-note svg {
    width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: #D97706;
}

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 10px;
    font-size: 16px; font-weight: 600; cursor: pointer;
    transition: transform .16s, box-shadow .16s, background .16s;
    white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-green {
    color: #fff;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    box-shadow: 0 4px 14px rgba(46, 125, 50, .28);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46, 125, 50, .34); }
.btn-outline {
    color: var(--green-dark); background: #fff;
    border: 1.5px solid #C8E6C9;
}
.btn-outline:hover { background: var(--green-light); border-color: var(--green); }

.hero-meta {
    display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap;
}
.hero-meta-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; color: var(--text-mute);
}
.hero-meta-item svg { width: 16px; height: 16px; opacity: .65; }

/* Hero 右侧视觉 */
.hero-visual { position: relative; }
.screenshot-wrap {
    max-width: 500px;              /* = 原图宽度，只缩不放 → 保证清晰不模糊 */
    margin: 0 auto;
    border-radius: var(--radius); overflow: hidden;
    background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.screenshot-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 14px; background: #F4F6F5;
    border-bottom: 1px solid var(--line);
}
.screenshot-dot { width: 11px; height: 11px; border-radius: 50%; }
.screenshot-dot.r { background: #FF5F57; }
.screenshot-dot.y { background: #FEBC2E; }
.screenshot-dot.g { background: #28C840; }
.screenshot-bar span {
    margin-left: 8px; font-size: 12px; color: var(--text-mute);
}
.screenshot-wrap img {
    width: 100%; height: auto;     /* 按原图 500×308 等比渲染，不做任何拉伸 */
    display: block;
}

.float-tag {
    position: absolute;
    display: flex; align-items: center; gap: 9px;
    padding: 9px 15px 9px 9px; border-radius: 100px;
    background: #fff; box-shadow: var(--shadow-md);
    font-size: 13.5px; font-weight: 600; color: var(--text);
    white-space: nowrap;
}
.float-tag.t1 { top: -18px;  left: -26px; }
.float-tag.t2 { top: 46%;   right: -34px; }
.float-tag.t3 { bottom: -18px; left: 8%; }

.icon-circle {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-circle svg { width: 16px; height: 16px; }
.icon-circle.green { background: var(--green-light); color: var(--green-dark); }
.icon-circle.blue  { background: #E3F2FD; color: var(--blue); }
.icon-circle.amber { background: #FEF3C7; color: var(--amber); }

/* ---------- 数据条（细长卡片 + 图标） ---------- */
.stats {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
}
.stats-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.stat:hover {
    border-color: #C8E6C9;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.stat-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 20px; height: 20px; }
.stat:nth-child(1) .stat-icon { background: var(--green-light); color: var(--green-dark); }
.stat:nth-child(2) .stat-icon { background: #E3F2FD;           color: var(--blue); }
.stat:nth-child(3) .stat-icon { background: #FEF3C7;           color: #D97706; }
.stat:nth-child(4) .stat-icon { background: #F3E5F5;           color: #8E24AA; }

.stat-body { min-width: 0; }
.stat-num {
    font-size: 19px; font-weight: 800; line-height: 1.15;
    letter-spacing: -.4px; color: var(--text);
}
.stat-num span { font-size: 13px; font-weight: 700; margin-left: 1px; color: var(--green-dark); }
.stat:nth-child(2) .stat-num span { color: var(--blue); }
.stat:nth-child(3) .stat-num span { color: #D97706; }
.stat:nth-child(4) .stat-num span { color: #8E24AA; }
.stat-label { font-size: 12.5px; color: var(--text-mute); line-height: 1.45; margin-top: 3px; }

/* ---------- 通用区块头 ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.6px; }
.section-head p { color: var(--text-mid); margin-top: 14px; font-size: 16px; }

/* ---------- 功能特性 ---------- */
.features { padding: 88px 0; }
.features-grid {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.feat-card {
    display: flex; gap: 18px; padding: 28px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #C8E6C9;
}
.feat-icon {
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feat-icon svg { width: 24px; height: 24px; }
.feat-icon.g1 { background: var(--green-light); color: var(--green-dark); }
.feat-icon.g2 { background: #E3F2FD;           color: var(--blue); }
.feat-icon.g3 { background: #FFF3E0;           color: #EF6C00; }
.feat-icon.g4 { background: #F3E5F5;           color: #8E24AA; }

.feat-body h3 { font-size: 18px; margin-bottom: 8px; }
.feat-body p { font-size: 14.5px; color: var(--text-mid); }
.tag {
    display: inline-block; margin-top: 14px;
    padding: 4px 11px; border-radius: 6px;
    background: var(--bg-soft); border: 1px solid var(--line);
    font-size: 12.5px; color: var(--text-mute);
}

/* ---------- 使用方法 ---------- */
.showcase { background: var(--bg-soft); padding: 88px 0; }
.showcase-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center;
}
.showcase-content h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.6px; }
.showcase-content > p { color: var(--text-mid); margin: 14px 0 30px; }
.step-tabs { display: flex; flex-direction: column; gap: 10px; }
.step-tab {
    display: flex; gap: 15px; padding: 16px 18px;
    border-radius: 12px; cursor: pointer;
    border: 1.5px solid transparent; background: transparent;
    transition: background .18s, border-color .18s;
}
.step-tab:hover { background: rgba(255, 255, 255, .7); }
.step-tab.active {
    background: #fff; border-color: #C8E6C9; box-shadow: var(--shadow-sm);
}
.step-tab-num {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--line); color: var(--text-mute);
    font-size: 14px; font-weight: 700;
    transition: background .18s, color .18s;
}
.step-tab.active .step-tab-num { background: var(--green); color: #fff; }
.step-tab-body h4 { font-size: 15.5px; margin-bottom: 3px; }
.step-tab-body p { font-size: 13.5px; color: var(--text-mute); }

.showcase-viewport {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.viewport-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 14px; background: #F4F6F5; border-bottom: 1px solid var(--line);
}
.viewport-dot { width: 11px; height: 11px; border-radius: 50%; }
.viewport-dot.r { background: #FF5F57; }
.viewport-dot.y { background: #FEBC2E; }
.viewport-dot.g { background: #28C840; }
.viewport-bar span { margin-left: 8px; font-size: 12px; color: var(--text-mute); }

#viewport > img {
    width: 100%; height: auto;
    aspect-ratio: 640 / 445;       /* 三张原图尺寸略有差异，锁死比例避免切换时画面跳动 */
    object-fit: contain;           /* contain：完整显示原图，不裁切不拉伸 */
    background: #F7F9F8;
    display: none;
}
#viewport > img.visible { display: block; }

.viewport-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
    padding: 7px 12px; border-radius: 100px;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}
.viewport-dot-indicator {
    width: 8px; height: 8px; border-radius: 50%;
    background: #CFD6DA; cursor: pointer; transition: all .2s;
}
.viewport-dot-indicator.active { background: var(--green); width: 20px; border-radius: 4px; }

/* ---------- 适用场景 ---------- */
.scenarios { padding: 88px 0; }
.scenarios-grid {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.scen-card {
    padding: 28px 24px; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s;
}
.scen-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scen-icon {
    width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green-light); color: var(--green-dark);
}
.scen-icon svg { width: 23px; height: 23px; }
.scen-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.scen-card p { font-size: 14px; color: var(--text-mid); }

/* ---------- 底部 CTA ---------- */
.cta {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    padding: 76px 24px; text-align: center; color: #fff;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.6px; }
.cta > p { opacity: .9; margin: 14px 0 32px; font-size: 16px; }
.btn-white {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 15px 32px; border-radius: 10px;
    background: #fff; color: var(--green-dark);
    font-size: 16.5px; font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
    transition: transform .16s, box-shadow .16s;
}
.btn-white svg { width: 20px; height: 20px; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.cta-note { font-size: 13px; opacity: .78; margin-top: 18px !important; }

/* ---------- 页脚 ---------- */
footer {
    max-width: 1180px; margin: 0 auto;
    padding: 52px 24px 40px;
    border-top: 1px solid var(--line);
}
.footer-text {
    font-size: 13.5px; color: var(--text-mute); line-height: 1.9;
    max-width: 900px;
}
.footer-icp { margin-top: 20px; font-size: 13px; color: var(--text-mute); }
.footer-icp a:hover { color: var(--green-dark); }
.footer-links { margin-top: 18px; font-size: 14px; color: var(--text-mute); }
.footer-links a { color: var(--green-dark); }
.footer-links a:hover { text-decoration: underline; }

.footer-copy {
    margin-top: 16px; padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px; color: var(--text-mute);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner      { grid-template-columns: 1fr; gap: 52px; }
    .hero-text > p:not(.hero-note) { max-width: none; }
    .hero-visual     { max-width: 500px; margin: 0 auto; width: 100%; }
    .float-tag.t1    { left: 0; }
    .float-tag.t2    { right: -12px; }
    .showcase-inner  { grid-template-columns: 1fr; gap: 40px; }
    .scenarios-grid  { grid-template-columns: repeat(2, 1fr); }
    .stats-inner     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links       { display: none; }
    .nav-inner       { height: 58px; padding: 0 16px; }
    .hero            { padding: 48px 0 64px; }
    .hero-inner,
    .features-grid,
    .scenarios-grid,
    .showcase-inner,
    .stats-inner,
    footer            { padding-left: 16px; padding-right: 16px; }
    .hero-actions     { flex-direction: column; align-items: stretch; }
    .btn              { justify-content: center; }
    .hero-meta        { gap: 14px 20px; margin-top: 26px; }
    .float-tag        { display: none; }
    .stats            { padding: 18px 0; }
    .stats-inner      { grid-template-columns: 1fr; gap: 10px; }
    .stat             { padding: 12px 15px; }
    .features,
    .scenarios        { padding: 56px 0; }
    .showcase         { padding: 56px 0; }
    .features-grid,
    .scenarios-grid   { grid-template-columns: 1fr; }
    .section-head     { margin-bottom: 34px; }
    .feat-card        { padding: 22px; gap: 15px; }
    .cta              { padding: 56px 16px; }
    .footer-text      { font-size: 13px; }
}

@media (max-width: 400px) {
    .hero-text h1 .h1-slogan { font-size: 30px; }
    .hero-text h1 .h1-name   { font-size: 17px; }
    .btn              { padding: 13px 20px; font-size: 15px; }
}

/* 尊重用户的"减少动效"设置 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
