:root {
    --bg: #0b1220;
    --bg-soft: #111a2d;
    --bg-panel: #121c31;
    --surface: #ffffff;
    --surface-soft: #f5f2ea;
    --text: #172033;
    --text-soft: #5f6b81;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(12, 25, 46, 0.1);
    --brand: #c6a46a;
    --brand-deep: #8b6a34;
    --accent: #2d5b89;
    --shadow: 0 20px 60px rgba(4, 14, 28, 0.18);
}

html,
body {
    margin: 0;
    padding: 0;
    background: #f3f0e8;
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body.page-dark {
    background:
        radial-gradient(circle at top, rgba(198, 164, 106, 0.16), transparent 26%),
        linear-gradient(180deg, #09111d 0%, #0c1422 60%, #121d32 100%);
    color: #e7edf7;
}

h1,
h2,
h3,
h4,
.section-title,
.hero-title,
.logo {
    font-family: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
}

a {
    color: inherit;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    height: 76px;
    line-height: 76px;
    background: rgba(7, 12, 22, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.logo {
    font-size: 28px;
    letter-spacing: 2px;
    color: #f2e4c6;
}

.header .yj_nav {
    float: right;
    height: 76px;
    line-height: 76px;
    font-size: 15px;
}

.header .yj_nav li a {
    color: rgba(255, 255, 255, 0.78);
    padding: 0 16px;
}

.header .yj_nav li.active a,
.header .yj_nav li a:hover {
    color: #fff;
    border-bottom: 2px solid var(--brand);
}

.footer {
    background: #0a111d;
    color: #d7deea;
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.f_left,
.f_center,
.f_right {
    float: none;
    height: auto;
    border: 0;
    padding: 0;
}

.f_left {
    width: auto;
    text-align: left;
    line-height: 1.4;
    font-size: 28px;
    color: #f2e4c6;
}

.f_center p {
    margin: 6px 0;
}

.f_right img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.bottom {
    background: #070d16;
    color: rgba(255, 255, 255, 0.68);
    height: auto;
    line-height: 1.8;
    padding: 16px 10px;
    font-size: 13px;
}

.page-shell {
    padding: 56px 0 72px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 86px;
    background:
        radial-gradient(circle at 15% 20%, rgba(198, 164, 106, 0.2), transparent 20%),
        radial-gradient(circle at 80% 15%, rgba(45, 91, 137, 0.25), transparent 28%),
        linear-gradient(135deg, #08111e 0%, #0f1a2d 58%, #14233b 100%);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.26;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(198, 164, 106, 0.4);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #f0d7a7;
    background: rgba(198, 164, 106, 0.08);
}

.hero-title {
    margin: 0;
    font-size: 52px;
    line-height: 1.2;
    color: #fff7e8;
}

.hero-copy {
    max-width: 760px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.95;
    color: rgba(235, 241, 250, 0.84);
}

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

.hero-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button.primary {
    color: #0f1726;
    background: linear-gradient(135deg, #f0d7a7 0%, #c6a46a 100%);
    box-shadow: 0 14px 30px rgba(198, 164, 106, 0.22);
}

.hero-button.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: center;
}

.hero-panel {
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-metrics {
    display: grid;
    gap: 16px;
}

.metric-card {
    padding: 22px;
    border-radius: 18px;
    background: rgba(7, 14, 25, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: #f4e4c2;
}

.metric-card span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(232, 237, 245, 0.76);
    line-height: 1.8;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.hero-mini-card {
    min-height: 138px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mini-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #fff2d4;
}

.hero-mini-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: rgba(229, 236, 247, 0.82);
}

.section {
    padding: 70px 0;
}

.section-dark {
    color: #e7edf7;
    background:
        linear-gradient(180deg, rgba(13, 22, 37, 0.98), rgba(10, 17, 29, 0.98));
}

.section-light {
    background: linear-gradient(180deg, #f5f2ea 0%, #ffffff 100%);
}

.section-light .section-title {
    color: #182235;
}

.section-light .section-subtitle {
    color: #5f6b81;
    opacity: 1;
}

.section-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.35;
    color: inherit;
}

.section-subtitle {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.95;
    color: inherit;
    opacity: 0.82;
}

.cards-3,
.cards-4,
.cards-2 {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

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

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

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

.feature-card,
.scenario-card,
.panel-card,
.case-card,
.step-card,
.gallery-card,
.stat-block {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-card,
.scenario-card,
.panel-card,
.case-card,
.step-card,
.stat-block {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line-dark);
}

.section-light .feature-card,
.section-light .scenario-card,
.section-light .panel-card,
.section-light .case-card,
.section-light .step-card,
.section-light .stat-block,
.section-light .gallery-card,
.section-light .plain-card {
    color: #1a2436;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(18, 33, 56, 0.08);
}

.section-dark .feature-card,
.section-dark .scenario-card,
.section-dark .panel-card,
.section-dark .case-card,
.section-dark .step-card,
.section-dark .stat-block {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.feature-card h3,
.scenario-card h3,
.panel-card h3,
.case-card h3,
.step-card h3,
.gallery-card h3,
.stat-block h3 {
    margin: 0 0 14px;
    font-size: 22px;
    color: inherit;
}

.section-light .feature-card h3,
.section-light .scenario-card h3,
.section-light .panel-card h3,
.section-light .case-card h3,
.section-light .step-card h3,
.section-light .gallery-card h3,
.section-light .stat-block h3,
.section-light .plain-card strong {
    color: #1a2436;
}

.feature-card p,
.scenario-card p,
.panel-card p,
.case-card p,
.step-card p,
.gallery-card p,
.stat-block p,
.feature-card li,
.scenario-card li,
.panel-card li,
.case-card li {
    font-size: 15px;
    line-height: 1.9;
    color: inherit;
    opacity: 0.9;
}

.section-light .feature-card p,
.section-light .scenario-card p,
.section-light .panel-card p,
.section-light .case-card p,
.section-light .step-card p,
.section-light .gallery-card p,
.section-light .stat-block p,
.section-light .feature-card li,
.section-light .scenario-card li,
.section-light .panel-card li,
.section-light .case-card li,
.section-light .plain-card {
    color: #5a667d;
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(198, 164, 106, 0.18), rgba(45, 91, 137, 0.22));
    border: 1px solid rgba(198, 164, 106, 0.18);
}

.feature-icon:before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin: 17px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8bb88, #7c9bbc);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(198, 164, 106, 0.12);
    color: #8b6a34;
}

.section-dark .tag {
    background: rgba(198, 164, 106, 0.12);
    color: #f0d7a7;
}

.water-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 26px;
    margin-top: 34px;
}

.water-card-main {
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(198, 164, 106, 0.12), transparent 26%),
        linear-gradient(145deg, #10203a 0%, #0f1728 100%);
    color: #eaf1fb;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(7, 14, 25, 0.24);
}

.water-card-main h3 {
    margin: 0 0 18px;
    font-size: 30px;
    color: #fff2d4;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.spec-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item strong {
    display: block;
    font-size: 24px;
    color: #f3ddb0;
}

.spec-item span {
    display: block;
    margin-top: 8px;
    line-height: 1.8;
    color: rgba(234, 241, 251, 0.84);
}

.water-side {
    display: grid;
    gap: 18px;
}

.timeline {
    position: relative;
    margin-top: 34px;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), rgba(198, 164, 106, 0.14));
}

.timeline-item {
    position: relative;
    padding: 0 0 24px 58px;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--brand);
}

.timeline-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.ai-diagram-grid {
    grid-template-columns: 1fr;
}

.gallery-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
    color: #1a2436;
}

.gallery-card img {
    width: 100%;
    display: block;
    background: #edf1f6;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.ai-diagram-card img {
    height: 460px;
    padding: 16px;
    background: #0f1b31;
    object-fit: contain;
    object-position: center;
}

.ai-diagram-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: stretch;
}

.ai-diagram-card .gallery-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.gallery-card .gallery-body {
    padding: 22px;
}

.gallery-card .gallery-body h3 {
    color: #1a2436;
}

.gallery-card .gallery-body p {
    color: #5a667d;
    opacity: 1;
}

.section-light .gallery-card .gallery-body {
    background: rgba(255, 255, 255, 0.98);
}

.dual-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.mini-list {
    margin: 0;
    padding-left: 18px;
}

.mini-list li {
    margin-bottom: 8px;
}

.page-banner {
    padding: 68px 0 52px;
    background:
        radial-gradient(circle at top right, rgba(198, 164, 106, 0.16), transparent 22%),
        linear-gradient(135deg, #0d1728 0%, #13233c 100%);
    color: #f4f7fc;
}

.page-banner .eyebrow {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f0d7a7;
    font-size: 13px;
}

.page-banner h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.25;
    color: #fff6e8;
}

.page-banner p {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(236, 242, 250, 0.84);
}

.content-wrap {
    padding: 54px 0 72px;
}

.plain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.plain-card {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
}

.plain-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
}

.cta-band {
    margin-top: 40px;
    padding: 30px 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, #10203a, #162845);
    color: #edf2fb;
}

.cta-band h3 {
    margin: 0 0 12px;
    color: #fff1cf;
}

.cta-band p {
    margin: 0;
    line-height: 1.9;
}

.small-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-soft);
}

.section-dark .small-note {
    color: rgba(231, 237, 247, 0.66);
}

.banner,
#carousel,
.cooperate .container,
.ourServer .list li > div,
.appList .container,
.alList {
    background: transparent;
}

.appList,
.alList {
    background: transparent;
    border: 0;
    padding-top: 0;
}

@media (max-width: 991px) {
    .header {
        position: relative;
        height: auto;
        line-height: 1.5;
        padding: 16px 0;
    }

    .header .logo,
    .header .yj_nav {
        float: none;
        text-align: center;
        height: auto;
        line-height: 1.8;
    }

    .header .yj_nav li {
        float: none;
        display: inline-block;
    }

    .hero-grid,
    .water-showcase,
    .cards-4,
    .cards-3,
    .cards-2,
    .gallery-grid,
    .plain-grid,
    .dual-panel {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-grid,
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero,
    .page-banner,
    .section,
    .content-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .page-banner h1,
    .section-title {
        font-size: 30px;
    }

    .sidebar {
        display: none;
    }
}
