:root {
    color-scheme: light;
    --bg: #f7fbff;
    --panel: rgba(255, 255, 255, 0.86);
    --panel-strong: #eaf4ff;
    --text: #102033;
    --muted: #617084;
    --line: rgba(31, 122, 173, 0.16);
    --cyan: #0f8fb3;
    --green: #19b779;
    --amber: #d99a12;
    --red: #d64545;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 18% 12%, rgba(15, 143, 179, 0.14), transparent 28%),
        radial-gradient(circle at 82% 6%, rgba(25, 183, 121, 0.12), transparent 24%),
        linear-gradient(135deg, #f7fbff 0%, #eef7ff 48%, #ffffff 100%);
    color: var(--text);
    overflow-x: hidden;
}

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

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

.ambient-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(15, 143, 179, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 143, 179, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    z-index: -1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo,
.brand-mark,
.login-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 143, 179, 0.24);
    background: linear-gradient(135deg, rgba(15, 143, 179, 0.12), rgba(25, 183, 121, 0.1));
    color: var(--cyan);
    font-weight: 900;
    border-radius: 8px;
    box-shadow: 0 0 26px rgba(67, 217, 255, 0.18);
}

.brand-logo {
    display: block;
    object-fit: cover;
    padding: 0;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.25;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    gap: 8px;
}

.site-nav a {
    padding: 10px 14px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    border-color: var(--line);
    background: rgba(15, 143, 179, 0.08);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: rgba(15, 143, 179, 0.06);
    border-radius: 8px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.hero,
.page-hero,
.section,
.article-page {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: clamp(36px, 6vw, 86px);
    min-height: calc(100vh - 82px);
    padding: 56px 0 72px;
}

.eyebrow {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    margin: 14px 0;
    font-size: clamp(46px, 8vw, 96px);
    line-height: 0.95;
}

.hero-lead,
.page-hero p {
    color: var(--muted);
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.7;
}

.hero-actions,
.form-actions,
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn,
.text-link,
.section-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    font-weight: 700;
}

.btn {
    padding: 0 18px;
    border: 1px solid var(--line);
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    border-color: transparent;
}

.btn.ghost {
    color: var(--text);
    background: rgba(15, 143, 179, 0.07);
}

.text-link,
.section-heading a {
    color: var(--cyan);
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(15, 143, 179, 0.24);
    border-radius: 50%;
    animation: spin 18s linear infinite;
}

.orbit-one {
    width: 420px;
    height: 420px;
}

.orbit-two {
    width: 300px;
    height: 300px;
    animation-direction: reverse;
}

.orbit::after {
    content: "";
    position: absolute;
    top: 36px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 24px var(--cyan);
}

.core-panel,
.data-card,
.feature,
.software-card,
.tutorial-row,
.tutorial-card,
.contact-panel,
.empty-state {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(31, 67, 97, 0.12);
    backdrop-filter: blur(16px);
}

.core-panel {
    position: relative;
    z-index: 2;
    width: 260px;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.core-panel span,
.core-panel small {
    display: block;
    color: var(--muted);
}

.core-panel strong {
    display: block;
    margin: 10px 0;
    font-size: 28px;
}

.data-card {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text);
    animation: float 4s ease-in-out infinite;
}

.card-a {
    top: 80px;
    left: 40px;
}

.card-b {
    top: 130px;
    right: 10px;
    animation-delay: 0.8s;
}

.card-c {
    bottom: 92px;
    left: 92px;
    animation-delay: 1.4s;
}

.section {
    padding: 76px 0;
}

.split-section {
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-heading h2,
.page-hero h1,
.article-page h1 {
    margin: 8px 0 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.1;
}

.feature-grid,
.software-grid,
.tutorial-cards,
.about-layout,
.stat-grid {
    display: grid;
    gap: 18px;
}

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

.feature,
.software-card,
.tutorial-card,
.contact-panel {
    border-radius: 8px;
    padding: 24px;
}

.feature p,
.software-card p,
.tutorial-card p,
.about-copy p,
.contact-panel dd,
.article-content {
    color: var(--muted);
    line-height: 1.75;
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    color: var(--green);
    border: 1px solid var(--line);
    border-radius: 8px;
}

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

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

.software-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin-bottom: 18px;
}

.tutorial-list {
    display: grid;
    gap: 12px;
}

.tutorial-row {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 8px;
}

.tutorial-row img {
    width: 86px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.tutorial-row small,
.tutorial-row time,
.tutorial-card time {
    color: var(--muted);
}

.page-hero.compact {
    padding: 90px 0 32px;
}

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

.tutorial-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.about-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.metrics span {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 143, 179, 0.05);
}

.empty-state {
    width: 100%;
    padding: 34px;
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.metrics strong,
.metrics small {
    display: block;
}

.metrics small {
    color: var(--muted);
    margin-top: 6px;
}

.contact-panel dl {
    margin: 0;
}

.contact-panel div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-panel dt {
    color: var(--green);
    margin-bottom: 8px;
}

.article-page {
    padding: 88px 0;
}

.article-page header {
    max-width: 860px;
}

.article-cover,
.video-frame {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin: 28px 0;
}

.article-cover {
    max-height: 520px;
    object-fit: cover;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-content {
    max-width: 860px;
    font-size: 17px;
}

.article-content img {
    border-radius: 8px;
    margin: 18px 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong {
    color: var(--text);
}

.footer-records {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 900px) {
    .hero,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        min-height: 420px;
    }

    .feature-grid,
    .software-grid,
    .software-grid.wide,
    .tutorial-cards,
    .metrics {
        grid-template-columns: 1fr;
    }

    .site-footer,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-records {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        padding: 12px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .site-nav.open {
        display: flex;
    }

    .tutorial-row {
        grid-template-columns: 72px 1fr;
    }

    .tutorial-row time {
        grid-column: 2;
    }

    .orbit-one {
        width: 320px;
        height: 320px;
    }

    .orbit-two {
        width: 230px;
        height: 230px;
    }

    .data-card {
        font-size: 13px;
    }
}
