@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;800;900&display=swap');

.public-page {
    --aurora-ink: #f8fbff;
    --aurora-muted: #aab8ca;
    --aurora-soft: #d8e7f5;
    --aurora-line: rgba(160, 178, 205, 0.16);
    --aurora-panel: rgba(8, 15, 27, 0.78);
    --aurora-panel-strong: rgba(11, 22, 39, 0.92);
    --aurora-cyan: #6ee7f9;
    --aurora-mint: #5ee6b7;
    --aurora-blue: #6da8ff;
    --aurora-amber: #f7c768;
    --aurora-rose: #fb7185;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.94), rgba(8, 13, 26, 0.92) 46%, rgba(3, 18, 25, 0.94)),
        #020617;
    color: var(--aurora-ink);
    font-family: 'IBM Plex Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.public-page h1,
.public-page h2,
.public-page h3,
.public-page h4,
.public-page strong {
    font-family: inherit;
    letter-spacing: 0;
}

.public-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.landing-header.scrolled {
    border-bottom-color: rgba(15, 23, 42, 0.82);
    background: rgba(3, 7, 18, 0.76);
    box-shadow:
        0 18px 42px rgba(2, 6, 23, 0.26),
        inset 0 -1px 0 rgba(94, 230, 183, 0.035);
    backdrop-filter: blur(18px);
}

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

.nav-brand,
.footer-brand a {
    color: var(--aurora-ink);
    text-decoration: none;
}

.nav-brand .aurora-brand__icon-shell {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.nav-brand .aurora-brand__wordmark {
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(160, 178, 205, 0.14);
    border-radius: 999px;
    background: rgba(7, 12, 24, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(216, 231, 245, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #041016;
    background: linear-gradient(135deg, #89f7e7, #7cb5ff 54%, #f7c768);
    box-shadow: 0 16px 40px rgba(109, 168, 255, 0.24);
}

.btn-secondary {
    color: var(--aurora-ink);
    border-color: rgba(160, 178, 205, 0.18);
    background: rgba(12, 21, 37, 0.76);
}

.btn-dashboard {
    color: #04111c;
    border-color: rgba(45, 212, 191, 0.18);
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    box-shadow: 0 14px 28px rgba(20, 184, 166, 0.24);
}

.btn-dashboard:hover {
    border-color: rgba(167, 243, 208, 0.34);
    box-shadow: 0 18px 34px rgba(20, 184, 166, 0.3);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 158px 0 92px;
    overflow: hidden;
}

.hero-stage {
    position: absolute;
    inset: 0;
    min-height: 720px;
    pointer-events: none;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 0.62) 42%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.92));
}

.hero-stage__grid {
    position: absolute;
    inset: -10% -4% 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(120deg, transparent 0 46%, rgba(110, 231, 249, 0.12) 46% 46.4%, transparent 46.4% 100%);
    background-size: 82px 82px, 82px 82px, 460px 460px;
    transform: perspective(720px) rotateX(54deg) translateY(-22%);
    transform-origin: top center;
    opacity: 0.76;
}

.hero-stage__routes {
    position: absolute;
    inset: 0;
}

.route {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 249, 0.78), rgba(94, 230, 183, 0.78), transparent);
    opacity: 0.56;
}

.route--one {
    top: 32%;
    left: 46%;
    width: 43vw;
    transform: rotate(-12deg);
}

.route--two {
    top: 51%;
    right: -4%;
    width: 52vw;
    transform: rotate(9deg);
}

.route--three {
    top: 72%;
    left: 22%;
    width: 58vw;
    transform: rotate(-3deg);
}

.route--four {
    top: 23%;
    left: 63%;
    width: 28vw;
    transform: rotate(26deg);
}

.command-surface {
    position: absolute;
    border: 1px solid rgba(160, 178, 205, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(12, 23, 40, 0.88), rgba(4, 10, 20, 0.86)),
        rgba(8, 15, 27, 0.86);
    box-shadow: 0 32px 90px rgba(2, 6, 23, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.command-surface--monitor {
    right: max(44px, 7vw);
    top: 20%;
    width: min(430px, 30vw);
    padding: 18px;
}

.command-surface--message {
    right: max(380px, 28vw);
    top: min(760px, 68%);
    width: min(340px, 22vw);
    padding: 16px;
}

.command-surface--daily {
    right: max(44px, 7vw);
    top: min(640px, 56%);
    width: min(250px, 18vw);
    padding: 16px;
}

.command-surface__top,
.message-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(216, 231, 245, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
}

.command-surface__top strong,
.message-preview__header strong {
    color: var(--aurora-mint);
}

.signal-score {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.signal-score span,
.command-surface--daily span {
    color: var(--aurora-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.signal-score strong {
    color: var(--aurora-amber);
    font-size: 1.9rem;
    line-height: 1;
}

.signal-graph {
    height: 135px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.46);
}

.signal-graph i,
.signal-board__chart span {
    display: block;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(110, 231, 249, 0.96), rgba(109, 168, 255, 0.24));
}

.signal-note {
    display: grid;
    gap: 4px;
    margin-top: 14px;
}

.signal-note span,
.message-preview__body strong {
    color: var(--aurora-ink);
    font-weight: 850;
}

.signal-note p,
.message-preview__body p,
.command-surface--daily p {
    margin: 0;
    color: var(--aurora-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.message-preview__body {
    padding-left: 12px;
    border-left: 4px solid var(--aurora-amber);
}

.message-preview__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.message-preview__buttons span {
    padding: 9px 12px;
    border-radius: 8px;
    background: #5865f2;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.command-surface--daily strong {
    display: block;
    margin: 8px 0;
    color: var(--aurora-ink);
    font-size: 1.35rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 72px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 720px;
}

html:lang(zh-CN) .hero-copy {
    min-height: 720px;
}

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 9px 14px;
    border: 1px solid rgba(110, 231, 249, 0.22);
    border-radius: 999px;
    background: rgba(7, 14, 26, 0.68);
    color: #d9fbff;
    font-size: 0.83rem;
    font-weight: 800;
}

.hero-badge__mark {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--aurora-mint);
    box-shadow: 0 0 0 5px rgba(94, 230, 183, 0.12);
}

.hero-kicker,
.section-kicker {
    margin: 0 0 14px;
    color: var(--aurora-cyan);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-title {
    max-width: 12.4ch;
    margin: 0;
    color: #ffffff;
    font-size: 6.8rem;
    line-height: 1.02;
    text-wrap: balance;
}

html:lang(zh-CN) .hero-title {
    max-width: 12.2ch;
    font-size: 5.85rem;
    line-height: 1.08;
}

.hero-description {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(216, 231, 245, 0.82);
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-proof {
    position: relative;
    z-index: 4;
    width: min(100%, 920px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(160, 178, 205, 0.14);
    border-radius: 8px;
    background: rgba(160, 178, 205, 0.14);
}

@media (max-width: 1400px) {
    .hero-title {
        font-size: 5.75rem;
    }

    html:lang(zh-CN) .hero-title {
        max-width: 12.8ch;
        font-size: 5rem;
    }

    .command-surface--monitor {
        right: 32px;
        width: 390px;
    }

    .command-surface--message {
        right: 330px;
        top: min(700px, 68%);
        width: 320px;
    }

    .command-surface--daily {
        right: 32px;
        width: 235px;
    }

    html:lang(zh-CN) .hero-copy {
        min-height: 660px;
    }
}

.hero-proof div {
    padding: 18px;
    background: rgba(6, 13, 25, 0.72);
}

.hero-proof strong {
    display: block;
    color: var(--aurora-ink);
    font-size: 1rem;
}

.hero-proof span {
    display: block;
    margin-top: 6px;
    color: var(--aurora-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.signal-strip {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    border-block: 1px solid rgba(160, 178, 205, 0.12);
    background: rgba(5, 11, 22, 0.84);
}

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

.signal-strip__item {
    padding: 18px 20px;
}

.signal-strip__item span {
    display: block;
    color: var(--aurora-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.signal-strip__item strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.35;
}

.section {
    padding: 104px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-header--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 48px;
    align-items: end;
}

.section-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
    text-wrap: balance;
}

.section-description {
    margin: 18px 0 0;
    color: rgba(216, 231, 245, 0.72);
    font-size: 1.03rem;
    line-height: 1.72;
}

.signal-board {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 20px;
    align-items: stretch;
}

.signal-board__main,
.signal-board__rail article,
.workflow-step,
.module-card,
.cta-panel {
    border: 1px solid rgba(160, 178, 205, 0.14);
    border-radius: 8px;
    background: var(--aurora-panel);
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.24);
}

.signal-board__main {
    padding: 22px;
    min-height: 420px;
}

.signal-board__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--aurora-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.signal-board__toolbar strong {
    color: var(--aurora-mint);
}

.signal-board__summary {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) 1fr;
    gap: 24px;
    align-items: end;
    margin: 40px 0 28px;
}

.signal-board__summary span {
    color: var(--aurora-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.signal-board__summary strong {
    display: block;
    margin-top: 8px;
    color: var(--aurora-amber);
    font-size: 3rem;
    line-height: 1;
}

.signal-board__summary p {
    margin: 0;
    color: rgba(216, 231, 245, 0.8);
    font-size: 1rem;
    line-height: 1.65;
}

.signal-board__chart {
    height: 210px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    align-items: end;
    padding: 18px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(160, 178, 205, 0.08) 1px, transparent 1px),
        rgba(2, 6, 23, 0.42);
    background-size: 100% 52px;
}

.signal-board__rail {
    display: grid;
    gap: 16px;
}

.signal-board__rail article,
.module-card,
.workflow-step {
    padding: 22px;
}

.signal-board__rail i,
.module-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(110, 231, 249, 0.12);
    color: var(--aurora-cyan);
}

.signal-board__rail strong,
.module-card h3,
.workflow-step h3 {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.25;
}

.signal-board__rail p,
.module-card p,
.workflow-step p {
    margin: 10px 0 0;
    color: rgba(216, 231, 245, 0.7);
    line-height: 1.65;
}

.workflow-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
    gap: 42px;
    align-items: start;
}

.workflow-steps {
    display: grid;
    gap: 16px;
}

.workflow-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: start;
}

.workflow-step span {
    grid-row: 1 / span 2;
    color: var(--aurora-mint);
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 900;
}

.workflow-step h3,
.workflow-step p {
    grid-column: 2;
}

.section--modules {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(6, 13, 24, 0.88) 18%, rgba(4, 11, 20, 0.88) 82%, rgba(2, 6, 23, 0));
}

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

.module-card--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.module-card--wide h3 {
    font-size: 1.75rem;
}

.module-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.module-card li {
    position: relative;
    padding-left: 22px;
    color: rgba(216, 231, 245, 0.78);
    line-height: 1.5;
}

.module-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--aurora-mint);
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    background:
        linear-gradient(135deg, rgba(9, 24, 35, 0.96), rgba(13, 22, 42, 0.94)),
        var(--aurora-panel-strong);
}

.cta-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -42% 32%;
    height: 78%;
    background:
        linear-gradient(90deg, transparent, rgba(110, 231, 249, 0.18), rgba(247, 199, 104, 0.14), transparent);
    transform: rotate(-8deg);
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
}

.cta-panel p:not(.section-kicker) {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(216, 231, 245, 0.74);
    font-size: 1.05rem;
    line-height: 1.7;
}

.footer {
    padding: 34px 0 42px;
    border-top: 1px solid rgba(160, 178, 205, 0.12);
    background: rgba(2, 6, 23, 0.74);
}

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

.footer-brand {
    display: grid;
    gap: 10px;
}

.footer-brand p {
    margin: 0;
    color: var(--aurora-muted);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-nav a {
    color: rgba(216, 231, 245, 0.72);
    text-decoration: none;
    font-weight: 700;
}

.footer-nav a:hover {
    color: #ffffff;
}

.dev-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(110, 231, 249, 0.2);
    border-radius: 8px;
    background: rgba(6, 13, 25, 0.94);
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.36);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.dev-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

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

    .command-surface--monitor {
        right: 24px;
        width: 420px;
        opacity: 0.72;
    }

    .command-surface--message,
    .command-surface--daily {
        display: none;
    }

    html:lang(zh-CN) .hero-copy {
        min-height: 0;
    }

    .section-header--split,
    .signal-board,
    .workflow-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .public-container {
        width: min(100% - 28px, 1180px);
    }

    .landing-nav {
        min-height: 54px;
    }

    .nav-login span {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 128px 0 64px;
    }

    .hero-stage {
        min-height: 600px;
    }

    .command-surface--monitor {
        top: 56%;
        left: 14px;
        right: 14px;
        width: auto;
        opacity: 0.44;
    }

    .hero-title {
        max-width: 10.8ch;
        font-size: 3.7rem;
        line-height: 1.06;
    }

    html:lang(zh-CN) .hero-title {
        max-width: 9.8ch;
        font-size: 3.45rem;
        line-height: 1.12;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions,
    .cta-actions,
    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-proof,
    .signal-strip__grid,
    .signal-board__summary,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .signal-board__main {
        min-height: auto;
    }

    .workflow-step {
        grid-template-columns: 1fr;
    }

    .workflow-step span,
    .workflow-step h3,
    .workflow-step p {
        grid-column: 1;
    }

    .workflow-step span {
        grid-row: auto;
    }

    .module-card--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.2rem;
    }

    html:lang(zh-CN) .hero-title {
        font-size: 3rem;
    }
}
