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

:root {
    --bg: #fff;
    --bg2: #f7f6f3;
    --bg3: #eeedea;
    --text: #1a1a1a;
    --text2: #555;
    --text3: #999;
    --green: #00875a;
    --green-bg: #e3fcef;
    --green-border: #abf5d1;
    --blue: #0052cc;
    --blue-bg: #deebff;
    --orange: #ff5630;
    --orange-bg: #fff0e6;
    --border: #e2e0dc;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06);
    --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --mono: 'JetBrains Mono', 'Menlo', monospace;
    --heading: 'Space Grotesk', 'Noto Sans SC', sans-serif
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

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

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

a:hover {
    text-decoration: underline
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px
}

#globe-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity .8s ease;
    background: radial-gradient(ellipse at 60% 35%, rgba(0, 135, 90, .04) 0%, transparent 55%)
}

#globe-bg canvas {
    display: block;
    width: 100%;
    height: 100%
}

section,
footer {
    position: relative;
    z-index: 1
}

.cur-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .3s;
    mix-blend-mode: difference
}

.cur-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 135, 90, .35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .3s, height .3s, border-color .3s, background .3s, opacity .3s
}

.cur-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--green);
    background: rgba(0, 135, 90, .04)
}

.cur-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%) scale(0);
    animation: cRipple .5s ease-out forwards
}

@keyframes cRipple {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0
    }
}

@media(max-width:768px) {

    .cur-dot,
    .cur-ring {
        display: none !important
    }

    body {
        cursor: auto
    }

    a,
    button,
    input {
        cursor: auto
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border .3s
}

.nav.scrolled {
    border-bottom-color: var(--border)
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-logo {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px
}

.nav-logo svg {
    width: 28px;
    height: 28px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none
}

.nav-links a {
    font-size: .875rem;
    color: var(--text2);
    font-weight: 500;
    transition: color .2s
}

.nav-links a:hover {
    color: var(--text);
    text-decoration: none
}

.nav-cta {
    padding: 8px 20px;
    background: var(--text);
    color: #fff !important;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s
}

.nav-cta:hover {
    opacity: .85;
    transform: translateY(-1px)
}

.nav-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer
}

@media(max-width:768px) {
    .nav-links {
        display: none
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 16px
    }

    .nav-menu {
        display: block
    }
}

.hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--green-bg) 0%, transparent 70%);
    pointer-events: none;
    opacity: .5
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    border-radius: 100px;
    font-size: .8rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 24px;
    position: relative
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

h1 {
    font-family: var(--heading);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    margin-bottom: 20px
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text2);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s
}

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 135, 90, .2)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 135, 90, .3);
    text-decoration: none
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border)
}

.btn-outline:hover {
    border-color: var(--text);
    text-decoration: none
}

.hero-visual {
    max-width: 860px;
    margin: 60px auto 0;
    position: relative
}

.hero-visual svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .06)
}

.section {
    padding: 100px 0
}

.section-alt {
    background: var(--bg2)
}

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px
}

.section-title {
    font-family: var(--heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px
}

.section-desc {
    color: var(--text2);
    max-width: 520px;
    line-height: 1.8;
    font-size: .95rem
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.stat {
    text-align: center;
    padding: 36px 20px
}

.stat-num {
    font-family: var(--heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1
}

.stat-suffix {
    font-size: 1.2rem;
    opacity: .6
}

.stat-label {
    font-size: .85rem;
    color: var(--text3);
    margin-top: 6px
}

@media(max-width:560px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 0
    }

    .stat {
        padding: 24px 16px;
        border-bottom: 1px solid var(--border)
    }

    .stat:last-child {
        border-bottom: none
    }
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.feature-row.reverse {
    direction: rtl
}

.feature-row.reverse>* {
    direction: ltr
}

.feature-text {
    padding: 20px 0
}

.feature-visual {
    position: relative
}

@media(max-width:768px) {

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr
    }

    .feature-row.reverse>* {
        direction: ltr
    }

    .feature-text {
        padding: 0
    }
}

.feature-visual-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
    overflow: hidden
}

.feature-highlights {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.feature-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--text2)
}

.feature-highlights li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px
}

.svg-illu {
    width: 100%;
    height: auto
}

.svg-illu text {
    font-family: 'JetBrains Mono', 'Noto Sans SC', monospace
}

.json-popup {
    opacity: 0;
    transform: translateY(-4px);
    animation: jsonPopIn .3s ease forwards
}

@keyframes jsonPopIn {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.compile-fill-anim {
    animation: compileGrow 2s cubic-bezier(.4, 0, .2, 1) forwards;
    animation-delay: 2s;
    transform-origin: left
}

@keyframes compileGrow {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes flowDash {
    to {
        stroke-dashoffset: 0
    }
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(440px)
    }
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px
}

.test-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px
}

.test-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px
}

.test-stars svg {
    width: 16px;
    height: 16px
}

.test-text {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic
}

.test-author {
    display: flex;
    align-items: center;
    gap: 10px
}

.test-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: var(--green)
}

.test-name {
    font-size: .85rem;
    font-weight: 600
}

.test-role {
    font-size: .75rem;
    color: var(--text3)
}

@media(max-width:560px) {
    .test-grid {
        grid-template-columns: 1fr
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px
}

.video-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all .2s
}

.video-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06)
}

.video-card svg {
    margin: 0 auto 16px
}

.video-card h3 {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px
}

.video-card p {
    font-size: .85rem;
    color: var(--text2)
}

@media(max-width:560px) {
    .video-grid {
        grid-template-columns: 1fr
    }
}

.community-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
    transition: all .2s
}

.community-btn:hover {
    border-color: var(--text);
    text-decoration: none
}

.community-btn svg {
    width: 18px;
    height: 18px
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* 原来是 1fr 1fr，删掉一个 */
    gap: 24px;
    max-width: 560px;
    /* 适当收窄，让卡片不显得太宽 */
    margin: 40px auto 0;
}

.pricing-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px
}

.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 4px 24px rgba(0, 135, 90, .08)
}

.pricing-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--green-bg);
    color: var(--green);
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px
}

.pricing-name {
    font-family: var(--heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px
}

.pricing-price {
    font-family: var(--heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px
}

.pricing-price span {
    font-size: .9rem;
    font-weight: 400;
    color: var(--text3)
}

.pricing-desc {
    font-size: .85rem;
    color: var(--text2);
    margin-bottom: 24px;
    line-height: 1.6
}

.pricing-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--text2)
}

.pricing-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.pricing-list .check {
    color: var(--green)
}

.email-row {
    display: flex;
    gap: 8px
}

.email-row input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: .85rem;
    outline: none;
    transition: border .2s
}

.email-row input:focus {
    border-color: var(--green)
}

.email-row button {
    padding: 12px 18px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap
}

.email-row button:hover {
    opacity: .9
}

.progress-wrap {
    margin-top: 16px
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text3);
    margin-bottom: 6px
}

.progress-track {
    height: 5px;
    background: var(--bg3);
    border-radius: 3px;
    overflow: hidden
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--green);
    border-radius: 3px;
    transition: width 2s cubic-bezier(.4, 0, .2, 1)
}

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border)
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px
}

.footer-logo {
    font-family: var(--heading);
    font-weight: 700;
    font-size: .95rem
}

.footer-copy {
    font-size: .78rem;
    color: var(--text3)
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none
}

.footer-links a {
    font-size: .78rem;
    color: var(--text3)
}

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

@media(max-width:560px) {
    .footer-inner {
        flex-direction: column;
        text-align: center
    }
}

.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease
}

.anim.show {
    opacity: 1;
    transform: translateY(0)
}

.anim-delay-1 {
    transition-delay: .1s
}

.anim-delay-2 {
    transition-delay: .2s
}

.anim-delay-3 {
    transition-delay: .3s
}

.pricing-card .email-row {
    flex-direction: column;
    gap: 12px;
}

.pricing-card .email-row input {
    width: 100%;
}

.pricing-card .email-row button {
    width: 100%;
    justify-content: center;
}

.email-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.email-col input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: .85rem;
    outline: none;
    transition: border .2s;
    box-sizing: border-box;
}

.email-col input:focus {
    border-color: var(--green);
}

.email-col button {
    width: 100%;
    padding: 12px 18px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    box-sizing: border-box;
}

.email-col button:hover {
    opacity: .9;
}

@media (max-width: 768px) {
    #globe-bg {
        background: radial-gradient(ellipse at 50% 30%, rgba(0, 135, 90, .06) 0%, transparent 40%);
        opacity: 0.6 !important;
    }
}