/*
 * Copyright: YC-2025Copyright
 * Created: 2026-07-06
 * Author: HIYCO
 * Description: 源乾智能公司官网样式
 */

:root {
    --yq-ink: #07111f;
    --yq-ink-2: #0d1b2f;
    --yq-text: #152033;
    --yq-muted: #637083;
    --yq-line: rgba(15, 35, 57, 0.12);
    --yq-white: #ffffff;
    --yq-bg: #f6f8fb;
    --yq-cyan: #18d0c0;
    --yq-green: #27b98f;
    --yq-gold: #d7aa45;
    --yq-blue: #2977d2;
    --yq-max: 1440px;
    --yq-content: 1220px;
    --yq-shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.yq-body {
    margin: 0;
    color: var(--yq-text);
    background: var(--yq-bg);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.yq-menu-open {
    overflow: hidden;
}

.yq-body a {
    color: inherit;
    text-decoration: none;
}

.yq-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    width: min(calc(100% - 56px), var(--yq-max));
    margin: 20px auto 0;
    padding: 16px 22px;
    color: #eef7ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.yq-header.is-scrolled {
    background: rgba(7, 17, 31, 0.9);
}

.yq-brand,
.yq-nav,
.yq-hero-actions,
.yq-hero-proof,
.yq-contact-actions {
    display: flex;
    align-items: center;
}

.yq-brand {
    gap: 12px;
}

.yq-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--yq-ink);
    background: linear-gradient(135deg, var(--yq-cyan), var(--yq-green));
}

.yq-brand-mark span {
    width: 20px;
    height: 20px;
    border: 4px solid currentColor;
    border-left-color: transparent;
    transform: rotate(45deg);
}

.yq-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.yq-nav {
    justify-content: center;
    gap: clamp(18px, 2.8vw, 42px);
}

.yq-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    font-weight: 600;
}

.yq-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--yq-cyan);
    transition: transform 0.2s ease;
}

.yq-nav a:hover::after,
.yq-nav a:focus-visible::after {
    transform: scaleX(1);
}

.yq-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--yq-ink);
    font-weight: 800;
    background: var(--yq-cyan);
}

.yq-menu-button {
    display: none;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 1.8rem;
}

.yq-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 42px;
    align-items: center;
    min-height: 760px;
    padding: 128px max(28px, calc((100vw - var(--yq-content)) / 2)) 64px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.96) 44%, rgba(7, 17, 31, 0.82) 100%),
        radial-gradient(circle at 78% 18%, rgba(24, 208, 192, 0.18), transparent 34%),
        var(--yq-ink);
}

.yq-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 260px;
    pointer-events: none;
    background:
        repeating-linear-gradient(168deg, transparent 0 18px, rgba(24, 208, 192, 0.18) 19px, transparent 20px),
        linear-gradient(180deg, transparent, rgba(24, 208, 192, 0.1));
    mask-image: linear-gradient(180deg, transparent, #000);
    opacity: 0.52;
}

.yq-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.yq-hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(4rem, 7vw, 6.55rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.yq-hero-copy p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.25rem, 2vw, 1.82rem);
    line-height: 1.45;
    font-weight: 600;
}

.yq-hero-actions {
    gap: 20px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.yq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.yq-btn:hover,
.yq-btn:focus-visible,
.yq-header-cta:hover,
.yq-header-cta:focus-visible {
    transform: translateY(-2px);
}

.yq-btn-primary {
    color: #06121e;
    background: linear-gradient(135deg, var(--yq-cyan), var(--yq-green));
    box-shadow: 0 18px 42px rgba(24, 208, 192, 0.26);
}

.yq-btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.02);
}

.yq-btn-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.yq-hero-proof {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.yq-hero-proof span {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

.yq-hero-visual {
    position: relative;
    z-index: 2;
    min-height: 540px;
}

.yq-hero-visual img {
    position: absolute;
    inset: -52px -120px auto auto;
    width: min(920px, 72vw);
    max-width: none;
    height: auto;
    opacity: 0.88;
    filter: drop-shadow(0 38px 80px rgba(0, 0, 0, 0.32));
}

.yq-product-panel {
    position: absolute;
    color: var(--yq-text);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--yq-shadow);
    backdrop-filter: blur(16px);
}

.yq-product-panel-main {
    left: 0;
    bottom: 18px;
    width: min(610px, 86%);
    padding: 22px;
}

.yq-product-panel-side {
    right: 24px;
    bottom: 62px;
    display: grid;
    gap: 8px;
    width: 210px;
    padding: 20px;
}

.yq-product-panel-side i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--yq-ink-2);
    font-size: 1.35rem;
}

.yq-product-panel-side strong,
.yq-panel-top strong {
    color: var(--yq-ink);
}

.yq-product-panel-side span,
.yq-panel-top span,
.yq-course-list em {
    color: var(--yq-muted);
    font-size: 0.86rem;
    font-style: normal;
}

.yq-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.yq-path-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.yq-path-line span {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: #0b6059;
    background: #eefaf8;
    border: 1px solid rgba(24, 208, 192, 0.18);
    font-weight: 800;
    font-size: 0.9rem;
}

.yq-course-list {
    display: grid;
    gap: 10px;
}

.yq-course-list div {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15, 35, 57, 0.08);
    background: #fff;
}

.yq-course-list i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: var(--yq-blue);
}

.yq-course-list div:nth-child(2) i {
    background: var(--yq-green);
}

.yq-course-list div:nth-child(3) i {
    background: var(--yq-gold);
}

.yq-section {
    padding: 94px max(28px, calc((100vw - var(--yq-content)) / 2));
}

.yq-section-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.yq-section-head-left {
    margin-left: 0;
    text-align: left;
}

.yq-section h2,
.yq-contact h2,
.yq-about h2 {
    margin: 0;
    color: var(--yq-ink);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.yq-section-head p,
.yq-contact p,
.yq-about p {
    margin: 18px 0 0;
    color: var(--yq-muted);
    font-size: 1.08rem;
}

.yq-platform {
    background: #fff;
}

.yq-platform-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
    gap: 34px;
    align-items: start;
}

.yq-flow {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 12px;
    padding-left: 22px;
    border-left: 3px solid rgba(24, 208, 192, 0.32);
}

.yq-flow-step {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--yq-line);
    background: #f8fbfd;
}

.yq-flow-step span {
    color: var(--yq-green);
    font-weight: 900;
}

.yq-flow-step strong {
    color: var(--yq-ink);
}

.yq-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.yq-capability-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--yq-line);
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 17, 31, 0.06);
}

.yq-capability-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    color: var(--yq-green);
    border: 1px solid rgba(39, 185, 143, 0.3);
    font-size: 1.45rem;
}

.yq-capability-card h3,
.yq-solution-row h3 {
    margin: 0;
    color: var(--yq-ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.yq-capability-card p,
.yq-solution-row p {
    margin: 12px 0 0;
    color: var(--yq-muted);
}

.yq-solutions {
    color: #fff;
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(13, 27, 47, 0.98)),
        var(--yq-ink);
}

.yq-solutions .yq-section-head h2,
.yq-solutions .yq-section-head p {
    color: #fff;
}

.yq-solutions .yq-section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.yq-solution-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.yq-solution-row {
    display: grid;
    grid-template-columns: 86px minmax(180px, 0.35fr) minmax(0, 1fr) 42px;
    gap: 26px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.yq-solution-row span {
    color: var(--yq-cyan);
    font-size: 1rem;
    font-weight: 900;
}

.yq-solution-row h3 {
    color: #fff;
}

.yq-solution-row p {
    color: rgba(255, 255, 255, 0.72);
}

.yq-solution-row i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--yq-ink);
    background: var(--yq-cyan);
}

.yq-technology {
    background: #eef4f7;
}

.yq-architecture {
    display: grid;
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
    gap: 24px;
    align-items: stretch;
}

.yq-arch-core {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    padding: 32px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(24, 208, 192, 0.22), transparent 46%),
        linear-gradient(180deg, var(--yq-ink), var(--yq-ink-2));
}

.yq-arch-core strong {
    max-width: 300px;
    font-size: 2.1rem;
    line-height: 1.12;
    font-weight: 900;
}

.yq-arch-core span {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
}

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

.yq-tech-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 22px;
    border: 1px solid rgba(15, 35, 57, 0.1);
    background: #fff;
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.05);
}

.yq-tech-item i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: var(--yq-ink);
    background: var(--yq-cyan);
}

.yq-tech-item span {
    color: var(--yq-ink);
    font-weight: 800;
}

.yq-about {
    display: grid;
    grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
    gap: 34px;
    align-items: start;
    background: #fff;
}

.yq-about > div,
.yq-about aside {
    padding: 34px;
    border: 1px solid var(--yq-line);
}

.yq-about aside {
    color: #fff;
    background: var(--yq-ink);
}

.yq-about aside strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
}

.yq-about aside p {
    color: rgba(255, 255, 255, 0.72);
}

.yq-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    margin: 0 max(28px, calc((100vw - var(--yq-content)) / 2)) 82px;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(24, 208, 192, 0.18), rgba(215, 170, 69, 0.18)),
        var(--yq-ink);
}

.yq-contact h2 {
    color: #fff;
}

.yq-contact p {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.72);
}

.yq-contact-actions {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.yq-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px max(28px, calc((100vw - var(--yq-content)) / 2));
    color: rgba(255, 255, 255, 0.72);
    background: #050b14;
}

.yq-footer strong {
    color: #fff;
}

@media (max-width: 1080px) {
    .yq-header {
        grid-template-columns: auto auto;
    }

    .yq-menu-button {
        display: block;
        justify-self: end;
    }

    .yq-nav,
    .yq-header-cta {
        display: none;
    }

    .yq-nav.is-open {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        display: grid;
        gap: 4px;
        padding: 14px;
        background: rgba(7, 17, 31, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .yq-nav.is-open a {
        padding: 12px 10px;
    }

    .yq-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 136px;
    }

    .yq-hero-visual {
        min-height: 560px;
    }

    .yq-hero-visual img {
        right: -80px;
        width: min(940px, 112vw);
    }

    .yq-platform-layout,
    .yq-architecture,
    .yq-about,
    .yq-contact {
        grid-template-columns: 1fr;
    }

    .yq-flow {
        position: static;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .yq-header {
        width: min(calc(100% - 24px), var(--yq-max));
        margin-top: 12px;
        padding: 12px 14px;
    }

    .yq-brand-mark {
        width: 36px;
        height: 36px;
    }

    .yq-brand-name {
        font-size: 1rem;
    }

    .yq-hero {
        gap: 22px;
        padding: 116px 18px 42px;
    }

    .yq-hero-copy h1 {
        font-size: clamp(2.9rem, 14vw, 4.6rem);
    }

    .yq-hero-copy p {
        font-size: 1.18rem;
    }

    .yq-btn {
        width: 100%;
        min-width: 0;
    }

    .yq-hero-actions {
        gap: 12px;
    }

    .yq-hero-visual {
        min-height: 520px;
        overflow: hidden;
    }

    .yq-hero-visual img {
        inset: 0 auto auto 50%;
        width: 760px;
        transform: translateX(-52%);
        opacity: 0.72;
    }

    .yq-product-panel-main {
        left: 0;
        right: 0;
        bottom: 20px;
        width: 100%;
        padding: 16px;
    }

    .yq-product-panel-side {
        display: none;
    }

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

    .yq-course-list div {
        grid-template-columns: 32px 1fr;
    }

    .yq-course-list em {
        grid-column: 2;
    }

    .yq-section {
        padding: 66px 18px;
    }

    .yq-section-head {
        margin-bottom: 32px;
        text-align: left;
    }

    .yq-capability-list,
    .yq-tech-grid {
        grid-template-columns: 1fr;
    }

    .yq-flow {
        grid-template-columns: 1fr;
    }

    .yq-solution-row {
        grid-template-columns: 1fr 42px;
        gap: 10px 16px;
    }

    .yq-solution-row span,
    .yq-solution-row h3,
    .yq-solution-row p {
        grid-column: 1;
    }

    .yq-solution-row i {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .yq-about > div,
    .yq-about aside,
    .yq-contact {
        padding: 24px;
    }

    .yq-contact {
        margin: 0 18px 56px;
    }

    .yq-contact-actions {
        justify-content: stretch;
    }

    .yq-footer {
        flex-direction: column;
        padding: 24px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
