.fx-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.fx-cursor__dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -3px;
    transition: transform 0.1s;
}

.fx-cursor__ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 77, 109, 0.6);
    border-radius: 50%;
    position: absolute;
    top: -18px;
    left: -18px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, width 0.3s, height 0.3s, top 0.3s, left 0.3s;
}

.fx-cursor.is-hover .fx-cursor__ring {
    width: 52px;
    height: 52px;
    top: -26px;
    left: -26px;
    border-color: var(--primary);
    border-width: 2px;
}

.fx-cursor.is-hover .fx-cursor__dot {
    transform: scale(2);
    background: var(--primary);
}

@media (max-width: 768px) {
    .fx-cursor { display: none; }
}

.fx-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), rgba(255, 143, 163, 0.8));
    box-shadow: 0 0 6px rgba(255, 77, 109, 0.35);
    z-index: 99998;
    transition: width 0.15s linear;
    pointer-events: none;
    opacity: 0.85;
}

.fx-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.fx-aurora::before,
.fx-aurora::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: fxAuroraDrift 12s ease-in-out infinite alternate;
}

.fx-aurora::before {
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(255, 77, 109, 0.4), transparent 70%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.fx-aurora::after {
    width: 40vw;
    height: 40vw;
    max-width: 400px;
    max-height: 400px;
    background: radial-gradient(circle, rgba(255, 120, 150, 0.25), transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -6s;
    animation-duration: 15s;
}

@keyframes fxAuroraDrift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -8%) scale(1.05); }
    66% { transform: translate(-3%, 5%) scale(0.95); }
    100% { transform: translate(2%, -3%) scale(1.02); }
}

.fx-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateX(-10deg);
}

.fx-text-revealed .fx-word {
    animation: fxWordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i) * 0.08s + 0.1s);
}

@keyframes fxWordIn {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.fx-glitch-active {
    animation: fxGlitch 0.6s steps(2) forwards;
    position: relative;
}

.fx-glitch-active::before,
.fx-glitch-active::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    overflow: hidden;
}

@keyframes fxGlitch {
    0%, 100% { text-shadow: none; transform: none; }
    10% { text-shadow: -2px 0 var(--primary), 2px 0 cyan; transform: translateX(-1px); }
    20% { text-shadow: 2px 0 var(--primary), -2px 0 cyan; transform: translateX(1px); }
    30% { text-shadow: -1px 0 var(--primary); transform: translateX(0); }
    40% { text-shadow: 1px 0 cyan, -1px 0 var(--primary); transform: translateX(-2px) skewX(-1deg); }
    50% { text-shadow: none; transform: none; }
    60% { text-shadow: -2px 0 cyan; transform: translateX(1px) skewX(1deg); }
    70%, 100% { text-shadow: none; transform: none; }
}

.feature-row {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stagger) * 0.12s);
}

.feature-row.fx-stagger-in {
    opacity: 1;
    transform: translateX(0);
}

.rolex-module {
    transition: transform 0.15s ease-out, box-shadow 0.3s;
    will-change: transform;
}

.rolex-module:hover {
    box-shadow: 0 12px 40px rgba(255, 77, 109, 0.12), 0 0 1px rgba(255, 77, 109, 0.3);
}

.fx-ripple {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 77, 109, 0.35);
    transform: translate(-50%, -50%);
    animation: fxRipple 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}

@keyframes fxRipple {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

body.site .btn-primary,
body.site .btn-ghost,
body.site .site-cta {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

body.site .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.2), transparent, rgba(255, 77, 109, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

body.site .btn-primary:hover::before {
    opacity: 1;
}

body.site .btn-primary:hover {
    box-shadow: 0 0 20px rgba(255, 77, 109, 0.4), 0 8px 32px rgba(255, 77, 109, 0.2);
}

body.site .btn-ghost:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.section-modern {
    position: relative;
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 109, 0.3), transparent);
}

.stats-strip__value {
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.stats-strip__item {
    position: relative;
    transition: transform 0.3s;
}

.stats-strip__item:hover {
    transform: translateY(-3px);
}

.stats-strip__item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.stats-strip__item:hover::after {
    width: 40px;
}

.hero-cinematic {
    position: relative;
    overflow: hidden;
}

.hero-cinematic__content {
    position: relative;
    z-index: 2;
}

body.site .site-nav a {
    position: relative;
}

body.site .site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

body.site .site-nav a:hover::after,
body.site .site-nav a.is-active::after {
    width: 100%;
}

.section-head__num,
.feature-row__num {
    text-shadow: 0 0 20px rgba(255, 77, 109, 0.4);
    transition: text-shadow 0.3s;
}

.feature-row:hover .feature-row__num {
    text-shadow: 0 0 30px rgba(255, 77, 109, 0.7), 0 0 60px rgba(255, 77, 109, 0.3);
}

.site-footer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 109, 0.4), transparent);
    margin-bottom: 0;
}

html.fx-page-from-nav {
    background: #000;
}

html.fx-page-from-nav::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 25000;
    background: #000;
    pointer-events: none;
}

body.site {
    animation: fxPageIn 0.6s ease forwards;
}

html.fx-page-from-nav body.site,
body.site.fx-page-from-nav {
    animation: none;
    opacity: 1;
}

@keyframes fxPageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.site .site-header.is-scrolled {
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255, 77, 109, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rolex-ui-wrap {
    position: relative;
}

.rolex-ui-wrap::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 77, 109, 0.08), transparent 70%);
    pointer-events: none;
    animation: fxMenuGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes fxMenuGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.rolex-site-hud {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rolex-site-hud__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 77, 109, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 109, 0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, black 5%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, black 5%, transparent 72%);
    opacity: 0.55;
}

.rolex-site-hud__scan {
    display: none;
}

.rolex-site-hud__corners span {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 77, 109, 0.22);
    opacity: 0.55;
}

.rolex-site-hud__corners span:nth-child(1) {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
}

.rolex-site-hud__corners span:nth-child(2) {
    top: 12px;
    right: 12px;
    border-left: none;
    border-bottom: none;
}

.rolex-site-hud__corners span:nth-child(3) {
    bottom: 12px;
    left: 12px;
    border-right: none;
    border-top: none;
}

.rolex-site-hud__corners span:nth-child(4) {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
}

.rolex-site-hud__ticker {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 77, 109, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 24px rgba(255, 77, 109, 0.12);
    pointer-events: auto;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
    max-width: min(92vw, 520px);
    white-space: nowrap;
}

.rolex-site-hud__ticker:hover {
    border-color: var(--primary);
    box-shadow: 0 0 32px rgba(255, 77, 109, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.rolex-site-hud__ticker-label {
    color: var(--primary);
    font-weight: 500;
    text-shadow: 0 0 10px var(--primary-glow);
    flex-shrink: 0;
}

.rolex-site-hud__ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: fxHudDotPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.rolex-site-hud__ticker-text {
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s;
}

.rolex-site-hud__ticker-text.is-fading {
    opacity: 0;
}

@keyframes fxHudGridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.85; }
}

@keyframes fxHudScan {
    0% { top: -2%; opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { top: 102%; opacity: 0; }
}

@keyframes fxHudCornerPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

@keyframes fxHudDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.fx-section-hud {
    position: relative;
}

.fx-section-hud::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 109, 0.45), transparent);
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 0.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fx-section-hud.fx-section-hud--lit::after {
    opacity: 1;
    transform: scaleX(1);
}

.reveal {
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.reveal.is-visible {
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    .rolex-site-hud__ticker {
        bottom: 5.5rem;
        font-size: 0.55rem;
        padding: 0.4rem 0.75rem;
    }

    .rolex-site-hud__corners span {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rolex-site-hud__ticker-dot {
        animation: none !important;
    }

    .fx-word,
    .fx-text-revealed .fx-word {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

body.site img {
    animation: fxImgIn 0.5s ease forwards;
}

@keyframes fxImgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fx-page-transition {
    position: fixed;
    inset: 0;
    z-index: 25000;
    background: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

.fx-page-transition.is-holding,
.fx-page-transition.is-active {
    opacity: 1;
    pointer-events: all;
}

.fx-enter {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--fx-i, 0) * 0.07s);
}

.fx-enter--visible {
    opacity: 1;
    transform: translateY(0);
}

.docs-table tbody tr.fx-enter {
    transform: translateX(-18px);
}

.docs-table tbody tr.fx-enter--visible {
    transform: translateX(0);
}

.fx-line-head {
    position: relative;
    overflow: hidden;
}

.fx-line-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.fx-enter--visible.fx-line-head::after {
    transform: scaleX(1);
}

.fx-badge-pulse {
    animation: fxBadgePulse 2.4s ease-in-out infinite;
}

@keyframes fxBadgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(255, 77, 109, 0); }
    50% { box-shadow: 0 0 18px rgba(255, 77, 109, 0.35); }
}

.fx-pill-flash {
    animation: fxPillFlash 3s ease-in-out infinite;
}

@keyframes fxPillFlash {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.25); }
}

.fx-avatar-ring {
    position: relative;
}

.fx-avatar-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--primary);
    border-right-color: rgba(255, 77, 109, 0.35);
    animation: fxAvatarSpin 4s linear infinite;
    pointer-events: none;
}

@keyframes fxAvatarSpin {
    to { transform: rotate(360deg); }
}

.team-card--owner .team-badge {
    animation: fxOwnerBadge 2.2s ease-in-out infinite;
}

@keyframes fxOwnerBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; box-shadow: 0 0 12px rgba(255, 77, 109, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
    .fx-enter {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .fx-badge-pulse,
    .fx-pill-flash,
    .fx-avatar-ring::after,
    .team-card--owner .team-badge {
        animation: none !important;
    }

    body.site {
        animation: none;
        opacity: 1;
    }
}
