:root {
    color-scheme: dark;
    --bg-0: #080a0f;
    --bg-1: #0f141d;
    --bg-2: #151b27;
    --panel: #121722;
    --panel-strong: #1a2231;
    --stroke: rgba(255, 255, 255, 0.08);
    --text: #f5f5f7;
    --muted: #9aa3b2;
    --accent: #7fffd4;
    --accent-strong: #4df0c4;
    --danger: #ff7b7b;
    --glow: rgba(127, 255, 212, 0.18);
}

* {
    box-sizing: border-box;
}

body.wyverno-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, rgba(65, 255, 214, 0.08), transparent 45%),
        linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18 100%);
    color: var(--text);
    font-family: "Rubik", "Manrope", sans-serif;
}

body.wyverno-body--studio {
    background: #000000;
}

body.wyverno-body--studio .wyverno-main {
    background: #000000;
}

body.wyverno-body--studio .wyverno-mini-footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wyverno-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 10, 15, 0.85);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
}

.nav-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.nav-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.nav-burger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 17, 26, 0.8);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 24px rgba(5, 9, 14, 0.4);
    transform: translateY(-1px);
}

.wyverno-nav.is-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.wyverno-nav.is-open .nav-burger span:nth-child(2) {
    opacity: 0;
}

.wyverno-nav.is-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-left {
    justify-self: start;
}

.nav-right {
    justify-self: end;
    justify-content: flex-end;
}

.model-menu {
    position: relative;
}

.model-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 18, 26, 0.9);
    color: var(--text);
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.model-trigger:hover,
.model-menu.is-open .model-trigger {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(5, 9, 14, 0.35);
    transform: translateY(-1px);
}

.model-current {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-title {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.model-tags,
.model-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.model-tag {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.model-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    transition: transform 180ms ease;
}

.model-menu.is-open .model-caret {
    transform: rotate(180deg);
}

.model-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(18, 21, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 30;
}

.model-menu.is-open .model-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.model-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    display: grid;
    gap: 6px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
    margin-bottom: 5px;
}

.model-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.model-option.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.model-option-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.model-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.model-check {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.model-option.is-selected .model-check {
    opacity: 1;
    background: rgba(127, 255, 212, 0.2);
    color: var(--accent);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 26, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.nav-center--plain {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

.nav-btn {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(127, 255, 212, 0.08);
}

.nav-btn.is-active {
    color: #04110c;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.95), rgba(77, 240, 196, 0.95));
    box-shadow: 0 12px 28px var(--glow);
}

.nav-lab-logo {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.95), rgba(112, 204, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-lab-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(127, 255, 212, 0.18);
    background: rgba(8, 12, 18, 0.72);
}

.nav-lab-tab {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-lab-tab.is-active {
    color: #04110c;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.95), rgba(112, 204, 255, 0.9));
    box-shadow: 0 10px 24px rgba(127, 255, 212, 0.18);
}

.nav-beta-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(112, 204, 255, 0.22);
    border: 1px solid rgba(112, 204, 255, 0.35);
}

.nav-lab-tab.is-active .nav-beta-badge {
    color: #062018;
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
}

.nav-link,
.nav-primary {
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-link {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.8);
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.logout-menu-form,
.logout-inline-form {
    margin: 0;
}

.logout-action-button {
    font: inherit;
    cursor: pointer;
}

.nav-support {
    color: #220808;
    background: linear-gradient(135deg, #ffb35c, #ff7a7a 55%, #f356d0 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 30px rgba(255, 122, 122, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.nav-support:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(255, 122, 122, 0.45);
}

.lang-menu {
    position: relative;
}

.lang-form {
    display: flex;
    align-items: center;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.8);
    color: var(--text);
    cursor: pointer;
    font-family: "Rubik", "Manrope", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lang-trigger:hover,
.lang-menu.is-open .lang-trigger {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(5, 9, 14, 0.3);
    transform: translateY(-1px);
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-title {
    line-height: 1;
}

.lang-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    transition: transform 180ms ease;
    margin-left: 2px;
}

.lang-menu.is-open .lang-caret {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(18, 21, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 30;
}

.lang-menu.is-open .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lang-option.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
    width: 18px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: none;
    font-size: 12px;
    line-height: 1;
    background-image: none !important;
    background: none !important;
}

.flag-uk {
    background: linear-gradient(180deg, #0057b7 0 50%, #ffd700 50% 100%);
}

.flag-de {
    background: linear-gradient(180deg, #000000 0 33%, #dd0000 33% 66%, #ffce00 66% 100%);
}

.flag-en {
    background:
        linear-gradient(90deg, transparent 38%, #ffffff 38% 62%, transparent 62%),
        linear-gradient(transparent 43%, #ffffff 43% 57%, transparent 57%),
        linear-gradient(90deg, transparent 42%, #cf142b 42% 58%, transparent 58%),
        linear-gradient(transparent 46%, #cf142b 46% 54%, transparent 54%),
        #012169;
}

.nav-primary {
    color: #04110c;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    box-shadow: 0 12px 28px var(--glow);
}

.nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px var(--glow);
}

.wyverno-main {
    display: block;
    flex: 1 0 auto;
}

.wyverno-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(127, 255, 212, 0.16), transparent 65%),
        radial-gradient(760px 520px at 12% 35%, rgba(255, 203, 120, 0.15), transparent 70%),
        linear-gradient(180deg, #05070c 0%, #070b12 45%, #05060a 100%);
    position: relative;
    overflow: hidden;
}

.wyverno-epilogue {
    position: relative;
    padding: 96px 24px 170px;
    min-height: 80vh;
}

.epilogue-shell {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 56px;
}

.epilogue-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.7;
    filter: blur(2px);
}

.orb-a {
    width: 320px;
    height: 320px;
    right: 6%;
    top: -120px;
    background: radial-gradient(circle at 30% 30%, rgba(127, 255, 212, 0.65), transparent 65%);
}

.orb-b {
    width: 260px;
    height: 260px;
    left: 6%;
    top: 240px;
    background: radial-gradient(circle at 40% 40%, rgba(112, 204, 255, 0.55), transparent 68%);
}

.orb-c {
    width: 420px;
    height: 420px;
    right: 18%;
    bottom: -160px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 198, 120, 0.6), transparent 70%);
}

.epilogue-gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 140px),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 140px),
        linear-gradient(180deg, rgba(8, 12, 18, 0.7), transparent 55%, rgba(5, 7, 10, 0.9));
}

.epilogue-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 12%;
    height: 280px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.2), transparent);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.js [data-animate] {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
}

.js [data-animate].animate__animated {
    animation-fill-mode: both;
}

.js [data-animate].is-animated {
    opacity: 1;
    visibility: visible;
}

.epilogue-hero {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.epilogue-badge {
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 14, 22, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.epilogue-title {
    margin: 0;
    font-size: clamp(2.2rem, 3.6vw, 3.3rem);
    letter-spacing: -0.02em;
}

.epilogue-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.epilogue-accent {
    color: var(--text);
    font-weight: 600;
}

.epilogue-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.epilogue-chips span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 20, 30, 0.65);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.epilogue-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(18, 24, 36, 0.9), rgba(8, 11, 18, 0.96));
    box-shadow: 0 22px 60px rgba(3, 6, 10, 0.45);
    padding: 26px 28px;
    display: grid;
    gap: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.epilogue-panel p {
    margin: 0;
}

.epilogue-panel--origin {
    grid-column: span 5;
}

.epilogue-panel--models {
    grid-column: span 7;
}

.epilogue-heading {
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.epilogue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.epilogue-meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.epilogue-meta-value {
    color: var(--text);
    font-weight: 600;
}

.epilogue-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.epilogue-model {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 22, 0.8);
    padding: 18px;
    overflow: hidden;
}

.epilogue-model::before {
    content: "";
    position: absolute;
    inset: -30% 0 0;
    background: radial-gradient(circle at 30% 20%, rgba(127, 255, 212, 0.16), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.epilogue-model h4 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.05rem;
}

.epilogue-model p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-flow {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 12px 0 12px 18px;
}

.epilogue-flow::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(127, 255, 212, 0.7), transparent);
}

.epilogue-step {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 18px;
    align-items: start;
}

.epilogue-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(127, 255, 212, 0.8);
    background: rgba(15, 22, 30, 0.9);
    box-shadow: 0 0 18px rgba(127, 255, 212, 0.35);
    margin-top: 6px;
}

.epilogue-step-body h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--text);
}

.epilogue-step-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-outro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.epilogue-quote {
    grid-column: span 7;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(150deg, rgba(16, 22, 33, 0.92), rgba(9, 12, 19, 0.98));
    padding: 26px 28px;
    display: grid;
    gap: 14px;
}

.epilogue-quote-mark {
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
}

.epilogue-quote p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 1.02rem;
}

.epilogue-cta {
    grid-column: span 5;
    display: grid;
    gap: 12px;
    align-content: center;
}

.epilogue-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.epilogue-cta-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(127, 255, 212, 0.9), transparent);
    box-shadow: 0 0 20px rgba(127, 255, 212, 0.2);
}

.epilogue-cta-note {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 255, 212, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 255, 212, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-strong);
    border-color: rgba(77, 240, 196, 0.9);
}

.wyverno-auth {
    min-height: calc(100vh - 96px);
    display: grid;
    place-items: center;
    padding: 72px 24px 96px;
}

.auth-card {
    width: min(460px, 100%);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(18, 23, 34, 0.92), rgba(10, 14, 22, 0.96));
    box-shadow: 0 30px 70px rgba(5, 8, 13, 0.45);
    display: grid;
    gap: 16px;
}

.auth-card h1 {
    margin: 0;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.auth-error {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 123, 123, 0.35);
    background: rgba(255, 123, 123, 0.12);
    color: #ffd6d6;
    font-size: 0.9rem;
}

.auth-success {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(79, 184, 255, 0.35);
    background: rgba(79, 184, 255, 0.12);
    color: #d8ecff;
    font-size: 0.9rem;
}

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

.auth-field {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 12, 20, 0.85);
    color: var(--text);
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(127, 255, 212, 0.12);
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-submit {
    width: 100%;
    justify-content: center;
}

.auth-footnote {
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
}

.auth-link:hover {
    color: var(--accent-strong);
}

.user-menu {
    position: relative;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.16), rgba(77, 240, 196, 0.12));
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 28px rgba(5, 9, 14, 0.4);
}

.user-chip:hover,
.user-menu.open .user-chip {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(127, 255, 212, 0.2);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(127, 255, 212, 0.08));
    color: var(--text);
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-avatar-initial {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.user-name {
    font-weight: 600;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(127, 255, 212, 0.2);
    color: var(--accent);
    font-size: 0.65rem;
}

.user-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    transition: transform 180ms ease;
}

.user-menu.open .user-caret {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 8px;
    border-radius: 14px;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    z-index: 20;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: var(--panel-strong);
    border-left: 1px solid var(--stroke);
    border-top: 1px solid var(--stroke);
    transform: rotate(45deg);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1;
}

.user-dropdown-item .badge {
    margin-left: auto;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-dropdown-item.danger {
    color: #ffc7c7;
}

.logout-menu-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-studio {
    background: rgba(255, 184, 77, 0.12);
    border: 1px solid rgba(255, 184, 77, 0.35);
    color: #ffcf75;
}

.icon-studio {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background:
        linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.18) 55%, transparent 55%),
        linear-gradient(transparent 45%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.18) 55%, transparent 55%),
        linear-gradient(180deg, rgba(127, 255, 212, 0.2), rgba(127, 255, 212, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wyverno-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wyverno-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 2vw + 1.5rem, 3.4rem);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--muted);
    line-height: 1.6;
    max-width: 640px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent);
    font-size: 0.7rem;
    margin-bottom: 12px;
}

.hero-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 255, 212, 0.4) 0%, rgba(127, 255, 212, 0.1) 45%, transparent 70%);
    filter: blur(1px);
    box-shadow: 0 0 60px rgba(127, 255, 212, 0.3);
    justify-self: center;
    position: relative;
    animation: orb-float 6s ease-in-out infinite, orb-pulse 3.8s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-mark {
    width: 200px;
    height: 200px;
    border-radius: 32px;
    background: radial-gradient(circle at top, rgba(127, 255, 212, 0.25) 0%, rgba(127, 255, 212, 0.08) 55%, rgba(8, 12, 20, 0.9) 100%);
    box-shadow: 0 30px 70px rgba(6, 10, 18, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    position: relative;
    justify-self: center;
    animation: orb-float 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.hero-mark::before,
.hero-mark::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(127, 255, 212, 0.25);
    opacity: 0.7;
}

.hero-mark::after {
    inset: 10px;
    opacity: 0.35;
}

.hero-mark-icon {
    width: 120px;
    height: 120px;
    stroke: currentColor;
    fill: none;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
}

.hero-mark:hover {
    transform: translateY(-6px);
    box-shadow: 0 38px 90px rgba(12, 20, 34, 0.6);
}

.hero-orb::before,
.hero-orb::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 255, 212, 0.18) 0%, transparent 65%);
    opacity: 0.7;
    animation: orb-ripple 5s ease-in-out infinite;
}

.hero-orb::after {
    inset: -34px;
    opacity: 0.45;
    animation-delay: -2s;
}

.hero-orb:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 0 90px rgba(127, 255, 212, 0.45);
}

.wyverno-hero {
    animation: hero-reveal 0.8s ease forwards;
}

.wyverno-card {
    animation: card-reveal 0.7s ease forwards;
}

.wyverno-card:nth-child(2) {
    animation-delay: 0.08s;
}

.wyverno-action {
    animation: card-reveal 0.7s ease forwards;
    animation-delay: 0.16s;
}

.wyverno-result {
    animation: card-reveal 0.7s ease forwards;
    animation-delay: 0.2s;
}

.wyverno-toolbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 26, 0.85);
    box-shadow: 0 12px 32px rgba(5, 7, 12, 0.35);
    animation: card-reveal 0.6s ease forwards;
    animation-delay: 0.04s;
}

.wyverno-toolbar .model-dropdown {
    z-index: 200;
}

.wyverno-toolbar__left,
.wyverno-toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
}

.wyverno-toolbar__right {
    justify-content: flex-end;
}

.max-usage-info--toolbar {
    text-align: right;
}

@media (max-width: 640px) {
    .wyverno-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .wyverno-toolbar__right {
        justify-content: flex-start;
    }

    .max-usage-info--toolbar {
        text-align: left;
    }
}

.wyverno-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.wyverno-card {
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95));
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 360px;
    box-shadow: 0 20px 60px rgba(5, 7, 12, 0.45);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.ghost-chip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    cursor: pointer;
}

.ghost-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.dropzone {
    border: 1px dashed rgba(127, 255, 212, 0.4);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    z-index: 80;
    background: rgba(10, 15, 23, 0.6);
    transition: border 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.dropzone.is-dragover {
    border-color: var(--accent-strong);
    background: rgba(127, 255, 212, 0.08);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
}

.dropzone-content {
    text-align: center;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.dropzone-content span {
    color: var(--accent);
}

.drop-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

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

.wave-block {
    background: rgba(7, 10, 16, 0.6);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.wave-canvas {
    width: 100%;
    height: 88px;
    display: block;
    background: rgba(5, 8, 13, 0.7);
    border-radius: 12px;
}

.audio-player {
    display: none;
}

.audio-player.is-visible {
    display: none;
}

/* ── Wyverno Lab audio widget ─────────────────────────────────────────── */

.wyverno-audio-widget {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 17, 26, 0.75);
}

.wyverno-audio-widget__toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 16, 0.55);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.wyverno-audio-widget__toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(127, 255, 212, 0.35);
    background: rgba(7, 10, 16, 0.75);
}

.wyverno-audio-widget__icon--pause {
    display: none;
}

.wyverno-audio-widget.is-playing .wyverno-audio-widget__icon--play {
    display: none;
}

.wyverno-audio-widget.is-playing .wyverno-audio-widget__icon--pause {
    display: inline;
}

.wyverno-audio-widget__timeline {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
}

.wyverno-audio-widget__fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(90deg, rgba(127, 255, 212, 0.9), rgba(127, 255, 212, 0.55));
}

.wyverno-audio-widget__seek {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.wyverno-audio-widget__seek::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent);
    border: 2px solid rgba(5, 8, 13, 0.85);
    box-shadow: 0 0 0 3px rgba(127, 255, 212, 0.18);
}

.wyverno-audio-widget__seek::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent);
    border: 2px solid rgba(5, 8, 13, 0.85);
    box-shadow: 0 0 0 3px rgba(127, 255, 212, 0.18);
}

.wyverno-audio-widget__time {
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.wyverno-audio-widget__time-sep {
    opacity: 0.65;
    margin: 0 6px;
}

.wyverno-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 17, 26, 0.9);
}

.action-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.action-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Inline model menu lives next to the "Advanced Settings" button on the
   Wyverno Lab action bar and must visually match the .mini-btn pill. */
.model-menu--inline {
    position: relative;
    display: inline-block;
}

.model-menu--inline .model-trigger {
    /* Reset the padded "card" trigger used in the nav so the inline button
       can adopt the .mini-btn pill style applied alongside it. */
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.6);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
    gap: 8px;
}

.model-menu--inline .model-trigger:hover,
.model-menu--inline.is-open .model-trigger {
    border-color: rgba(127, 255, 212, 0.5);
    color: var(--accent);
    box-shadow: none;
    transform: translateY(-1px);
}

.model-menu--inline .model-current {
    gap: 6px;
}

.model-menu--inline .model-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-menu--inline .model-tag {
    font-size: 0.62rem;
    padding: 1px 6px;
}

.model-menu--inline .model-caret {
    border-top-color: currentColor;
}

.wyverno-results {
    display: grid;
    gap: 20px;
}

.wyverno-results:empty {
    display: none;
}

.status {
    color: var(--muted);
    font-size: 0.95rem;
}

.mini-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.6);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mini-btn:hover {
    border-color: rgba(127, 255, 212, 0.5);
    color: var(--accent);
    transform: translateY(-1px);
}

.mini-btn:focus-visible {
    outline: 2px solid rgba(127, 255, 212, 0.6);
    outline-offset: 2px;
}

.primary-btn {
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px var(--glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:disabled {
    cursor: not-allowed;
    background: rgba(84, 99, 112, 0.3);
    color: var(--muted);
    box-shadow: none;
}

.primary-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px var(--glow);
}

.primary-btn.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(4, 17, 12, 0.25);
    border-top-color: rgba(4, 17, 12, 0.9);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.primary-btn.is-loading .spinner {
    display: inline-block;
}

.wyverno-result {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 19, 30, 0.92);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.result-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(127, 255, 212, 0.12);
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.result-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.result-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.rating-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.7);
    color: var(--muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rating-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.rating-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 28px rgba(5, 9, 14, 0.35);
}

.rating-btn[data-rating-action="like"].is-active {
    color: rgba(35, 226, 137, 1);
    border-color: rgba(35, 226, 137, 0.45);
}

.rating-btn[data-rating-action="dislike"].is-active {
    color: rgba(255, 107, 107, 1);
    border-color: rgba(255, 107, 107, 0.45);
}

.download-link {
    text-decoration: none;
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.7);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.secondary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.secondary-btn:not(:disabled):hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 28px rgba(5, 9, 14, 0.35);
    transform: translateY(-1px);
}

.secondary-btn .spinner {
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.8);
}

.secondary-btn.is-loading .spinner {
    display: inline-block;
}

.effects-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 65;
}

.effects-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.effects-dialog {
    position: relative;
    width: min(620px, 94vw);
    max-height: 85vh;
    overflow: hidden;
    padding: 26px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: grid;
    gap: 16px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.effects-modal.is-open .effects-dialog {
    transform: translateY(0) scale(1);
}

.effects-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.effects-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.effects-label {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    color: var(--accent);
}

.effects-title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.effects-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.effects-list {
    display: grid;
    gap: 10px;
    max-height: 46vh;
    overflow: auto;
    padding-right: 4px;
}

.effects-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 16, 0.7);
    cursor: grab;
}

.effects-item.is-dragging {
    opacity: 0.65;
    border-color: rgba(127, 255, 212, 0.6);
    cursor: grabbing;
}

.effects-handle {
    color: var(--muted);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.12em;
    cursor: grab;
    user-select: none;
}

.effects-name {
    font-weight: 600;
}

.effects-toggle {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.effects-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.effects-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.trim-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60;
}

.trim-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.trim-dialog {
    position: relative;
    width: min(920px, 92vw);
    max-height: 90vh;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--stroke);
    background: linear-gradient(160deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.trim-modal.is-open .trim-dialog {
    transform: translateY(0) scale(1);
}

.trim-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.trim-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.trim-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.trim-label {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    color: var(--accent);
}

.trim-title {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.trim-time {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 16, 0.6);
    color: var(--text);
    white-space: nowrap;
}

.trim-body {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.trim-play {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    font-size: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 20px 40px rgba(5, 9, 14, 0.5);
}

.trim-play:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 255, 212, 0.6);
    box-shadow: 0 24px 50px rgba(5, 9, 14, 0.6);
}

.trim-play.is-playing {
    border-color: rgba(127, 255, 212, 0.8);
    color: var(--accent);
    box-shadow: 0 26px 60px rgba(127, 255, 212, 0.2);
}

.trim-waveframe {
    position: relative;
    border-radius: 16px;
    background: rgba(7, 10, 16, 0.6);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.trim-wave {
    width: 100%;
    height: 130px;
    display: block;
    border-radius: 12px;
    background: rgba(5, 8, 13, 0.7);
}

.trim-overlay {
    position: absolute;
    inset: 12px;
    border-radius: 12px;
    pointer-events: auto;
}

.trim-shade {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(5, 8, 13, 0.68);
    pointer-events: none;
}

.trim-shade[data-trim-shade="left"] {
    left: 0;
}

.trim-shade[data-trim-shade="right"] {
    right: 0;
}

.trim-selection {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    background: rgba(127, 255, 212, 0.18);
    border: 1px solid rgba(127, 255, 212, 0.6);
    box-shadow: inset 0 0 0 1px rgba(127, 255, 212, 0.35), 0 0 22px rgba(127, 255, 212, 0.2);
    cursor: grab;
    z-index: 2;
}

.trim-selection:active {
    cursor: grabbing;
}

.trim-handle {
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 14px;
    border-radius: 12px;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(127, 255, 212, 0.7);
    cursor: ew-resize;
    z-index: 3;
}

.trim-handle--start {
    left: -7px;
}

.trim-handle--end {
    right: -7px;
}

.trim-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff4d4d;
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.65);
    transform: translateX(-1px);
    z-index: 4;
    cursor: ew-resize;
}

.trim-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.trim-tools {
    display: grid;
    gap: 14px;
}

.trim-tools .secondary-btn {
    justify-content: center;
}

.trim-separate-hint {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
}

.trim-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.trim-help {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.voice-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 8, 12, 0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 70;
}

.voice-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.voice-dialog {
    position: relative;
    width: min(560px, 92vw);
    max-height: 85vh;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    background: linear-gradient(165deg, rgba(16, 21, 31, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 30px 80px rgba(5, 8, 14, 0.6);
    display: grid;
    gap: 18px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.voice-modal.is-open .voice-dialog {
    transform: translateY(0) scale(1);
}

.voice-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.85);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: border 0.2s ease, transform 0.2s ease;
}

.voice-close:hover {
    border-color: rgba(127, 255, 212, 0.6);
    transform: rotate(90deg);
}

.voice-label {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    color: var(--accent);
}

.voice-title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.voice-body {
    display: grid;
    gap: 16px;
}

.voice-progress {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
}

.voice-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(127, 255, 212, 0.2);
    border-top-color: rgba(127, 255, 212, 0.9);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.voice-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.voice-picker {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
    text-align: center;
}

.voice-stems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.voice-stem {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.voice-stem:hover {
    border-color: rgba(127, 255, 212, 0.7);
    color: var(--accent);
    transform: translateY(-1px);
}

.voice-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.voice-preview {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
}

.voice-waveblock {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.voice-play {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 17, 26, 0.9);
    color: var(--text);
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 16px 36px rgba(5, 9, 14, 0.45);
}

.voice-play:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 255, 212, 0.6);
    box-shadow: 0 20px 44px rgba(5, 9, 14, 0.55);
}

.voice-play.is-playing {
    border-color: rgba(127, 255, 212, 0.8);
    color: var(--accent);
    box-shadow: 0 22px 50px rgba(127, 255, 212, 0.2);
}

.voice-waveframe {
    position: relative;
    border-radius: 14px;
    background: rgba(7, 10, 16, 0.6);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: ew-resize;
}

.voice-wave {
    width: 100%;
    height: 110px;
    display: block;
    border-radius: 10px;
    background: rgba(5, 8, 13, 0.7);
}

.voice-playhead {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.65);
    transform: translateX(-1px);
    pointer-events: none;
}

.voice-question {
    margin: 0;
    font-weight: 600;
}

.voice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

body.trim-lock {
    overflow: hidden;
}

.advanced-panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 23, 0.6);
    display: none;
    gap: 12px;
}

.advanced-panel.is-open {
    display: grid;
}

.advanced-intro h3 {
    margin: 0;
    font-size: 1rem;
}

.advanced-intro p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.advanced-toggles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.advanced-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.effect-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 10, 16, 0.7);
}

.effect-name {
    font-weight: 600;
}

.effect-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.effect-toggle input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orb-float {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(6px);
    }
}

@keyframes orb-pulse {
    0%,
    100% {
        filter: blur(1px) brightness(1);
    }
    50% {
        filter: blur(0px) brightness(1.15);
    }
}

@keyframes orb-ripple {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.8;
    }
}

@keyframes hero-reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .hero-orb::before,
    .hero-orb::after,
    .hero-mark,
    .hero-mark::before,
    .hero-mark::after,
    .epilogue-orb,
    .epilogue-scan,
    .animate__animated,
    .wyverno-hero,
    .wyverno-card,
    .wyverno-action,
    .wyverno-result {
        animation: none !important;
        transition: none;
    }

    .js [data-animate] {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 920px) {
    .nav-shell {
        padding: 14px 18px;
    }

    .nav-bar {
        display: flex;
    }

    .nav-panel {
        display: none;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 16px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--stroke);
    }

    .wyverno-nav.is-open .nav-panel {
        display: grid;
    }

    .nav-left,
    .nav-right,
    .nav-center {
        justify-self: stretch;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-center {
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .nav-btn,
    .nav-link,
    .nav-primary,
    .nav-support {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .model-trigger,
    .lang-trigger,
    .user-chip {
        width: 100%;
        justify-content: space-between;
    }

    .model-dropdown {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    .lang-form {
        width: 100%;
    }

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

    .hero-orb {
        justify-self: start;
    }

    .hero-mark {
        justify-self: start;
    }

    .wyverno-action {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn {
        justify-content: center;
    }

    .trim-dialog {
        padding: 22px;
    }

    .trim-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .trim-body {
        grid-template-columns: 1fr;
    }

    .trim-play {
        width: 100%;
        height: 80px;
        border-radius: 18px;
        justify-content: center;
    }

    .voice-waveblock {
        grid-template-columns: 1fr;
    }

    .voice-play {
        width: 100%;
        height: 72px;
        border-radius: 18px;
    }

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

    .wyverno-epilogue {
        padding: 72px 18px 120px;
    }

    .epilogue-shell {
        gap: 40px;
    }

    .epilogue-grid {
        grid-template-columns: 1fr;
    }

    .epilogue-panel--origin,
    .epilogue-panel--models {
        grid-column: span 12;
    }

    .epilogue-outro {
        grid-template-columns: 1fr;
    }

    .epilogue-quote,
    .epilogue-cta {
        grid-column: span 12;
    }

    .epilogue-title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .epilogue-flow {
        padding-left: 12px;
    }

    .epilogue-chips span {
        font-size: 0.72rem;
    }
}

/* ────────────────────────────────────────
   MINI FOOTER — transparent, 3 links
   ──────────────────────────────────────── */

.wyverno-mini-footer {
    margin-top: auto;
    padding: 20px 24px;
    text-align: center;
    background: transparent;
}

.mini-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mini-footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.mini-footer-support {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

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

/* ────────────────────────────────────────
   ABOUT PAGE — animation hero block
   ──────────────────────────────────────── */

.about-page {
    display: grid;
    gap: 0;
}

.about-hero {
    position: relative;
    overflow: hidden;
}

.about-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    perspective: 1400px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(65, 255, 214, 0.06), transparent 55%),
        linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18);
}

/* ambient orbs */
.about-amb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: about-amb-in 2s ease forwards;
}

.about-amb-a {
    width: 420px;
    height: 420px;
    top: -10%;
    left: -8%;
    background: rgba(127, 255, 212, 0.12);
    animation-delay: 0.2s;
}

.about-amb-b {
    width: 300px;
    height: 300px;
    bottom: -5%;
    right: -5%;
    background: rgba(77, 240, 196, 0.08);
    animation-delay: 0.6s;
}

.about-amb-c {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    background: rgba(127, 255, 212, 0.06);
    animation-delay: 1s;
}

@keyframes about-amb-in {
    to { opacity: 1; }
}

/* glass panel */
.about-glass {
    position: relative;
    z-index: 2;
    width: 1100px;
    max-width: 95vw;
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.85), rgba(13, 18, 28, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(5, 7, 12, 0.6), 0 0 60px rgba(127, 255, 212, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    opacity: 0;
    animation: about-glass-in 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
        about-glass-shrink 1.8s cubic-bezier(0.25, 1, 0.5, 1) 5s forwards;
    overflow: hidden;
}

@keyframes about-glass-in {
    0% { opacity: 0; transform: rotateX(14deg) rotateY(-6deg) scale(0.65) translateZ(-160px); }
    100% { opacity: 1; transform: rotateX(4deg) rotateY(-2deg) scale(1.15) translateZ(0); }
}

@keyframes about-glass-shrink {
    0% { transform: rotateX(4deg) rotateY(-2deg) scale(1.15); }
    100% { transform: rotateX(6deg) rotateY(-3deg) scale(0.88); }
}

.about-glass::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(127, 255, 212, 0.06) 45%, rgba(127, 255, 212, 0.12) 50%, rgba(127, 255, 212, 0.06) 55%, transparent 60%);
    animation: about-shimmer 2.5s ease-in-out 4.2s forwards;
    opacity: 0;
    pointer-events: none;
}

@keyframes about-shimmer {
    0% { opacity: 1; transform: translateX(-60%); }
    60% { opacity: 1; }
    100% { opacity: 0; transform: translateX(60%); }
}

/* nav inside glass */
.about-g-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(-80px) scale(0.95);
    animation: about-fly-top 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

@keyframes about-fly-top {
    0% { opacity: 0; transform: translateY(-80px) scale(0.95); }
    60% { opacity: 1; }
    80% { transform: translateY(3px) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.about-g-nav-left {
    display: flex;
    gap: 8px;
    align-items: center;
}

.about-g-nav-version {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: rgba(12, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-g-nav-dropdown {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    background: rgba(12, 17, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-g-nav-dropdown::after {
    content: '▾';
    font-size: 10px;
    opacity: 0.6;
}

.about-g-nav-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.about-g-nav-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.about-g-nav-btn {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 17, 26, 0.7);
    color: var(--text);
}

.about-g-nav-primary {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
}

/* hero inside glass */
.about-g-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 28px 24px;
    gap: 24px;
    opacity: 0;
    transform: translateX(-120px) rotate(-1deg);
    animation: about-fly-left 1s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards;
}

@keyframes about-fly-left {
    0% { opacity: 0; transform: translateX(-120px) rotate(-1deg); }
    50% { opacity: 1; }
    80% { transform: translateX(4px) rotate(0); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
}

.about-g-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.about-g-h1 {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.about-g-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 400px;
}

.about-g-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    background: radial-gradient(circle at 40% 40%, rgba(127, 255, 212, 0.5), rgba(77, 240, 196, 0.15));
    box-shadow: 0 0 40px rgba(127, 255, 212, 0.25);
    opacity: 0;
    animation: about-fly-right-orb 1s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards,
        about-orb-float 5s ease-in-out infinite 3.2s;
}

@keyframes about-fly-right-orb {
    0% { opacity: 0; transform: translateX(100px) translateY(-40px) scale(0.5); }
    60% { opacity: 1; }
    80% { transform: translateX(-3px) translateY(2px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}

@keyframes about-orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* cards inside glass */
.about-g-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 28px 20px;
}

.about-g-card {
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    opacity: 0;
}

.about-g-card:nth-child(1) {
    transform: translateX(-140px) translateY(100px) rotate(-3deg);
    animation: about-fly-bl 1s cubic-bezier(0.22, 1, 0.36, 1) 2.6s forwards;
}

.about-g-card:nth-child(2) {
    transform: translateX(140px) translateY(100px) rotate(3deg);
    animation: about-fly-br 1s cubic-bezier(0.22, 1, 0.36, 1) 2.9s forwards;
}

@keyframes about-fly-bl {
    0% { opacity: 0; transform: translateX(-140px) translateY(100px) rotate(-3deg); }
    50% { opacity: 1; }
    80% { transform: translateX(3px) translateY(-2px) rotate(0.3deg); }
    100% { opacity: 1; transform: translateX(0) translateY(0) rotate(0); }
}

@keyframes about-fly-br {
    0% { opacity: 0; transform: translateX(140px) translateY(100px) rotate(3deg); }
    50% { opacity: 1; }
    80% { transform: translateX(-3px) translateY(-2px) rotate(-0.3deg); }
    100% { opacity: 1; transform: translateX(0) translateY(0) rotate(0); }
}

.about-g-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.about-g-card-title {
    font-size: 14px;
    font-weight: 600;
}

.about-g-card-chip {
    font-size: 10px;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 3px 10px;
}

.about-g-dropzone {
    border: 1px dashed rgba(127, 255, 212, 0.35);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    background: rgba(10, 15, 23, 0.5);
}

.about-g-drop-icon {
    font-size: 24px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.about-g-drop-text {
    font-size: 12px;
    color: var(--muted);
}

.about-g-drop-text span {
    color: var(--accent);
}

/* action bar inside glass */
.about-g-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 28px 20px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(12, 17, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(90px);
    animation: about-fly-bottom 1s cubic-bezier(0.22, 1, 0.36, 1) 3.4s forwards;
}

@keyframes about-fly-bottom {
    0% { opacity: 0; transform: translateY(90px); }
    50% { opacity: 1; }
    80% { transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}

.about-g-status {
    font-size: 12px;
    color: var(--muted);
}

.about-g-action-btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9));
    color: #04110c;
    box-shadow: 0 8px 24px var(--glow);
}

/* lab text layers */
.about-lab-back,
.about-lab-front {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.about-lab-back {
    z-index: 0;
}

.about-lab-back .about-lab-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(72px, 18vw, 220px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 80px rgba(127, 255, 212, 0.3), 0 0 160px rgba(127, 255, 212, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.5);
    animation: about-title-in 2s cubic-bezier(0.22, 1, 0.36, 1) 6.2s forwards;
}

.about-lab-front {
    z-index: 10;
}

.about-lab-front .about-lab-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(72px, 18vw, 220px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    text-shadow: none;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.5);
    animation: about-title-in 2s cubic-bezier(0.22, 1, 0.36, 1) 6.2s forwards;
}

@keyframes about-title-in {
    0% { opacity: 0; transform: scale(0.5); filter: blur(16px); }
    40% { filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.about-lab-sub {
    font-size: clamp(13px, 2.2vw, 20px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 16px;
    opacity: 0;
}

.about-lab-back .about-lab-sub {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(127, 255, 212, 0.2);
    animation: about-sub-in 1.4s ease 7.6s forwards;
}

.about-lab-front .about-lab-sub {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    animation: about-sub-in 1.4s ease 7.6s forwards;
}

@keyframes about-sub-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.about-lab-line {
    width: 80px;
    height: 2px;
    margin-top: 14px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    animation: about-line-in 1s ease 8.2s forwards;
}

@keyframes about-line-in {
    to { opacity: 0.7; }
}

/* particles */
.about-particle {
    position: absolute;
    z-index: 25;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: about-particle-in 1s ease forwards, about-particle-float 4s ease-in-out infinite;
}

.about-p1 { width: 4px; height: 4px; top: 18%; left: 22%; animation-delay: 7s, 7s; }
.about-p2 { width: 3px; height: 3px; top: 25%; right: 28%; animation-delay: 7.2s, 7.2s; }
.about-p3 { width: 5px; height: 5px; top: 15%; left: 55%; animation-delay: 7.4s, 7.4s; }
.about-p4 { width: 3px; height: 3px; top: 30%; left: 35%; animation-delay: 7.5s, 7.5s; }
.about-p5 { width: 4px; height: 4px; top: 20%; right: 18%; animation-delay: 7.7s, 7.7s; }

@keyframes about-particle-in {
    to { opacity: 0.45; }
}

@keyframes about-particle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* overlays */
.about-scanline {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    opacity: 0;
    animation: about-scan-in 0.6s ease 6s forwards;
}

@keyframes about-scan-in {
    to { opacity: 1; }
}

.about-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55);
    opacity: 0;
    animation: about-vig-in 2s ease 5s forwards;
}

@keyframes about-vig-in {
    to { opacity: 1; }
}

/* ════════════════════════════════════
   ABOUT — showcase sections (between hero and epilogue)
   Full animations from animation_body / action / end
   ════════════════════════════════════ */
.about-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

/* Smooth gradient transitions between sections */
.about-showcase::before,
.about-showcase::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 180px;
    z-index: 40;
    pointer-events: none;
}
.about-showcase::before { top: 0; background: linear-gradient(to bottom, #080a0f, transparent); }
.about-showcase::after { bottom: 0; background: linear-gradient(to top, #080a0f, transparent); }

/* Scroll-driven mode: animations are controlled only by JS timeline progress */
.about-showcase *,
.about-showcase *::before,
.about-showcase *::after {
    animation-play-state: paused !important;
}

/* ── Extra floating spark particles per section ── */
.showcase-particles {
    position: absolute;
    inset: 0;
    z-index: 35;
    pointer-events: none;
}
.showcase-spark {
    position: absolute;
    border-radius: 50%;
    background: rgba(127, 255, 212, 0.5);
    filter: blur(1px);
    opacity: 0;
    animation: spark-drift 8s ease-in-out infinite, spark-fade 4s ease-in-out infinite;
}
.showcase-spark.s1 { width: 3px; height: 3px; top: 15%; left: 10%; animation-delay: 0s, 0s; }
.showcase-spark.s2 { width: 4px; height: 4px; top: 25%; right: 12%; animation-delay: 1s, .5s; }
.showcase-spark.s3 { width: 2px; height: 2px; bottom: 30%; left: 20%; animation-delay: 2s, 1s; }
.showcase-spark.s4 { width: 5px; height: 5px; bottom: 18%; right: 25%; animation-delay: 3s, 1.5s; }
.showcase-spark.s5 { width: 2px; height: 2px; top: 40%; left: 5%; animation-delay: 4s, 2s; }
.showcase-spark.s6 { width: 3px; height: 3px; top: 60%; right: 8%; animation-delay: 5s, 2.5s; }
.showcase-spark.s7 { width: 4px; height: 4px; bottom: 40%; left: 45%; animation-delay: 6s, 3s; }
.showcase-spark.s8 { width: 2px; height: 2px; top: 70%; right: 40%; animation-delay: 7s, 3.5s; }

@keyframes spark-drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(-15px, -40px); }
    75% { transform: translate(20px, 15px); }
}
@keyframes spark-fade {
    0%, 100% { opacity: 0; }
    30% { opacity: .6; }
    70% { opacity: .4; }
}

/* ── Headline overlay — two-line layout ── */
.showcase-headline {
    position: absolute;
    z-index: 50;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(40px);
    text-align: center;
    padding: 0 20px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.headline-big {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 9vw, 110px);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7fffd4;
    text-shadow:
        0 0 40px rgba(127, 255, 212, 0.5),
        0 0 80px rgba(127, 255, 212, 0.25),
        0 0 160px rgba(127, 255, 212, 0.1);
    line-height: 1;
    display: block;
}

.headline-sub {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 3.5vw, 42px);
    letter-spacing: 0.12em;
    color: rgba(127, 255, 212, 0.6);
    text-shadow:
        0 0 20px rgba(127, 255, 212, 0.3),
        0 0 50px rgba(127, 255, 212, 0.1);
    line-height: 1.2;
    display: block;
}

.showcase-headline.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* ════════════════════════════════════════════════
   SECTION 1: BODY ANIMATION (scb- prefix)
   ════════════════════════════════════════════════ */
.scb-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    perspective-origin: 15% 55%;
    overflow: hidden;
}

.scb-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(65, 255, 214, 0.05), transparent 55%),
               linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18);
}

.scb-amb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0; animation: scb-amb-in 3s ease forwards; }
.scb-amb-a { width: 420px; height: 420px; top: -10%; right: -8%; background: rgba(127, 255, 212, 0.1); animation-delay: .4s; }
.scb-amb-b { width: 300px; height: 300px; bottom: -5%; left: -5%; background: rgba(77, 240, 196, 0.07); animation-delay: 1s; }
.scb-amb-c { width: 200px; height: 200px; top: 50%; left: 25%; background: rgba(127, 255, 212, 0.05); animation-delay: 1.6s; }
@keyframes scb-amb-in { to { opacity: 1; } }

.scb-glass {
    position: relative;
    width: 1100px;
    max-width: 95vw;
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.85), rgba(13, 18, 28, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(5, 7, 12, 0.6), 0 0 60px rgba(127, 255, 212, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    opacity: 0;
    animation: scb-glass-in 3s cubic-bezier(.16, 1, .3, 1) .5s forwards;
    overflow: hidden;
}

@keyframes scb-glass-in {
    0% { opacity: 0; transform: rotateX(10deg) rotateY(8deg) scale(.6) translateZ(-200px); }
    100% { opacity: 1; transform: rotateX(3deg) rotateY(3deg) scale(1.05) translateZ(0); }
}

.scb-glass::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(127, 255, 212, 0.05) 45%, rgba(127, 255, 212, 0.1) 50%, rgba(127, 255, 212, 0.05) 55%, transparent 60%);
    animation: scb-shimmer 3s ease-in-out 8s forwards;
    opacity: 0;
    pointer-events: none;
}

@keyframes scb-shimmer { 0% { opacity: 1; transform: translateX(-60%); } 60% { opacity: 1; } 100% { opacity: 0; transform: translateX(60%); } }

.scb-hero { display: flex; align-items: center; justify-content: space-between; padding: 36px 32px 28px; gap: 32px; }
.scb-hero-text { flex: 1; max-width: 560px; }
.scb-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 600; margin-bottom: 12px; opacity: 0; transform: translateX(-80px); animation: scb-slide-r 1.4s cubic-bezier(.16, 1, .3, 1) 2s forwards; }
.scb-h1 { font-family: 'Rubik', sans-serif; font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; line-height: 1.12; margin-bottom: 12px; letter-spacing: -.02em; opacity: 0; transform: translateX(-100px); animation: scb-slide-r 1.6s cubic-bezier(.16, 1, .3, 1) 2.4s forwards; }
.scb-sub { font-size: .95rem; color: var(--muted); line-height: 1.55; opacity: 0; transform: translateX(-60px); animation: scb-slide-r 1.6s cubic-bezier(.16, 1, .3, 1) 2.9s forwards; }
@keyframes scb-slide-r { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 1; transform: translateX(0); } }

.scb-orb-wrap { flex-shrink: 0; position: relative; width: 140px; height: 140px; }
.scb-orb { width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(127, 255, 212, 0.3), rgba(77, 240, 196, 0.08) 60%, rgba(8, 10, 15, 0.9)); box-shadow: 0 0 60px rgba(127, 255, 212, 0.15), inset 0 0 40px rgba(0, 0, 0, 0.4); opacity: 0; animation: scb-orb-mat 2.4s cubic-bezier(.16, 1, .3, 1) 3.4s forwards, scb-orb-breathe 6s ease-in-out 5.8s infinite; }
.scb-orb::before, .scb-orb::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(127, 255, 212, 0.12); opacity: 0; }
.scb-orb::before { inset: -14px; animation: scb-ring-in 2s ease 4.6s forwards, scb-ring-pulse 4s ease-in-out 6.6s infinite; }
.scb-orb::after { inset: -30px; animation: scb-ring-in 2s ease 5s forwards, scb-ring-pulse 4s ease-in-out 7s infinite; }
@keyframes scb-orb-mat { 0% { opacity: 0; transform: scale(.2) translateX(80px); filter: blur(24px); } 40% { filter: blur(8px); } 100% { opacity: 1; transform: scale(1) translateX(0); filter: blur(0); } }
@keyframes scb-orb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes scb-ring-in { to { opacity: 1; } }
@keyframes scb-ring-pulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.06); opacity: .8; } }

.scb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 32px 24px; }
.scb-card { background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; opacity: 0; box-shadow: 0 20px 60px rgba(5, 7, 12, 0.45); }
.scb-card:nth-child(1) { transform: translateY(120px) translateX(-60px) rotate(-2deg) scale(.9); animation: scb-card1 2s cubic-bezier(.16, 1, .3, 1) 4s forwards; }
.scb-card:nth-child(2) { transform: translateY(120px) translateX(60px) rotate(2deg) scale(.9); animation: scb-card2 2s cubic-bezier(.16, 1, .3, 1) 4.6s forwards; }
@keyframes scb-card1 { 0% { opacity: 0; transform: translateY(120px) translateX(-60px) rotate(-2deg) scale(.9); } 35% { opacity: 1; } 75% { transform: translateY(-4px) translateX(2px) rotate(.2deg) scale(1.01); } 100% { opacity: 1; transform: translateY(0) translateX(0) rotate(0) scale(1); } }
@keyframes scb-card2 { 0% { opacity: 0; transform: translateY(120px) translateX(60px) rotate(2deg) scale(.9); } 35% { opacity: 1; } 75% { transform: translateY(-4px) translateX(-2px) rotate(-.2deg) scale(1.01); } 100% { opacity: 1; transform: translateY(0) translateX(0) rotate(0) scale(1); } }

.scb-card-head { display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(-14px); }
.scb-card:nth-child(1) .scb-card-head { animation: scb-piece 1.2s cubic-bezier(.16, 1, .3, 1) 5.6s forwards; }
.scb-card:nth-child(2) .scb-card-head { animation: scb-piece 1.2s cubic-bezier(.16, 1, .3, 1) 6.2s forwards; }
@keyframes scb-piece { 0% { opacity: 0; transform: translateY(-14px); } 50% { opacity: 1; } 80% { transform: translateY(1px); } 100% { opacity: 1; transform: translateY(0); } }
.scb-card-title { font-size: 1.05rem; font-weight: 600; }
.scb-card-chip { font-size: .72rem; color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 5px 12px; cursor: pointer; background: transparent; font-family: inherit; }

.scb-dropzone { border: 1px dashed rgba(127, 255, 212, 0.3); border-radius: 16px; padding: 28px 20px; text-align: center; background: rgba(10, 15, 23, 0.5); cursor: pointer; opacity: 0; transform: translateY(-40px) scale(.94); }
.scb-card:nth-child(1) .scb-dropzone { animation: scb-drop 1.6s cubic-bezier(.16, 1, .3, 1) 6.2s forwards; }
.scb-card:nth-child(2) .scb-dropzone { animation: scb-drop 1.6s cubic-bezier(.16, 1, .3, 1) 6.9s forwards; }
@keyframes scb-drop { 0% { opacity: 0; transform: translateY(-40px) scale(.94); } 30% { opacity: .6; } 65% { opacity: 1; transform: translateY(2px) scale(1.005); } 80% { transform: translateY(-1px) scale(1); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.scb-drop-icon { font-size: 1.4rem; color: var(--accent); display: block; margin-bottom: 10px; }
.scb-drop-text { font-size: .9rem; color: var(--text); margin-bottom: 6px; }
.scb-drop-text span { color: var(--accent); }
.scb-drop-meta { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.scb-drop-hint { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.scb-drop-icon, .scb-drop-text, .scb-drop-meta, .scb-drop-hint { opacity: 0; animation: scb-cfade .9s ease forwards; }
.scb-card:nth-child(1) .scb-drop-icon { animation-delay: 7s; }
.scb-card:nth-child(1) .scb-drop-text { animation-delay: 7.3s; }
.scb-card:nth-child(1) .scb-drop-meta { animation-delay: 7.5s; }
.scb-card:nth-child(1) .scb-drop-hint { animation-delay: 7.7s; }
.scb-card:nth-child(2) .scb-drop-icon { animation-delay: 7.7s; }
.scb-card:nth-child(2) .scb-drop-text { animation-delay: 8s; }
.scb-card:nth-child(2) .scb-drop-meta { animation-delay: 8.2s; }
.scb-card:nth-child(2) .scb-drop-hint { animation-delay: 8.4s; }
@keyframes scb-cfade { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }

.scb-wave { background: rgba(7, 10, 16, 0.6); border-radius: 14px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.04); opacity: 0; transform: translateY(30px) scale(.96); }
.scb-card:nth-child(1) .scb-wave { animation: scb-wave-s 1.8s cubic-bezier(.16, 1, .3, 1) 8s forwards; }
.scb-card:nth-child(2) .scb-wave { animation: scb-wave-s 1.8s cubic-bezier(.16, 1, .3, 1) 8.6s forwards; }
@keyframes scb-wave-s { 0% { opacity: 0; transform: translateY(30px) scale(.96); } 35% { opacity: .7; } 70% { transform: translateY(-2px) scale(1.005); } 85% { transform: translateY(1px) scale(1); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.scb-wave-bars { display: flex; align-items: flex-end; justify-content: center; height: 72px; gap: 3px; padding: 0 12px; }
.scb-wave-bar { width: 3px; border-radius: 999px; background: linear-gradient(to top, rgba(127, 255, 212, 0.12), rgba(127, 255, 212, 0.4)); height: 0 !important; opacity: 0; --h: 20px; animation: scb-bar .9s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes scb-bar { 0% { height: 0 !important; opacity: 0; filter: blur(2px); } 20% { opacity: .6; filter: blur(1px); } 60% { height: calc(var(--h) * 1.12) !important; opacity: 1; filter: blur(0); } 80% { height: calc(var(--h) * .94) !important; } 100% { height: var(--h) !important; opacity: 1; filter: blur(0); } }

.scb-action { display: flex; align-items: center; justify-content: space-between; margin: 0 32px 24px; padding: 16px 22px; border-radius: 16px; background: rgba(12, 17, 26, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(50px); animation: scb-action-rise 1.8s cubic-bezier(.16, 1, .3, 1) 9.4s forwards; }
@keyframes scb-action-rise { 0% { opacity: 0; transform: translateY(50px); } 40% { opacity: 1; } 75% { transform: translateY(-2px); } 100% { opacity: 1; transform: translateY(0); } }
.scb-status { font-size: .88rem; color: var(--muted); }
.scb-action-btn { padding: 12px 26px; border-radius: 999px; font-size: .92rem; font-weight: 600; border: none; background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9)); color: #04110c; box-shadow: 0 8px 24px rgba(127, 255, 212, 0.18); cursor: pointer; font-family: inherit; white-space: nowrap; opacity: 0; animation: scb-btn 1.2s cubic-bezier(.16, 1, .3, 1) 10s forwards, scb-btn-glow 3s ease-in-out 11.2s infinite; }
@keyframes scb-btn { 0% { opacity: 0; transform: scale(.85); } 60% { opacity: 1; } 80% { transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes scb-btn-glow { 0%, 100% { box-shadow: 0 8px 24px rgba(127, 255, 212, 0.18); } 50% { box-shadow: 0 8px 40px rgba(127, 255, 212, 0.35); } }

.scb-vignette { position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55); opacity: 0; animation: scb-vig 3s ease 1s forwards; }
@keyframes scb-vig { to { opacity: 1; } }
.scb-scanline { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.025) 2px, rgba(0, 0, 0, 0.025) 4px); opacity: 0; animation: scb-scan 1s ease 4s forwards; }
@keyframes scb-scan { to { opacity: 1; } }

.scb-particle { position: absolute; z-index: 25; border-radius: 50%; background: var(--accent); opacity: 0; animation: scb-p-in 1.5s ease forwards, scb-p-float 5s ease-in-out infinite; }
.scb-p1 { width: 4px; height: 4px; bottom: 22%; left: 18%; animation-delay: 7s, 7s; }
.scb-p2 { width: 3px; height: 3px; bottom: 30%; right: 22%; animation-delay: 7.6s, 7.6s; }
.scb-p3 { width: 5px; height: 5px; top: 35%; left: 45%; animation-delay: 8.2s, 8.2s; }
.scb-p4 { width: 3px; height: 3px; top: 28%; right: 32%; animation-delay: 8.8s, 8.8s; }
@keyframes scb-p-in { to { opacity: .35; } }
@keyframes scb-p-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }


/* ════════════════════════════════════════════════
   SECTION 2: ACTION ANIMATION (sca- prefix)
   ════════════════════════════════════════════════ */
.sca-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    animation: sca-cam-fly 3.5s cubic-bezier(.25, .9, .3, 1) .5s forwards;
    perspective-origin: 50% 50%;
}

@keyframes sca-cam-fly { 0% { perspective-origin: 50% 50%; perspective: 1200px; } 100% { perspective-origin: 52% 55%; perspective: 1000px; } }

.sca-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 60%, rgba(65, 255, 214, 0.06), transparent 55%),
               linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18);
}

.sca-amb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .8; }
.sca-amb-a { width: 420px; height: 420px; top: -10%; right: -8%; background: rgba(127, 255, 212, 0.1); }
.sca-amb-b { width: 300px; height: 300px; bottom: -5%; left: -5%; background: rgba(77, 240, 196, 0.07); }
.sca-amb-c { width: 200px; height: 200px; top: 50%; left: 25%; background: rgba(127, 255, 212, 0.05); }

.sca-glass {
    position: relative;
    width: 1100px;
    max-width: 95vw;
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.85), rgba(13, 18, 28, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(5, 7, 12, 0.6), 0 0 60px rgba(127, 255, 212, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transform: rotateX(4deg) rotateY(-1deg) scale(1.05);
    overflow: hidden;
}

.sca-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 32px 20px; opacity: .3; }
.sca-card { background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(13, 18, 28, 0.95)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 60px rgba(5, 7, 12, 0.45); }
.sca-card-head { display: flex; justify-content: space-between; align-items: center; }
.sca-card-title { font-size: 1.05rem; font-weight: 600; }
.sca-card-chip { font-size: .72rem; color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 5px 12px; cursor: pointer; background: transparent; font-family: inherit; }

.sca-wave { background: rgba(7, 10, 16, 0.6); border-radius: 14px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.04); }
.sca-wave-bars { display: flex; align-items: flex-end; justify-content: center; height: 72px; gap: 3px; padding: 0 12px; }
.sca-wave-bar { width: 3px; border-radius: 999px; background: linear-gradient(to top, rgba(127, 255, 212, 0.12), rgba(127, 255, 212, 0.35)); }

.sca-action { display: flex; align-items: center; justify-content: space-between; margin: 0 32px 24px; padding: 16px 22px; border-radius: 16px; background: rgba(12, 17, 26, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; box-shadow: 0 0 0 rgba(127, 255, 212, 0); animation: sca-highlight 2s ease 3s forwards; }
@keyframes sca-highlight { 0% { box-shadow: 0 0 0 rgba(127, 255, 212, 0); border-color: rgba(255, 255, 255, 0.08); } 100% { box-shadow: 0 0 40px rgba(127, 255, 212, 0.12), 0 0 80px rgba(127, 255, 212, 0.06); border-color: rgba(127, 255, 212, 0.2); } }

.sca-status { font-size: .88rem; color: var(--muted); }
.sca-action-btn { padding: 12px 26px; border-radius: 999px; font-size: .92rem; font-weight: 600; border: none; position: relative; background: linear-gradient(135deg, rgba(127, 255, 212, 0.9), rgba(77, 240, 196, 0.9)); color: #04110c; box-shadow: 0 8px 24px rgba(127, 255, 212, 0.18); cursor: pointer; font-family: inherit; white-space: nowrap; animation: sca-btn-glow 3s ease-in-out infinite; }
@keyframes sca-btn-glow { 0%, 100% { box-shadow: 0 8px 24px rgba(127, 255, 212, 0.18); } 50% { box-shadow: 0 8px 40px rgba(127, 255, 212, 0.35); } }
.sca-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); border-radius: 0 0 16px 16px; width: 0; box-shadow: 0 0 12px rgba(127, 255, 212, 0.4); }
.sca-progress-steps { position: absolute; bottom: -28px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 8px; opacity: 0; }
.sca-progress-step { font-size: .65rem; color: var(--muted); }

.sca-vignette { position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55); }
.sca-scanline { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.025) 2px, rgba(0, 0, 0, 0.025) 4px); }

.sca-particle { position: absolute; z-index: 25; border-radius: 50%; background: var(--accent); opacity: .3; animation: sca-p-float 5s ease-in-out infinite; }
.sca-p1 { width: 4px; height: 4px; bottom: 22%; left: 18%; }
.sca-p2 { width: 3px; height: 3px; bottom: 30%; right: 22%; animation-delay: .6s; }
.sca-p3 { width: 5px; height: 5px; top: 35%; left: 45%; animation-delay: 1.2s; }
.sca-p4 { width: 3px; height: 3px; top: 28%; right: 32%; animation-delay: 1.8s; }
@keyframes sca-p-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* cursor dot for action section */
.sca-cursor { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(127, 255, 212, 0.15); pointer-events: none; z-index: 100; opacity: 0; }


/* ════════════════════════════════════════════════
   SECTION 3: END/RESULT ANIMATION (sce- prefix)
   ════════════════════════════════════════════════ */
.sce-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    perspective-origin: 0% 50%;
    animation: sce-cam-sweep 4s cubic-bezier(.22, 1, .36, 1) .3s forwards;
}

@keyframes sce-cam-sweep { 0% { perspective-origin: 0% 50%; perspective: 1000px; } 100% { perspective-origin: 50% 50%; perspective: 1400px; } }

.sce-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(65, 255, 214, 0.07), transparent 55%),
               linear-gradient(135deg, #06070b, #0f141d 45%, #0a0f18);
}

.sce-amb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0; animation: sce-amb-in 3s ease forwards; }
.sce-amb-a { width: 500px; height: 500px; top: -15%; left: 20%; background: rgba(127, 255, 212, 0.1); animation-delay: .5s; }
.sce-amb-b { width: 350px; height: 350px; bottom: -10%; right: 10%; background: rgba(77, 240, 196, 0.08); animation-delay: 1.2s; }
.sce-amb-c { width: 220px; height: 220px; top: 30%; right: 30%; background: rgba(127, 255, 212, 0.05); animation-delay: 1.8s; }
@keyframes sce-amb-in { to { opacity: 1; } }

.sce-glass {
    position: relative;
    width: 900px;
    max-width: 92vw;
    background: linear-gradient(145deg, rgba(18, 23, 34, 0.88), rgba(13, 18, 28, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(5, 7, 12, 0.6), 0 0 60px rgba(127, 255, 212, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    padding: 28px 32px 24px;
    opacity: 0;
    animation: sce-glass-in 3s cubic-bezier(.22, 1, .36, 1) .6s forwards;
    overflow: hidden;
}

@keyframes sce-glass-in { 0% { opacity: 0; transform: rotateY(25deg) rotateX(2deg) scale(.7) translateX(120px) translateZ(-100px); } 50% { opacity: 1; } 100% { opacity: 1; transform: rotateY(0) rotateX(0) scale(1) translateX(0) translateZ(0); } }

.sce-glass::before { content: ''; position: absolute; inset: -60%; background: linear-gradient(105deg, transparent 40%, rgba(127, 255, 212, 0.06) 45%, rgba(127, 255, 212, 0.12) 50%, rgba(127, 255, 212, 0.06) 55%, transparent 60%); animation: sce-shimmer 2.5s ease-in-out 4s forwards; opacity: 0; pointer-events: none; }
@keyframes sce-shimmer { 0% { opacity: 1; transform: translateX(-70%); } 60% { opacity: 1; } 100% { opacity: 0; transform: translateX(70%); } }

.sce-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; opacity: 0; transform: translateY(-20px); animation: sce-fade 1.2s cubic-bezier(.22, 1, .36, 1) 1.4s forwards; }
@keyframes sce-fade { 0% { opacity: 0; transform: translateY(-20px); } 50% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); } }
.sce-title { font-family: 'Rubik', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.sce-badge { padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(127, 255, 212, 0.25); background: rgba(127, 255, 212, 0.08); color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.sce-wave-wrap { background: rgba(5, 8, 13, 0.75); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); padding: 20px 16px; margin-bottom: 20px; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px) scale(.97); animation: sce-wave-in 1.6s cubic-bezier(.22, 1, .36, 1) 1.8s forwards; }
@keyframes sce-wave-in { 0% { opacity: 0; transform: translateY(20px) scale(.97); } 40% { opacity: 1; } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.sce-wave-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; left: 0; background: linear-gradient(to bottom, transparent, var(--accent), transparent); box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(127, 255, 212, 0.3); opacity: 0; animation: sce-wcursor 3s cubic-bezier(.22, 1, .36, 1) 2.4s forwards; }
@keyframes sce-wcursor { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.sce-wave-bars { display: flex; align-items: center; justify-content: center; height: 120px; gap: 2px; position: relative; z-index: 1; }
.sce-wave-bar { border-radius: 999px; background: linear-gradient(to top, rgba(127, 255, 212, 0.2), rgba(127, 255, 212, 0.55)); width: 0; height: 0; opacity: 0; --target-w: 2.5px; --target-h: 20px; animation: sce-bar-birth 1s cubic-bezier(.22, 1, .36, 1) forwards; }
.sce-wave-bar.is-peak { background: linear-gradient(to top, rgba(127, 255, 212, 0.35), rgba(127, 255, 212, 0.85)); box-shadow: 0 0 6px rgba(127, 255, 212, 0.2); }
@keyframes sce-bar-birth { 0% { width: 0; height: 0; opacity: 0; } 15% { width: var(--target-w); opacity: .3; } 40% { height: calc(var(--target-h) * 1.2); opacity: .8; } 70% { height: calc(var(--target-h) * .92); } 100% { width: var(--target-w); height: var(--target-h); opacity: 1; } }
.sce-wave-bar.is-alive { animation: sce-bar-breathe 3s ease-in-out infinite; }
@keyframes sce-bar-breathe { 0%, 100% { transform: scaleY(1); opacity: .85; } 50% { transform: scaleY(1.08); opacity: 1; } }

.sce-player { display: flex; align-items: center; gap: 14px; background: rgba(10, 14, 22, 0.7); border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); padding: 10px 18px; margin-bottom: 20px; opacity: 0; transform: translateY(16px); animation: sce-fade 1.2s cubic-bezier(.22, 1, .36, 1) 4.6s forwards; }
.sce-play-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.08); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; font-size: 1rem; }
.sce-time { font-size: .82rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.sce-seek { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.sce-seek-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); border-radius: 999px; width: 0; animation: sce-seek-fill 4s ease 5.5s forwards; }
@keyframes sce-seek-fill { 0% { width: 0; } 100% { width: 38%; } }
.sce-vol { width: 20px; height: 20px; opacity: .5; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

.sce-actions { display: flex; gap: 12px; opacity: 0; transform: translateY(14px); animation: sce-fade 1s cubic-bezier(.22, 1, .36, 1) 5.2s forwards; }
.sce-btn { padding: 10px 20px; border-radius: 999px; font-size: .88rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(12, 17, 26, 0.7); color: var(--text); cursor: pointer; font-family: inherit; white-space: nowrap; }
.sce-btn-accent { padding: 10px 24px; border-radius: 999px; font-size: .88rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(18, 23, 34, 0.85); color: var(--text); cursor: pointer; font-family: inherit; white-space: nowrap; }

.sce-vignette { position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.5); opacity: 0; animation: sce-vig 2s ease .8s forwards; }
@keyframes sce-vig { to { opacity: 1; } }
.sce-scanline { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px); opacity: 0; animation: sce-scan .8s ease 3s forwards; }
@keyframes sce-scan { to { opacity: 1; } }

.sce-particle { position: absolute; z-index: 25; border-radius: 50%; background: var(--accent); opacity: 0; animation: sce-p-in 1.2s ease forwards, sce-p-float 5s ease-in-out infinite; }
.sce-p1 { width: 5px; height: 5px; top: 30%; left: 20%; animation-delay: 3.6s, 3.6s; }
.sce-p2 { width: 3px; height: 3px; top: 25%; right: 25%; animation-delay: 3.9s, 3.9s; }
.sce-p3 { width: 4px; height: 4px; bottom: 28%; left: 35%; animation-delay: 4.2s, 4.2s; }
.sce-p4 { width: 3px; height: 3px; bottom: 22%; right: 18%; animation-delay: 4.5s, 4.5s; }
.sce-p5 { width: 6px; height: 6px; top: 42%; left: 50%; animation-delay: 4.8s, 4.8s; }
@keyframes sce-p-in { to { opacity: .4; } }
@keyframes sce-p-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }


/* ════════════════════════════════════
   SHOWCASE — responsive
   ════════════════════════════════════ */
@media (max-width: 700px) {
    .about-showcase { min-height: 70vh; }
    .showcase-headline { font-size: clamp(22px, 7vw, 44px); }
    .scb-cards, .sca-cards { grid-template-columns: 1fr; }
    .scb-hero, .sca-hero { flex-direction: column; text-align: center; padding: 24px 20px 16px; }
    .scb-orb-wrap { width: 90px; height: 90px; }
    .scb-orb { width: 90px; height: 90px; }
    .scb-action, .sca-action { flex-direction: column; gap: 12px; text-align: center; }
    .sce-glass { padding: 20px 16px; }
    .sce-wave-bars { height: 80px; }
    .sce-player { flex-wrap: wrap; border-radius: 16px; padding: 10px 14px; }
    .sce-actions { flex-wrap: wrap; }
}

@media (min-width: 701px) and (max-width: 1200px) {
    .showcase-headline { font-size: clamp(30px, 6vw, 68px); }
}


/* ════════════════════════════════════
   ABOUT — v1 base model intro
   ════════════════════════════════════ */
.about-v1-intro {
    position: relative;
    padding: 92px 0 36px;
    background:
        radial-gradient(1200px 720px at 82% 50%, rgba(74, 232, 255, 0.2), transparent 70%),
        radial-gradient(900px 620px at 16% 24%, rgba(98, 255, 203, 0.11), transparent 72%),
        linear-gradient(180deg, #070a11 0%, #080d16 46%, #070a11 100%);
    overflow: hidden;
}

.about-v1-shell {
    position: relative;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 620px);
    gap: clamp(36px, 6.8vw, 120px);
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(24px, 6vw, 120px);
    overflow: hidden;
}

.about-v1-visual {
    position: relative;
    z-index: 4;
    justify-self: end;
    width: min(100%, 620px);
    min-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.about-v1-stage {
    position: relative;
    width: clamp(340px, 32vw, 520px);
    height: clamp(340px, 32vw, 520px);
    min-height: 340px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    perspective: 1500px;
    transform-style: preserve-3d;
    overflow: visible;
    opacity: 1;
    animation:
        about-v1-stage-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        about-v1-stage-float 6.2s ease-in-out 1.05s infinite;
}

.about-v1-stage::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -9%;
    height: 22%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    filter: blur(16px);
    transform: translateZ(-70px) rotateX(78deg);
    opacity: 0;
    animation: about-v1-shadow-float 6.2s ease-in-out 1.05s infinite;
}

.about-v1-icon-stack {
    position: absolute;
    inset: 8%;
    border-radius: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transform: rotateY(-16deg) rotateX(10deg);
    z-index: 2;
}

.about-v1-icon-stack::before {
    content: "";
    position: absolute;
    inset: -8%;
    border-radius: 26%;
    background: radial-gradient(circle at 35% 22%, rgba(121, 243, 255, 0.44), rgba(121, 243, 255, 0) 62%);
    filter: blur(8px);
    transform: translateZ(-40px);
}

.about-v1-icon-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.about-v1-icon {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    user-select: none;
    pointer-events: none;
}

.about-v1-icon-layer--deep {
    transform: translate3d(-26px, 20px, -76px) scale(0.93);
    opacity: 0.36;
    filter: blur(5.2px) brightness(0.7) saturate(1.2);
}

.about-v1-icon-layer--mid {
    transform: translate3d(-14px, 11px, -36px) scale(0.97);
    opacity: 0.6;
    filter: blur(2.1px) brightness(0.9) saturate(1.15);
}

.about-v1-icon {
    transform: translateZ(42px);
    filter:
        brightness(1.08)
        drop-shadow(0 28px 28px rgba(0, 0, 0, 0.5))
        drop-shadow(0 7px 4px rgba(135, 248, 223, 0.34))
        drop-shadow(0 0 32px rgba(86, 247, 214, 0.24));
}

.about-v1-copy {
    position: relative;
    z-index: 2;
    opacity: 0;
    max-width: 780px;
    transform: translateX(-40px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-v1-copy.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-v1-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(127, 255, 212, 0.36);
    background: rgba(127, 255, 212, 0.12);
    color: #abffe8;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.72rem;
    font-weight: 600;
}

.about-v1-title {
    margin: 0 0 14px;
    font-family: 'Rubik', sans-serif;
    font-size: clamp(24px, 3.6vw, 46px);
    line-height: 1.03;
    letter-spacing: -0.02em;
    color: var(--text);
}

.about-v1-title-accent {
    color: #7dffd7;
    text-shadow: 0 0 22px rgba(125, 255, 215, 0.32);
}

.about-v1-description {
    margin: 0;
    max-width: 60ch;
    font-size: clamp(14px, 0.96vw, 16px);
    line-height: 1.66;
    color: rgba(230, 238, 255, 0.82);
}

.about-v1-description + .about-v1-description {
    margin-top: 14px;
}

@keyframes about-v1-stage-in {
    0% {
        opacity: 0;
        transform: translate3d(-56px, 22px, 0) rotateY(-24deg) rotateX(18deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(-4deg) rotateX(2deg) scale(1);
    }
}

@keyframes about-v1-stage-float {
    0%,
    100% {
        transform: translateY(0) rotateY(-4deg) rotateX(2deg);
    }
    50% {
        transform: translateY(-12px) rotateY(-2deg) rotateX(3deg);
    }
}

@keyframes about-v1-shadow-float {
    0%,
    100% {
        opacity: 0.56;
        transform: translateZ(-70px) rotateX(78deg) scale(1);
    }
    50% {
        opacity: 0.42;
        transform: translateZ(-70px) rotateX(78deg) scale(0.94);
    }
}

/* ── responsive v1 intro ── */
@media (max-width: 860px) {
    .about-v1-intro {
        padding: 62px 0 16px;
    }
    .about-v1-shell {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    .about-v1-visual {
        width: 100%;
        min-width: 0;
        justify-self: center;
    }
    .about-v1-stage {
        width: min(100%, 360px);
        height: min(360px, 90vw);
        min-height: 260px;
    }
    .about-v1-copy {
        transform: translateY(24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .about-v1-copy.is-visible {
        transform: translateY(0);
    }
    .about-v1-description {
        max-width: none;
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.62;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-v1-visual,
    .about-v1-stage,
    .about-v1-copy {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ════════════════════════════════════
   ABOUT — v1 MAX scroll sequence
   ════════════════════════════════════ */
.about-v1-max-intro {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(1200px 760px at 78% 24%, rgba(68, 247, 230, 0.24), rgba(68, 247, 230, 0) 74%),
        radial-gradient(900px 640px at 18% 82%, rgba(84, 165, 255, 0.18), rgba(84, 165, 255, 0) 72%),
        linear-gradient(180deg, #05080f 0%, #070d17 48%, #050910 100%);
}

.about-v1-max-scene {
    position: relative;
    min-height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    perspective: 1600px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    --impact-x: 50%;
    --impact-y: 46%;
    padding: 0 20px clamp(44px, 9vh, 86px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-v1-max-bg {
    position: absolute;
    inset: -12% -10%;
    pointer-events: none;
    background:
        radial-gradient(520px 420px at 50% 36%, rgba(127, 255, 212, 0.22), rgba(127, 255, 212, 0) 72%),
        radial-gradient(680px 520px at 52% 64%, rgba(109, 237, 255, 0.17), rgba(109, 237, 255, 0) 78%);
    opacity: 0.64;
    filter: blur(2px);
    z-index: 0;
}

.about-v1-max-slot-wrap {
    position: absolute;
    top: 39%;
    left: 50%;
    width: min(88vw, 1120px);
    height: min(70vh, 760px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
}

.about-v1-max-slot-glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: clamp(230px, 25vw, 360px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.84);
    background: radial-gradient(circle, rgba(127, 255, 212, 0.3), rgba(127, 255, 212, 0) 72%);
    filter: blur(18px);
    opacity: 0;
}

.about-v1-max-slot {
    position: absolute;
    left: 50%;
    top: 46%;
    width: clamp(178px, 18vw, 276px);
    aspect-ratio: 1;
    border-radius: 30%;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0.68;
    border: 1px solid rgba(152, 239, 255, 0.3);
    background:
        linear-gradient(145deg, rgba(17, 31, 45, 0.82), rgba(9, 18, 29, 0.95));
    box-shadow:
        inset 0 0 45px rgba(138, 226, 255, 0.13),
        0 28px 50px rgba(2, 6, 11, 0.58);
}

.about-v1-max-slot::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 28%;
    border: 1px dashed rgba(127, 255, 212, 0.38);
    opacity: 0.78;
}

.about-v1-max-slot::after {
    content: "";
    position: absolute;
    inset: -15%;
    border-radius: 30%;
    border: 1px solid rgba(138, 226, 255, 0.22);
    opacity: 0.6;
}

.about-v1-max-slot-core {
    position: absolute;
    inset: 21%;
    border-radius: 22%;
    transform: scale(0.82);
    opacity: 0.4;
    background:
        radial-gradient(circle at 32% 22%, rgba(143, 250, 234, 0.26), rgba(143, 250, 234, 0) 66%),
        linear-gradient(180deg, rgba(11, 20, 33, 0.9), rgba(5, 10, 16, 0.96));
    border: 1px solid rgba(127, 255, 212, 0.26);
    box-shadow:
        inset 0 0 26px rgba(127, 255, 212, 0.12),
        0 0 22px rgba(127, 255, 212, 0.15);
}

.about-v1-max-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(250px, 28vw, 430px);
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    transform: translate(-50%, -50%) scale(0.42);
    transform-origin: 50% 50%;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    will-change: transform, opacity;
    object-fit: contain;
    z-index: 8;
    filter:
        brightness(1.06)
        drop-shadow(0 28px 30px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 34px rgba(92, 255, 224, 0.24))
        drop-shadow(0 0 86px rgba(58, 198, 255, 0.17));
}

.about-v1-max-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    z-index: 2;
}

.about-v1-max-flash,
.about-v1-max-blast {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.about-v1-max-flash {
    inset: -16%;
    z-index: 7;
    background:
        radial-gradient(circle at var(--impact-x) var(--impact-y), rgba(233, 255, 255, 0.78), rgba(233, 255, 255, 0) 23%),
        radial-gradient(circle at var(--impact-x) var(--impact-y), rgba(121, 255, 234, 0.4), rgba(121, 255, 234, 0) 44%);
    mix-blend-mode: screen;
}

.about-v1-max-blast {
    inset: -44%;
    transform: scale(0.2);
    transform-origin: var(--impact-x) var(--impact-y);
    z-index: 5;
    background:
        radial-gradient(circle at var(--impact-x) var(--impact-y), rgba(115, 255, 235, 0.82), rgba(115, 255, 235, 0) 18%),
        radial-gradient(circle at var(--impact-x) var(--impact-y), rgba(76, 229, 255, 0.54), rgba(76, 229, 255, 0) 36%),
        radial-gradient(110% 100% at var(--impact-x) var(--impact-y), rgba(41, 186, 207, 0.3), rgba(41, 186, 207, 0) 66%);
    filter: blur(18px) saturate(1.18);
    mix-blend-mode: screen;
}

.about-v1-max-blast::before,
.about-v1-max-blast::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-v1-max-blast::before {
    background:
        conic-gradient(
            from 0deg at var(--impact-x) var(--impact-y),
            rgba(112, 255, 236, 0) 0deg 18deg,
            rgba(112, 255, 236, 0.36) 25deg 38deg,
            rgba(112, 255, 236, 0) 50deg 68deg,
            rgba(96, 243, 255, 0.32) 82deg 98deg,
            rgba(96, 243, 255, 0) 112deg 134deg,
            rgba(112, 255, 236, 0.28) 152deg 168deg,
            rgba(112, 255, 236, 0) 186deg 212deg,
            rgba(85, 224, 255, 0.34) 226deg 242deg,
            rgba(85, 224, 255, 0) 258deg 282deg,
            rgba(112, 255, 236, 0.26) 300deg 320deg,
            rgba(112, 255, 236, 0) 336deg 360deg
        );
    filter: blur(10px);
    opacity: 0.82;
}

.about-v1-max-blast::after {
    background:
        radial-gradient(100% 84% at calc(var(--impact-x) - 8%) calc(var(--impact-y) + 6%), rgba(74, 220, 236, 0.42), rgba(74, 220, 236, 0) 64%),
        radial-gradient(92% 82% at calc(var(--impact-x) + 16%) calc(var(--impact-y) - 10%), rgba(116, 255, 236, 0.38), rgba(116, 255, 236, 0) 62%),
        radial-gradient(130% 110% at var(--impact-x) var(--impact-y), rgba(70, 200, 223, 0.3), rgba(70, 200, 223, 0) 74%);
    filter: blur(32px);
    opacity: 0.85;
}

.about-v1-max-copy {
    position: relative;
    z-index: 9;
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(28px);
    will-change: opacity, transform;
}

.about-v1-max-title {
    margin: 0 0 16px;
    font-family: 'Rubik', sans-serif;
    font-size: clamp(34px, 6.8vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ecf3ff;
    text-shadow:
        0 0 24px rgba(139, 255, 231, 0.16),
        0 0 55px rgba(95, 185, 255, 0.14);
}

.about-v1-max-title-accent {
    background: linear-gradient(92deg, #74ffe6 12%, #79f2ff 44%, #66cfff 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.about-v1-max-description {
    margin: 0 auto;
    max-width: 62ch;
    font-size: clamp(15px, 1.1vw, 19px);
    line-height: 1.62;
    color: rgba(228, 238, 255, 0.9);
}

.about-v1-max-intro.is-active .about-v1-max-bg {
    opacity: 0.82;
}

.about-v1-max-intro.is-finished .about-v1-max-bg {
    opacity: 0.76;
}

.about-v1-max-intro.is-static .about-v1-max-slot,
.about-v1-max-intro.is-static .about-v1-max-slot-core,
.about-v1-max-intro.is-static .about-v1-max-slot-glow,
.about-v1-max-intro.is-static .about-v1-max-chip,
.about-v1-max-intro.is-static .about-v1-max-copy {
    transition: none !important;
}

.about-v1-max-intro.is-static .about-v1-max-slot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.about-v1-max-intro.is-static .about-v1-max-slot-core {
    opacity: 1;
    transform: scale(1);
}

.about-v1-max-intro.is-static .about-v1-max-slot-glow {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
}

.about-v1-max-intro.is-static .about-v1-max-chip {
    left: 50%;
    top: 46%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.84);
}

.about-v1-max-intro.is-static .about-v1-max-copy {
    opacity: 1;
    transform: translateY(0);
}

.about-v1-max-intro.is-static .about-v1-max-network,
.about-v1-max-intro.is-static .about-v1-max-flash,
.about-v1-max-intro.is-static .about-v1-max-blast {
    display: none;
}

@media (max-width: 700px) {
    .about-v1-max-scene {
        padding: 0 16px 42px;
    }

    .about-v1-max-slot-wrap {
        top: 37%;
        width: min(100vw, 640px);
    }

    .about-v1-max-slot {
        width: clamp(148px, 46vw, 210px);
    }

    .about-v1-max-chip {
        width: clamp(170px, 57vw, 280px);
        left: 50%;
        top: 50%;
        filter:
            brightness(1.05)
            drop-shadow(0 20px 22px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 20px rgba(92, 255, 224, 0.16))
            drop-shadow(0 0 48px rgba(58, 198, 255, 0.1));
    }

    .about-v1-max-blast {
        inset: -56%;
        filter: blur(24px) saturate(1.12);
    }

    .about-v1-max-title {
        font-size: clamp(30px, 10vw, 52px);
    }

    .about-v1-max-description {
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-v1-max-intro,
    .about-v1-max-scene,
    .about-v1-max-chip,
    .about-v1-max-copy,
    .about-v1-max-slot,
    .about-v1-max-slot-core,
    .about-v1-max-slot-glow {
        animation: none !important;
        transition: none !important;
    }
}

/* ════════════════════════════════════
   ABOUT — video examples section
   ════════════════════════════════════ */
.about-examples {
    position: relative;
    padding: 80px 20px 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(65, 255, 214, 0.04), transparent 55%),
        linear-gradient(180deg, #080a0f, #0a0e16 50%, #080a0f);
}

.about-examples-title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-examples-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-examples-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-examples-item {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-examples-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-examples-item:nth-child(2) {
    transition-delay: 0.15s;
}

.about-examples-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(5, 7, 12, 0.5), 0 0 40px rgba(127, 255, 212, 0.03);
}

.about-examples-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* placeholder state when no video */
.about-examples-video::before {
    display: none;
}

.about-examples-label {
    text-align: center;
    margin-top: 16px;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* ── responsive examples ── */
@media (max-width: 700px) {
    .about-examples {
        padding: 50px 16px 60px;
    }
    .about-examples-title {
        margin-bottom: 32px;
    }
    .about-examples-grid {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
    .about-examples-item {
        max-width: 100%;
    }
    .headline-big { font-size: clamp(28px, 8vw, 52px); }
    .headline-sub { font-size: clamp(14px, 3vw, 24px); }
}

@media (min-width: 701px) and (max-width: 1200px) {
    .about-examples-grid {
        gap: 24px;
    }
    .headline-big { font-size: clamp(36px, 7vw, 80px); }
    .headline-sub { font-size: clamp(16px, 3vw, 32px); }
}

/* epilogue section on about page */
.about-epilogue {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(127, 255, 212, 0.16), transparent 65%),
        radial-gradient(760px 520px at 12% 35%, rgba(255, 203, 120, 0.15), transparent 70%),
        linear-gradient(180deg, #05070c 0%, #070b12 45%, #05060a 100%);
}

/* updates block on about page */
.about-updates {
    padding: 80px 20px 110px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(800px 420px at 15% 20%, rgba(88, 197, 255, 0.14), transparent 70%),
        radial-gradient(600px 380px at 85% 60%, rgba(127, 255, 212, 0.12), transparent 75%),
        linear-gradient(180deg, #06080e 0%, #0b1019 45%, #070a11 100%);
}

.about-updates-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.about-updates-card {
    position: relative;
    padding: 44px 48px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(16, 23, 35, 0.92), rgba(8, 12, 20, 0.85));
    box-shadow: 0 30px 60px rgba(3, 6, 12, 0.5);
    overflow: hidden;
}

.about-updates-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(480px 260px at 0% 0%, rgba(79, 255, 214, 0.12), transparent 70%);
    pointer-events: none;
}

.about-updates-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 16px;
}

.about-updates-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 3.4vw, 36px);
    letter-spacing: -0.02em;
}

.about-updates-text {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 740px;
}

.about-updates-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    color: #081014;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), #6cf7ff);
    box-shadow: 0 16px 30px rgba(79, 255, 214, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-updates-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(79, 255, 214, 0.24);
}

/* tablet/small desktop responsive - proportional scaling */
@media (min-width: 701px) and (max-width: 1200px) {
    .about-glass {
        width: 90vw;
        max-width: 900px;
    }

    .about-g-h1 {
        font-size: clamp(18px, 2.5vw, 24px);
    }

    .about-g-sub {
        font-size: 12px;
        max-width: 350px;
    }

    .about-g-orb {
        width: 65px;
        height: 65px;
    }

    .about-g-nav {
        padding: 12px 20px;
    }

    .about-g-hero {
        padding: 28px 24px 20px;
    }

    .about-g-cards {
        padding: 0 24px 18px;
    }

    .about-g-card {
        padding: 16px;
    }

    .about-g-action {
        margin: 0 24px 18px;
        padding: 14px 18px;
    }

    .about-lab-title {
        font-size: clamp(60px, 14vw, 180px) !important;
    }

    .about-lab-sub {
        font-size: clamp(12px, 1.8vw, 18px) !important;
    }
}

/* mobile responsive - text below interface */
@media (max-width: 700px) {
    .about-scene {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .about-glass {
        width: 92vw;
    }

    .about-g-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-g-hero {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px 18px;
    }

    .about-g-hero-copy {
        order: 2;
        margin-top: 20px;
    }

    .about-g-orb {
        width: 50px;
        height: 50px;
        order: 1;
    }

    .about-g-sub {
        max-width: 100%;
        font-size: 12px;
    }

    .about-g-h1 {
        font-size: 20px;
    }

    .about-g-eyebrow {
        font-size: 10px;
    }

    .about-g-nav-brand {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .about-g-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 12px 16px;
    }

    .about-g-nav-left,
    .about-g-nav-right {
        gap: 6px;
    }

    .about-g-cards {
        padding: 0 20px 16px;
    }

    .about-g-card {
        padding: 14px;
    }

    .about-g-card-title {
        font-size: 13px;
    }

    .about-g-dropzone {
        padding: 20px 12px;
    }

    .about-g-drop-text {
        font-size: 11px;
    }

    .about-g-action {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin: 0 20px 16px;
        padding: 14px 16px;
    }

    .about-g-action-btn {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
    }

    .about-lab-title {
        font-size: clamp(48px, 12vw, 80px) !important;
    }

    .about-lab-sub {
        font-size: clamp(10px, 1.6vw, 14px) !important;
        margin-top: 10px;
    }

    .about-lab-line {
        width: 60px;
        margin-top: 10px;
    }

    .about-updates {
        padding: 60px 16px 80px;
    }

    .about-updates-card {
        padding: 28px 24px;
    }

    .about-updates-title {
        font-size: 22px;
    }

    .about-updates-link {
        width: 100%;
        justify-content: center;
    }

    /* Disable tilt effect on mobile */
    .about-glass {
        animation: about-glass-in 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
            about-glass-shrink-mobile 1.8s cubic-bezier(0.25, 1, 0.5, 1) 5s forwards !important;
    }

    @keyframes about-glass-shrink-mobile {
        0% { transform: rotateX(4deg) rotateY(-2deg) scale(1.15); }
        100% { transform: rotateX(0deg) rotateY(0deg) scale(0.95); }
    }
}

/* ═══ Plan Badge (nav) ═══ */
.nav-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-plan-badge--base {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
}
.nav-plan-badge--plus {
    border: 1px solid rgba(127, 255, 212, 0.4);
    color: var(--accent);
    background: rgba(127, 255, 212, 0.1);
}
.nav-plan-badge--studio {
    border: 1px solid rgba(255, 184, 77, 0.4);
    color: #ffcf75;
    background: rgba(255, 184, 77, 0.12);
}

/* ═══ Studio Placeholder ═══ */
.studio-placeholder-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.studio-placeholder-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(255, 184, 77, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(127, 255, 212, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(18, 23, 34, 0.9) 0%, rgba(12, 17, 26, 0.88) 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.studio-placeholder-card--dashboard {
    background:
        radial-gradient(circle at top left, rgba(127, 255, 212, 0.14), transparent 32%),
        radial-gradient(circle at bottom right, rgba(77, 240, 196, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(18, 23, 34, 0.9) 0%, rgba(12, 17, 26, 0.88) 100%);
}

.studio-placeholder-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.studio-placeholder-title {
    margin: 20px 0 14px;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.studio-placeholder-copy {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.studio-placeholder-actions {
    margin-top: 28px;
}

.studio-placeholder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: var(--bg-0);
    background: linear-gradient(135deg, #ffd57a, #ffb84d);
    box-shadow: 0 12px 24px rgba(255, 184, 77, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.studio-placeholder-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(255, 184, 77, 0.28);
}

@media (max-width: 768px) {
    .studio-placeholder-page {
        padding: 48px 18px 72px;
    }

    .studio-placeholder-card {
        padding: 28px 24px;
    }
}

/* ═══ Settings Page ═══ */
.settings-layout {
    display: flex;
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
    min-height: calc(100vh - 200px);
}
.settings-sidebar {
    width: 220px;
    flex-shrink: 0;
}
.settings-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.settings-sidebar-link {
    display: block;
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.settings-sidebar-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}
.settings-sidebar-link.is-active {
    color: var(--accent);
    background: rgba(127, 255, 212, 0.08);
}
.settings-content {
    flex: 1;
    min-width: 0;
}
.settings-section {
    margin-bottom: 32px;
}
.settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.settings-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 24px;
}
.settings-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: var(--panel);
}
.settings-card + .settings-card {
    margin-top: 16px;
}
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.settings-row + .settings-row {
    border-top: 1px solid var(--stroke);
}
.settings-row-label {
    font-size: 0.85rem;
    color: var(--muted);
}
.settings-row-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.settings-row-value .plan-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.plan-pill--base {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--muted);
}
.plan-pill--plus {
    border: 1px solid rgba(127, 255, 212, 0.4);
    color: var(--accent);
    background: rgba(127, 255, 212, 0.1);
}
.plan-pill--studio {
    border: 1px solid rgba(255, 184, 77, 0.38);
    color: #ffcf75;
    background: rgba(255, 184, 77, 0.12);
}
.settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.settings-btn--primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: var(--bg-0);
}
.settings-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(127, 255, 212, 0.3);
}
.settings-btn--danger {
    background: transparent;
    border: 1px solid rgba(255, 123, 123, 0.3);
    color: var(--danger);
}
.settings-btn--danger:hover {
    background: rgba(255, 123, 123, 0.08);
}
.settings-no-sub {
    text-align: center;
    padding: 40px 20px;
}
.settings-no-sub p {
    color: var(--muted);
    margin: 0 0 16px;
}

/* ═══ Cancel Modal ═══ */
.cancel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.cancel-overlay.is-open {
    display: flex;
}
.cancel-modal {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--stroke);
    background: var(--panel);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.cancel-modal h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.cancel-modal p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
}
.cancel-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.cancel-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    cursor: pointer;
    transition: all 0.2s ease;
}
.cancel-reason:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}
.cancel-reason input[type="radio"] {
    accent-color: var(--accent);
}
.cancel-reason label {
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}
.cancel-comment {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: var(--bg-1);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 20px;
}
.cancel-comment:focus {
    outline: none;
    border-color: var(--accent);
}
.cancel-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .settings-layout {
        flex-direction: column;
        gap: 16px;
    }
    .settings-sidebar {
        width: 100%;
    }
    .settings-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }
}

/* ── Banner Styles ──────────────────────────────────────────────────────── */
@keyframes banner-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes banner-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.wyverno-banner {
    position: relative;
    width: 100%;
    margin: 20px 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(109, 40, 217, 0.18) 0%,
        rgba(139, 92, 246, 0.10) 40%,
        rgba(168, 85, 247, 0.16) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.10),
        0 4px 32px rgba(109, 40, 217, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    animation: banner-fade-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Accent stripe on the left */
.wyverno-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
    border-radius: 18px 0 0 18px;
}

/* Promotional (ad) banner — slightly warmer tint */
.wyverno-banner--ad {
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.20) 0%,
        rgba(139, 92, 246, 0.12) 40%,
        rgba(192, 132, 252, 0.18) 100%);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.12),
        0 6px 36px rgba(124, 58, 237, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.wyverno-banner--ad::before {
    background: linear-gradient(180deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);
}

/* ── Corner action area (close btn / ad label) ── */
.banner-corner-action {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-ad-label {
    display: inline-block;
    padding: 2px 7px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(216, 180, 254, 0.9);
    background: rgba(124, 58, 237, 0.30);
    border: 1px solid rgba(167, 139, 250, 0.40);
    border-radius: 6px;
    line-height: 1.5;
    pointer-events: none;
    user-select: none;
}

.banner-close {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(139, 92, 246, 0.30);
    background: rgba(109, 40, 217, 0.20);
    color: rgba(216, 180, 254, 0.85);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-close:hover {
    background: rgba(139, 92, 246, 0.35);
    color: #fff;
    border-color: rgba(167, 139, 250, 0.55);
    transform: scale(1.08);
}

.banner-close:focus-visible {
    outline: 2px solid rgba(167, 139, 250, 0.6);
    outline-offset: 2px;
}

/* ── Inner layout ── */
.banner-content {
    display: flex;
    align-items: stretch;
    min-height: 80px;
}

.banner-image {
    flex-shrink: 0;
    width: 260px;
    overflow: hidden;
    position: relative;
}

.banner-image img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
}

/* Text + button container */
.banner-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 52px 18px 22px; /* right pad leaves room for corner action */
    flex-wrap: wrap;
}

/* No image: less left padding since there's no image stripe gap */
.wyverno-banner:not(:has(.banner-image)) .banner-body {
    padding-left: 20px;
}

.banner-text {
    flex: 1;
    min-width: 160px;
    margin: 0;
    color: rgba(237, 233, 254, 0.95);
    font-size: 0.97rem;
    font-weight: 500;
    line-height: 1.55;
}

.banner-button {
    flex-shrink: 0;
    padding: 10px 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.25px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    /* Shimmer effect */
    background-size: 200% auto;
}

.banner-button:hover {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
}

.banner-button:active {
    transform: translateY(0) scale(0.99);
}

/* Hidden state */
.wyverno-banner.banner-hidden {
    display: none;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .wyverno-banner {
        margin: 14px 0;
        border-radius: 16px;
    }

    .banner-corner-action {
        top: 9px;
        right: 9px;
    }

    .banner-content {
        flex-direction: column;
    }

    .banner-image {
        width: 100%;
        height: 130px;
        min-height: 130px;
    }

    .banner-image img {
        min-height: 130px;
        object-position: center;
    }

    .banner-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 14px 16px 18px;
    }

    .wyverno-banner:not(:has(.banner-image)) .banner-body {
        padding-left: 18px;
    }

    .banner-text {
        font-size: 0.9rem;
        min-width: 0;
        width: 100%;
        /* ensure text doesn't hide behind close/ad badge */
        padding-right: 28px;
    }

    .banner-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Plus Modal Styles
   ═══════════════════════════════════════════════════════════════════════════ */

.plus-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.plus-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.plus-dialog {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: linear-gradient(145deg, var(--bg-1), var(--bg-0));
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(127, 255, 212, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.plus-modal.is-open .plus-dialog {
    transform: translateY(0) scale(1);
}

.plus-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.plus-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.plus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.plus-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.plus-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.plus-desc {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.plus-actions {
    margin-top: 16px;
    width: 100%;
}

.plus-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #5ce0b0);
    color: #000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plus-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(127, 255, 212, 0.4);
}

body.modal-lock {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Max Usage Info Styles
   ═══════════════════════════════════════════════════════════════════════════ */

.action-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.max-usage-info {
    text-align: center;
}

.max-usage-text {
    font-size: 0.8rem;
    color: var(--muted);
}

.max-usage-text.max-usage-exhausted {
    color: var(--danger);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .plus-dialog {
        padding: 24px;
        margin: 16px;
    }

    .plus-icon {
        font-size: 40px;
    }

    .plus-title {
        font-size: 1.1rem;
    }
}

/* ── Tooltips: always above panels, modals, and stacking contexts (Lab / non-Studio pages) ── */
body.wyverno-body:not(.wyverno-body--studio) [data-tooltip] {
    position: relative;
}

body.wyverno-body:not(.wyverno-body--studio) [data-tooltip]:hover {
    z-index: 2147483646;
}

body.wyverno-body:not(.wyverno-body--studio) [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(10, 12, 18, 0.97);
    border: 1px solid rgba(114, 255, 215, 0.22);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    z-index: 2147483647;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
}

body.wyverno-body:not(.wyverno-body--studio) [data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
