/* ============================================================
   点可云进销存 官网
   主色：#ff7a0b（活力橙）  辅助：#ff752a / #ffe3d7
   ============================================================ */
:root {
    --brand: #ff7a0b;
    --brand-deep: #ff752a;
    --brand-bg: #ffe3d7;
    --brand-soft: #fff4ec;
    --ink: #1f2329;
    --muted: #6b7280;
    --line: #eceef1;
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(31, 35, 41, 0.08);
    --maxw: 1180px;
    --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用区块标题 ---------- */
.section-eyebrow {
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 700; letter-spacing: 1px; }
.section-sub { color: var(--muted); margin-top: 10px; }
.section-head { text-align: center; margin-bottom: 48px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(255, 122, 11, 0.35); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- 导航 ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(31, 35, 41, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-size: 18px; font-weight: 700; }
.site-nav { display: flex; gap: 34px; }
.site-nav a { font-size: 15px; color: var(--muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    padding: 170px 0 120px;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 11, 0.16), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(255, 117, 42, 0.12), transparent 60%),
        linear-gradient(160deg, #fff8f2 0%, #ffffff 55%, #fff4ec 100%);
    overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-eyebrow {
    display: inline-block;
    background: var(--brand-bg);
    color: var(--brand-deep);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.35; letter-spacing: 2px; }
.hero-desc { margin-top: 20px; color: var(--muted); font-size: 16px; max-width: 460px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; }

/* Hero 装饰 */
.hero-art { flex: 1; display: flex; justify-content: center; }
.hero-orbit { position: relative; width: 320px; height: 320px; }
.hero-orbit::before {
    content: "";
    position: absolute; inset: 0;
    border: 1.5px dashed rgba(255, 122, 11, 0.35);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}
.orbit-core {
    position: absolute; inset: 90px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
}
.orbit-core img { width: 60%; height: 60%; object-fit: contain; }
.orbit-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 4px 12px rgba(255, 122, 11, 0.5); }
.orbit-dot-1 { top: 8px; left: 60px; }
.orbit-dot-2 { bottom: 30px; right: 20px; background: var(--brand-deep); }
.orbit-dot-3 { top: 70px; right: 6px; width: 10px; height: 10px; background: #ffc49c; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 轮播 ---------- */
.swiper-section { padding: 100px 0; background: var(--bg); }
.swiper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.swiper-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slide {
    min-width: 100%;
    color: #fff;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}
.slide-1 { background: linear-gradient(120deg, #ff7a0b 0%, #ff9a3d 100%); }
.slide-2 { background: linear-gradient(120deg, #ff752a 0%, #ffb36b 100%); }
.slide-3 { background: linear-gradient(120deg, #f25c05 0%, #ff8a2a 100%); }
/* 轮播背景图（默认 SVG 占位，替换同名文件即可换成门店门头照） */
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 左下角渐变遮罩，保证门店名可读 */
.slide-mask { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 35, 41, 0.55) 0%, rgba(31, 35, 41, 0.15) 40%, transparent 60%); }
/* 门店名：图片左下角，小字号 */
.slide-body {
    position: absolute;
    left: 48px;
    bottom: 36px;
    z-index: 1;
    max-width: 72%;
}
.slide-title { font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: 1px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.swiper-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.9); color: var(--brand);
    border: 0; font-size: 26px; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.swiper-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.swiper-arrow.prev { left: 18px; }
.swiper-arrow.next { right: 18px; }
.swiper-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.swiper-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: all 0.25s; }
.swiper-dots button.active { width: 26px; background: #fff; }

/* ---------- 品牌故事 ---------- */
.story { padding: 100px 0; background: var(--bg-soft); }
.story-inner { display: flex; align-items: center; gap: 70px; }
.story-media {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
}
.story-media img { width: 100%; height: auto; }
.story-text { flex: 1; }
.story-text p { color: var(--muted); margin-top: 14px; }
.story-points { margin-top: 22px; list-style: none; }
.story-points li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); font-weight: 500; }
.story-points li::before {
    content: ""; position: absolute; left: 0; top: 16px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}

/* ---------- 核心功能 ---------- */
.features { padding: 100px 0; background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ico {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--brand-bg); color: var(--brand-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* ---------- 门店地图 ---------- */
.map-section { padding: 100px 0; background: var(--bg-soft); }
.map-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.map-canvas {
    position: relative;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e9eef3;
    box-shadow: var(--shadow);
}
.map-loading {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 14px;
    background: #e9eef3;
    z-index: 2;
}
.map-loading.hide { display: none; }
.map-list {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    max-height: 480px;
    overflow-y: auto;
}
.map-list-item { padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 10px; transition: background 0.2s; }
.map-list-item:last-child { border-bottom: 0; }
.map-list-item:hover { background: var(--brand-soft); }
.map-list-item .name { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.map-list-item .name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.map-list-item .meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.map-list-empty { color: var(--muted); text-align: center; padding: 40px 0; font-size: 14px; }

/* ---------- 招商加盟 ---------- */
.join { padding: 100px 0; background: var(--ink); color: #fff; }
.join .section-title { color: #fff; }
.join .section-sub { color: rgba(255, 255, 255, 0.6); }
.join-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.join-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: all 0.3s ease;
}
.join-card:hover { background: rgba(255, 122, 11, 0.12); border-color: rgba(255, 122, 11, 0.4); transform: translateY(-4px); }
.join-card h3 { font-size: 17px; margin-bottom: 10px; color: #fff; padding-left: 16px; position: relative; }
.join-card h3::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.join-card p { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.join-cta { margin-top: 44px; text-align: center; }
.join-cta p { margin-bottom: 20px; color: rgba(255, 255, 255, 0.7); font-size: 15px; }

/* ---------- 联系我们 ---------- */
.contact { padding: 100px 0; background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; margin-top: 26px; }
.contact-list li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.contact-list span { color: var(--muted); font-weight: 400; min-width: 84px; }
.contact-qr {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    text-align: center;
}
.contact-qr h3 { font-size: 20px; margin-bottom: 20px; }
.qr-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.qr-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
    width: 180px;
}
.qr-card img { width: 100%; border-radius: 8px; }
.qr-card figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.qr-tip { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); }
.footer-inner { padding: 34px 24px; text-align: center; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .hero-inner, .story-inner, .contact-inner { flex-direction: column; gap: 40px; }
    .hero { padding: 130px 0 80px; }
    .hero-title { font-size: 34px; }
    .hero-art { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .map-wrap { grid-template-columns: 1fr; }
    .map-canvas { height: 360px; }
    .story-media { flex: none; width: 220px; }
    .slide { min-height: 420px; }
    .slide-body { left: 24px; bottom: 20px; max-width: 82%; }
    .slide-title { font-size: 18px; }
    .section-title { font-size: 26px; }
    .join-grid { grid-template-columns: repeat(2, 1fr); }
    .site-nav {
        display: none;
        position: absolute; top: 68px; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
    .nav-toggle { display: block; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .join-grid { grid-template-columns: 1fr; }
}
