:root {
    --primary: #109484;
    --primary-dark: #0b6f65;
    --primary-soft: #ecfdf8;
    --accent: #f59e0b;
    --text: #1f2937;
    --muted: #667085;
    --line: #e5e7eb;
    --bg: #f7f9fb;
    --card: #ffffff;
    --radius: 8px;
    --shadow: 0 16px 38px rgba(16, 148, 132, 0.11);
    --header-height: 69px;
    --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    line-height: 1.7;
    letter-spacing: 0;
}

body.nav-lock {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.logo i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #fff;
    background: var(--primary);
}

.nav-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--primary);
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    color: #fff;
    background: var(--primary);
    outline: none;
}

.nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-menu a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.hero {
    padding: 76px 0 64px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(16, 148, 132, 0.92), rgba(37, 99, 235, 0.78)),
        url("../img/hero-smallbiz.png");
    background-size: cover;
    background-position: center;
}

.page-hero {
    padding: 56px 0;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero p {
    max-width: 800px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--primary);
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.btn:hover {
    color: var(--primary-dark);
}

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

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

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: transparent;
}

.btn-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.section {
    padding: 58px 0;
}

.section-light {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 30px;
    line-height: 1.25;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card,
.download-box,
.content-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    padding: 22px;
}

.card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: var(--radius);
    color: var(--primary);
    background: var(--primary-soft);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

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

.card:has(> i) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    row-gap: 4px;
}

.card:has(> i) i {
    grid-row: 1 / span 2;
    margin-bottom: 0;
}

.card:has(> i) h3 {
    margin: 0;
    line-height: 1.35;
}

.card:has(> i) p {
    grid-column: 2;
}

.download-area {
    background: #ecfdf8;
}

.download-box {
    padding: 30px;
    text-align: center;
}

.download-box h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.download-box p {
    max-width: 760px;
    margin: 0 auto 22px;
    color: var(--muted);
}

.meta {
    color: #8a94a6;
}

.content-panel {
    padding: 28px;
}

.content-panel h2,
.content-panel h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.content-panel h2:not(:first-child),
.content-panel h3:not(:first-child) {
    margin-top: 24px;
}

.content-panel p,
.content-panel li {
    color: var(--muted);
}

.content-panel a {
    color: var(--primary);
    font-weight: 700;
}

.content-panel ol {
    margin: 0;
    padding-left: 22px;
}

footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.78);
}

footer p {
    margin: 0;
    padding: 22px 0;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 960px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 65px;
    }

    .nav {
        min-height: 64px;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }

    .nav::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 25;
        visibility: hidden;
        background: rgba(17, 24, 39, 0.46);
        opacity: 0;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .nav.nav-open::before {
        visibility: visible;
        opacity: 1;
    }

    .logo {
        max-width: calc(100% - 58px);
        min-width: 0;
        overflow: hidden;
        font-size: 17px;
        text-overflow: ellipsis;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        position: relative;
        z-index: 35;
    }

    .nav.nav-open .nav-toggle {
        color: #fff;
        border-color: var(--primary);
        background: var(--primary);
    }

    .nav-menu {
        width: min(82vw, 300px);
        height: 100dvh;
        max-height: none;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 10px;
        padding: 78px 16px 20px;
        overflow-y: auto;
        visibility: hidden;
        background: #fff;
        border-left: 1px solid var(--line);
        box-shadow: -18px 0 38px rgba(17, 24, 39, 0.18);
        opacity: 1;
        transform: translateX(105%);
        transition: transform 0.24s ease, visibility 0.24s ease;
    }

    .nav.nav-open .nav-menu {
        visibility: visible;
        transform: translateX(0);
    }

    .nav-menu a {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        border: 1px solid var(--line);
        background: #fff;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .hero {
        padding: 48px 0;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }

}
