@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

:root {
    --bg: #000;
    --surface: #0a0a0a;
    --primary: #ff4d6d;
    --primary-glow: rgba(255, 77, 109, 0.45);
    --text: #fff;
    --muted: rgba(255, 255, 255, 0.5);
    --faint: rgba(255, 255, 255, 0.28);
    --line: rgba(255, 255, 255, 0.1);
    --font: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 64px;
    --wrap: min(1400px, 94vw);
    --ai-accent: var(--primary);
    --ai-accent-dim: rgba(255, 77, 109, 0.35);
    --ai-accent-glow: var(--primary-glow);
    --ai-panel-bg: #050505;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

body.site > *:not(#particle-canvas):not(.boot-screen):not(.ai-agent-fab):not(.ai-agent-panel):not(.rolex-site-hud):not(.fx-cursor):not(.fx-scroll-progress):not(.ai-guide):not(.fx-page-transition) {
    position: relative;
    z-index: 1;
}

body.site .boot-screen {
    z-index: 20000;
}

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body.site {
    font-family: var(--font) !important;
    background: var(--bg) !important;
    color: var(--text) !important;
    font-weight: 300;
    letter-spacing: -0.01em;
}

body.site::before {
    display: none !important;
}

body.boot-active { overflow: hidden; }

body.site h1,
body.site h2,
body.site h3 {
    font-family: var(--font) !important;
    color: var(--text) !important;
    text-transform: none !important;
    letter-spacing: -0.03em !important;
    text-shadow: none !important;
}

body.site h2 {
    text-align: left !important;
    font-weight: 300 !important;
    font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
    margin-bottom: 1.25rem !important;
}

body.site .glass {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.site .container {
    max-width: var(--wrap) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.boot-screen {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: #030303;
    overflow: hidden;
    isolation: isolate;
}

.boot-screen.is-done {
    pointer-events: none;
}

.boot-screen.is-done .boot-screen__layout {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(10px);
    transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.boot-screen.is-done .boot-screen__curtain span:first-child {
    transform: translateY(0);
}

.boot-screen.is-done .boot-screen__curtain span:last-child {
    transform: translateY(0);
}

.boot-screen__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
}

.boot-screen__mesh {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 20% 30%, rgba(255, 77, 109, 0.18), transparent 55%),
        radial-gradient(ellipse 45% 35% at 85% 70%, rgba(255, 77, 109, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 77, 109, 0.08), transparent 60%);
    animation: bootMeshDrift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.boot-screen__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 77, 109, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 109, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    pointer-events: none;
}

.boot-screen__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.boot-screen__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr minmax(220px, 320px);
    grid-template-areas:
        "head head"
        "core panel"
        "foot foot";
    gap: clamp(1.5rem, 4vw, 3rem);
    min-height: 100dvh;
    padding: clamp(1.5rem, 4vw, 3rem);
    max-width: 1100px;
    margin: 0 auto;
    transition: opacity 0.5s ease, transform 0.6s ease, filter 0.5s ease;
}

.boot-screen__head {
    grid-area: head;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    opacity: 0;
    animation: bootFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.1s;
}

.boot-screen__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 77, 109, 0.25);
    border-radius: 999px;
    background: rgba(255, 77, 109, 0.06);
}

.boot-screen__chip i {
    color: var(--primary);
    font-size: 0.6rem;
}

.boot-screen__edition {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}

.boot-screen__core {
    grid-area: core;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.boot-screen__ring-wrap {
    position: relative;
    width: clamp(160px, 28vw, 220px);
    height: clamp(160px, 28vw, 220px);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(0.88);
    animation: bootCoreIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}

.boot-screen__progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.boot-screen__ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 2;
}

.boot-screen__ring-fg {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    filter: drop-shadow(0 0 8px rgba(255, 77, 109, 0.5));
    transition: stroke-dashoffset 0.08s linear;
}

.boot-screen__orb-glow {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.35) 0%, transparent 68%);
    animation: bootOrbPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

.boot-screen__orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.boot-screen__orbit span {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid transparent;
    opacity: 0.5;
}

.boot-screen__orbit span:nth-child(1) {
    border-color: rgba(255, 77, 109, 0.2);
    border-top-color: var(--primary);
    animation: bootOrbitSpin 14s linear infinite;
}

.boot-screen__orbit span:nth-child(2) {
    inset: 14%;
    border: 1px dashed rgba(255, 77, 109, 0.15);
    border-left-color: rgba(255, 143, 163, 0.45);
    animation: bootOrbitSpin 22s linear infinite reverse;
}

.boot-screen__orbit span:nth-child(3) {
    inset: 22%;
    border-color: rgba(255, 77, 109, 0.1);
    border-bottom-color: rgba(255, 77, 109, 0.5);
    animation: bootOrbitSpin 9s linear infinite;
}

.boot-screen__logo {
    position: relative;
    z-index: 2;
    width: clamp(52px, 10vw, 72px);
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(255, 77, 109, 0.25);
}

.boot-screen__brand {
    opacity: 0;
    transform: translateY(16px);
    animation: bootFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.45s;
}

.boot-screen__title {
    margin: 0;
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 200;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.boot-screen__subtitle {
    margin: 0.15em 0 0;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 77, 109, 0.75);
}

.boot-screen__panel {
    grid-area: panel;
    align-self: center;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateX(20px);
    animation: bootPanelIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.55s;
}

.boot-screen__panel-label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1rem;
}

.boot-screen__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.boot-screen__steps li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.02em;
    transition: color 0.35s ease;
}

.boot-screen__steps li.is-active {
    color: rgba(255, 255, 255, 0.85);
}

.boot-screen__steps li.is-done {
    color: rgba(255, 255, 255, 0.45);
}

.boot-step__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.boot-screen__steps li.is-active .boot-step__dot {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.6);
    animation: bootDotPulse 1s ease-in-out infinite;
}

.boot-screen__steps li.is-done .boot-step__dot {
    background: rgba(255, 77, 109, 0.5);
    box-shadow: none;
    transform: scale(0.85);
}

.boot-screen__line {
    margin: 1rem 0 0;
    min-height: 1.2em;
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.boot-screen__line::after {
    content: '▋';
    display: inline-block;
    margin-left: 2px;
    animation: bootCursorBlink 0.7s step-end infinite;
}

.boot-screen__foot {
    grid-area: foot;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    opacity: 0;
    animation: bootFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.65s;
}

.boot-screen__foot-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.boot-screen__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(255, 77, 109, 0.6);
    animation: bootDotPulse 1.4s ease-in-out infinite;
}

.boot-screen__pct-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    line-height: 1;
}

.boot-screen__pct {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.boot-screen__pct-sym {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 300;
}

.boot-screen__curtain {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.boot-screen__curtain span {
    flex: 1;
    background: #000;
    transform: translateY(-101%);
    transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.boot-screen__curtain span:last-child {
    transform: translateY(101%);
}

@keyframes bootMeshDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, -2%) scale(1.04); }
}

@keyframes bootCoreIn {
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes bootPanelIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bootOrbPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

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

@keyframes bootDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes bootCursorBlink {
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .boot-screen__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "core"
            "panel"
            "foot";
        padding: 1.25rem;
    }

    .boot-screen__core {
        align-items: center;
        text-align: center;
    }

    .boot-screen__brand {
        width: 100%;
    }

    .boot-screen__panel {
        transform: translateY(16px);
        animation-name: bootFadeUp;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boot-screen__mesh,
    .boot-screen__orbit span,
    .boot-screen__orb-glow,
    .boot-screen__pulse,
    .boot-step__dot {
        animation: none !important;
    }

    .boot-screen__head,
    .boot-screen__ring-wrap,
    .boot-screen__brand,
    .boot-screen__panel,
    .boot-screen__foot {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    color: #fff;
}

.site-header--blend {
    mix-blend-mode: difference;
}

body.site:has(.hero-cinematic--has-video) .site-header--blend {
    mix-blend-mode: normal;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: none;
}

.site-header:not(.site-header--blend) {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.site-logo span { color: inherit; }

.site-nav {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.site-nav a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: inherit;
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.3s;
    text-transform: none;
}

.site-nav a::after { display: none; }

.site-nav a:hover,
.site-nav a.is-active { opacity: 1; color: inherit; }

.site-cta {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    padding: 0;
    border: none;
    border-radius: 0;
    text-transform: none;
    transition: opacity 0.3s;
}

.site-cta:hover {
    opacity: 1;
    background: none;
    box-shadow: none;
    transform: none;
}

.site-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-nav.is-open { opacity: 1; visibility: visible; display: flex; }

.mobile-nav a {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 200;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font);
    text-transform: none;
}

@media (max-width: 900px) {
    .site-nav, .site-header > .site-cta { display: none; }
    .site-menu-btn { display: block; }
}

.hero-cinematic {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 3rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vh, 6rem);
    position: relative;
    overflow: hidden;
}

.hero-cinematic__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #030303;
}

.hero-cinematic__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.02);
    filter: saturate(0.92) contrast(1.05);
}

.hero-cinematic__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.25) 68%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.hero-cinematic__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero-cinematic--has-video .hero-cinematic__visual {
    opacity: 0.35;
    mix-blend-mode: screen;
}

.hero-cinematic__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge--live {
    border-color: rgba(255, 77, 109, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: heroBadgePulse 2s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-title__line {
    display: block;
    font-family: var(--font);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--muted);
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.hero-cinematic__metrics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 36rem;
}

.hero-cinematic__metrics li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-cinematic__metrics strong {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-cinematic__metrics span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn-hero--primary {
    color: #fff;
    background: linear-gradient(135deg, #ff4d6d 0%, #e8365a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(255, 77, 109, 0.35);
}

.btn-hero--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 77, 109, 0.45);
    opacity: 1;
    gap: 0.65rem;
}

.btn-hero--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-hero--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    opacity: 1;
}

.hero-cinematic__actions {
    gap: 1rem;
}

.hero-sound,
.site-sound-btn {
    position: fixed;
    left: clamp(1.5rem, 5vw, 4rem);
    bottom: 2.5rem;
    z-index: 8500;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.hero-sound:hover,
.site-sound-btn:hover {
    border-color: rgba(255, 77, 109, 0.45);
    background: rgba(0, 0, 0, 0.6);
}

.hero-sound.is-active,
.site-sound-btn.is-active {
    border-color: rgba(255, 77, 109, 0.5);
    box-shadow: 0 0 24px rgba(255, 77, 109, 0.2);
}

.hero-sound.is-pending,
.site-sound-btn.is-pending {
    animation: heroSoundPulse 1.6s ease-in-out infinite;
}

@keyframes heroSoundPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); }
}

.hero-cinematic__audio {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 720px) {
    .hero-cinematic__metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-cinematic--has-video .hero-cinematic__visual {
        opacity: 0.2;
    }

    .hero-cinematic__video {
        object-position: center 30%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cinematic__video {
        display: none;
    }

    .hero-cinematic__bg {
        background:
            radial-gradient(ellipse 70% 50% at 80% 40%, rgba(255, 77, 109, 0.15), transparent),
            #030303;
    }
}

.hero-cinematic__content {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-cinematic__index {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 2rem;
    display: block;
}

.hero-cinematic h1 {
    font-family: var(--font) !important;
    font-size: clamp(3.5rem, 11vw, 9rem);
    font-weight: 200;
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin: 0 0 2rem;
    text-transform: none !important;
}

.hero-cinematic__lead {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: var(--muted);
    max-width: 38ch;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.hero-cinematic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.btn-primary,
.btn-ghost {
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s, gap 0.3s var(--ease);
}

.btn-primary { color: var(--primary); }

.btn-primary:hover,
.btn-ghost:hover {
    transform: none;
    box-shadow: none;
    background: none;
    opacity: 0.7;
    gap: 0.85rem;
}

.hero-cinematic__scroll {
    position: absolute;
    bottom: 2.5rem;
    right: clamp(1.5rem, 5vw, 4rem);
    left: auto;
    transform: none;
    flex-direction: row;
    gap: 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    animation: none;
    text-decoration: none;
}

.hero-cinematic__scroll i { color: var(--faint); font-size: 0.6rem; }

.section-modern {
    padding: clamp(6rem, 14vh, 10rem) clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    position: relative;
    isolation: isolate;
}

.rolex-ui-wrap {
    position: relative;
    isolation: isolate;
    z-index: 1;
}

.section-modern .container {
    max-width: var(--wrap);
    margin: 0 auto;
}

.section-head { margin-bottom: clamp(4rem, 8vw, 6rem); }

.section-head__num {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1.25rem;
    display: block;
}

.section-head h2 {
    font-weight: 200 !important;
}

.section-head p {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    max-width: 44ch;
    line-height: 1.75;
}

.features-editorial { border-top: 1px solid var(--line); }

.feature-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.feature-row.is-visible { opacity: 1; transform: translateY(0); }

.feature-row__num {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--faint);
    padding-top: 0.35rem;
    font-family: var(--font);
}

.feature-row__icon { display: none; }

.feature-row__body h3 {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.02em !important;
}

.feature-row__body p {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 48ch;
}

@media (max-width: 600px) {
    .feature-row { grid-template-columns: 1fr; gap: 0.75rem; }
}

.stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 4rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.stats-strip__item {
    background: none;
    padding: 0;
    text-align: left;
}

.stats-strip__value {
    font-family: var(--font);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.03em;
}

.stats-strip__label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    margin-top: 0.25rem;
}

.showcase-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.showcase-split__visual {
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

.showcase-split__visual img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.showcase-split__list { margin-top: 2.5rem; }

.showcase-split__list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.showcase-split__list i { display: none; }

.showcase-split__list strong {
    font-weight: 400;
    color: var(--text);
}

@media (max-width: 968px) {
    .showcase-split { grid-template-columns: 1fr; }
}

.site-footer {
    padding: 4rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.site-footer .footer-content {
    max-width: var(--wrap);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.site-footer .footer-section h3 {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.75rem !important;
    color: var(--text) !important;
}

.site-footer .footer-section p {
    color: var(--muted) !important;
    font-size: 0.85rem !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    max-width: 36ch;
}

.site-footer .footer-section:last-child {
    text-align: right;
}

.site-footer .footer-links {
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.site-footer .footer-links a {
    color: var(--muted) !important;
    font-size: 0.8rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .site-footer .footer-content { flex-direction: column; align-items: flex-start; }
    .site-footer .footer-section:last-child { text-align: left; }
}

.page-shell,
body.site .pricing-page,
body.site .contact-page,
body.site .roulette-page,
body.site .legal-page,
body.site .showcases-page {
    padding: calc(var(--header-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 6rem !important;
    min-height: 100vh;
}

.page-shell .container,
body.site .pricing-page .container,
body.site .contact-page .container,
body.site .roulette-page .container {
    max-width: var(--wrap) !important;
}

body.site .pricing-hero,
body.site .section-head {
    margin-bottom: 4rem;
    text-align: left;
}

body.site .pricing-hero h2 {
    font-weight: 200 !important;
}

body.site .pricing-subtitle {
    text-align: left !important;
    color: var(--muted) !important;
    font-weight: 300;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.roulette-lede {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    max-width: 48ch;
    margin-top: 0.75rem;
}

.roulette-lede strong {
    color: var(--text);
    font-weight: 400;
}

.discount-roulette.rolex-roulette {
    border-top: 1px solid var(--line);
    padding-top: 3rem;
}

.roulette-stage {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 260px);
    gap: 3rem;
    align-items: start;
}

.roulette-play {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reel-shell {
    position: relative;
    padding: 2rem 0;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
}

.reel-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    z-index: 2;
    pointer-events: none;
}

.reel-marker::before,
.reel-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.reel-marker::before {
    top: 0.75rem;
    border-top: 6px solid var(--primary);
}

.reel-marker::after {
    bottom: 0.75rem;
    border-bottom: 6px solid var(--primary);
}

.reel-viewport {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    height: 96px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reel-track {
    display: flex;
    gap: 8px;
    width: max-content;
    height: 100%;
    will-change: transform;
}

.reel-card {
    flex: 0 0 72px;
    width: 72px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #080808;
    border: 1px solid var(--line);
}

.reel-card--prize {
    border-color: rgba(255, 77, 109, 0.35);
}

.reel-card--ext {
    border-color: rgba(255, 215, 122, 0.4);
}

.reel-card-icon {
    font-size: 1.1rem;
    color: var(--faint);
}

.reel-card--prize .reel-card-icon {
    color: var(--primary);
}

.reel-card--ext .reel-card-icon {
    color: #d4b86a;
}

.reel-card-label {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.reel-card--prize .reel-card-label {
    color: var(--primary);
}

.reel-card--ext .reel-card-label {
    color: #d4b86a;
}

.roulette-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.reel-spins-meta {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 300;
}

.btn-roulette-spin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: gap 0.3s var(--ease), opacity 0.3s;
}

.btn-roulette-spin::after {
    content: '→';
    transition: transform 0.3s var(--ease);
}

.btn-roulette-spin:hover:not(:disabled) {
    gap: 0.75rem;
}

.btn-roulette-spin:hover:not(:disabled)::after {
    transform: translateX(2px);
}

.btn-roulette-spin:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    color: var(--muted);
}

.roulette-result {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--muted);
    font-weight: 300;
    max-width: 42ch;
    padding-left: 1rem;
    border-left: 2px solid var(--line);
}

.roulette-result:empty {
    display: none;
}

.roulette-result strong {
    color: var(--text);
    font-weight: 400;
}

.roulette-history-panel {
    padding-top: 0.25rem;
}

.roulette-history-panel h4 {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.roulette-history {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roulette-history-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 300;
    border-bottom: 1px solid var(--line);
}

.roulette-history-item:last-child {
    border-bottom: none;
}

.roulette-history-item--empty {
    color: var(--faint);
    font-size: 0.8rem;
}

.roulette-history-item i {
    width: 0.85rem;
    text-align: center;
    color: var(--primary);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.roulette-drops {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.roulette-rewards-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1.5rem;
}

.roulette-rewards-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.drop-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.75rem 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.drop-card--adv {
    box-shadow: inset 2px 0 0 transparent;
}

.drop-card--adv:hover {
    border-color: rgba(255, 77, 109, 0.3);
    background: rgba(255, 77, 109, 0.04);
}

.drop-card--ext {
    border-color: rgba(212, 184, 106, 0.25);
    background: linear-gradient(180deg, rgba(212, 184, 106, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 2px 0 0 rgba(212, 184, 106, 0.5);
}

.drop-card--ext:hover {
    border-color: rgba(212, 184, 106, 0.45);
    background: linear-gradient(180deg, rgba(212, 184, 106, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.drop-card__icon {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.drop-card--ext .drop-card__icon {
    color: #d4b86a;
}

.drop-card__pct {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
}

.drop-card--ext .drop-card__pct {
    color: #d4b86a;
}

.drop-card__plan {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.roulette-toast-host {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 11999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    max-width: calc(100vw - 2rem);
    pointer-events: none;
}

.roulette-toast {
    pointer-events: auto;
    width: min(300px, calc(100vw - 2.5rem));
    padding: 1rem 2.25rem 1rem 1.15rem;
    background: rgba(0, 0, 0, 0.94);
    border: 1px solid var(--line);
    border-left: 2px solid var(--primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.roulette-toast--show {
    transform: translateX(0);
    opacity: 1;
}

.roulette-toast-brand {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 0.35rem;
}

.roulette-toast strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.roulette-toast p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted);
    font-weight: 300;
}

.roulette-toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: none;
    color: var(--faint);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.roulette-toast-close:hover {
    color: var(--primary);
}

@media (max-width: 800px) {
    .roulette-stage {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .roulette-rewards-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .roulette-toast-host {
        right: 0.75rem;
        bottom: 5rem;
    }
}

@media (max-width: 480px) {
    .reel-viewport {
        max-width: 100%;
    }

    .reel-card {
        flex: 0 0 64px;
        width: 64px;
    }

    .roulette-rewards-list {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .drop-card {
        padding: 1.25rem 0.75rem 1.1rem;
    }

    .drop-card__pct {
        font-size: 1.65rem;
    }
}

body.site .legal-content {
    padding: 0 !important;
    border-radius: 0 !important;
}

body.site .legal-content h1 {
    font-weight: 200 !important;
    color: var(--text) !important;
}

body.site .legal-section {
    background: transparent;
    border-left: 1px solid var(--line);
    border-radius: 0;
}

body.site .showcase-card {
    border-radius: 0 !important;
    border: 1px solid var(--line) !important;
    background: transparent !important;
}

body.site .showcase-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.site .showcase-info h3 {
    color: var(--text) !important;
    font-weight: 400 !important;
}

body.site .showcase-badge {
    border-radius: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.loader-wrapper:not(.boot-screen) { display: none !important; }

.contact-page .section-head {
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.contact-hub {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1px;
    background: var(--line);
    margin-bottom: clamp(5rem, 10vh, 7rem);
}

.contact-hub__primary {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--bg);
    overflow: hidden;
}

.contact-hub__glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.14), transparent 65%);
    pointer-events: none;
}

.contact-hub__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.contact-hub__label i {
    font-size: 0.9rem;
}

.contact-hub__primary h3 {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 300 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.02em;
}

.contact-hub__primary p {
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
    max-width: 42ch;
    margin-bottom: 2rem;
}

.contact-hub__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255, 77, 109, 0.45);
    background: rgba(255, 77, 109, 0.08);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, gap 0.3s var(--ease);
}

.contact-hub__cta:hover {
    background: rgba(255, 77, 109, 0.16);
    border-color: var(--primary);
    box-shadow: 0 0 28px rgba(255, 77, 109, 0.2);
    gap: 0.85rem;
    color: #fff;
}

.contact-hub__side {
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, padding-left 0.3s var(--ease);
}

.contact-channel:last-child {
    border-bottom: none;
    flex: 1;
}

.contact-channel:hover {
    background: rgba(255, 77, 109, 0.04);
    padding-left: 1.75rem;
}

.contact-channel__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: border-color 0.3s, color 0.3s;
}

.contact-channel:hover .contact-channel__icon {
    border-color: rgba(255, 77, 109, 0.35);
    color: var(--primary);
}

.contact-channel__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-channel__body strong {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text);
}

.contact-channel__body span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 300;
}

.contact-channel__arrow {
    font-size: 0.65rem;
    color: var(--faint);
    transition: color 0.3s, transform 0.3s var(--ease);
}

.contact-channel:hover .contact-channel__arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.team-block__head {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.team-block__head h2 {
    font-weight: 200 !important;
    margin-top: 0.35rem;
}

.team-block__head p {
    color: var(--muted);
    font-weight: 300;
    margin-top: 0.85rem;
    max-width: 44ch;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.team-grid--duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
}

.team-card {
    background: var(--bg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background 0.35s, box-shadow 0.35s;
}

.team-card:hover {
    background: rgba(255, 77, 109, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.12);
}

.team-pfp {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--line);
    transition: border-color 0.35s, box-shadow 0.35s;
}

.team-card:hover .team-pfp {
    border-color: rgba(255, 77, 109, 0.35);
    box-shadow: 0 0 24px rgba(255, 77, 109, 0.15);
}

.team-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.35rem !important;
}

.team-username {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
    display: block;
}

.team-badge {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    border: 1px solid var(--line);
    padding: 0.35rem 0.75rem;
    display: inline-block;
}

.team-card--owner .team-badge {
    color: var(--primary);
    border-color: rgba(255, 77, 109, 0.45);
    box-shadow: 0 0 16px rgba(255, 77, 109, 0.12);
}

@media (max-width: 900px) {
    .contact-hub {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .team-grid--duo {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.contact-block {
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 5rem;
}

.social-row {
    display: flex;
    gap: 2rem;
}

.social-row a {
    color: var(--muted);
    font-size: 1.75rem;
    transition: color 0.3s, transform 0.3s var(--ease);
}

.social-row a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.page-title {
    margin-bottom: 4rem;
}

.page-title span {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    display: block;
    margin-bottom: 1rem;
}

.legal-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.legal-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}

.legal-item p {
    color: var(--muted);
    font-weight: 300;
    line-height: 1.8;
    max-width: 72ch;
}

.showcase-item {
    border-top: 1px solid var(--line);
    padding: 3rem 0;
}

.showcase-item a {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.showcase-item img {
    width: 100%;
    display: block;
    opacity: 0.92;
    transition: opacity 0.5s;
}

.showcase-item a:hover img {
    opacity: 1;
}

.showcase-item h3 {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.35rem !important;
}

.showcase-item p {
    color: var(--muted);
    font-weight: 300;
    font-size: 0.9rem;
}

.showcase-tag {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.video-thumbnail-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #0a0a0a;
}

.video-thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.video-thumbnail-link:hover img {
    opacity: 1;
    transform: scale(1.03);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    transition: all 0.35s var(--ease);
    pointer-events: none;
}

.video-play-btn i {
    margin-left: 4px;
}

.video-thumbnail-link:hover .video-play-btn {
    background: var(--primary);
    border-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px var(--primary-glow);
}

.plans-block {
    margin-bottom: 5rem;
}

.plans-block--private {
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.plans-block__head {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 2rem;
}

.plans-block__title {
    font-size: 1rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text) !important;
    margin: 0 !important;
}

.plans-block__desc {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
}

.pricing-grid {
    display: grid;
    gap: 1px;
    background: var(--line);
}

.pricing-grid--public {
    grid-template-columns: repeat(4, 1fr);
}

.plan-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    border: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(255, 77, 109, 0.07) 0%, transparent 42%);
    box-shadow: inset 3px 0 0 var(--primary);
}

.plan-showcase__main {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.plan-showcase__badge {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.plan-showcase__name {
    font-size: 1.75rem !important;
    font-weight: 300 !important;
    margin: 0 0 0.35rem !important;
    letter-spacing: -0.02em !important;
}

.plan-showcase__type {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.plan-showcase__price {
    margin-bottom: 2rem;
}

.plan-showcase__price .amount {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
    display: block;
}

.plan-showcase__price .period {
    font-size: 0.85rem;
    color: var(--faint);
    margin-top: 0.35rem;
    display: block;
}

.plan-showcase__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.3s var(--ease);
}

.plan-showcase__cta:hover {
    gap: 0.85rem;
}

.plan-showcase__aside {
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-showcase__aside-title {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 1.25rem;
}

.plan-showcase__features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    column-gap: 2.5rem;
}

.plan-showcase__features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
}

.plan-showcase__note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--faint);
    font-weight: 300;
}

.plan-showcase--secondary {
    margin-top: 2rem;
    background: transparent;
    box-shadow: none;
}

.plan-showcase--secondary .plan-showcase__main {
    background: rgba(0, 0, 0, 0.2);
}

.plan-showcase--secondary .plan-showcase__badge {
    color: var(--muted);
}

@media (max-width: 800px) {
    .plan-showcase {
        grid-template-columns: 1fr;
    }

    .plan-showcase__main {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .plan-showcase__features {
        grid-template-columns: 1fr;
    }
}

.pricing-grid--private {
    grid-template-columns: repeat(6, 1fr);
}

.pricing-grid--private .pricing-card:nth-child(-n+3) {
    grid-column: span 2;
}

.pricing-grid--private .pricing-card:nth-child(n+4) {
    grid-column: span 3;
}

.pricing-grid--cs {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
}

@media (max-width: 1100px) {
    .pricing-grid--public { grid-template-columns: repeat(2, 1fr); }

    .pricing-grid--private {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid--private .pricing-card:nth-child(-n+3),
    .pricing-grid--private .pricing-card:nth-child(n+4) {
        grid-column: span 1;
    }

    .pricing-grid--private .pricing-card:last-child:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .pricing-grid--public,
    .pricing-grid--private,
    .pricing-grid--cs {
        grid-template-columns: 1fr;
    }

    .pricing-grid--private .pricing-card:nth-child(-n+3),
    .pricing-grid--private .pricing-card:nth-child(n+4),
    .pricing-grid--private .pricing-card:last-child:nth-child(5) {
        grid-column: span 1;
        max-width: none;
        justify-self: stretch;
    }
}

.pricing-card {
    background: var(--bg);
    padding: 2rem 1.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: left;
    transition: background 0.35s, box-shadow 0.35s;
    min-height: 100%;
}

.pricing-card:hover {
    background: #080808;
}

.pricing-card.featured {
    background: rgba(255, 77, 109, 0.06);
    box-shadow: inset 3px 0 0 var(--primary);
}

.pricing-grid--private .pricing-card {
    background: #030303;
}

.pricing-grid--private .pricing-card:hover {
    background: #0a0a0a;
}

.pricing-card h3 {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.5rem !important;
}

.plan-type {
    font-size: 0.8rem;
    color: var(--faint);
    margin-bottom: 1.5rem;
}

.price { margin-bottom: 1.5rem; }

.price .amount {
    font-size: 2.25rem;
    font-weight: 200;
    letter-spacing: -0.03em;
}

.price .period {
    display: block;
    font-size: 0.8rem;
    color: var(--faint);
    margin-top: 0.25rem;
}

.features-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 300;
    display: flex;
    gap: 0.5rem;
}

.features-list i { color: var(--faint); font-size: 0.7rem; margin-top: 0.25rem; }

.badge {
    position: absolute;
    top: 1rem;
    left: 1.75rem;
    right: auto;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 500;
}

.pricing-card .plan-contact-note {
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--faint);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.pricing-product-toggle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
    padding: 0;
    border: none;
    background: none;
}

.toggle-side {
    font-size: 0.8rem;
    color: var(--faint);
}

.toggle-side.is-active { color: var(--text); }

.pricing-switch {
    position: relative;
    width: 44px;
    height: 22px;
}

.pricing-switch input {
    opacity: 0;
    position: absolute;
    inset: 0;
}

.pricing-switch-slider {
    position: absolute;
    inset: 0;
    background: var(--line);
    cursor: pointer;
}

.pricing-switch-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 4px;
    top: 4px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
}

.pricing-switch input:checked + .pricing-switch-slider::before {
    transform: translateX(22px);
    background: var(--primary);
}

.pricing-panel.is-hidden { display: none; }

.plan-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

.plan-tag {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 0.25rem 0.5rem;
}

.plan-contact-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.btn-purchase,
.btn-plan-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0;
    border: none;
    background: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s, gap 0.3s;
}

.btn-purchase:hover,
.btn-plan-contact:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.payment-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 15000;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.payment-modal.active { display: flex; }

.payment-content {
    width: min(480px, 100%);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 2rem;
}

.payment-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.payment-header h2 {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
}

.payment-plan { color: var(--muted); font-size: 0.9rem; }

.payment-instructions h3 {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 0.75rem;
}

.instruction-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    gap: 0.5rem;
}

.instruction-item strong { color: var(--text); font-weight: 400; }

.payment-warning {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.payment-warning h4 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 0.75rem;
}

.payment-warning ul { list-style: none; }

.payment-warning li {
    font-size: 0.82rem;
    color: var(--muted);
    padding: 0.35rem 0;
    font-weight: 300;
}

.payment-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.payment-btn {
    flex: 1;
    padding: 0.75rem 0;
    border: none;
    background: none;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
}

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

.btn-paypal {
    color: var(--primary);
    text-decoration: none;
    display: block;
}

.payment-support {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.support-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
}

.support-link:hover { color: var(--primary); }

.checkout-steps {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--line);
    scroll-margin-top: 88px;
    transition: box-shadow 0.6s var(--ease);
}

.checkout-steps.is-highlight .checkout-steps__layout {
    box-shadow: inset 3px 0 0 var(--primary);
}

.checkout-steps__layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    border: 1px solid var(--line);
    background: var(--line);
    gap: 1px;
}

.checkout-steps__summary {
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.06) 0%, #030303 55%);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.checkout-steps__head {
    margin-bottom: 0;
}

.checkout-steps__plan {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 400;
}

.checkout-steps__tips {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.checkout-steps__tips li {
    padding: 0.85rem 0;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.checkout-steps__tips li:last-child {
    border-bottom: none;
}

.checkout-steps__tips li::before {
    content: "·";
    color: var(--primary);
    margin-right: 0.5rem;
}

.checkout-steps__list {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
}

.checkout-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
    background: #030303;
    align-items: start;
    min-height: 100%;
}

.checkout-step__num {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--primary);
    padding-top: 0.15rem;
    font-weight: 400;
}

.checkout-step h3 {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.4rem !important;
    letter-spacing: 0.02em;
}

.checkout-step p {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
}

.checkout-step a {
    color: var(--primary);
    text-decoration: none;
}

.checkout-step a:hover {
    text-decoration: underline;
}

.checkout-steps__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0;
}

@media (max-width: 900px) {
    .checkout-steps__layout {
        grid-template-columns: 1fr;
    }

    .checkout-steps__list {
        grid-template-columns: 1fr;
    }
}

.ai-hud-core {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ai-hud-core--sm {
    width: 48px;
    height: 48px;
}

.ai-hud-core__grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(255, 77, 109, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 109, 0.06) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
}

.ai-hud-core__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
}

.ai-hud-core__ring--1 {
    border-color: var(--ai-accent);
    box-shadow: 0 0 18px var(--ai-accent-glow), inset 0 0 12px rgba(255, 77, 109, 0.15);
    animation: aiRingSpin 12s linear infinite;
}

.ai-hud-core__ring--2 {
    inset: 8%;
    border: 1px dashed var(--ai-accent-dim);
    animation: aiRingSpin 18s linear infinite reverse;
}

.ai-hud-core__ring--3 {
    inset: 18%;
    border: 2px solid rgba(255, 77, 109, 0.2);
    border-top-color: var(--ai-accent);
    border-right-color: transparent;
    animation: aiRingSpin 6s linear infinite;
}

.ai-hud-core--sm .ai-hud-core__ring--2 { inset: 10%; }
.ai-hud-core--sm .ai-hud-core__ring--3 { inset: 22%; }

.ai-hud-core__ticks {
    position: absolute;
    inset: -4%;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg 8deg,
        rgba(255, 255, 255, 0.12) 8deg 9deg
    );
    mask: radial-gradient(circle, transparent 62%, black 63%);
    -webkit-mask: radial-gradient(circle, transparent 62%, black 63%);
    opacity: 0.5;
    animation: aiRingSpin 40s linear infinite;
}

.ai-hud-core__corners::before,
.ai-hud-core__corners::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.ai-hud-core__corners::before {
    top: 2px;
    left: 2px;
    border-right: none;
    border-bottom: none;
}

.ai-hud-core__corners::after {
    bottom: 2px;
    right: 2px;
    border-left: none;
    border-top: none;
}

.ai-hud-core__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.42rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #fff;
    text-shadow: 0 0 12px var(--ai-accent-glow);
    z-index: 2;
}

.ai-hud-core--sm .ai-hud-core__label {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
}

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

@keyframes aiPulse {
    50% { opacity: 0.35; }
}

@keyframes aiScanLine {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

body.site .ai-agent-fab {
    position: fixed !important;
    right: 1.25rem;
    bottom: 1.5rem;
    top: auto;
    left: auto;
    transform: none;
    z-index: 12000;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #141010 0%, #050505 70%);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow:
        0 0 0 1px var(--ai-accent-dim),
        0 8px 32px rgba(0, 0, 0, 0.65),
        0 0 28px var(--ai-accent-glow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    overflow: visible;
}

body.site .ai-agent-fab .ai-hud-core {
    width: 44px;
    height: 44px;
}

body.site .ai-agent-fab:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 0 1px var(--ai-accent),
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 40px var(--ai-accent-glow);
}

.ai-agent-fab.is-open {
    box-shadow: 0 0 0 2px var(--ai-accent), 0 0 36px var(--ai-accent-glow);
}

body.site .ai-agent-panel {
    position: fixed !important;
    top: 0;
    right: 0 !important;
    bottom: 0;
    left: auto !important;
    z-index: 12001;
    width: min(400px, 94vw);
    max-height: none;
    background:
        linear-gradient(rgba(255, 77, 109, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 109, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 77, 109, 0.12), transparent 55%),
        var(--ai-panel-bg);
    background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
    border: none;
    border-left: 1px solid rgba(255, 77, 109, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease), visibility 0.45s, pointer-events 0s 0.45s;
    backdrop-filter: blur(24px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65), -4px 0 40px rgba(255, 77, 109, 0.08);
}

body.site .ai-agent-panel.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.45s var(--ease), visibility 0.45s, pointer-events 0s;
}

.ai-agent-panel__head {
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(255, 77, 109, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.06) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.ai-agent-panel__meta {
    flex: 1;
    min-width: 0;
    padding-top: 0.15rem;
}

.ai-agent-panel__head strong {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.ai-agent-panel__status {
    font-size: 0.62rem;
    color: var(--ai-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.ai-agent-panel__status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-accent);
    box-shadow: 0 0 10px var(--ai-accent-glow);
    animation: aiPulse 2s ease-in-out infinite;
}

.ai-agent-panel__hint {
    font-size: 0.62rem;
    color: var(--faint);
    margin-top: 0.35rem;
    font-weight: 300;
}

.ai-agent-panel__close {
    border: 1px solid rgba(255, 77, 109, 0.25);
    background: rgba(255, 77, 109, 0.06);
    color: var(--ai-accent);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
}

.ai-agent-panel__close:hover {
    background: rgba(255, 77, 109, 0.18);
    color: #fff;
}

.ai-agent-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 200px;
}

.ai-msg {
    max-width: 94%;
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 300;
}

.ai-msg--bot {
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.65rem 0.75rem;
    border-left: 2px solid var(--ai-accent-dim);
    background: rgba(255, 77, 109, 0.04);
}

.ai-msg--bot strong {
    color: #fff;
    font-weight: 500;
}

.ai-msg--bot a {
    color: var(--ai-accent);
}

.ai-msg--user {
    align-self: flex-end;
    color: #fff;
    background: rgba(255, 77, 109, 0.14);
    border: 1px solid rgba(255, 77, 109, 0.35);
    padding: 0.55rem 0.75rem;
    box-shadow: 0 0 16px rgba(255, 77, 109, 0.12);
}

.ai-msg--typing {
    color: var(--ai-accent);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-typing-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-accent);
    box-shadow: 0 0 8px var(--ai-accent-glow);
    animation: aiPulse 0.8s ease-in-out infinite;
}

.ai-search-badge {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 0.15rem 0.4rem;
    margin-bottom: 0.4rem;
    border: 1px solid var(--ai-accent-dim);
    color: var(--ai-accent);
}

.ai-search-list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.78rem;
}

.ai-search-list li {
    margin-bottom: 0.35rem;
}

.ai-search-top {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 77, 109, 0.12);
}

.ai-hit-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ai-accent);
    margin-right: 0.25rem;
}

.ai-agent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 1.1rem 0.75rem;
}

.ai-agent-chips button {
    font-family: inherit;
    font-size: 0.65rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 77, 109, 0.25);
    background: rgba(255, 77, 109, 0.06);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.ai-agent-chips button:hover {
    border-color: var(--ai-accent);
    color: var(--ai-accent);
    background: rgba(255, 77, 109, 0.12);
}

.ai-agent-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255, 77, 109, 0.15);
    position: relative;
    overflow: hidden;
}

.ai-agent-form__scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ai-accent), transparent);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.ai-agent-form__scan.is-active {
    animation: aiScanLine 1.2s ease-in-out infinite;
}

.ai-agent-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 77, 109, 0.2);
    color: var(--text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 300;
    padding: 0.55rem 0.65rem;
    outline: none;
}

.ai-agent-form input:focus {
    border-color: var(--ai-accent);
    box-shadow: 0 0 12px rgba(255, 77, 109, 0.15);
}

.ai-agent-form input::placeholder {
    color: var(--faint);
}

.ai-agent-form button {
    border: 1px solid rgba(255, 77, 109, 0.35);
    background: rgba(255, 77, 109, 0.12);
    color: var(--ai-accent);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.55rem 0.65rem;
    display: grid;
    place-items: center;
    transition: background 0.25s, color 0.25s;
}

.ai-agent-form button:hover:not(:disabled) {
    background: rgba(255, 77, 109, 0.28);
    color: #fff;
}

.ai-agent-form button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .ai-agent-panel {
        width: 100vw;
    }
}

.ai-agent-fab::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.15) 0%, transparent 70%);
    animation: aiFabGlow 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.ai-agent-fab::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 77, 109, 0.15);
    animation: aiFabOrbit 8s linear infinite;
    pointer-events: none;
}

@keyframes aiFabGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

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

.ai-agent-panel__head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ai-accent), rgba(255, 77, 109, 0.6), var(--ai-accent), transparent);
    animation: aiHeaderScan 4s ease-in-out infinite;
}

@keyframes aiHeaderScan {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.ai-msg {
    animation: aiMsgFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.ai-msg--bot {
    animation: aiBotMsgIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ai-msg--user {
    animation: aiUserMsgIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes aiMsgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aiBotMsgIn {
    from { opacity: 0; transform: translateX(-12px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes aiUserMsgIn {
    from { opacity: 0; transform: translateX(12px) scale(0.97); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

.ai-msg--typing {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: aiBotMsgIn 0.3s ease forwards;
}

.ai-typing-core {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ai-accent);
    box-shadow: 0 0 12px var(--ai-accent-glow), 0 0 24px rgba(255, 77, 109, 0.3);
    animation: aiCoreThink 0.6s ease-in-out infinite alternate;
}

.ai-typing-core::before,
.ai-typing-core::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ai-accent);
    opacity: 0.5;
}

.ai-typing-core::before {
    left: 14px;
    top: 2px;
    animation: aiDot1 0.6s ease-in-out infinite alternate;
}

.ai-typing-core::after {
    left: 24px;
    top: 2px;
    animation: aiDot2 0.6s ease-in-out infinite alternate;
}

@keyframes aiCoreThink {
    from { transform: scale(1); box-shadow: 0 0 12px var(--ai-accent-glow); }
    to { transform: scale(1.3); box-shadow: 0 0 20px var(--ai-accent-glow), 0 0 40px rgba(255, 77, 109, 0.4); }
}

@keyframes aiDot1 {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 0.8; transform: scale(1.2); }
}

@keyframes aiDot2 {
    from { opacity: 0.2; transform: scale(0.6); }
    to { opacity: 0.7; transform: scale(1.1); }
}

.ai-agent-chips button {
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.ai-agent-chips button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.ai-agent-chips button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 77, 109, 0.2);
}

.ai-agent-chips button:hover::before {
    opacity: 1;
}

.ai-msg--bot {
    position: relative;
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.ai-msg--bot::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--ai-accent), rgba(255, 77, 109, 0.2));
    border-radius: 2px;
}

.ai-msg--user {
    border-radius: 2px;
    backdrop-filter: blur(6px);
    position: relative;
}

.ai-agent-form input:focus {
    border-color: var(--ai-accent);
    box-shadow: 0 0 12px rgba(255, 77, 109, 0.2), inset 0 0 20px rgba(255, 77, 109, 0.03);
}

.ai-agent-form__scan.is-active {
    animation: aiScanLine 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    height: 2px;
    box-shadow: 0 0 8px var(--ai-accent), 0 0 20px rgba(255, 77, 109, 0.4);
}

.ai-agent-form button[type="submit"]:not(:disabled) {
    animation: aiSendReady 2s ease-in-out infinite;
}

@keyframes aiSendReady {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
    50% { box-shadow: 0 0 12px 2px rgba(255, 77, 109, 0.25); }
}

.ai-search-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 77, 109, 0.3);
    border-radius: 4px;
    color: var(--ai-accent);
    text-decoration: none;
    font-size: 0.72rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.ai-search-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.ai-search-link:hover {
    background: rgba(255, 77, 109, 0.08);
    border-color: var(--ai-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 77, 109, 0.2);
}

.ai-search-link:hover::before { opacity: 1; }

.ai-search-link i {
    font-size: 0.6rem;
}

.ai-sources {
    margin-top: 0.65rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 77, 109, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.ai-sources__label {
    font-size: 0.58rem;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ai-source-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.58rem;
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(255, 77, 109, 0.2);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.25s;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-source-chip:hover {
    border-color: var(--ai-accent);
    color: var(--ai-accent);
    box-shadow: 0 2px 8px rgba(255, 77, 109, 0.15);
}

.ai-status-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ai-accent);
    box-shadow: 0 0 8px var(--ai-accent-glow);
    animation: aiStatusPulse 1.5s ease-in-out infinite;
    margin-right: 3px;
    vertical-align: middle;
}

@keyframes aiStatusPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--ai-accent-glow); }
    50% { opacity: 0.5; transform: scale(0.75); box-shadow: 0 0 16px var(--ai-accent-glow); }
}

.ai-msg--bot code {
    background: rgba(255, 77, 109, 0.06);
    border: 1px solid rgba(255, 77, 109, 0.12);
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.73rem;
}

.ai-msg--bot pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 77, 109, 0.1);
    border-radius: 4px;
    padding: 0.6rem;
    margin: 0.5rem 0;
    overflow-x: auto;
}

.ai-msg--bot pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
}

.ai-msg--bot ul, .ai-msg--bot ol {
    margin: 0.3rem 0;
    padding-left: 1.2rem;
}

.ai-msg--bot li {
    margin-bottom: 0.25rem;
}

.ai-forensic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255, 77, 109, 0.3);
    color: var(--ai-accent);
    margin-bottom: 0.5rem;
    background: rgba(255, 77, 109, 0.05);
}

.ai-forensic-badge i {
    font-size: 0.55rem;
}

.ai-agent-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 77, 109, 0.3) 0%, transparent 100%),
                       radial-gradient(1px 1px at 80% 20%, rgba(255, 77, 109, 0.2) 0%, transparent 100%),
                       radial-gradient(1px 1px at 40% 70%, rgba(255, 77, 109, 0.15) 0%, transparent 100%),
                       radial-gradient(1px 1px at 70% 85%, rgba(255, 77, 109, 0.2) 0%, transparent 100%),
                       radial-gradient(1px 1px at 10% 90%, rgba(255, 77, 109, 0.15) 0%, transparent 100%);
    animation: aiParticlesDrift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.ai-agent-panel > * {
    position: relative;
    z-index: 1;
}

@keyframes aiParticlesDrift {
    0% { background-position: 0% 0%, 100% 0%, 50% 100%, 80% 50%, 10% 90%; }
    50% { background-position: 50% 50%, 0% 100%, 100% 0%, 20% 80%, 90% 10%; }
    100% { background-position: 0% 0%, 100% 0%, 50% 100%, 80% 50%, 10% 90%; }
}

.ai-agent-messages::-webkit-scrollbar {
    width: 4px;
}

.ai-agent-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-agent-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 77, 109, 0.3);
    border-radius: 2px;
}

.ai-agent-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 77, 109, 0.5);
}

.ai-agent-panel.is-pulsing {
    animation: aiPanelOpenPulse 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes aiPanelOpenPulse {
    0% { box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65), -4px 0 0 rgba(255, 77, 109, 0.1); }
    45% { box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65), -4px 0 48px rgba(255, 77, 109, 0.45); border-left-color: var(--primary); }
    100% { box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65), -4px 0 40px rgba(255, 77, 109, 0.08); }
}

.ai-tw-chunk {
    display: block;
    opacity: 0;
    transform: translateY(6px);
    animation: aiTwChunkIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes aiTwChunkIn {
    to { opacity: 1; transform: translateY(0); }
}

.ai-msg--greeting strong {
    color: var(--primary);
}
