/* ==========================================================================
   奈斯PMS 官网样式
   主色 #1677ff | 无框架无构建 | 响应式断点 1200 / 768
   ========================================================================== */

:root {
    --primary: #1677ff;
    --primary-hover: #4096ff;
    --primary-dark: #0958d9;
    --primary-light: #e6f4ff;
    --ink: #1f2733;
    --ink-2: #5a6577;
    --ink-3: #8b95a6;
    --line: #e8edf4;
    --bg-alt: #f5f8fc;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 45, 103, 0.08);
    --shadow-strong: 0 24px 60px rgba(9, 88, 217, 0.18);
    --container: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* 锚点定位时给吸顶导航留出空间 */
section[id] {
    scroll-margin-top: 72px;
}

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 12px 42px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(22, 119, 255, .35);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.btn-light:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary-light);
}

/* 蓝底导航内的按钮 */
.btn-nav-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-nav-ghost:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.btn-nav-primary {
    background: #fff;
    color: var(--primary);
}

.btn-nav-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* ---------------- 吸顶导航（对齐 pms-web 顶栏：标准色蓝底 + 选中项底部小三角） ---------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--primary);
    transition: box-shadow .25s;
}

.site-nav.scrolled {
    box-shadow: 0 4px 18px rgba(9, 88, 217, .28);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-name {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    height: 100%;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
    font-weight: 600;
}

/* 选中项底部居中小三角，颜色同页面背景，形成缺口指向效果 */
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #d7e0f6;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    padding: 7px 18px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 150px 0 90px;
    background:
        radial-gradient(1000px 500px at 70% -10%, rgba(22, 119, 255, .4), transparent 60%),
        radial-gradient(700px 400px at -5% 110%, rgba(22, 119, 255, .18), transparent 55%),
        linear-gradient(180deg, #d6e8ff 0%, #f5f9ff 55%, #ffffff 100%);
    overflow: hidden;
}

/* 背景网格纹理 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(22, 119, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 119, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 56px;
    align-items: center;
}

/* 漂浮装饰：光斑 + 圆环 */
.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-decor .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: floatY 7s ease-in-out infinite;
}

.hero-decor .orb-1 {
    width: 14px;
    height: 14px;
    background: var(--primary);
    opacity: .5;
    top: 26%;
    left: 46%;
}

.hero-decor .orb-2 {
    width: 9px;
    height: 9px;
    background: #69b1ff;
    opacity: .8;
    top: 64%;
    left: 4%;
    animation-delay: -3s;
}

.hero-decor .ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(22, 119, 255, .18);
}

.hero-decor .ring-1 {
    width: 220px;
    height: 220px;
    right: -70px;
    top: 80px;
    border-color: rgba(22, 119, 255, .14);
    animation: floatY 9s ease-in-out infinite;
}

.hero-decor .ring-2 {
    width: 90px;
    height: 90px;
    left: 6%;
    bottom: 60px;
    border-style: dashed;
    border-color: rgba(22, 119, 255, .25);
    animation: spinSlow 40s linear infinite;
}

.hero-decor .ring-3 {
    width: 46px;
    height: 46px;
    left: 44%;
    bottom: 14%;
    border-color: rgba(22, 119, 255, .3);
    animation: floatY 6s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #b4d6ff;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-highlight {
    color: var(--primary);
}

.hero-sub {
    margin-top: 20px;
    font-size: 17px;
    color: var(--ink-2);
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-cta .btn-outline-light {
    color: var(--primary-dark);
    border-color: var(--primary);
}

.hero-cta .btn-outline-light:hover {
    background: var(--primary-light);
}

.hero-tags {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-tags span {
    font-size: 13px;
    color: var(--ink-2);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 14px;
}

.hero-visual {
    position: relative;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 1px solid var(--line);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease;
}

.browser-frame:hover {
    transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.browser-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: #f2f5fa;
    border-bottom: 1px solid var(--line);
}

.browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9e0ea;
}

.browser-bar i:first-child {
    background: #ff5f57;
}

.browser-bar i:nth-child(2) {
    background: #febc2e;
}

.browser-bar i:nth-child(3) {
    background: #28c840;
}

.browser-frame img {
    width: 100%;
}

/* ---------------- 卖点数据条（浅色底，与上下白底柔和衔接） ---------------- */
.stats-bar {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 34px 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-num {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    font-family: Arial, Helvetica, sans-serif;
}

.stat-num small {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
}

.stat-label {
    margin-top: 6px;
    font-size: 14px;
    color: var(--ink-2);
}

/* ---------------- 通用 Section ---------------- */
.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: .5px;
}

.section-title.left {
    text-align: left;
}

.section-desc {
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 16px;
}

/* 标题重点词彩色渐变 */
.grad-text {
    background: linear-gradient(90deg, var(--primary) 0%, #00f5eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------------- 功能矩阵 ---------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(22, 119, 255, .35);
}

.feature-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0faff 100%);
    color: var(--primary);
    margin-bottom: 20px;
    transition: all .4s ease-in-out;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.6;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--ink-2);
}

/* ---------------- 产品实拍 ---------------- */
.shots-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.shots-tab {
    padding: 9px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.shots-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.shots-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.shots-stage {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shot-panel {
    display: none;
    margin: 0;
}

.shot-panel.active {
    display: block;
    animation: shotFade .35s ease;
}

@keyframes shotFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.shot-panel img {
    width: 100%;
}

.shot-panel figcaption {
    padding: 16px 24px;
    text-align: center;
    color: var(--ink-2);
    font-size: 15px;
    border-top: 1px solid var(--line);
    background: #fafcff;
}

/* ---------------- 价格方案 ---------------- */
.pricing-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 96px;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 18px;
    padding: 38px 34px;
    box-shadow: var(--shadow-strong);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 18px;
    border-radius: 999px;
}

.pricing-badge.badge-muted {
    background: var(--ink-2);
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin: 18px 0 6px;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-currency {
    font-size: 26px;
    vertical-align: 20px;
    margin-right: 2px;
}

.price-unit {
    font-size: 16px;
    color: var(--ink-3);
    font-weight: 500;
}

.pricing-sub {
    text-align: center;
    color: var(--ink-2);
    font-size: 14px;
    margin-bottom: 22px;
}

.pricing-list {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-list li {
    position: relative;
    padding: 7px 0 7px 28px;
    font-size: 15px;
    color: var(--ink);
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
}

.pricing-price.price-text {
    font-size: 40px;
    padding: 8px 0;
}

.pricing-foot {
    margin-top: 34px;
    text-align: center;
    color: var(--ink-3);
    font-size: 14px;
}

/* ---------------- 为什么选择 ---------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 24px;
    padding: 36px 28px 188px;
    background: var(--why-bg);
    transition: transform .25s, box-shadow .25s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* 四色卡片主题 */
.why-green {
    --why-bg: #e9f3e2;
    --why-art: #cde2bc;
}

.why-blue {
    --why-bg: #e4edfb;
    --why-art: #c6daf6;
}

.why-orange {
    --why-bg: #f8ecdc;
    --why-art: #efd7b2;
}

.why-purple {
    --why-bg: #eeeafa;
    --why-art: #d9ccf2;
}

/* 右下角大色块插画 */
.why-art {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 170px;
    height: 170px;
    border-radius: 28px 0 28px 0;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--why-art) 20%, transparent), var(--why-art));
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-art svg {
    width: 92px;
    height: 92px;
    color: #fff;
    opacity: .92;
}

.why-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink);
}

.why-card p {
    font-size: 15px;
    color: var(--ink-2);
}

/* ---------------- 关于我们（底部紧接 CTA Banner，不留内边距） ---------------- */
#about {
    padding-bottom: 0;
}

.about-inner {
    padding: 0 0 88px 0;
}

.about-copy p {
    color: var(--ink-2);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-text {
    margin: 8px 0;
    font-size: 16px;
}

.about-text p {
    margin: 6px 0;
}

.about-visual {
    position: relative;
    flex-shrink: 0;
    width: 600px;
}

.about-visual img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-strong);
}

.about-visual-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
}

.about-visual-badge strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-visual-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

/* ---------------- CTA Banner ---------------- */
.cta-banner {
    /* background:
        radial-gradient(600px 300px at 20% 0%, rgba(255, 255, 255, .14), transparent 60%),
        linear-gradient(100deg, var(--primary-dark), var(--primary)); */
    background: #ebf4fd;
    text-align: center;
    padding: 76px 0;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 800;
}

.cta-banner p {
    margin: 14px 0 28px;
    font-size: 17px;
    opacity: .92;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
    background: #0e1626;
    color: #9aa6ba;
    padding: 44px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #9aa6ba;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-meta p {
    font-size: 13px;
}

.footer-icp {
    opacity: .7;
}

.footer-icp a {
    color: #9aa6ba;
    text-decoration: none;
    transition: color .2s;
}

.footer-icp a:hover {
    color: #fff;
}

/* ---------------- 响应式：平板 ---------------- */
@media (max-width: 1199px) {

    .feature-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-inner {
        gap: 40px;
    }

    .pricing-wrap {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .hero-decor .ring-1 {
        display: none;
    }
}

/* ---------------- 响应式：手机 ---------------- */
@media (max-width: 767px) {
    .container {
        padding: 0 18px;
    }

    .section {
        padding: 60px 0;
    }

    /* 移动端导航折叠（蓝底栏 + 白底下拉菜单） */
    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
        padding: 8px 18px 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(15, 45, 103, .1);
        display: none;
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        height: auto;
        padding: 12px 10px;
        color: var(--ink-2);
    }

    .nav-link:hover {
        color: var(--primary);
    }

    .nav-link.active {
        color: var(--primary);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-actions .btn-nav-ghost {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .nav-toggle {
        margin-left: 12px;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .browser-frame {
        transform: none;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 12px;
    }

    .stat-num {
        font-size: 36px;
    }

    .section-title {
        font-size: 25px;
    }

    .feature-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .shots-tabs {
        gap: 8px;
    }

    .shots-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    .about-content {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .about-visual {
        width: 100%;
    }

    .about-visual img {
        height: 240px;
    }

    .cta-banner h2 {
        font-size: 24px;
    }

    .pricing-price {
        font-size: 46px;
    }

    .back-top {
        right: 18px;
        bottom: 24px;
        width: 44px;
        height: 44px;
    }
}

/* ---------------- 返回顶部 ---------------- */
.back-top {
    position: fixed;
    right: 32px;
    bottom: 40px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(22, 119, 255, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-top:hover {
    background: var(--primary-hover);
}

.back-top svg {
    width: 22px;
    height: 22px;
}