:root {
    --bg: #0f0f1a;
    --bg-elevated: #13132b;
    --bg-card: rgba(26, 26, 59, 0.94);
    --bg-card-strong: #1a1a3b;
    --surface-soft: rgba(51, 51, 85, 0.48);
    --line: rgba(42, 42, 77, 0.9);
    --line-strong: rgba(0, 130, 251, 0.65);
    --text: #f2f6ff;
    --muted: #a0a0c0;
    --muted-strong: #d9def6;
    --accent: #0082fb;
    --accent-strong: #001c71;
    --accent-soft: rgba(0, 130, 251, 0.18);
    --accent-light: #29b6f6;
    --success: #2fd6a4;
    --danger: #ff6b88;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content-width: 1240px;
    --surface-glow-1: rgba(56, 71, 255, 0.28);
    --surface-glow-2: rgba(62, 192, 89, 0.22);
    --surface-fill-top: #11142b;
    --surface-fill-bottom: #0b0d18;
    --surface-opacity: 1;
    --site-grid-opacity: 0.9;
    --site-grid-line: rgba(56, 71, 255, 0.038);
    --site-grid-line-alt: rgba(62, 192, 89, 0.03);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #0f0f1a 0%, #11142b 42%, #0b0d18 100%);
    color: var(--text);
    font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

img,
video {
    max-width: 100%;
    display: block;
}

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

section[id] {
    scroll-margin-top: 110px;
}

.site-surface {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 14% 8%, var(--surface-glow-1), transparent 30%),
        radial-gradient(circle at 84% 18%, var(--surface-glow-2), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%),
        linear-gradient(180deg, var(--surface-fill-top) 0%, var(--surface-fill-bottom) 100%);
    opacity: var(--surface-opacity);
    transition: opacity 200ms ease, background 200ms ease;
    pointer-events: none;
    z-index: 0;
}

.site-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--site-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-grid-line-alt) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
    pointer-events: none;
    z-index: 0;
    opacity: var(--site-grid-opacity);
    transition: opacity 200ms ease, background-image 200ms ease;
}

.app-shell {
    width: min(100%, var(--content-width));
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0 0;
    transition: padding 180ms ease;
}

.site-header.scrolled {
    padding-top: 8px;
}

.nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 84px;
    padding: 10px 18px 10px 16px;
    border: 1px solid rgba(61, 76, 124, 0.88);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(13, 18, 38, 0.96), rgba(9, 13, 27, 0.94)),
        rgba(10, 14, 30, 0.82);
    backdrop-filter: blur(18px);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex: 0 0 auto;
    margin-right: 0;
    padding: 8px 22px 8px 6px;
    border-right: 1px solid rgba(62, 72, 111, 0.72);
}

.brand-logo,
.hero-logo {
    object-fit: contain;
}

.brand-logo {
    width: 168px;
    height: auto;
    filter: drop-shadow(0 10px 26px rgba(24, 135, 255, 0.24));
}

.brand-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-meta strong {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.brand-meta small {
    color: var(--muted);
    font-size: 0.72rem;
}

.app-nav {
    padding: 0;
}

.nav-toggle {
    position: relative;
    width: 64px;
    min-width: 64px;
    min-height: 52px;
    padding: 0;
    border-color: var(--line-strong);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(21, 28, 50, 0.98), rgba(10, 16, 31, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.22);
}

.nav-toggle .navbar-toggler-icon {
    position: relative;
    width: 22px;
    height: 14px;
    background-image: none;
    border-top: 2px solid #dff7ff;
    border-bottom: 2px solid #7fd6ff;
    filter: none;
}

.nav-toggle .navbar-toggler-icon::before,
.nav-toggle .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dff7ff, #7fd6ff);
    box-shadow: 0 0 12px rgba(0, 130, 251, 0.18);
}

.nav-toggle .navbar-toggler-icon::before {
    top: 5px;
}

.nav-toggle .navbar-toggler-icon::after {
    top: 10px;
}

.nav-toggle[aria-expanded="true"] .navbar-toggler-icon {
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.nav-toggle[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 6px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 6px;
    transform: rotate(-45deg);
}

.navbar-collapse {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    margin-left: clamp(12px, 2vw, 26px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: center;
    margin: 0 auto;
    padding: 6px;
    list-style: none;
    border: 1px solid rgba(61, 72, 111, 0.74);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 28, 51, 0.92), rgba(16, 21, 40, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px !important;
    border-radius: 12px;
    border: 1px solid rgba(78, 84, 120, 0.84);
    background: linear-gradient(180deg, rgba(54, 58, 92, 0.94), rgba(34, 38, 66, 0.98));
    color: #f5f7ff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: linear-gradient(180deg, rgba(69, 74, 112, 0.98), rgba(42, 46, 79, 0.98));
    border-color: rgba(122, 132, 188, 0.94);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.nav-link-primary,
.nav-link-primary:hover,
.nav-link-primary:focus-visible {
    background: linear-gradient(135deg, var(--accent) 0%, #3fbeff 100%);
    border-color: rgba(72, 182, 255, 0.78);
    color: white;
    box-shadow: 0 12px 28px rgba(0, 130, 251, 0.22);
}

.nav-actions,
.account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions {
    justify-self: end;
    padding: 6px;
    border: 1px solid rgba(61, 72, 111, 0.74);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 28, 51, 0.92), rgba(16, 21, 40, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.account-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.nav-actions .btn-nav-danger {
    min-width: 132px;
    justify-content: center;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(71, 77, 112, 0.85);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(49, 53, 86, 0.92), rgba(35, 38, 67, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-link {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.lang-link.active {
    background: linear-gradient(135deg, var(--accent), #43b6ff);
    color: white;
}

.logout-form {
    margin: 0;
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-width: 1px;
    box-shadow: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn-lg {
    padding: 0.92rem 1.35rem;
}

.btn-sm {
    padding: 0.42rem 0.78rem;
    border-radius: 10px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--accent) 0%, #3fbeff 100%);
    border-color: transparent;
    color: white;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-nav,
.btn-nav:hover,
.btn-nav:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost,
.btn-ghost:hover,
.btn-ghost:focus {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--muted-strong);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border-color: rgba(78, 84, 120, 0.84);
    background: linear-gradient(180deg, rgba(54, 58, 92, 0.94), rgba(34, 38, 66, 0.98));
    color: #f5f7ff;
    font-size: 0.95rem;
    line-height: 1;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-nav.subtle {
    color: var(--muted);
}

.btn-nav-danger,
.btn-nav-danger:hover,
.btn-nav-danger:focus {
    background: linear-gradient(180deg, rgba(141, 62, 84, 0.96), rgba(112, 41, 62, 0.98));
    border-color: rgba(173, 89, 113, 0.92);
    color: white;
    box-shadow: 0 12px 28px rgba(126, 39, 64, 0.2);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(22, 134, 255, 0.18);
}

.btn:focus-visible,
.nav-link:focus-visible,
.lang-link:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 134, 255, 0.26);
}

.app-main {
    padding: 34px 0 90px;
}

.hero-section,
.section-block,
.portal-shell,
.download-shell,
.content-shell {
    margin-bottom: 28px;
}

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-top-row {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.hero-content {
    padding: 48px 38px 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(42, 181, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(28, 28, 62, 0.96), rgba(22, 22, 50, 0.96));
    box-shadow: var(--shadow);
}

.hero-sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 120px;
}

.hero-main-screenshot,
.hero-main-video {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(63, 190, 255, 0.18);
    background: rgba(10, 13, 26, 0.95);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 130, 251, 0.08);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.hero-main-screenshot:hover,
.hero-main-video:hover {
    transform: translateY(-4px);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 130, 251, 0.16),
        0 0 60px rgba(0, 130, 251, 0.06);
}

.hero-main-screenshot > img,
.hero-main-video-frame {
    width: 100%;
    max-height: 720px;
    display: block;
}

.hero-main-video-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(33, 166, 255, 0.14), transparent 32%),
        #090c19;
    cursor: pointer;
    isolation: isolate;
}

.hero-main-video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 24, 0.04), rgba(7, 11, 24, 0.2));
    pointer-events: none;
    z-index: 1;
}

.hero-main-video-player {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
    object-position: top;
    display: block;
    cursor: pointer;
}

.hero-main-video-frame.is-playing::before {
    opacity: 0;
}

.hero-main-video-frame.is-playing .screenshot-shine {
    opacity: 0.12;
}

.hero-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 98px;
    height: 98px;
    padding: 0;
    border: 1px solid rgba(90, 214, 255, 0.74);
    border-radius: 999px;
    background: linear-gradient(135deg, #0082fb 0%, #30b7ff 46%, #0a2b92 100%);
    box-shadow:
        0 24px 54px rgba(0, 130, 251, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-video-play-button::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-video-play-button::after {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: inherit;
    border: 1px solid rgba(81, 206, 255, 0.16);
    background: radial-gradient(circle, rgba(0, 130, 251, 0.18) 0%, rgba(0, 130, 251, 0) 72%);
    z-index: -1;
}

.hero-video-play-button:hover,
.hero-video-play-button:focus-visible {
    transform: translate(-50%, -52%) scale(1.03);
    filter: saturate(1.08);
    box-shadow:
        0 30px 66px rgba(0, 130, 251, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero-video-play-button[hidden] {
    display: none !important;
}

.hero-video-play-icon {
    width: 0;
    height: 0;
    margin-left: 7px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid white;
    filter: drop-shadow(0 3px 10px rgba(3, 18, 48, 0.36));
}

.hero-main-screenshot figcaption,
.hero-main-video figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 24px 20px;
    background: linear-gradient(180deg, rgba(7, 11, 24, 0.8), rgba(7, 11, 24, 0.95));
}

.hero-main-screenshot figcaption strong,
.hero-main-video figcaption strong {
    font-size: 1.05rem;
}

.hero-main-screenshot figcaption span,
.hero-main-video figcaption span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.hero-video-hd-button {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(41, 182, 246, 0.52);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(16, 24, 46, 0.94), rgba(11, 16, 31, 0.96));
    color: white;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.hero-video-hd-button:hover,
.hero-video-hd-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(71, 202, 255, 0.78);
    background: linear-gradient(180deg, rgba(24, 37, 69, 0.96), rgba(13, 20, 38, 0.98));
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

.screenshot-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 44%,
        rgba(130, 220, 255, 0.06) 48%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(102, 210, 255, 0.08) 52%,
        rgba(255, 255, 255, 0.02) 56%,
        transparent 60%
    );
    transform: translateX(-140%);
    animation: screenshot-shine 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes screenshot-shine {
    0%, 50% { transform: translateX(-140%); }
    100% { transform: translateX(140%); }
}

@media (prefers-reduced-motion: reduce) {
    .screenshot-shine { animation: none; opacity: 0; }
}

/* hero-floating-cards removed, replaced by .hero-sidebar-cards */

.hero-float-card {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(63, 190, 255, 0.15);
    background: rgba(14, 18, 35, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-float-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    border-color: rgba(63, 190, 255, 0.35);
}

.hero-float-card img {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 14px 14px 0;
}

.hero-float-card span {
    display: block;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted-strong);
    background: rgba(8, 12, 25, 0.9);
}

.section-block,
.dashboard-card,
.download-card,
.legal-card {
    border: 1px solid var(--line);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 12px;
    color: #6ac1ff;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-copy h1,
.hero-content h1 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(2.8rem, 4.4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.feature-card p,
.price-card p,
.faq-list p,
.cta-card p,
.download-card p,
.legal-card p,
.portal-header p,
.dashboard-card p,
.muted {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    margin: 18px 0 0;
    max-width: 58ch;
    font-size: 1.06rem;
}

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

.hero-strip-item {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.hero-strip-item strong,
.footer-brand strong {
    display: block;
    margin-bottom: 4px;
}

.hero-strip-item span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.hero-actions {
    margin-top: 26px;
}

.hero-link-grid {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

/* hero-copy-rebuilt: removed, replaced by .hero-content */

.hero-proof-card {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 130, 251, 0.22);
    background:
        linear-gradient(180deg, rgba(0, 130, 251, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(18, 22, 47, 0.95);
}

.hero-proof-card strong {
    font-size: 1rem;
}

.hero-proof-card span {
    color: var(--muted);
    line-height: 1.6;
}

.hero-proof-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(90, 98, 138, 0.38);
}

.hero-proof-pills span,
.hero-anchor {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-proof-pills span {
    position: relative;
    padding-left: 18px;
}

.hero-proof-pills span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3fc0ff, #0082fb);
    box-shadow: 0 0 0 5px rgba(0, 130, 251, 0.1);
    transform: translateY(-50%);
}

.hero-anchor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-anchor {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.hero-anchor:hover,
.hero-anchor:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(41, 182, 246, 0.65);
    background: rgba(0, 130, 251, 0.12);
    box-shadow: 0 12px 28px rgba(0, 130, 251, 0.14);
}

.hero-link-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(0, 130, 251, 0.22);
    background:
        linear-gradient(180deg, rgba(0, 130, 251, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(18, 22, 47, 0.95);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
    cursor: pointer;
}

.hero-link-card strong {
    font-size: 1rem;
    color: var(--text);
}

.hero-link-card span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.hero-link-card small {
    color: var(--accent-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-link-card:hover,
.hero-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(41, 182, 246, 0.65);
    box-shadow: 0 18px 34px rgba(0, 130, 251, 0.16);
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-notes span,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.product-window {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.96), rgba(26, 26, 59, 0.96));
    box-shadow: var(--shadow);
    min-height: 0;
}

.product-window::after {
    content: "";
    position: absolute;
    inset: -34%;
    background: linear-gradient(
        102deg,
        transparent 35%,
        rgba(255, 255, 255, 0.01) 42%,
        rgba(130, 220, 255, 0.08) 47%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(102, 210, 255, 0.12) 53%,
        rgba(255, 255, 255, 0.02) 58%,
        transparent 64%
    );
    transform: translateX(-135%) translateY(-2%) rotate(8deg);
    transform-origin: center;
    animation: product-window-glare 19s ease-in-out infinite;
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
    z-index: 3;
}

.product-window,
.product-window * {
    cursor: default;
    user-select: none;
}

.product-window > * {
    position: relative;
    z-index: 1;
}

.screenshot-window {
    display: block;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(0, 130, 251, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(15, 15, 26, 0.96), rgba(26, 26, 59, 0.96));
}

.screenshot-window-hero {
    position: relative;
    display: block;
    min-height: 780px;
    padding: 22px;
}

.screenshot-stage {
    position: relative;
    min-height: 860px;
}

.hero-shot {
    margin: 0;
    position: absolute;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(63, 190, 255, 0.2);
    background: rgba(10, 13, 26, 0.9);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.hero-shot img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-shot figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(7, 11, 24, 0.7), rgba(7, 11, 24, 0.92));
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-shot figcaption strong {
    font-size: 1rem;
}

.hero-shot figcaption span {
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
}

.hero-shot-main {
    position: relative;
    width: min(74%, 720px);
}

.hero-shot-main img {
    aspect-ratio: 1253 / 1290;
    object-fit: cover;
    object-position: top;
}

.hero-shot-main figcaption {
    right: auto;
    max-width: 340px;
}

.hero-shot-main-full {
    position: relative;
    width: 100%;
    border-radius: 26px;
}

.hero-shot-main-full img {
    width: 100%;
    height: 100%;
    max-height: 780px;
    aspect-ratio: 1.04 / 1;
    object-fit: cover;
    object-position: top;
    background: rgba(7, 11, 24, 0.95);
}

.hero-shot-main-full figcaption {
    right: auto;
    max-width: 430px;
}

.product-hero-stage {
    min-height: 780px;
}

.hero-shot-float {
    position: absolute;
    z-index: 2;
    backdrop-filter: blur(12px);
}

.hero-shot-divvy-card {
    top: 24px;
    right: 24px;
    width: min(34%, 292px);
}

.hero-shot-divvy-card img {
    aspect-ratio: 318 / 328;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 14px 14px 0;
}

.hero-shot-switcher-card {
    left: 24px;
    bottom: 24px;
    width: min(58%, 444px);
}

.hero-shot-switcher-card img {
    aspect-ratio: 598 / 142;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 16px 16px 0;
}

.workflow-ribbon {
    margin: 0 0 22px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(11, 16, 32, 0.86);
    box-shadow: var(--shadow);
}

.workflow-ribbon img {
    width: 100%;
    aspect-ratio: 16 / 3;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 18px 22px 0;
}

.workflow-ribbon figcaption {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px 18px;
    background: rgba(8, 12, 25, 0.9);
}

.workflow-ribbon strong {
    flex: 0 0 auto;
    font-size: 1rem;
}

.workflow-ribbon span {
    color: var(--muted);
    line-height: 1.55;
}

.showcase-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.showcase-shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(9, 13, 27, 0.78);
    box-shadow: var(--shadow);
}

.showcase-shot-wide {
    grid-column: span 6;
}

.showcase-shot-portrait {
    grid-column: span 4;
}

.showcase-shot-portrait-large {
    grid-column: span 6;
}

.showcase-shot-desktop {
    grid-column: span 6;
}

.showcase-shot-desktop img {
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: top;
}

.showcase-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    background: #080b18;
}

.showcase-shot-wide img {
    aspect-ratio: 16 / 9;
}

.showcase-shot-portrait img {
    aspect-ratio: 0.92 / 1;
}

.showcase-shot figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 18px 20px;
    background: linear-gradient(180deg, transparent, rgba(7, 11, 24, 0.94));
}

.showcase-shot figcaption strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.showcase-shot figcaption span {
    color: var(--muted-strong);
    font-size: 0.92rem;
    line-height: 1.55;
}

.workspace-rail {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 16px 18px;
    background: rgba(19, 19, 43, 0.98);
    border-right: 1px solid var(--line);
}

.workspace-rail-logo {
    width: 128px;
    height: auto;
}

.workspace-rail-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.workspace-list {
    display: grid;
    gap: 10px;
}

.workspace-tile {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.035);
}

.workspace-tile.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
}

.workspace-tile strong,
.binding-row strong,
.workspace-title-block strong {
    display: block;
    font-size: 1rem;
}

.workspace-tile small,
.binding-row small,
.workspace-title-block span {
    color: var(--muted);
    font-size: 0.8rem;
}

.workspace-tile.active small {
    color: rgba(255, 255, 255, 0.82);
}

.workspace-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--accent-light);
    box-shadow: 0 0 0 4px rgba(41, 182, 246, 0.12);
}

.workspace-tile.active .workspace-dot {
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.workspace-rail-footer {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.workspace-rail-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

.workspace-rail-action.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-color: transparent;
}

.workspace-rail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.workspace-rail-actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 700;
}

.product-canvas {
    display: grid;
    gap: 16px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(0, 130, 251, 0.08), transparent 22%),
        rgba(18, 20, 39, 0.96);
}

.product-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    padding: 4px 4px 0;
}

.product-stage {
    display: grid;
    gap: 16px;
}

.product-toolbar-actions,
.module-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toolbar-pill,
.module-chip-row span,
.feature-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.84rem;
    font-weight: 700;
}

.toolbar-pill.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-color: transparent;
    color: white;
}

.product-module {
    padding: 24px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(26, 26, 59, 0.9);
}

.product-module-grid {
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.12), transparent 26%),
        rgba(26, 26, 59, 0.92);
}

.product-module-bindings {
    padding-top: 20px;
}

.product-module-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.product-module-head.compact {
    margin-bottom: 14px;
}

.product-module-head p {
    margin: 0 0 6px;
    color: var(--accent-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.product-module-head h3 {
    margin: 0;
    font-size: 1.34rem;
    line-height: 1.1;
}

.grid-editor-shell {
    display: grid;
    gap: 14px;
}

.grid-editor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grid-editor-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.88rem;
}

.meta-check {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.grid-editor-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 18px;
    border-radius: 20px;
    background: #0f0f1a;
    border: 1px solid var(--line);
    max-width: 420px;
    width: min(100%, 390px);
    margin: 0 auto;
    aspect-ratio: 1.42 / 1;
}

.grid-zone {
    position: relative;
    min-height: 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 130, 251, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: 800;
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.grid-zone.bright {
    background: rgba(49, 141, 191, 0.92);
}

.grid-zone.dark {
    background: rgba(13, 34, 66, 0.96);
}

.grid-zone-index {
    font-size: 0.8rem;
    line-height: 1;
}

.grid-zone-app,
.grid-zone-switch {
    align-self: center;
    min-width: 28px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120, 151, 205, 0.42);
    background: rgba(8, 14, 32, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.grid-zone-switch {
    align-self: flex-start;
}

.product-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    gap: 18px;
}

.binding-list,
.settings-stack {
    display: grid;
    gap: 10px;
}

.binding-row,
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.binding-row {
    justify-content: space-between;
}

.binding-row-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.binding-row-meta > div {
    min-width: 0;
}

.binding-id {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    font-weight: 800;
}

.binding-id.inactive {
    background: rgba(128, 134, 163, 0.28);
    color: var(--muted-strong);
}

.binding-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.muted-row {
    background: rgba(255, 255, 255, 0.05);
}

.settings-row strong {
    display: block;
    font-size: 0.95rem;
}

.settings-row span {
    color: var(--muted);
    text-align: right;
    font-size: 0.9rem;
}

.settings-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.settings-pill {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.settings-pill strong {
    font-size: 0.95rem;
}

.settings-pill span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-switcher {
    max-width: 720px;
    margin-left: auto;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(41, 182, 246, 0.4);
    background:
        linear-gradient(180deg, rgba(8, 17, 35, 0.95), rgba(15, 24, 46, 0.95));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.product-switcher-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.product-switcher-head strong {
    font-size: 1rem;
}

.switcher-status {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 130, 251, 0.16);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.product-switcher-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.switcher-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.switcher-chip.active {
    border-color: rgba(41, 182, 246, 0.74);
    background: linear-gradient(135deg, rgba(0, 130, 251, 0.18), rgba(41, 182, 246, 0.08));
}

.switcher-chip-grid {
    width: 36px;
    height: 24px;
    border-radius: 8px;
    background:
        linear-gradient(transparent 46%, rgba(255, 255, 255, 0.14) 46%, rgba(255, 255, 255, 0.14) 54%, transparent 54%),
        linear-gradient(90deg, transparent 32%, rgba(255, 255, 255, 0.14) 32%, rgba(255, 255, 255, 0.14) 36%, transparent 36%, transparent 64%, rgba(255, 255, 255, 0.14) 64%, rgba(255, 255, 255, 0.14) 68%, transparent 68%),
        linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.switcher-chip small {
    color: var(--muted);
}

@keyframes product-window-glare {
    0% {
        transform: translateX(-135%) translateY(-2%) rotate(8deg);
    }

    44% {
        transform: translateX(-135%) translateY(-2%) rotate(8deg);
    }

    100% {
        transform: translateX(138%) translateY(2%) rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-window::after {
        animation: none;
        opacity: 0.35;
        transform: translateX(0) translateY(0) rotate(8deg);
    }
}

.feature-grid-app .feature-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(26, 26, 59, 0.9);
}

.feature-tag {
    margin-bottom: 14px;
    min-height: 30px;
    padding: 0 10px;
}

.switcher-layout {
    display: grid;
    grid-template-columns: minmax(340px, 1.08fr) minmax(280px, 0.92fr);
    gap: 18px;
    align-items: stretch;
}

.switcher-demo,
.overlay-card {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(20, 23, 50, 0.92);
    box-shadow: var(--shadow);
}

.switcher-demo {
    padding: 18px;
}

.switcher-demo-head,
.switcher-demo-row,
.switcher-demo-foot {
    display: flex;
    gap: 12px;
}

.switcher-demo-head {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.switcher-demo-head strong {
    font-size: 1rem;
}

.switcher-demo-controls {
    display: flex;
    gap: 8px;
}

.switcher-demo-controls span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.8rem;
}

.switcher-demo-row {
    margin-bottom: 14px;
}

.switcher-workspace-card {
    flex: 1 1 0;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.switcher-workspace-card.active {
    border-color: rgba(0, 130, 251, 0.92);
    background: linear-gradient(135deg, rgba(0, 130, 251, 0.22), rgba(41, 182, 246, 0.12));
}

.switcher-card-grid {
    width: 44px;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(90deg, transparent 32%, rgba(255, 255, 255, 0.14) 32%, rgba(255, 255, 255, 0.14) 36%, transparent 36%, transparent 64%, rgba(255, 255, 255, 0.14) 64%, rgba(255, 255, 255, 0.14) 68%, transparent 68%),
        linear-gradient(transparent 48%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.14) 52%, transparent 52%),
        linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.switcher-workspace-card small {
    color: var(--muted);
}

.switcher-demo-foot {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.switcher-demo-foot > div {
    flex: 1 1 0;
}

.switcher-demo-foot strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-light);
    font-size: 0.85rem;
}

.switcher-demo-foot span {
    color: var(--muted);
    font-size: 0.9rem;
}

.overlay-stack {
    display: grid;
    gap: 18px;
}

.overlay-card {
    padding: 22px;
}

.overlay-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.overlay-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto -12% -34% auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 134, 255, 0.28), transparent 62%);
}

.hero-logo {
    width: 196px;
    margin: 0 auto;
    filter: drop-shadow(0 16px 36px rgba(24, 135, 255, 0.35));
}

.hero-panel-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-zone {
    min-height: 118px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(180deg, rgba(34, 138, 255, 0.12), rgba(34, 138, 255, 0.02)),
        rgba(19, 27, 58, 0.88);
}

.hero-zone span {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}

.hero-zone small {
    color: var(--muted);
}

.hero-zone-lg {
    grid-row: span 2;
    min-height: 248px;
}

.hero-zone-wide {
    grid-column: 1 / -1;
    min-height: 84px;
}

.section-block,
.dashboard-card,
.download-card,
.legal-card {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.section-heading {
    max-width: 70ch;
    margin-bottom: 24px;
}

.section-heading-wide {
    max-width: 76ch;
}

.section-heading-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 22px;
    align-items: end;
}

.section-heading.compact {
    margin-bottom: 22px;
}

.section-heading h2,
.section-heading h1,
.portal-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-heading p:last-child {
    margin-bottom: 0;
}

.feature-grid,
.pricing-grid,
.download-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.price-card,
.download-card {
    grid-column: span 3;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    padding: 24px;
}

.feature-card h3,
.price-card h3,
.download-card h2,
.dashboard-card h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.price-card,
.download-card {
    grid-column: span 4;
}

.pricing-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 12%, rgba(0, 130, 251, 0.18), transparent 22%),
        radial-gradient(circle at 14% 100%, rgba(122, 139, 255, 0.12), transparent 24%),
        var(--bg-card);
}

.pricing-stage {
    position: relative;
    display: grid;
    gap: 22px;
}

.pricing-heading {
    margin-bottom: 0;
}

.pricing-highlight {
    display: grid;
    grid-template-columns: 220px minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 0;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(72, 182, 255, 0.32);
    background:
        radial-gradient(circle at top right, rgba(0, 130, 251, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(16, 27, 58, 0.98), rgba(12, 20, 44, 0.98));
    box-shadow:
        0 26px 62px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-highlight-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(90, 214, 255, 0.36);
    background: linear-gradient(135deg, rgba(0, 130, 251, 0.18), rgba(49, 183, 255, 0.08));
    color: #dff3ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(0, 130, 251, 0.12);
}

.pricing-highlight strong {
    font-size: 1.18rem;
    line-height: 1.45;
}

.pricing-highlight span {
    color: var(--muted);
    line-height: 1.72;
}

.pricing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pricing-trust-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(79, 88, 129, 0.72);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pricing-trust-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3fc0ff, #0082fb);
    box-shadow: 0 0 0 5px rgba(0, 130, 251, 0.12);
}

.price-card.featured {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 130, 251, 0.2), rgba(13, 29, 62, 0.8));
    border-color: rgba(41, 182, 246, 0.55);
}

.pricing-grid-spotlight {
    align-items: stretch;
    gap: 20px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    padding: 28px 26px 26px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(74, 80, 116, 0.94);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(33, 35, 67, 0.96), rgba(18, 20, 42, 0.98));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    cursor: pointer;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    opacity: 0.75;
}

.price-card:hover,
.price-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(92, 196, 255, 0.42);
    box-shadow:
        0 32px 76px rgba(0, 0, 0, 0.32),
        0 0 42px rgba(0, 130, 251, 0.07);
}

.price-card[role="link"]:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(22, 134, 255, 0.28),
        0 32px 76px rgba(0, 0, 0, 0.32);
}

.price-card-free {
    background:
        radial-gradient(circle at top right, rgba(122, 139, 255, 0.06), transparent 32%),
        linear-gradient(180deg, rgba(31, 33, 60, 0.96), rgba(18, 20, 42, 0.98));
}

.price-card-yearly {
    background:
        radial-gradient(circle at top right, rgba(101, 196, 255, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(28, 30, 58, 0.96), rgba(18, 20, 42, 0.98));
}

.price-value {
    margin-bottom: 4px;
    font-family: "Bahnschrift", "Aptos Display", sans-serif;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-value small {
    font-size: 0.9rem;
    color: var(--muted);
}

.price-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.price-card-head h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.price-card-label,
.price-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-card-label {
    border: 1px solid rgba(89, 98, 142, 0.8);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
}

.price-card-badge {
    border: 1px solid rgba(113, 219, 255, 0.52);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    box-shadow: 0 12px 28px rgba(0, 130, 251, 0.16);
}

.price-card p {
    margin: 0;
}

.price-card-top {
    display: grid;
    gap: 10px;
}

.price-card-kicker {
    color: #d8e7ff;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.45;
}

.price-card-description {
    color: var(--muted);
    line-height: 1.7;
}

.price-card-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.price-card-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted-strong);
    line-height: 1.55;
}

.price-card-list li::before {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #43c1ff, #0082fb);
    box-shadow: 0 0 0 5px rgba(0, 130, 251, 0.1);
}

.price-card-pro,
.price-card.featured {
    border-color: rgba(82, 194, 255, 0.7);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.24), transparent 30%),
        linear-gradient(180deg, rgba(17, 52, 120, 0.96), rgba(14, 34, 78, 0.98) 48%, rgba(16, 21, 44, 0.99));
    box-shadow:
        0 42px 92px rgba(0, 40, 102, 0.36),
        0 0 0 1px rgba(41, 182, 246, 0.12);
}

.price-card-pro::after,
.price-card.featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%);
    pointer-events: none;
}

.price-card-pro .price-card-kicker,
.price-card.featured .price-card-kicker {
    color: #f4fbff;
}

.price-card-pro .price-card-list li,
.price-card.featured .price-card-list li {
    color: #eef7ff;
}

.price-card-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    min-height: 60px;
    font-size: 1.02rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 34px rgba(0, 0, 0, 0.18);
}

.price-card-note {
    display: block;
    color: var(--muted);
    line-height: 1.58;
    font-size: 0.9rem;
}

.media-grid,
.video-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.media-card,
.video-card {
    grid-column: span 6;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(9, 13, 27, 0.75);
}

.media-card img,
.video-card video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #080b18;
}

.media-card figcaption,
.video-card span {
    display: block;
    padding: 14px 16px 18px;
    color: var(--muted-strong);
}

.media-card figcaption strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.media-card figcaption span {
    display: block;
    color: var(--muted);
    line-height: 1.55;
}

.detail-media-grid {
    align-items: start;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.workflow-step {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(42, 181, 255, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(22, 24, 46, 0.96), rgba(16, 17, 33, 0.96));
    box-shadow: var(--shadow);
}

.workflow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(41, 182, 246, 0.4);
    background: linear-gradient(135deg, rgba(0, 130, 251, 0.18), rgba(41, 182, 246, 0.08));
    color: #9fdcff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.workflow-shot {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(64, 73, 112, 0.9);
    background: rgba(9, 13, 27, 0.82);
}

.workflow-shot img {
    width: 100%;
    display: block;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
}

.workflow-step-switcher .workflow-shot img {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    padding: 18px 18px 0;
}

.workflow-step-divvy .workflow-shot img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 16px 16px 0;
}

.workflow-step-binding .workflow-shot img {
    aspect-ratio: 0.88 / 1;
    object-fit: cover;
    object-position: top;
}

.workflow-step-body {
    display: grid;
    gap: 10px;
}

.workflow-step-body h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.workflow-step-body p {
    margin: 0;
}

.depth-summary-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 130, 251, 0.24);
    background:
        linear-gradient(180deg, rgba(0, 130, 251, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(18, 22, 47, 0.95);
    box-shadow: var(--shadow);
}

.depth-summary-card strong {
    font-size: 1.05rem;
    line-height: 1.45;
}

.depth-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.depth-summary-list div {
    display: grid;
    gap: 4px;
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.depth-summary-list span {
    font-weight: 700;
}

.depth-summary-list small {
    color: var(--muted);
    line-height: 1.45;
}

.advanced-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

/* ── Showcase Gallery ── */

.showcase-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.gallery-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(63, 190, 255, 0.14);
    background: rgba(10, 13, 26, 0.94);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.35);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.42), 0 0 40px rgba(0, 130, 251, 0.05);
    border-color: rgba(63, 190, 255, 0.3);
}

.gallery-card > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

.gallery-card-hero > img {
    max-height: 580px;
}

.gallery-card figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 22px 20px;
    background: linear-gradient(180deg, rgba(7, 11, 24, 0.75), rgba(7, 11, 24, 0.95));
}

.gallery-card figcaption strong {
    font-size: 1.02rem;
    flex-shrink: 0;
}

.gallery-card figcaption span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.gallery-row .gallery-card > img {
    aspect-ratio: 0.85 / 1;
    object-fit: cover;
    object-position: top;
}

.gallery-row .gallery-card figcaption {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

/* ── Lightbox ── */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 6, 14, 0.92);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms ease, visibility 240ms ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.lightbox-content {
    margin: 0;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.94);
    transition: transform 280ms ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-content video {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    background: #090c19;
}

.lightbox-content figcaption {
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted-strong);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.detail-media-grid-three {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.detail-media-card {
    background: rgba(11, 16, 32, 0.86);
}

.detail-media-card-wide {
    grid-column: span 12;
}

.detail-media-card-wide img {
    aspect-ratio: 16 / 3.4;
    object-fit: contain;
    background:
        linear-gradient(180deg, rgba(14, 18, 35, 0.94), rgba(17, 20, 38, 0.94));
    padding: 20px 24px 0;
}

.detail-toolbar-card {
    margin: 0 0 18px;
}

.detail-media-card-switcher,
.detail-media-card-divvy,
.detail-media-card-binding {
    grid-column: span 4;
}

.detail-media-card-switcher img {
    aspect-ratio: 16 / 8.2;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 18px 18px 0;
}

.detail-media-card-divvy img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
    padding: 16px 16px 0;
}

.detail-media-card-binding img {
    aspect-ratio: 0.88 / 1;
    object-fit: cover;
    object-position: top;
}

.media-placeholder,
.video-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 240px;
    padding: 22px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 18px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.faq-list p {
    margin: 14px 0 0;
}

.cta-card {
    padding: 34px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(circle at top right, rgba(22, 134, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(22, 134, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.portal-shell,
.download-shell,
.content-shell {
    padding-top: 8px;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

.portal-user-card {
    min-width: 250px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.portal-user-card strong,
.portal-user-card span {
    display: block;
}

.portal-user-card span {
    color: var(--muted);
    margin-top: 6px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.portal-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.portal-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(83, 92, 133, 0.72);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.portal-tab-link:hover,
.portal-tab-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(90, 214, 255, 0.56);
    color: var(--text);
}

.portal-tab-link.active {
    border-color: rgba(90, 214, 255, 0.56);
    background: linear-gradient(135deg, rgba(0, 130, 251, 0.2), rgba(63, 190, 255, 0.12));
    box-shadow: 0 12px 28px rgba(0, 130, 251, 0.14);
    color: white;
}

.dashboard-card {
    grid-column: span 4;
}

.dashboard-card.wide,
.download-card.wide {
    grid-column: span 12;
}

.portal-actions-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.portal-link-card {
    grid-column: span 6;
    display: block;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.portal-link-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.portal-link-card span {
    color: var(--muted);
    line-height: 1.65;
}

.portal-link-card:hover,
.portal-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 12px 30px rgba(22, 134, 255, 0.12);
}

.portal-link-card.admin {
    background: linear-gradient(180deg, rgba(22, 134, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.auth-card,
.admin-cockpit-card {
    padding: 28px;
}

.auth-form-grid {
    display: grid;
    gap: 16px;
}

.auth-divider {
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(90deg, transparent, rgba(90, 214, 255, 0.28), transparent);
}

.admin-cockpit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric-card {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(83, 92, 133, 0.72);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(24, 29, 56, 0.96), rgba(16, 20, 40, 0.98));
}

.admin-metric-card span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-metric-card strong {
    font-size: 1.9rem;
    line-height: 1;
}

.status-banner {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(47, 214, 164, 0.35);
    background: rgba(47, 214, 164, 0.08);
    color: #b8ffea;
}

.status-pill.secondary {
    background: rgba(255, 255, 255, 0.05);
}

.license-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.data-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.data-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.data-list dt {
    color: var(--muted);
    font-weight: 500;
}

.data-list dd {
    margin: 0;
    color: var(--text);
    text-align: right;
}

.api-token-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line);
}

.api-token-value {
    flex: 1;
    font-family: "Cascadia Code", "Fira Code", "Consolas", monospace;
    font-size: 0.95rem;
    color: var(--accent-light);
    word-break: break-all;
    user-select: all;
}

.api-token-display.compact {
    padding: 10px 12px;
    margin-top: 10px;
}

.api-token-display.compact .api-token-value {
    font-size: 0.82rem;
}

.status-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(90, 214, 255, 0.24);
    background: rgba(0, 130, 251, 0.08);
    color: #d8f4ff;
    line-height: 1.65;
}

.status-note.compact {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 0.84rem;
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.support-ticket-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.support-ticket-form,
.support-ticket-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(68, 73, 110, 0.94);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.06), transparent 34%),
        linear-gradient(180deg, rgba(24, 28, 54, 0.96), rgba(15, 19, 38, 0.98));
}

.support-ticket-list {
    display: grid;
    gap: 14px;
}

.support-ticket-list.admin {
    max-height: 980px;
    overflow: auto;
    padding-right: 6px;
}

.support-ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 14px;
}

.support-ticket-head strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.support-ticket-head span {
    color: var(--muted);
    font-size: 0.88rem;
}

.support-ticket-reply {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(90, 214, 255, 0.2);
    background: rgba(0, 130, 251, 0.08);
}

.support-ticket-reply strong {
    display: block;
    margin-bottom: 6px;
}

.support-ticket-reply p,
.support-ticket-card p {
    margin: 0;
}

.support-ticket-reply span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

.ticket-textarea {
    min-height: 150px;
    resize: vertical;
}

.ticket-textarea.compact {
    min-height: 110px;
}

.support-ticket-admin-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.purchase-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(68, 73, 110, 0.94);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(33, 35, 67, 0.96), rgba(18, 20, 42, 0.98));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.purchase-card.featured {
    border-color: rgba(82, 194, 255, 0.62);
    background:
        radial-gradient(circle at top right, rgba(41, 182, 246, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(17, 52, 120, 0.88), rgba(14, 34, 78, 0.94) 48%, rgba(16, 21, 44, 0.98));
    box-shadow:
        0 30px 70px rgba(0, 40, 102, 0.28),
        0 0 0 1px rgba(41, 182, 246, 0.12);
}

.purchase-card .price-value {
    margin-bottom: 2px;
}

.purchase-card p {
    margin: 0 0 4px;
}

.table-shell {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.portal-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.portal-table th,
.portal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.portal-table thead th {
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.stat-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.admin-user-block,
.admin-license-block,
.admin-ip-block,
.admin-billing-block {
    display: grid;
    gap: 6px;
}

.admin-user-block strong,
.admin-billing-block strong {
    font-size: 1rem;
}

.admin-user-block span,
.admin-license-block small,
.admin-ip-block small,
.admin-billing-block span,
.admin-user-block small {
    color: var(--muted);
    line-height: 1.55;
}

.admin-customer-table td {
    vertical-align: top;
}

.license-status.compact {
    margin-bottom: 2px;
}

.inline-actions.stacked {
    flex-direction: column;
    align-items: stretch;
}

.download-grid {
    margin-top: 18px;
}

.external-login-form {
    margin-top: 14px;
}

.legal-card {
    max-width: 900px;
}

.legal-card h2 {
    margin-top: 0;
}

.legal-card h2 + p {
    margin-top: 0;
}

.legal-card p + h2 {
    margin-top: 24px;
}

.site-footer {
    padding: 0 0 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 116px;
    height: auto;
    object-fit: contain;
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 11, 24, 0.86);
}

.footer-brand > div {
    display: grid;
    gap: 4px;
}

.footer-shell span {
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--muted-strong);
}

.footer-links a:hover {
    color: var(--text);
}

.surface-control {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: grid;
    justify-items: end;
    gap: 12px;
}

.surface-control-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 18px 0 14px;
    border: 1px solid rgba(71, 86, 136, 0.88);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 26, 48, 0.96), rgba(11, 16, 30, 0.98));
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.surface-control-swatch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.surface-control-swatch span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.surface-control-swatch span:first-child {
    background: #3847ff;
}

.surface-control-swatch span:last-child {
    background: #3ec059;
}

.surface-control-panel {
    width: min(360px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid rgba(71, 86, 136, 0.88);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(0, 130, 251, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(20, 26, 48, 0.98), rgba(11, 16, 30, 0.99));
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.34);
}

.surface-control-header {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.surface-control-header strong {
    font-size: 1.04rem;
}

.surface-control-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.surface-control-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.surface-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(83, 92, 133, 0.72);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 600;
}

.surface-check input {
    margin: 0;
}

.surface-control-colors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.surface-intensity-field {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.surface-intensity-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 700;
}

.surface-intensity-meta strong {
    font-size: 0.92rem;
    color: #8eddff;
    letter-spacing: 0.02em;
}

.surface-intensity-field input[type="range"] {
    width: 100%;
    height: 8px;
    margin: 0;
    appearance: none;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(56, 71, 255, 0.92), rgba(62, 192, 89, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(91, 100, 141, 0.6),
        0 8px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.surface-intensity-field input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(195, 241, 255, 0.9);
    border-radius: 999px;
    background: linear-gradient(135deg, #0f8cff 0%, #69d8ff 100%);
    box-shadow:
        0 10px 24px rgba(0, 130, 251, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.surface-intensity-field input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(195, 241, 255, 0.9);
    border-radius: 999px;
    background: linear-gradient(135deg, #0f8cff 0%, #69d8ff 100%);
    box-shadow:
        0 10px 24px rgba(0, 130, 251, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.surface-color-field {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 700;
}

.surface-color-field input[type="color"] {
    width: 100%;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(83, 92, 133, 0.72);
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.surface-control-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.surface-preset,
.surface-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(83, 92, 133, 0.72);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
}

.surface-reset {
    width: 100%;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 14px;
    border-color: var(--line);
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.form-control::placeholder {
    color: rgba(201, 210, 243, 0.46);
}

.form-floating > label,
.form-label,
.form-check-label,
.text-muted,
label {
    color: var(--muted) !important;
}

.form-check-input {
    border-color: var(--line-strong);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.validation-summary-errors,
.text-danger {
    color: #ff9bb1 !important;
}

hr {
    border-color: var(--line);
    opacity: 1;
}

@media (max-width: 1199px) {
    .feature-card,
    .price-card {
        grid-column: span 6;
    }

    .dashboard-card {
        grid-column: span 6;
    }

    .switcher-layout {
        grid-template-columns: 1fr;
    }

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

    .workflow-step {
        grid-column: span 6;
    }

    .workflow-step-binding,
    .showcase-shot-portrait,
    .showcase-shot-portrait-large,
    .showcase-shot-desktop {
        grid-column: span 12;
    }

    .hero-top-row {
        grid-template-columns: 1fr 280px;
    }

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

    .section-heading-split {
        grid-template-columns: 1fr;
    }

    .showcase-shot-portrait {
        grid-column: span 6;
    }

    .gallery-row {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-row .gallery-card:last-child {
        grid-column: span 2;
    }

    .gallery-row .gallery-card:last-child > img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 991px) {
    .site-header {
        padding-top: 10px;
    }

    .nav-shell {
        display: flex;
        align-items: start;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 14px;
        margin-left: 0;
    }

    .nav-links,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .brand-lockup {
        margin-right: 0;
        padding-right: 0;
        border-right: 0;
    }

    .nav-link,
    .btn-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .language-switch {
        justify-content: center;
    }

    .portal-header,
    .purchase-grid,
    .footer-shell {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero-strip {
        grid-template-columns: 1fr;
    }

    .hero-link-grid,
    .settings-ribbon,
    .product-switcher-row {
        grid-template-columns: 1fr;
    }

    .hero-proof-pills {
        gap: 8px;
    }

    .hero-proof-pills span {
        width: fit-content;
    }

    .hero-top-row {
        grid-template-columns: 1fr;
    }

    .hero-sidebar-cards {
        flex-direction: row;
        position: static;
    }

    .surface-control {
        right: 16px;
        bottom: 16px;
        left: auto;
        width: auto;
        justify-items: end;
    }

    .surface-control-toggle,
    .surface-control-panel {
        width: min(360px, calc(100vw - 32px));
    }

    .pricing-highlight {
        grid-template-columns: 1fr;
    }

    .gallery-row {
        grid-template-columns: 1fr;
    }

    .gallery-row .gallery-card:last-child {
        grid-column: span 1;
    }

    .gallery-row .gallery-card > img {
        aspect-ratio: auto;
    }

    .showcase-shot-wide,
    .showcase-shot-portrait,
    .showcase-shot-portrait-large,
    .showcase-shot-desktop,
    .detail-media-card,
    .detail-media-card-wide,
    .workflow-step {
        grid-column: span 12;
    }

    .product-window {
        grid-template-columns: 1fr;
    }

    .support-ticket-grid {
        grid-template-columns: 1fr;
    }

    .workspace-rail {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-toolbar,
    .product-module-head,
    .switcher-demo-row,
    .switcher-demo-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .product-switcher {
        margin-left: 0;
    }

    .binding-row {
        flex-direction: column;
        align-items: stretch;
    }

    .binding-row-action {
        align-self: flex-start;
    }

    .portal-user-card {
        min-width: 0;
    }

    .media-card,
    .video-card,
    .feature-card,
    .price-card,
    .download-card,
    .dashboard-card {
        grid-column: span 12;
    }

    .portal-link-card {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {
    .app-main {
        padding-top: 20px;
    }

    .nav-shell,
    .hero-content,
    .hero-panel,
    .section-block,
    .dashboard-card,
    .download-card,
    .legal-card,
    .cta-card,
    .footer-shell {
        padding: 22px;
    }

    .hero-content h1,
    .section-heading h1,
    .section-heading h2,
    .portal-header h1 {
        font-size: clamp(1.9rem, 10vw, 2.8rem);
    }

    .brand-meta {
        display: none;
    }

    .brand-logo {
        width: 156px;
    }

    .nav-shell {
        min-height: 78px;
        padding: 10px 14px;
    }

    .nav-toggle {
        width: 58px;
        min-width: 58px;
        min-height: 48px;
        margin-left: auto;
    }

    .hero-video-play-button {
        width: 82px;
        height: 82px;
    }

    .admin-cockpit-grid {
        grid-template-columns: 1fr;
    }

    .hero-video-play-icon {
        margin-left: 6px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 20px;
    }

    .footer-brand {
        align-items: start;
    }

    .workspace-rail-logo {
        width: 116px;
    }

    .screenshot-window {
        padding: 18px;
    }

    .screenshot-window-hero {
        padding: 16px;
    }

    .workflow-ribbon figcaption {
        flex-direction: column;
    }

    .depth-summary-list {
        grid-template-columns: 1fr;
    }

    .grid-editor-preview {
        width: 100%;
        margin-left: 0;
    }

    .detail-media-card-wide img {
        aspect-ratio: 16 / 4;
        padding: 16px 18px 0;
    }

    .detail-media-card-switcher img,
    .detail-media-card-divvy img,
    .detail-media-card-binding img {
        aspect-ratio: auto;
        object-fit: contain;
        background: linear-gradient(180deg, rgba(14, 18, 35, 0.96), rgba(17, 20, 38, 0.96));
        padding: 16px 16px 0;
    }

    .portal-table {
        min-width: 560px;
    }

    .surface-control-checks,
    .surface-control-colors {
        grid-template-columns: 1fr;
    }

    .surface-control {
        right: 14px;
        bottom: 14px;
        left: auto;
    }

    .surface-control-toggle {
        width: auto;
        min-height: 52px;
        padding: 0 16px 0 14px;
        border-radius: 18px;
    }

    .surface-control-toggle span:last-child {
        font-size: 1rem;
    }

    .surface-control-panel {
        width: min(340px, calc(100vw - 24px));
    }

    .hero-video-hd-button {
        top: 12px;
        right: 12px;
        min-height: 34px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 0.76rem;
        font-weight: 800;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
    }

    .hero-main-screenshot figcaption,
    .hero-main-video figcaption {
        flex-direction: column;
        gap: 6px;
    }

    .gallery-card figcaption {
        flex-direction: column;
        gap: 6px;
    }

    .lightbox-content {
        max-width: 96vw;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }
}
