/* 懒人云·企微群发 —— 全站样式（现代极简 SaaS） */

:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-section: #fafbfc;
    --border: #e5e7eb;
    --border-soft: #f1f5f9;
    --text: #0f172a;
    --text-soft: #64748b;
    --text-mute: #94a3b8;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-soft: #dbeafe;
    --success: #10b981;
    --warning: #f59e0b;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);

    --container: 1200px;
    --nav-h: 64px;

    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    margin: 0 0 var(--space-4);
    line-height: 1.2;
    color: var(--text);
    font-weight: 600;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 var(--space-4);
    color: var(--text-soft);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-strong);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ============ 导航 ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
}

.nav-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nav-toggle:hover {
    background: var(--bg-soft);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px auto;
    transition: transform var(--transition);
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-strong);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--text);
    color: var(--text);
    background: var(--bg-soft);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* ============ 区块 ============ */
section {
    padding: var(--space-9) 0;
}

section.tight {
    padding: var(--space-8) 0;
}

.section-soft {
    background: var(--bg-section);
}

.section-head {
    text-align: center;
    margin-bottom: var(--space-8);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.section-head h2 {
    margin-bottom: var(--space-3);
}

.section-head p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
}

/* ============ Hero ============ */
.hero {
    padding: var(--space-9) 0 var(--space-9);
    text-align: center;
    background:
        radial-gradient(ellipse at top, var(--accent-soft) 0%, transparent 50%),
        var(--bg);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: var(--space-5);
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto var(--space-5);
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto var(--space-6);
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: var(--space-5);
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-mute);
}

.hero-meta span::before {
    content: "✓";
    color: var(--success);
    margin-right: 6px;
    font-weight: 700;
}

/* ============ 网格 / 卡片 ============ */
.grid {
    display: grid;
    gap: var(--space-5);
}

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

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

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    transition: all var(--transition);
}

.card-hover:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow);
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: var(--space-4);
}

.card h3 {
    margin-bottom: var(--space-2);
    font-size: 18px;
}

.card p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 0;
}

.feature-list li {
    color: var(--text-soft);
    font-size: 14px;
    padding-left: 22px;
    position: relative;
    margin-bottom: var(--space-2);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ============ 价格 ============ */
.pricing-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: var(--shadow);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.price-badge.green {
    background: var(--success);
}

.price-head h3 {
    font-size: 16px;
    color: var(--text-soft);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--space-4);
}

.price-amount .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.price-amount .number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-amount .period {
    color: var(--text-mute);
    font-size: 15px;
}

.price-desc {
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: var(--space-5);
    min-height: 42px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    flex: 1;
}

.price-features li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.price-card .btn {
    width: 100%;
}

/* ============ 场景 ============ */
.scenario {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-4);
    align-items: start;
    padding: var(--space-5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: all var(--transition);
}

.scenario:hover {
    border-color: var(--accent);
    background: var(--bg);
}

.scenario-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-soft);
    line-height: 1;
}

.scenario h4 {
    margin: 0 0 var(--space-2);
    font-size: 17px;
    color: var(--text);
}

.scenario p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

/* ============ 流程步骤 ============ */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--space-5);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--border-soft);
    counter-increment: step;
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step h3 {
    margin: 4px 0 var(--space-3);
    font-size: 22px;
}

.step p {
    font-size: 15px;
}

.step code,
.step pre {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    color: var(--text);
}

.step code {
    padding: 2px 6px;
}

.step pre {
    padding: var(--space-4);
    overflow-x: auto;
    margin: var(--space-3) 0;
    line-height: 1.6;
}

/* ============ FAQ ============ */
.faq {
    max-width: 720px;
    margin: 0 auto;
}

.faq details {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-5);
    margin-bottom: var(--space-3);
    transition: border-color var(--transition);
}

.faq details[open] {
    border-color: var(--accent);
}

.faq summary {
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    font-size: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--accent);
    font-size: 22px;
    font-weight: 300;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    margin-top: var(--space-3);
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 15px;
}

/* ============ 联系页布局 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0 0;
}

.contact-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-soft);
    align-items: start;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .label {
    color: var(--text-mute);
    font-size: 13px;
    margin-bottom: 2px;
}

.contact-list .value {
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.qr-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-5);
    text-align: center;
    margin-top: var(--space-5);
}

.qr-card img {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-3);
    border-radius: var(--radius-sm);
}

.qr-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
}

/* ============ 表单 ============ */
.form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
}

.field {
    margin-bottom: var(--space-4);
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    font: inherit;
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
    min-height: 96px;
    resize: vertical;
    font-family: inherit;
}

.field .hint {
    color: var(--text-mute);
    font-size: 13px;
    margin-top: 4px;
}

.thank-you {
    text-align: center;
    padding: var(--space-5) 0;
}

.thank-you .icon-big {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: var(--space-4);
}

.thank-you img {
    width: 200px;
    margin: var(--space-4) auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
}

/* ============ 底部 CTA 区块 ============ */
.cta-band {
    background: var(--text);
    color: #fff;
    padding: var(--space-8) 0;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: var(--space-4);
}

.cta-band p {
    color: #cbd5e1;
    max-width: 540px;
    margin: 0 auto var(--space-5);
    font-size: 17px;
}

.cta-band .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ============ Footer ============ */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    padding: var(--space-7) 0 var(--space-5);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer h4 {
    font-size: 13px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: var(--space-2);
}

.footer a {
    color: var(--text-soft);
    font-size: 14px;
}

.footer a:hover {
    color: var(--text);
}

.footer-brand p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--text-mute);
}

.footer-bottom a {
    color: var(--text-mute);
    margin-right: var(--space-4);
}

.footer-bottom a:hover {
    color: var(--text-soft);
}

/* ============ 404 ============ */
.notfound {
    min-height: calc(100vh - var(--nav-h) - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-7) var(--space-5);
}

.notfound .big {
    font-size: 96px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: var(--space-4);
}

/* ============ 视觉小占位（截图） ============ */
.shot {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.shot::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 49.5%, rgba(15, 23, 42, 0.04) 50%, transparent 50.5%) 0 0 / 100% 32px;
}

.shot span {
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 13px;
}

/* 真实后台截图：完整展示不裁切，带边框与阴影 */
.shot-img {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: var(--bg);
}

.shot-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ 常见问题 FAQ ============ */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    margin-bottom: 12px;
    padding: 0 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 28px 18px 0;
    font-weight: 600;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-mute);
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    margin: 0 0 18px;
    color: var(--text-mute);
    line-height: 1.7;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    section {
        padding: var(--space-7) 0;
    }
    .hero {
        padding: var(--space-7) 0;
    }
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .nav-links,
    .nav-cta .btn-ghost {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: var(--space-4) var(--space-5);
        gap: var(--space-3);
        align-items: stretch;
    }
    .nav-links.open a {
        padding: var(--space-2) 0;
        font-size: 16px;
    }
    .hero-ctas .btn,
    .nav-cta .btn {
        width: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .step {
        grid-template-columns: 48px 1fr;
        gap: var(--space-4);
    }
    .scenario {
        grid-template-columns: 60px 1fr;
    }
    .price-card.featured {
        order: -1;
    }
    .notfound .big {
        font-size: 64px;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
