:root {
    --ink: #12172a;
    --muted: #64708a;
    --brand: #5b3cc4;
    --brand-dark: #392489;
    --paper: #fff;
    --soft: #f7f6fc;
    --line: #e8e6f2
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    line-height: 1.7;
    background: var(--paper)
}

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

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: auto
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.8px
}

.brand b {
    color: var(--brand)
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    color: #41485d;
    font-size: 15px
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand);
    font-weight: 700
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

.button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px)
}

.button.ghost {
    background: #fff;
    color: var(--brand);
    border: 1px solid #dcd6f7
}

.hero {
    overflow: hidden;
    position: relative;
    background: linear-gradient(120deg, #171333, #35217f 55%, #6a45d7);
    color: #fff
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('img/slider/1.jpg') center/cover;
    opacity: .14;
    mix-blend-mode: screen
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 560px;
    display: flex;
    align-items: center;
    max-width: 760px
}

.eyebrow {
    margin: 0 0 12px;
    color: #846de3;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.6px
}

.hero .eyebrow {
    color: #bfaeff
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -2px
}

.hero p {
    font-size: 18px;
    color: #e2def6;
    max-width: 620px;
    margin: 0 0 32px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hero .ghost {
    border-color: #9180da;
    background: transparent;
    color: #fff
}

.stats {
    position: relative;
    z-index: 2;
    margin-top: -58px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 50px #1c174133;
    overflow: hidden
}

.stat {
    padding: 23px 28px;
    border-right: 1px solid var(--line)
}

.stat:last-child {
    border: 0
}

.stat strong {
    display: block;
    font-size: 25px;
    color: var(--brand)
}

.stat span {
    font-size: 13px;
    color: var(--muted)
}

section {
    padding: 92px 0
}

.soft {
    background: var(--soft)
}

.section-intro {
    max-width: 660px;
    margin: 0 auto 42px;
    text-align: center
}

.section-intro h2,
.split h2,
.page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    letter-spacing: -1px;
    margin: 0 0 14px
}

.section-intro p,
.split p {
    margin: 0;
    color: var(--muted)
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 12px
}

.icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--brand);
    background: #eeeaff;
    font-size: 19px
}

.card h3 {
    margin: 18px 0 8px;
    font-size: 19px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.photo {
    min-height: 390px;
    border-radius: 14px;
    background: url('img/about.jpg') center/cover
}

.check {
    list-style: none;
    padding: 0;
    margin: 22px 0
}

.check li {
    margin: 10px 0
}

.check i {
    color: var(--brand);
    margin-right: 10px
}

.steps {
    counter-reset: steps
}

.step {
    position: relative;
    padding-left: 75px
}

.step:before {
    counter-increment: steps;
    content: "0"counter(steps);
    position: absolute;
    left: 0;
    top: -4px;
    color: #c9bef5;
    font-size: 42px;
    font-weight: 800;
    line-height: 1
}

.step h3 {
    margin: 0 0 4px;
    font-size: 18px
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.cta {
    background: linear-gradient(115deg, #41299a, #7956de);
    color: #fff;
    padding: 64px;
    border-radius: 16px;
    text-align: center
}

.cta h2 {
    margin: 0 0 12px;
    font-size: 34px
}

.cta p {
    margin: 0 auto 25px;
    max-width: 600px;
    color: #ece9ff
}

.footer {
    background: #12102a;
    color: #ddd9f3;
    padding: 52px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px
}

.footer .brand {
    color: #fff
}

.footer p,
.footer a {
    font-size: 14px;
    color: #aaa4c4
}

.footer h4 {
    margin: 0 0 12px;
    color: #fff
}

.footer a {
    display: block;
    margin: 7px 0
}

.copyright {
    border-top: 1px solid #2a2740;
    margin-top: 30px;
    padding-top: 18px;
    font-size: 13px;
    color: #918bad
}

.page-hero {
    padding: 82px 0;
    background: linear-gradient(110deg, #20184dce, #5636b7d9), url('img/page-bg.jpg') center/cover;
    color: #fff;
    text-align: center
}

.page-hero p {
    margin: 0;
    color: #d8d2f2
}

.page-list {
    padding: 10px 0;
}

.feature-list {
    display: grid;
    gap: 15px
}

.feature-list div {
    padding: 17px 20px;
    border-left: 3px solid var(--brand);
    background: #fff
}

.feature-list strong {
    display: block
}

.feature-list span {
    font-size: 14px;
    color: var(--muted)
}

.case {
    overflow: hidden;
    padding: 0
}

.case img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    display: block
}

.case div {
    padding: 22px
}

.case h3 {
    margin: 0 0 6px
}

.case p {
    font-size: 14px;
    color: var(--muted);
    margin: 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 38px
}

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

.contact-item h3 {
    font-size: 16px;
    margin: 0 0 3px
}

.contact-item p {
    margin: 0;
    color: var(--muted)
}

form {
    display: grid;
    gap: 14px
}

input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid #dcd8eb;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    outline: 0
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand)
}

textarea {
    min-height: 130px;
    resize: vertical
}

.note {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 0
}

.pricing {
    align-items: stretch
}

.plan {
    display: flex;
    flex-direction: column;
    position: relative
}

.plan.featured {
    border: 2px solid var(--brand);
    box-shadow: 0 18px 42px #5539b425
}

.plan-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 3px 12px;
    border-radius: 20px
}

.price {
    margin: 15px 0 4px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--brand)
}

.price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted)
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 25px;
    color: var(--muted);
    font-size: 14px
}

.plan li {
    padding: 7px 0;
    border-bottom: 1px solid var(--line)
}

.plan li:before {
    content: "✓";
    color: var(--brand);
    font-weight: 800;
    margin-right: 9px
}

.plan .button {
    margin-top: auto
}

.price-note {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: 20px
}

@media(max-width:760px) {
    .nav {
        height: 68px
    }

    .nav-links {
        gap: 14px;
        font-size: 13px
    }

    .nav-links a:nth-child(2),
    .nav-links a:nth-child(3) {
        display: none
    }

    .hero-inner {
        min-height: 520px
    }

    .stats {
        margin-top: 0
    }

    .stats-grid {
        border-radius: 0;
        grid-template-columns: repeat(2, 1fr)
    }

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat {
        padding: 18px
    }

    .grid-3,
    .split,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    section {
        padding: 64px 0
    }

    .photo {
        min-height: 270px
    }

    .cta {
        padding: 42px 22px
    }

    .page-hero {
        padding: 60px 0
    }
}