:root {
    color-scheme: dark;
    --ink: #f7fbff;
    --muted: #b9c4d0;
    --dim: #7c8a98;
    --line: rgba(255, 255, 255, 0.14);
    --panel: rgba(9, 18, 29, 0.76);
    --deep: #061019;
    --deep-2: #0b1824;
    --green: #18c98d;
    --green-2: #11a978;
    --blue: #2d7ff9;
    --violet: #7a5cff;
    --amber: #f3ad3e;
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--deep);
    overflow-x: hidden;
}

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

.topbar {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding: 0 56px;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 12, 20, 0.84);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(24, 201, 141, 0.55);
    border-radius: 50%;
    background: #0c2b2b;
    color: #7af0c6;
    font-size: 12px;
    letter-spacing: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 14px;
}

.nav a:hover,
.top-action:hover {
    color: #ffffff;
}

.top-action,
.primary-action,
.secondary-action,
.plan-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 700;
    white-space: nowrap;
}

.top-action,
.primary-action {
    border: 1px solid rgba(24, 201, 141, 0.7);
    background: #16b982;
    color: #02110c;
    box-shadow: 0 14px 34px rgba(24, 201, 141, 0.26);
}

.secondary-action,
.plan-action {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(780px, calc(100vh - 88px));
    padding: 132px 56px 72px;
    overflow: hidden;
    isolation: isolate;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(4, 12, 20, 0.98) 0%, rgba(4, 12, 20, 0.84) 34%, rgba(4, 12, 20, 0.18) 66%, rgba(4, 12, 20, 0.68) 100%),
        linear-gradient(180deg, rgba(4, 12, 20, 0.12) 0%, rgba(4, 12, 20, 0.68) 100%),
        url("/assets/product-dashboard.png");
    background-position: center right, center, center right;
    background-size: cover, cover, min(72vw, 1120px) auto;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 16, 25, 0) 0%, #f6f9fc 100%);
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #66e8bd;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.eyebrow.dark {
    color: var(--green-2);
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1,
h2 {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(46px, 6vw, 82px);
    line-height: 1.05;
}

h1 span {
    display: block;
}

.hero-copy {
    max-width: 650px;
    margin: 24px 0 0;
    color: #dbe6f0;
    font-size: 20px;
    line-height: 1.8;
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
    color: #c7d3df;
    font-size: 14px;
}

.trust-row span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    vertical-align: 1px;
}

.section {
    padding: 72px 56px;
}

.light-section {
    color: #17202a;
    background: #f6f9fc;
}

.section-head {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head h2,
.product-copy h2,
.download-band h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.18;
}

.section-head p,
.product-copy p,
.download-band p {
    color: #5f6f80;
    font-size: 16px;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card,
.plan-card {
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(16, 33, 54, 0.08);
}

.feature-card {
    min-height: 236px;
    padding: 22px;
}

.feature-icon {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #eef7ff;
    color: var(--blue);
    font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
    color: var(--violet);
    background: #f2f0ff;
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    color: #b36f10;
    background: #fff5e4;
}

.feature-card h3,
.plan-card h3 {
    margin: 18px 0 8px;
    font-size: 19px;
}

.feature-card p,
.plan-card p,
.plan-card li {
    color: #657486;
    line-height: 1.7;
}

.product-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.58fr) minmax(520px, 1fr);
    align-items: center;
    gap: 34px;
    padding: 76px 56px;
    background: #07131f;
}

.product-copy {
    max-width: 560px;
}

.product-copy p {
    color: #bdcad5;
}

.screenshot-frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #0a1420;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

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

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    padding: 26px;
}

.plan-card.highlighted {
    border-color: var(--green);
    box-shadow: 0 24px 58px rgba(24, 201, 141, 0.18);
}

.ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 8px;
    background: #e6fff4;
    color: #0f9368;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.plan-sub {
    margin: 0 0 18px;
}

.price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    color: #111827;
    font-size: 44px;
    font-weight: 900;
}

.price span {
    margin-top: 9px;
    font-size: 18px;
}

.period {
    margin: 2px 0 20px;
    font-weight: 800;
}

.plan-card ul {
    min-height: 136px;
    margin: 0;
    padding: 0 0 0 18px;
}

.plan-action {
    width: 100%;
    margin-top: 22px;
    color: #17202a;
    background: #f5f8fb;
}

.plan-action.primary {
    border-color: var(--green);
    background: var(--green);
    color: #03140d;
}

.addon {
    max-width: 980px;
    margin: 24px auto 0;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #ffffff;
    padding: 18px 22px;
    color: #435264;
    text-align: center;
}

.download-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0;
    padding: 54px 56px;
    background: #07131f;
}

.download-band > div:first-child {
    max-width: 760px;
}

.download-band p {
    color: #c2ced9;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 56px;
    border-top: 1px solid var(--line);
    background: #030b12;
    color: #d7e0e8;
}

.footer p {
    margin: 8px 0 0;
    color: #8fa0af;
}

.footer div:last-child {
    display: grid;
    gap: 8px;
    text-align: right;
}

.footer a {
    color: #66e8bd;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .topbar {
        padding: 0 28px;
    }

    .nav {
        gap: 16px;
    }

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

    .product-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .topbar {
        position: absolute;
        min-height: 64px;
        padding: 0 18px;
    }

    .brand {
        font-size: 15px;
    }

    .nav {
        display: none;
    }

    .top-action {
        display: none;
    }

    .hero {
        min-height: 82vh;
        padding: 104px 20px 56px;
    }

    .hero-backdrop {
        background-image:
            linear-gradient(180deg, rgba(4, 12, 20, 0.9) 0%, rgba(4, 12, 20, 0.58) 48%, rgba(4, 12, 20, 0.95) 100%),
            url("/assets/product-dashboard.png");
        background-position: center, center top 72px;
        background-size: cover, 1120px auto;
    }

    h1 {
        max-width: calc(100vw - 40px);
        font-size: clamp(34px, 10vw, 42px);
        word-break: break-all;
    }

    .hero-copy {
        max-width: calc(100vw - 40px);
        font-size: 17px;
    }

    .section-head h2,
    .product-copy h2,
    .download-band h2 {
        max-width: calc(100vw - 40px);
        font-size: 26px;
        word-break: break-all;
    }

    .hero-content {
        max-width: 100%;
    }

    .section,
    .product-section,
    .download-band,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .download-band,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .primary-action,
    .secondary-action {
        width: 100%;
    }

    .footer div:last-child {
        text-align: left;
    }
}
