:root {
    --bg: #0d1117;
    --panel: #161b22;
    --panel-soft: #21262d;
    --text: #e6edf3;
    --muted: #8b949e;
    --primary: #238636;
    --primary-hover: #2ea043;
    --accent: #a371f7;
    --line: #30363d;
    --glass: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(48, 54, 61, 0.7);
    --glass-highlight: rgba(0, 28, 219, 0.15);
    --brand-blue: #001cdb;
    --brand-blue-strong: #0016b8;
    --brand-blue-deep: #001083;
    --brand-blue-soft: #4c5cff;
    --brand-blue-rgb: 0, 28, 219;
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);
    --gradient-hero: radial-gradient(circle at top right, #1f2428 0%, #0d1117 100%);
    --gradient-glow: radial-gradient(circle at 50% -20%, #7d4bf0 0%, transparent 60%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--bg);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: -20%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(40% 42% at 12% 18%, rgba(var(--brand-blue-rgb), 0.2), transparent 75%),
        radial-gradient(38% 44% at 86% 14%, rgba(163, 113, 247, 0.16), transparent 76%),
        radial-gradient(45% 50% at 54% 88%, rgba(46, 160, 67, 0.14), transparent 78%);
    filter: blur(18px);
    animation: pageGlowShift 16s ease-in-out infinite alternate;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

/* Glass Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(13, 17, 23, 0.85);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.logo {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    display: block;
    height: 35px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 28px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: #8b949e;
    transition: color 0.2s ease;
}

/* Buttons */
.purchase-btn,
.btn-primary {
    border: 1px solid var(--brand-blue);
    background: linear-gradient(180deg, var(--brand-blue-strong) 0%, var(--brand-blue-deep) 100%);
    color: #f2f9ff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(4, 18, 33, 0.35);
    transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-download-os {
    border: 1px solid transparent;
    border-radius: 6px;
    color: #f2f9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-blue-strong) 0%, var(--brand-blue-deep) 100%);
    box-shadow: 0 14px 30px rgba(4, 18, 33, 0.45);
    position: relative;
    isolation: isolate;
    min-height: 56px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    --download-border-angle: 0deg;
}

@property --download-border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.btn-download-os::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--download-border-angle),
        rgba(var(--brand-blue-rgb), 0.2) 0deg,
        rgba(var(--brand-blue-rgb), 0.2) 300deg,
        rgba(142, 180, 255, 0.98) 332deg,
        rgba(var(--brand-blue-rgb), 0.2) 360deg
    );
    animation: downloadBtnBorderCycle 2s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

@keyframes downloadBtnBorderCycle {
    0% {
        --download-border-angle: 0deg;
    }
    100% {
        --download-border-angle: 360deg;
    }
}

.btn-download-os-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.btn-download-os-main svg {
    width: 18px;
    height: 18px;
}

.btn-download-os:hover {
    border-color: transparent;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(4, 18, 33, 0.52);
}

.purchase-btn:hover,
.btn-primary:hover {
    background: linear-gradient(180deg, var(--brand-blue-soft) 0%, var(--brand-blue) 100%);
    border-color: var(--brand-blue-soft);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(4, 18, 33, 0.44);
}

.purchase-btn::after,
.btn-primary::after,
.btn-download-os::after,
.btn-ghost::after,
.workspace-nav::after,
.strip-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(140px circle at var(--btn-x, 50%) var(--btn-y, 50%), rgba(255, 255, 255, 0.7), rgba(var(--brand-blue-rgb), 0.55) 34%, transparent 70%);
    padding: 1px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.24s ease;
    z-index: 3;
}

.purchase-btn:hover::after,
.btn-primary:hover::after,
.btn-download-os:hover::after,
.btn-ghost:hover::after,
.workspace-nav:hover::after,
.strip-item:hover::after,
.strip-item.is-active::after {
    opacity: 1;
}

.btn-primary {
    min-width: 120px;
}

.download-card .btn-primary {
    min-height: 48px;
}

.btn-ghost {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 18px;
    color: var(--text);
    background: transparent;
    transition: all 0.2s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
}

.btn-ghost:hover {
    background: rgba(177, 186, 196, 0.12);
    border-color: #8b949e;
}

main.is-purchase-view > section:not(.purchase-embed) {
    display: none;
}

main.is-library-view > section:not(.library-embed) {
    display: none;
}

main.is-help-view > section:not(.help-embed) {
    display: none;
}

.purchase-embed {
    display: none;
    padding: 0;
}

main.is-purchase-view > .purchase-embed {
    display: block;
    padding: 0;
    margin: 0;
}

body.is-purchase-view .site-header {
    border-bottom-color: transparent;
}

body.is-purchase-view .site-footer,
body.is-library-view .site-footer,
body.is-help-view .site-footer {
    margin-top: 0;
}

.purchase-embed-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 140px);
    border: 0;
    background: #050b14;
}

.library-embed {
    display: none;
    padding: 0;
}

main.is-library-view > .library-embed {
    display: block;
    padding: 0;
    margin: 0;
}

.library-embed-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 140px);
    border: 0;
    background: #0d1117;
}

.help-embed {
    display: none;
    padding: 0;
}

main.is-help-view > .help-embed {
    display: block;
    padding: 0;
    margin: 0;
}

.help-embed-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 140px);
    border: 0;
    background: #030914;
}

/* Hero Section */
.hero {
    padding: 55px 0 80px;
    position: relative;
    overflow: visible;
}

/* Decorative Glow */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% -20%, #7d4bf0 0%, transparent 40%),
        radial-gradient(circle at 90% 40%, #238636 0%, transparent 30%);
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(80px);
}

.hero-grid {
    display: block;
}

.eyebrow {
    margin: 0 auto 16px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    padding: 4px 4px 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    text-align: center;
    background: rgba(var(--brand-blue-rgb), 0.1);
    color: var(--brand-blue-soft);
    border-color: #f85149;
    box-shadow: 0 0 14px rgba(var(--brand-red-rgb), 0.45);
}

.eyebrow > span:first-child {
    color: #fff;
    font-weight: 700;
}

.eyebrow-new {
    background: #f85149;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 55px;
    line-height: 1.25;
    margin: 0 0 24px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #ffffff 0%, #97a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.hero-desc {
    color: var(--muted);
    max-width: 90%;
    line-height: 1.6;
    font-size: 18px;
    margin: 0 auto 40px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-showcase {
    margin-top: 28px;
}

.workspace-demo {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    align-items: center;
}

.workspace-nav {
    border: 1px solid #26326f;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(10, 22, 38, 0.72);
    color: #e0e6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.workspace-nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

.workspace-nav:hover {
    transform: translateY(-1px);
    border-color: var(--brand-blue-soft);
}

.workspace-shell {
    border: 1px solid #2a3678;
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
    display: grid;
    grid-template-rows: auto 1fr;
    background: #0a1230;
    box-shadow: 0 30px 60px rgba(2, 10, 22, 0.45);
}

.workspace-stage-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(100, 144, 204, 0.22);
    background: rgba(10, 22, 38, 0.8);
}

.workspace-stage-title {
    color: #e0e6ff;
    font-size: 13px;
    font-weight: 600;
}

.workspace-stage-meta {
    color: #8f9dff;
    font-size: 12px;
}

.workspace-stage {
    overflow: hidden;
    position: relative;
    contain: layout paint;
    padding: 14px;
    box-sizing: border-box;
}

.workspace-stage img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.workspace-stage img.workspace-stage-incoming {
    position: absolute;
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
    height: auto;
}

.workspace-stage img.is-leaving-left {
    animation: stageLeaveLeft 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.workspace-stage img.is-leaving-right {
    animation: stageLeaveRight 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.workspace-stage img.is-entering-from-right {
    animation: stageEnterFromRight 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.workspace-stage img.is-entering-from-left {
    animation: stageEnterFromLeft 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.workspace-strip {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.strip-item {
    border-radius: 8px;
    border: 1px solid rgba(128, 171, 228, 0.26);
    overflow: hidden;
    background: rgba(10, 22, 38, 0.8);
    padding: 0;
    cursor: pointer;
    position: relative;
    display: grid;
    grid-template-rows: 46px auto;
    align-items: start;
    text-align: left;
}

.strip-item img {
    width: 100%;
    height: 46px;
    object-fit: cover;
    display: block;
}

.strip-label {
    display: block;
    padding: 6px 8px 7px;
    font-size: 11px;
    line-height: 1.35;
    color: #8f9dff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strip-item.is-active .strip-label {
    color: #e0e6ff;
}

.strip-item.is-active {
    border-color: var(--brand-blue-soft);
    box-shadow: 0 0 0 1px rgba(var(--brand-blue-rgb), 0.25);
}

@keyframes stageLeaveLeft {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(-18%, 0, 0);
        opacity: 0.36;
    }
}

@keyframes stageLeaveRight {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(18%, 0, 0);
        opacity: 0.36;
    }
}

@keyframes stageEnterFromRight {
    0% {
        transform: translate3d(18%, 0, 0);
        opacity: 0.36;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes stageEnterFromLeft {
    0% {
        transform: translate3d(-18%, 0, 0);
        opacity: 0.36;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes pageGlowShift {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
        opacity: 0.82;
    }
    50% {
        transform: translate3d(1.5%, 1.5%, 0) scale(1.03);
        opacity: 1;
    }
    100% {
        transform: translate3d(3%, -2%, 0) scale(1.05);
        opacity: 0.78;
    }
}

@keyframes downloadTitlePulse {
    0% {
        text-shadow: 0 0 0 rgba(var(--brand-blue-rgb), 0);
    }
    50% {
        text-shadow: 0 0 18px rgba(var(--brand-blue-rgb), 0.45);
    }
    100% {
        text-shadow: 0 0 0 rgba(var(--brand-blue-rgb), 0);
    }
}

@keyframes downloadCardPulse {
    0% {
        border-color: #30363d;
        box-shadow: none;
    }
    50% {
        border-color: rgba(var(--brand-blue-rgb), 0.65);
        box-shadow: 0 0 0 1px rgba(var(--brand-blue-rgb), 0.3), 0 12px 24px rgba(9, 24, 46, 0.35);
    }
    100% {
        border-color: #30363d;
        box-shadow: none;
    }
}

.metrics {
    display: flex;
    gap: 64px;
    margin-top: 64px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    justify-content: center;
}

.metric-card {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    min-width: 120px;
}

.metric-card:hover {
    transform: none;
    background: transparent;
}

.metric-card p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    word-break: break-word;
}

.metric-card span {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

.section {
    padding: 96px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title p {
    color: #8f9dff;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 16px;
}

.section-title-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(143, 157, 255, 0.32);
    background: linear-gradient(180deg, rgba(143, 157, 255, 0.14) 0%, rgba(82, 98, 212, 0.08) 100%);
    box-shadow: 0 0 0 1px rgba(143, 157, 255, 0.08) inset, 0 10px 24px rgba(76, 92, 255, 0.12);
}

.section-title-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 5px;
    border-radius: 999px;
    background: rgba(143, 157, 255, 0.12);
    box-shadow: 0 0 16px rgba(143, 157, 255, 0.22);
}

.section-title h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    background: linear-gradient(180deg, #ffffff 0%, #97a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.feature-grid,
.download-grid,
.help-grid {
    display: grid;
    gap: 24px;
}

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

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

.download.is-targeted .section-title h2 {
    animation: downloadTitlePulse 0.95s ease;
}

.download.is-targeted .download-card {
    animation: downloadCardPulse 0.95s ease;
}

.help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.download-card,
.help-card {
    border: 1px solid #30363d;
    border-radius: 6px;
    background: #161b22;
    padding: 32px;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.feature-card:hover,
.download-card:hover,
.help-card:hover {
    transform: translateY(-2px);
    border-color: #8b949e;
    background: #1c2128;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.feature-card::before,
.download-card::before,
.help-card::before {
    display: none;
}

/* Icons */
.feature-icon,
.download-icon,
.help-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #21262d;
    color: #e6edf3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #30363d;
    flex-shrink: 0;
}

/* Header with icon and title */
.feature-header,
.download-header,
.help-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-card h3,
.download-card h3,
.help-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #e6edf3;
}

.feature-card p,
.download-card li,
.help-card p {
    color: #8b949e;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* Download Specific */
.download-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    border-top: 1px solid #30363d;
    padding-top: 16px;
}

.download-card li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.download-card li + li {
    margin-top: 8px;
}

.download-card .btn-primary {
    width: 100%;
}

/* Disabled download card and button */
.download-card-disabled {
    opacity: 0.6;
}

.download-card-disabled .download-icon {
    color: var(--muted);
}

.download-card-disabled .download-header h3 {
    color: var(--muted);
}

.download-card-disabled li {
    color: var(--muted);
}

.btn-disabled {
    background: var(--panel-soft) !important;
    border-color: var(--line) !important;
    color: var(--muted) !important;
    cursor: not-allowed;
    box-shadow: none !important;
    pointer-events: none;
}

.btn-disabled:hover {
    background: var(--panel-soft) !important;
    border-color: var(--line) !important;
    color: var(--muted) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Help Specific */
.help-card .read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-weight: 600;
    color: var(--brand-blue-soft);
    font-size: 14px;
    transition: gap 0.2s;
}

.help-card:hover .read-more {
    gap: 10px;
    color: var(--brand-blue-soft);
    text-decoration: underline;
}

.help-card .read-more svg {
    width: 16px;
    height: 16px;
}

/* CTA */
.cta-box {
    text-align: center;
    border: 1px solid #30363d;
    background: #161b22;
    border-radius: 6px;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    display: none;
}

.cta-box h2 {
    font-size: 48px;
    margin: 0 0 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-box p {
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 20px;
}

.purchase-btn.big {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 6px;
}

.back-to-top {
    position: fixed;
    right: 40px;
    bottom: 28px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(143, 157, 255, 0.34);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(22, 30, 58, 0.94) 0%, rgba(14, 19, 35, 0.96) 100%);
    color: #dfe6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(2, 10, 22, 0.42), 0 0 0 1px rgba(143, 157, 255, 0.12) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 16px, 0) scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, visibility 0.22s ease;
    z-index: 80;
    pointer-events: none;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: rgba(143, 157, 255, 0.54);
    box-shadow: 0 18px 38px rgba(2, 10, 22, 0.5), 0 0 20px rgba(143, 157, 255, 0.18);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    display: block;
}

.site-footer {
    border-top: 1px solid #30363d;
    padding: 40px 0;
    margin-top: 60px;
    background: #0d1117;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #8b949e;
    font-size: 12px;
    text-align: center;
}

.footer-main-text,
.footer-records {
    margin: 0;
}

.footer-records {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-record-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    line-height: 1;
}

.footer-records a {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.footer-record-badge img {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 15px;
}

@media (max-width: 980px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-grid,
    .feature-grid,
    .download-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .workspace-demo {
        grid-template-columns: 1fr;
    }

    .workspace-nav {
        display: none;
    }

    .workspace-shell {
        min-height: auto;
    }

    .workspace-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .metrics {
        flex-direction: column;
        gap: 14px;
        margin-top: 36px;
    }
    
    .hero-grid {
        display: block;
    }

    .purchase-embed {
        padding: 0;
    }

    .purchase-embed-frame {
        min-height: calc(100vh - 120px);
    }

    .library-embed-frame {
        min-height: calc(100vh - 120px);
    }

    .back-to-top {
        right: 24px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
}
