:root {
    --ink: #13233f;
    --muted: #63708a;
    --line: #dfe5ef;
    --soft: #f5f8fd;
    --blue: #315cf5;
    --blue-deep: #2547c8;
    --amber: #e3ae36;
    --green: #42a878;
    --white: #ffffff;
    --shell: 1180px;
    --shadow: 0 28px 70px rgba(34, 61, 117, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 1180px;
    color: var(--ink);
    background: var(--white);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 76px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(223, 229, 239, .8);
    backdrop-filter: blur(12px);
}

.nav-shell,
.section-shell,
.footer-shell {
    width: var(--shell);
    margin: 0 auto;
}

.nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 760;
    letter-spacing: -.03em;
}

.brand-mark {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
    transform: rotate(-4deg);
}

.brand-mark i {
    position: absolute;
    display: block;
    width: 10px;
    border-radius: 2px;
    background: var(--blue);
    transform: skewY(-28deg);
}

.brand-mark i:nth-child(1) { left: 0; top: 11px; height: 12px; }
.brand-mark i:nth-child(2) { left: 10px; top: 4px; height: 21px; }
.brand-mark i:nth-child(3) { right: 0; top: 0; height: 28px; background: var(--amber); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-left: 140px;
    height: 100%;
}

.site-nav a {
    position: relative;
    height: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #526078;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transform: translateX(-50%);
    transition: width .2s ease;
}

.site-nav a:hover,
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { width: 24px; }

.nav-action {
    margin-left: auto;
    padding: 11px 17px;
    color: var(--white);
    background: var(--ink);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 650;
    transition: transform .2s ease, background .2s ease;
}

.nav-action:hover { transform: translateY(-1px); background: var(--blue); }
.nav-action span { margin-left: 7px; }

.hero {
    width: var(--shell);
    min-height: 730px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    padding: 58px 0 74px;
}

.hero-copy { padding: 0 30px 0 0; }

.hero h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.14;
    letter-spacing: -.055em;
    font-weight: 760;
}

.hero h1 span { color: var(--blue); }

.hero-copy > p {
    width: 450px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.button {
    height: 50px;
    padding: 0 22px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 650;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button span { margin-left: 18px; }

.button-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(49, 92, 245, .2);
}

.button-primary:hover { box-shadow: 0 16px 30px rgba(49, 92, 245, .26); }
.button-secondary { border: 1px solid var(--line); background: var(--white); }
.button-secondary:hover { border-color: #aeb9cb; }

.hero-visual {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.ambient-one {
    width: 520px;
    height: 520px;
    right: -25px;
    top: 20px;
    background: radial-gradient(circle, rgba(49, 92, 245, .16), rgba(49, 92, 245, 0) 68%);
}

.ambient-two {
    width: 190px;
    height: 190px;
    right: 410px;
    bottom: 8px;
    background: radial-gradient(circle, rgba(227, 174, 54, .12), rgba(227, 174, 54, 0) 70%);
}

.app-window {
    position: relative;
    z-index: 2;
    width: 650px;
    height: 445px;
    display: flex;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #dce4f0;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.app-sidebar {
    width: 56px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: var(--ink);
}

.app-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
    display: grid;
    place-items: center;
    background: var(--white);
    border-radius: 8px;
}

.app-logo img { width: 22px; height: 22px; }
.app-logo-symbol {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue), var(--blue-deep));
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
}

.side-item {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.side-item::before,
.side-item::after {
    content: "";
    position: absolute;
    inset: 10px 8px;
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 2px;
}

.side-item::after { inset: 15px 8px auto; border-width: 1px 0 0; }
.side-item.selected { background: var(--blue); }
.side-item.selected::before { border-color: var(--white); }
.side-avatar { width: 27px; height: 27px; margin-top: auto; border-radius: 50%; background: #d7e1f4; }

.app-main { flex: 1; min-width: 0; }

.app-topbar {
    height: 78px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8edf5;
}

.app-topbar > div { display: flex; flex-direction: column; gap: 4px; }
.app-caption { font-size: 10px; color: #8b96a9; }
.app-topbar strong { font-size: 17px; letter-spacing: -.02em; }
.top-avatar { width: 30px; height: 30px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 12px; }

.approval-grid {
    height: calc(100% - 78px);
    display: grid;
    grid-template-columns: 43% 57%;
}

.task-list { padding: 18px 14px; background: #f8fafd; border-right: 1px solid #e8edf5; }
.task-heading { padding: 0 4px 11px; display: flex; align-items: center; justify-content: space-between; }
.task-heading strong { font-size: 13px; }
.task-heading span { font-size: 9px; color: var(--blue); }

.task {
    width: 100%;
    margin-bottom: 8px;
    padding: 11px 9px;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 8px;
    text-align: left;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.task:hover,
.task.active { background: var(--white); border-color: #e0e7f2; box-shadow: 0 5px 14px rgba(30, 55, 100, .06); }
.task-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; font-size: 11px; font-weight: 700; }
.task-icon.blue { color: var(--blue); background: #eaf0ff; }
.task-icon.amber { color: #b57a00; background: #fff3d7; }
.task-icon.green { color: #23825a; background: #def4e9; }
.task > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.task b { font-size: 11px; }
.task small { overflow: hidden; color: #8b96a9; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.task em { color: #73809a; font-size: 8px; font-style: normal; white-space: nowrap; }

.approval-detail { padding: 21px 21px 15px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; }
.detail-head > div { display: flex; flex-direction: column; gap: 5px; }
.detail-head span:first-child { color: #8c97aa; font-size: 8px; }
.detail-head h2 { margin: 0; font-size: 14px; }
.status { padding: 4px 7px; color: var(--blue); background: #eaf0ff; border-radius: 4px; font-size: 8px; }
.status.approved { color: #237d59; background: #def4e9; }
.status.rejected { color: #b65353; background: #fee9e9; }
.status.transferred { color: #9b6c0c; background: #fff1d5; }

.detail-meta {
    margin: 17px 0 15px;
    padding: 11px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}

.detail-meta div { display: flex; flex-direction: column; gap: 4px; }
.detail-meta dt { color: #8b96a9; font-size: 8px; }
.detail-meta dd { margin: 0; font-size: 9px; }

.timeline { display: flex; flex-direction: column; gap: 4px; }
.timeline-item { position: relative; min-height: 43px; display: flex; align-items: flex-start; gap: 10px; }
.timeline-item:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: -5px; width: 1px; background: #dbe2ed; }
.timeline-item i { position: relative; z-index: 1; width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; color: #929caf; background: var(--white); border: 1px solid #d5dce7; border-radius: 50%; font-size: 8px; font-style: normal; }
.timeline-item.done i { color: var(--white); background: var(--green); border-color: var(--green); }
.timeline-item.current i { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px #eaf0ff; }
.timeline-item span { display: flex; flex-direction: column; gap: 4px; }
.timeline-item b { font-size: 9px; }
.timeline-item small { color: #98a2b4; font-size: 8px; }

.detail-actions { margin-top: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.detail-actions button { height: 27px; padding: 0 10px; border-radius: 5px; cursor: pointer; font-size: 8px; }
.text-button { margin-right: auto; color: #758197; border: 0; background: transparent; }
.reject-button { color: #627088; border: 1px solid #d9e0eb; background: var(--white); }
.approve-button { color: var(--white); border: 1px solid var(--blue); background: var(--blue); }
.detail-actions button:disabled { cursor: default; opacity: .72; }

.capabilities { padding: 108px 0 124px; }

.section-heading {
    padding-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.section-heading h2,
.about h2,
.workflow-copy h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.28;
    letter-spacing: -.045em;
}

.section-heading p { width: 500px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.section-index { color: #b5bfce; font-size: 15px; font-weight: 650; letter-spacing: .12em; }

.capability-rail { display: grid; grid-template-columns: repeat(4, 1fr); }

.capability-rail article {
    position: relative;
    min-height: 305px;
    padding: 36px 30px 28px;
    border-right: 1px solid var(--line);
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.capability-rail article:first-child { border-left: 1px solid var(--line); }
.capability-rail article:hover { color: var(--white); background: var(--ink); transform: translateY(-7px); }
.feature-number { position: absolute; right: 22px; top: 23px; color: #aab4c4; font-size: 11px; }
.capability-rail h3 { margin: 28px 0 13px; font-size: 19px; }
.capability-rail p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.capability-rail article:hover p,
.capability-rail article:hover .feature-number { color: #b9c4d6; }

.feature-icon { position: relative; width: 62px; height: 62px; margin-top: 24px; color: var(--blue); }
.feature-icon::before { content: ""; position: absolute; inset: 0; background: #edf2ff; border-radius: 14px; transition: background .25s ease; }
.capability-rail article:hover .feature-icon::before { background: rgba(255, 255, 255, .1); }
.feature-icon i { position: absolute; z-index: 1; display: block; }
.organization i { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.organization i:nth-child(1) { left: 26px; top: 13px; }
.organization i:nth-child(2) { left: 15px; top: 35px; }
.organization i:nth-child(3) { right: 15px; top: 35px; }
.organization::after { content: ""; position: absolute; z-index: 1; left: 21px; top: 29px; width: 20px; height: 12px; border: 1px solid currentColor; border-width: 1px 1px 0; }
.flow i { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 2px; }
.flow i:nth-child(1) { left: 10px; top: 25px; }
.flow i:nth-child(2) { left: 27px; top: 25px; }
.flow i:nth-child(3) { right: 8px; top: 25px; }
.flow::after { content: ""; position: absolute; z-index: 1; left: 20px; top: 30px; width: 27px; border-top: 1px solid currentColor; }
.message i { left: 14px; top: 16px; width: 34px; height: 25px; border: 2px solid currentColor; border-radius: 7px; }
.message i::after { content: ""; position: absolute; left: 8px; bottom: -6px; border: 5px solid transparent; border-top-color: currentColor; transform: rotate(12deg); }
.record i { left: 17px; width: 29px; border-top: 2px solid currentColor; }
.record i:nth-child(1) { top: 20px; }
.record i:nth-child(2) { top: 30px; }
.record i:nth-child(3) { top: 40px; width: 20px; }

.workflow-section { color: var(--white); background: var(--ink); overflow: hidden; }

.workflow-layout {
    min-height: 690px;
    padding: 105px 0;
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: center;
    gap: 75px;
}

.section-index.light { display: block; margin-bottom: 30px; color: #72809a; }
.workflow-copy h2 { font-size: 40px; }
.workflow-copy > p { width: 430px; margin: 24px 0 0; color: #aab5c8; font-size: 14px; line-height: 1.85; }
.workflow-points { margin-top: 42px; display: flex; flex-direction: column; gap: 23px; }
.workflow-points > div { display: flex; align-items: center; gap: 18px; }
.workflow-points i { width: 37px; height: 37px; display: grid; place-items: center; color: #91a6ff; border: 1px solid #405172; border-radius: 50%; font-size: 10px; font-style: normal; }
.workflow-points span { display: flex; flex-direction: column; gap: 5px; }
.workflow-points b { font-size: 14px; }
.workflow-points small { color: #8896ad; font-size: 11px; }

.flow-board { position: relative; padding: 20px 0 20px 85px; }
.flow-board::before { content: ""; position: absolute; width: 420px; height: 420px; left: 30px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(118, 146, 207, .12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(76, 105, 169, .04), 0 0 0 140px rgba(76, 105, 169, .025); }

.flow-card {
    position: relative;
    z-index: 1;
    width: 430px;
    height: 82px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 29px 42px 1fr;
    align-items: center;
    gap: 16px;
    background: #1c2e4e;
    border: 1px solid #314563;
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .13);
}

.flow-card.start { margin-left: -28px; }
.flow-card.finish { margin-left: 28px; border-color: rgba(49, 92, 245, .7); background: #203563; }
.flow-card > span { color: #7384a0; font-size: 9px; }
.flow-card > i { width: 38px; height: 38px; display: grid; place-items: center; color: #a9b9ff; background: #293e65; border-radius: 8px; font-size: 12px; font-style: normal; font-weight: 700; }
.flow-card.finish > i { color: var(--white); background: var(--blue); }
.flow-card > div { display: flex; flex-direction: column; gap: 6px; }
.flow-card b { font-size: 13px; }
.flow-card small { color: #8e9cb2; font-size: 10px; }
.flow-line { position: relative; z-index: 2; width: 1px; height: 21px; margin-left: 92px; background: #425477; }
.flow-line i { position: absolute; left: -2px; bottom: 0; width: 5px; height: 5px; border: solid #7186ad; border-width: 0 1px 1px 0; transform: rotate(45deg); }

.about { padding: 120px 0 130px; display: grid; grid-template-columns: 55% 45%; }
.about-statement { padding-right: 80px; }
.about-statement .section-index { display: block; margin-bottom: 35px; }
.about-content { padding: 60px 0 0 52px; border-left: 1px solid var(--line); }
.about-content h3 { margin: 0 0 20px; font-size: 19px; }
.about-content p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.about-content a { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 13px; font-weight: 650; }

.site-footer { color: var(--white); background: #0c1930; }
.footer-shell { min-height: 210px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.footer-brand .brand-mark i:nth-child(1),
.footer-brand .brand-mark i:nth-child(2) { background: #6e8cff; }
.footer-shell > p { margin: 0; color: #8795ad; text-align: right; font-size: 13px; }
.footer-meta { position: relative; grid-column: 1 / -1; padding-top: 22px; display: flex; justify-content: flex-start; color: #66748d; border-top: 1px solid #24324a; font-size: 12px; }
.footer-meta a { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; transition: color .2s ease; }
.footer-meta a:hover { color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: rise .65s ease-out both; }
    .app-window { animation: reveal .75s .08s ease-out both; }
    @keyframes rise {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes reveal {
        from { opacity: 0; transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(20px); }
        to { opacity: 1; transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(0); }
    }
}
