/* Shidai Feiying homepage middle-section variant. */
:root {
    --yl-blue: #0a5dff;
    --yl-blue-2: #1677ff;
    --yl-cyan: #00c2ff;
    --yl-purple: #7b3ff2;
    --yl-ink: #1a2332;
    --yl-gray: #5f6f89;
    --yl-line: rgba(22, 119, 255, .12);
    --yl-soft: #f5f9ff;
    --yl-card: #ffffff;
    --yl-grad: linear-gradient(135deg, #0a5dff, #1677ff, #00c2ff);
    --yl-dark: linear-gradient(135deg, #06142f 0%, #0a5dff 54%, #1677ff 100%);
}

.yl-home {
    overflow: hidden;
    background: var(--yl-soft);
    color: var(--yl-ink);
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.yl-wrap {
    width: min(1240px, calc(100% - 56px));
    margin: 0 auto;
}

.yl-reveal {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity .8s ease, transform .8s ease;
}

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

.yl-hero.yl-reveal {
    opacity: 1;
    transform: none;
}

.yl-en {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--yl-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.yl-en:before {
    content: "";
    width: 44px;
    height: 2px;
    background: var(--yl-grad);
}

.yl-hero {
    min-height: 720px;
    padding: 112px 0 96px;
    background:
        radial-gradient(circle at 77% 18%, rgba(0, 194, 255, .20), transparent 27%),
        linear-gradient(135deg, #f5f9ff 0%, #fff 54%, #eef7ff 100%);
    position: relative;
}

.yl-hero:after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -24%;
    width: 760px;
    height: 460px;
    border-radius: 50%;
    background: rgba(0, 194, 255, .13);
}

.yl-hero-inner,
.yl-two,
.yl-section-head.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.yl-hero h1 {
    margin: 24px 0 0;
    font-size: 70px;
    line-height: 1.05;
    color: #071326;
    font-weight: 900;
    letter-spacing: 0;
}

.yl-hero p {
    max-width: 610px;
    margin: 30px 0 0;
    color: #4f6075;
    font-size: 19px;
    line-height: 2;
}

.yl-hero-right {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.yl-num {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 470px;
    padding-bottom: 38px;
    border-right: 1px solid var(--yl-line);
}

.yl-num b,
.yl-index span {
    color: var(--yl-blue);
    font-size: 86px;
    line-height: .9;
    font-weight: 900;
}

.yl-num span,
.yl-index em {
    margin-top: 12px;
    color: #9aa6b8;
    font-size: 20px;
    font-style: normal;
}

.yl-stage {
    min-height: 470px;
    border-radius: 0;
    background: var(--yl-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 42px 88px rgba(18, 107, 255, .18);
}

.yl-stage:before {
    content: "";
    position: absolute;
    inset: 16%;
    border: 1px solid rgba(255,255,255,.2);
}

.yl-stage strong {
    position: absolute;
    left: 42px;
    bottom: 38px;
    color: rgba(255,255,255,.94);
    font-size: 44px;
    line-height: 1.1;
    font-weight: 900;
}

.yl-stage i {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(0, 194, 255, .18);
    animation: ylFloat 6s ease-in-out infinite;
}

.yl-stage i:nth-child(1) { right: 10%; top: 10%; }
.yl-stage i:nth-child(2) { left: 12%; top: 32%; width: 94px; height: 94px; background: rgba(123,63,242,.22); animation-delay: -1.4s; }
.yl-stage i:nth-child(3) { right: 22%; bottom: 18%; width: 70px; height: 70px; background: rgba(0,194,255,.18); animation-delay: -2.4s; }

.yl-about,
.yl-solutions,
.yl-clients,
.yl-news {
    padding: 108px 0;
}

.yl-about {
    background: #fff;
}

.yl-index {
    align-self: start;
    min-height: 210px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    border-bottom: 1px solid var(--yl-line);
}

.yl-copy h2,
.yl-section-head h2,
.yl-contact h2 {
    margin: 22px 0 0;
    font-size: 44px;
    line-height: 1.22;
    color: #071326;
    font-weight: 900;
}

.yl-copy p,
.yl-section-head p {
    margin: 22px 0 0;
    color: var(--yl-gray);
    font-size: 18px;
    line-height: 2;
}

.yl-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
    border: 1px solid var(--yl-line);
    background: rgba(255,255,255,.86);
}

.yl-data article {
    min-height: 138px;
    padding: 34px 28px;
    border-right: 1px solid var(--yl-line);
}

.yl-data article:last-child {
    border-right: 0;
}

.yl-data b {
    display: block;
    color: var(--yl-blue);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.yl-data p {
    margin: 14px 0 0;
    color: var(--yl-gray);
    font-size: 15px;
}

.yl-model {
    padding: 108px 0 118px;
    color: #fff;
    background: var(--yl-dark);
}

.yl-model .yl-en,
.yl-model h2 {
    color: #fff;
}

.yl-section-head {
    margin-bottom: 50px;
}

.yl-section-head.split {
    grid-template-columns: minmax(0, .92fr) minmax(0, .72fr);
    align-items: end;
}

.yl-section-head.split > a {
    justify-self: end;
    color: var(--yl-blue);
    font-weight: 900;
    font-size: 16px;
}

.yl-model-board {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.yl-model-visual {
    min-height: 470px;
    padding: 54px;
    background:
        radial-gradient(circle at 72% 22%, rgba(0,194,255,.3), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    position: relative;
}

.yl-dashboard {
    width: min(580px, 100%);
    min-height: 300px;
    padding: 42px;
    background: rgba(255,255,255,.84);
    color: #071326;
    position: absolute;
    left: 8%;
    bottom: 54px;
    box-shadow: 0 34px 90px rgba(0,0,0,.24);
    backdrop-filter: blur(16px);
    transition: transform .35s ease;
}

.yl-model-board.pulse .yl-dashboard {
    transform: translateY(-8px);
}

.yl-dashboard .yl-dot {
    display: block;
    width: 56px;
    height: 56px;
    margin-bottom: 40px;
    border-radius: 50%;
    background: var(--yl-grad);
    box-shadow: 0 16px 42px rgba(18,107,255,.26);
}

.yl-dashboard h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
}

.yl-dashboard p {
    max-width: 430px;
    margin: 18px 0 0;
    color: #586678;
    font-size: 17px;
    line-height: 1.8;
}

.yl-lines {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.yl-lines i {
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(18,107,255,.9), rgba(0,194,255,.55));
}

.yl-lines i:nth-child(2) { width: 78%; }
.yl-lines i:nth-child(3) { width: 52%; }

.yl-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.16);
}

.yl-tabs button {
    height: 92px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.78);
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.yl-tabs button:last-child {
    border-right: 0;
}

.yl-tabs button.is-active,
.yl-tabs button:hover {
    color: #fff;
    background: var(--yl-grad);
}

.yl-solutions {
    background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.yl-solution-list {
    border-top: 1px solid var(--yl-line);
}

.yl-solution-list a {
    display: grid;
    grid-template-columns: 90px 220px 1fr;
    gap: 26px;
    align-items: center;
    min-height: 112px;
    border-bottom: 1px solid var(--yl-line);
    color: var(--yl-ink);
    transition: padding-left .28s ease, background .28s ease;
}

.yl-solution-list a:hover {
    padding-left: 24px;
    background: rgba(18,107,255,.05);
}

.yl-solution-list em {
    color: var(--yl-blue);
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
}

.yl-solution-list strong {
    font-size: 28px;
    font-weight: 900;
}

.yl-solution-list span {
    color: var(--yl-gray);
    font-size: 17px;
}

.yl-clients {
    background: #fff;
}

.yl-logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--yl-line);
}

.yl-logo-wall span {
    display: grid;
    place-items: center;
    min-height: 116px;
    border-right: 1px solid var(--yl-line);
    border-bottom: 1px solid var(--yl-line);
    color: #38465a;
    font-size: 18px;
    font-weight: 900;
    background: rgba(255,255,255,.86);
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.yl-logo-wall span:nth-child(4n) {
    border-right: 0;
}

.yl-logo-wall span:nth-last-child(-n+4) {
    border-bottom: 0;
}

.yl-logo-wall span:hover {
    color: #fff;
    background: var(--yl-grad);
    transform: translateY(-6px);
}

.yl-news {
    background: var(--yl-soft);
}

.yl-news-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.yl-news-row a {
    min-height: 220px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--yl-line);
    color: var(--yl-ink);
    box-shadow: 0 18px 48px rgba(18,107,255,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.yl-news-row a:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 76px rgba(18,107,255,.16);
}

.yl-news-row time {
    color: var(--yl-blue);
    font-size: 15px;
    font-weight: 900;
}

.yl-news-row strong {
    display: block;
    margin-top: 28px;
    font-size: 22px;
    line-height: 1.55;
}

.yl-news-row span {
    display: inline-block;
    margin-top: 26px;
    color: var(--yl-gray);
}

.yl-contact {
    padding: 96px 0;
    background: #fff;
}

.yl-contact-box {
    padding: 62px 70px;
    background:
        radial-gradient(circle at 82% 12%, rgba(255,45,122,.2), transparent 26%),
        var(--yl-dark);
    color: #fff;
}

.yl-contact .yl-en,
.yl-contact h2 {
    color: #fff;
}

.yl-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 180px;
    margin-top: 32px;
    background: #fff;
    color: var(--yl-blue);
    font-size: 18px;
    font-weight: 900;
}

@keyframes ylFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@media (max-width: 1180px) {
    .yl-hero h1 {
        font-size: 58px;
    }
    .yl-hero-inner,
    .yl-two,
    .yl-section-head.split {
        gap: 42px;
    }
    .yl-news-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .yl-wrap {
        width: calc(100% - 32px);
    }
    .yl-hero,
    .yl-about,
    .yl-solutions,
    .yl-clients,
    .yl-news,
    .yl-model,
    .yl-contact {
        padding: 64px 0;
        min-height: auto;
    }
    .yl-hero-inner,
    .yl-two,
    .yl-section-head.split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .yl-hero h1,
    .yl-copy h2,
    .yl-section-head h2,
    .yl-contact h2 {
        font-size: 34px;
        line-height: 1.2;
    }
    .yl-hero p,
    .yl-copy p,
    .yl-section-head p {
        font-size: 16px;
        line-height: 1.85;
    }
    .yl-hero-right {
        grid-template-columns: 1fr;
    }
    .yl-num {
        min-height: auto;
        padding-bottom: 0;
        border-right: 0;
        border-bottom: 1px solid var(--yl-line);
    }
    .yl-num b,
    .yl-index span {
        font-size: 58px;
    }
    .yl-stage,
    .yl-model-visual {
        min-height: 360px;
    }
    .yl-stage strong {
        left: 24px;
        bottom: 24px;
        font-size: 32px;
    }
    .yl-data,
    .yl-logo-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    .yl-data article:nth-child(2n),
    .yl-logo-wall span:nth-child(2n) {
        border-right: 0;
    }
    .yl-tabs {
        grid-template-columns: 1fr;
    }
    .yl-tabs button {
        height: 62px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.16);
    }
    .yl-dashboard {
        position: relative;
        left: auto;
        bottom: auto;
        padding: 28px;
    }
    .yl-solution-list a {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 22px 0;
    }
    .yl-solution-list a:hover {
        padding-left: 0;
    }
    .yl-contact-box {
        padding: 38px 24px;
    }
}
