/* Global page loading overlay */
.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 229, 195, 0.16), transparent 26%),
        radial-gradient(circle at 20% 15%, rgba(167, 139, 250, 0.1), transparent 30%),
        rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    transition: none;
}

body.app-is-loading .app-loading-overlay,
.app-loading-overlay.is-active {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.app-loading-card {
    width: min(360px, 92vw);
    min-height: 300px;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 195, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.92), rgba(2, 8, 10, 0.9)),
        radial-gradient(circle at 50% 0%, rgba(0, 229, 195, 0.12), transparent 52%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 48px rgba(0, 229, 195, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(12px) scale(0.98);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.app-is-loading .app-loading-card {
    transform: translateY(0) scale(1);
}

.app-loading-card::before,
.app-loading-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.app-loading-card::before {
    background-image:
        linear-gradient(rgba(0, 229, 195, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 195, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 45%, black 0 42%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 45%, black 0 42%, transparent 72%);
    animation: app-loader-grid 8s linear infinite;
}

.app-loading-card::after {
    top: -70%;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(0, 229, 195, 0.18), transparent);
    animation: app-loader-scan 1.8s ease-in-out infinite;
}

.app-loading-mark {
    position: relative;
    width: 116px;
    height: 116px;
    display: grid;
    place-items: center;
}

.app-loading-ring,
.app-loading-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.app-loading-ring {
    border: 1px solid rgba(0, 229, 195, 0.24);
    box-shadow: inset 0 0 22px rgba(0, 229, 195, 0.08), 0 0 22px rgba(0, 229, 195, 0.08);
    animation: app-loader-pulse 1.9s ease-in-out infinite;
}

.app-loading-ring:nth-child(2) {
    inset: 16px;
    border-color: rgba(167, 139, 250, 0.24);
    animation-delay: 260ms;
}

.app-loading-orbit {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(0, 229, 195, 0.95);
    border-right-color: rgba(0, 180, 216, 0.52);
    animation: app-loader-spin 1.1s linear infinite;
}

.app-loading-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #00110f;
    background: linear-gradient(135deg, #00e5c3, #7dd3fc);
    box-shadow: 0 0 30px rgba(0, 229, 195, 0.42);
    font-size: 20px;
    animation: app-loader-core 1.4s ease-in-out infinite;
}

.app-loading-title {
    position: relative;
    z-index: 1;
    color: #f7fffd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.app-loading-subtitle {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0;
}

.app-loading-track {
    position: relative;
    z-index: 1;
    width: min(220px, 70vw);
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.app-loading-track::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #00e5c3, #a78bfa);
    box-shadow: 0 0 18px rgba(0, 229, 195, 0.45);
    animation: app-loader-track 1.2s ease-in-out infinite;
}

@keyframes app-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes app-loader-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.46; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes app-loader-core {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(0.94); filter: brightness(1.2); }
}

@keyframes app-loader-track {
    0% { transform: translateX(-105%); }
    100% { transform: translateX(250%); }
}

@keyframes app-loader-grid {
    to { background-position: 28px 28px, 28px 28px; }
}

@keyframes app-loader-scan {
    0% { transform: translateY(0); opacity: 0; }
    20%, 70% { opacity: 1; }
    100% { transform: translateY(420%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .app-loading-card,
    .app-loading-card::before,
    .app-loading-card::after,
    .app-loading-ring,
    .app-loading-orbit,
    .app-loading-core,
    .app-loading-track::before {
        animation: none !important;
        transition: none !important;
    }
}

/* -- @property for CSS Houdini animated gradients -- */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/*  GeoIntel â€” Premium Animations & Effects Library          */
/*  Cinematic UI Â· Glassmorphism Â· Motion Design             */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 1: AMBIENT BACKGROUND EFFECTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ AURORA GRADIENT BACKGROUND â”€â”€ */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.aurora-bg::before,
.aurora-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    will-change: transform, opacity;
    contain: strict;
    animation: aurora-fade-in 2s ease forwards;
}
.aurora-bg::before {
    width: 800px; height: 800px;
    top: -200px; left: -100px;
    background: radial-gradient(circle, rgba(0, 229, 195, 0.05) 0%, rgba(0, 180, 216, 0.025) 40%, transparent 70%);
    animation: aurora-drift-1 20s ease-in-out infinite alternate, aurora-fade-in 2s ease forwards;
}
.aurora-bg::after {
    width: 700px; height: 700px;
    bottom: -150px; right: -100px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.04) 0%, rgba(0, 229, 195, 0.02) 40%, transparent 70%);
    animation: aurora-drift-2 25s ease-in-out infinite alternate, aurora-fade-in 2s ease 0.5s forwards;
}

.aurora-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    contain: strict;
}
.aurora-orb-1 {
    width: 500px; height: 500px;
    top: 30%; left: 10%;
    background: rgba(0, 229, 195, 0.03);
    animation: aurora-drift-3 30s ease-in-out infinite alternate;
}
.aurora-orb-2 {
    width: 400px; height: 400px;
    top: 60%; right: 15%;
    background: rgba(167, 139, 250, 0.025);
    animation: aurora-drift-1 22s ease-in-out infinite alternate-reverse;
}

@keyframes aurora-drift-1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.1); }
    66%  { transform: translate(-30px, 30px) scale(0.95); }
    100% { transform: translate(40px, -20px) scale(1.05); }
}
@keyframes aurora-drift-2 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-50px, -30px) scale(1.15); }
    100% { transform: translate(30px, 20px) scale(0.9); }
}
@keyframes aurora-drift-3 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(80px, -60px) rotate(15deg); }
}
@keyframes aurora-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* â”€â”€ FLOATING PARTICLES (CSS-only) â”€â”€ */
.particles-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: particle-rise linear infinite;
    opacity: 0;
    will-change: transform, opacity;
    contain: strict;
}
.particle:nth-child(1) { left: 10%; animation-duration: 20s; animation-delay: 0s; width: 2px; height: 2px; background: rgba(255, 255, 255, 0.4); }
.particle:nth-child(2) { left: 25%; animation-duration: 24s; animation-delay: 2s; width: 4px; height: 4px; background: rgba(255, 255, 255, 0.3); }
.particle:nth-child(3) { left: 40%; animation-duration: 18s; animation-delay: 4s; background: rgba(255, 255, 255, 0.3); }
.particle:nth-child(4) { left: 55%; animation-duration: 26s; animation-delay: 1s; width: 2px; height: 2px; background: rgba(255, 255, 255, 0.25); }
.particle:nth-child(5) { left: 70%; animation-duration: 22s; animation-delay: 3s; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.2); }
.particle:nth-child(6) { left: 85%; animation-duration: 21s; animation-delay: 5s; background: rgba(255, 255, 255, 0.2); }
.particle:nth-child(7) { left: 15%; animation-duration: 27s; animation-delay: 7s; width: 2px; height: 2px; background: rgba(255, 255, 255, 0.3); }
.particle:nth-child(8) { left: 50%; animation-duration: 23s; animation-delay: 6s; width: 3px; height: 3px; background: rgba(200, 200, 200, 0.2); }
.particle:nth-child(9) { left: 35%; animation-duration: 19s; animation-delay: 8s; background: rgba(255, 255, 255, 0.25); }
.particle:nth-child(10) { left: 75%; animation-duration: 25s; animation-delay: 4s; width: 4px; height: 4px; background: rgba(255, 255, 255, 0.2); }
.particle:nth-child(11) { left: 5%; animation-duration: 28s; animation-delay: 9s; width: 2px; height: 2px; background: rgba(255, 255, 255, 0.3); }
.particle:nth-child(12) { left: 92%; animation-duration: 17s; animation-delay: 2s; background: rgba(255, 255, 255, 0.3); }

@keyframes particle-rise {
    0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    10%  { opacity: 1; transform: translateY(90vh) translateX(10px) scale(1); }
    50%  { opacity: 0.6; transform: translateY(50vh) translateX(-15px) scale(0.8); }
    90%  { opacity: 0.2; transform: translateY(10vh) translateX(20px) scale(0.4); }
    100% { transform: translateY(-5vh) translateX(0) scale(0); opacity: 0; }
}

/* â”€â”€ GRID BACKGROUND â”€â”€ */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    contain: strict;
}

/* â”€â”€ NOISE TEXTURE OVERLAY â”€â”€ */
.noise-overlay { display: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 2: SCROLL REVEAL ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}
/* Blur reveal */
.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}
/* Rotate reveal */
.reveal-rotate {
    opacity: 0;
    transform: rotate(-5deg) translateY(30px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-rotate.revealed {
    opacity: 1;
    transform: rotate(0deg) translateY(0) scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 3: HERO ENTRANCE â€” CINEMATIC SEQUENCE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes hero-badge-enter {
    0%   { opacity: 0; transform: translateY(-30px) scale(0.8); filter: blur(8px); }
    60%  { transform: translateY(4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes hero-title-enter {
    0%   { opacity: 0; transform: translateY(50px) scale(0.95); filter: blur(12px); clip-path: inset(100% 0 0 0); }
    50%  { clip-path: inset(30% 0 0 0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); clip-path: inset(0 0 0 0); }
}
@keyframes hero-subtitle-enter {
    0%   { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes hero-upload-enter {
    0%   { opacity: 0; transform: translateY(60px) scale(0.9); filter: blur(6px); }
    70%  { transform: translateY(-5px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-badge {
    animation: hero-badge-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-title {
    animation: hero-title-enter 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-subtitle {
    animation: hero-subtitle-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}
.upload-area {
    animation: hero-upload-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}
.speed-badges {
    animation: hero-subtitle-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
}

/* â”€â”€ HERO TITLE LETTER STAGGER (JS-enhanced) â”€â”€ */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    animation: char-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes char-reveal {
    to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 4: GRADIENT & TEXT EFFECTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ GRADIENT TEXT SHIMMER â”€â”€ */
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.shimmer-text {
    background: linear-gradient(
        90deg,
        #cccccc 0%,
        #999999 20%,
        #ffffff 50%,
        #999999 80%,
        #cccccc 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

/* â”€â”€ GRADIENT TEXT FLOW â”€â”€ */
@keyframes gradient-text-flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* â”€â”€ TYPEWRITER + CURSOR â”€â”€ */
@keyframes typewriter {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary);
    animation: typewriter 2s steps(30) 1s both, blink-cursor 0.8s step-end infinite 3s;
}
.typing-cursor::after {
    content: '|';
    display: inline-block;
    color: var(--primary);
    font-weight: 100;
    animation: blink-cursor 1s step-end infinite;
    margin-left: 2px;
}

/* â”€â”€ TEXT GLITCH EFFECT â”€â”€ */
@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20%      { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    40%      { clip-path: inset(60% 0 10% 0); transform: translate(3px, -1px); }
    60%      { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 1px); }
    80%      { clip-path: inset(10% 0 70% 0); transform: translate(2px, -2px); }
}
.glitch-text {
    position: relative;
}
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
}
.glitch-text::before {
    color: #888888;
    animation: glitch-1 3s ease-in-out infinite;
    opacity: 0.5;
}
.glitch-text::after {
    color: #cccccc;
    animation: glitch-1 3s ease-in-out infinite reverse;
    opacity: 0.5;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 5: GLOWING BORDER EFFECTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes border-glow {
    0%   { opacity: 0.3; }
    50%  { opacity: 0.8; }
    100% { opacity: 0.3; }
}
.glow-border {
    position: relative;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-glow 4s ease-in-out infinite;
    pointer-events: none;
}

/* â”€â”€ ANIMATED CONIC BORDER â”€â”€ */
@keyframes rotate-gradient {
    0%   { --angle: 0deg; }
    100% { --angle: 360deg; }
}
.animated-border {
    position: relative;
    z-index: 0;
}
.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0%,
        rgba(255, 255, 255, 0.5) 8%,
        rgba(255, 255, 255, 0.3) 12%,
        transparent 20%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    animation: rotate-gradient 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* â”€â”€ RAINBOW BORDER (for premium cards) â”€â”€ */
@keyframes rainbow-border {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.rainbow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg,
        #cccccc, #999999, #999999, #888888,
        #777777, #aaaaaa, #cccccc, #ffffff,
        #cccccc);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: rainbow-border 6s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .animated-border::before {
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3),
            transparent 40%,
            rgba(255, 255, 255, 0.3));
        animation: border-glow 3s ease-in-out infinite;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 6: INTERACTIVE HOVER EFFECTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ PARTICLE DOTS â”€â”€ */
@keyframes particle-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(15px, -40px) scale(1.1); opacity: 0.5; }
}
@keyframes particle-float-2 {
    0%, 100% { transform: translate(0, 0); opacity: 0.2; }
    50% { transform: translate(-30px, -50px); opacity: 0.5; }
}
@keyframes particle-float-3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    33% { transform: translate(25px, -20px); opacity: 0.2; }
    66% { transform: translate(-15px, -45px); opacity: 0.6; }
}

/* â”€â”€ BUTTON RIPPLE â”€â”€ */
@keyframes btn-ripple {
    0%   { transform: scale(0); opacity: 0.4; }
    100% { transform: scale(4); opacity: 0; }
}
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple .ripple-effect {
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    animation: btn-ripple 0.6s ease-out;
    pointer-events: none;
}
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: none;
}
.btn-primary:active::after {
    animation: btn-ripple 0.5s ease-out;
}

/* â”€â”€ MAGNETIC HOVER â”€â”€ */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.magnetic-hover:hover {
    transform: translateY(-4px);
}

/* â”€â”€ 3D TILT CARD â”€â”€ */
.tilt-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.tilt-card:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(255, 255, 255, 0.03);
}

/* â”€â”€ GLOW PULSE â”€â”€ */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }
    50%      { box-shadow: 0 0 50px rgba(255, 255, 255, 0.1), 0 0 80px rgba(255, 255, 255, 0.04); }
}
.glow-pulse {
    animation: glow-pulse 5s ease-in-out infinite;
}

/* â”€â”€ HOVER LIFT â”€â”€ */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
}

/* â”€â”€ ICON BOUNCE â”€â”€ */
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.icon-animate:hover .feature-icon {
    animation: icon-bounce 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.icon-animate:hover .feature-icon i {
    color: #cccccc;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* â”€â”€ HOVER UNDERLINE â”€â”€ */
.hover-underline {
    position: relative;
}
.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-underline:hover::after {
    width: 100%;
}

/* â”€â”€ CARD SPOTLIGHT (mouse-follow glow) â”€â”€ */
.spotlight-card {
    position: relative;
    overflow: hidden;
}
.spotlight-card::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
    transform: translate(var(--mouse-x, -200px), var(--mouse-y, -200px)) translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}
.spotlight-card:hover::before {
    opacity: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 7: PROCESSING & LOADING ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ SCANNER RINGS â”€â”€ */
@keyframes scanner-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.3); opacity: 0.2; }
}
@keyframes scanner-sweep {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.scanner-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: scanner-pulse 2.5s ease-in-out infinite;
}
.scanner-ring:nth-child(1) { inset: -10px; animation-delay: 0s; }
.scanner-ring:nth-child(2) { inset: -20px; animation-delay: 0.5s; }
.scanner-ring:nth-child(3) { inset: -30px; animation-delay: 1s; }

/* â”€â”€ DNA HELIX LOADER â”€â”€ */
@keyframes helix-spin {
    0%   { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}
.helix-loader {
    width: 40px; height: 40px;
    position: relative;
    animation: helix-spin 2s linear infinite;
}
.helix-loader::before,
.helix-loader::after {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.helix-loader::before {
    background: #cccccc;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: helix-orbit 1s ease-in-out infinite;
}
.helix-loader::after {
    background: #999999;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: helix-orbit 1s ease-in-out infinite reverse;
}
@keyframes helix-orbit {
    0%, 100% { transform: translate(-50%, -20px); }
    50%      { transform: translate(-50%, 10px); }
}

/* â”€â”€ SKELETON LOADING â”€â”€ */
@keyframes skeleton-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(34, 34, 34, 0.3) 25%,
        rgba(129, 140, 248, 0.08) 50%,
        rgba(34, 34, 34, 0.3) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
}

/* â”€â”€ PROGRESS BAR â”€â”€ */
@keyframes progress-fill {
    from { width: 0; }
}
.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #999999);
    border-radius: 2px;
    animation: progress-fill 2s ease both;
}

/* â”€â”€ ORBITAL DOT SPINNER â”€â”€ */
@keyframes orbital {
    0%   { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}
.orbital-spinner {
    width: 50px; height: 50px;
    position: relative;
}
.orbital-spinner .dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    top: 50%; left: 50%;
    margin: -4px 0 0 -4px;
}
.orbital-spinner .dot:nth-child(1) {
    background: #cccccc;
    animation: orbital 1.5s linear infinite;
}
.orbital-spinner .dot:nth-child(2) {
    background: #999999;
    animation: orbital 1.5s linear -0.5s infinite;
}
.orbital-spinner .dot:nth-child(3) {
    background: #888888;
    animation: orbital 1.5s linear -1s infinite;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 8: UPLOAD ZONE ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes upload-ring-1 {
    0%   { transform: scale(0.9) rotate(0deg); opacity: 0.4; }
    50%  { transform: scale(1.1) rotate(180deg); opacity: 0.1; }
    100% { transform: scale(0.9) rotate(360deg); opacity: 0.4; }
}
@keyframes upload-ring-2 {
    0%   { transform: scale(1.1) rotate(0deg); opacity: 0.2; }
    50%  { transform: scale(0.95) rotate(-180deg); opacity: 0.4; }
    100% { transform: scale(1.1) rotate(-360deg); opacity: 0.2; }
}
@keyframes upload-icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-5px) rotate(-3deg); }
    50%      { transform: translateY(-8px) rotate(0deg); }
    75%      { transform: translateY(-5px) rotate(3deg); }
}
@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* â”€â”€ UPLOAD SUCCESS BURST â”€â”€ */
@keyframes upload-success-burst {
    0%   { transform: scale(0); opacity: 1; }
    50%  { opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}
.upload-burst {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.5);
    animation: upload-success-burst 0.8s ease-out forwards;
    pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 9: MODAL & OVERLAY ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes modal-backdrop-enter {
    from { opacity: 0; backdrop-filter: blur(0); }
    to   { opacity: 1; backdrop-filter: blur(8px); }
}
@keyframes modal-panel-enter {
    0%   { opacity: 0; transform: scale(0.88) translateY(30px); filter: blur(4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* â”€â”€ NOTIFICATION SLIDES â”€â”€ */
@keyframes notif-slide-in {
    0%   { transform: translateY(-120%) scale(0.92); opacity: 0; filter: blur(4px); }
    60%  { transform: translateY(6%) scale(1.01); }
    100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}
@keyframes notif-slide-out {
    0%   { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-120%) scale(0.92); opacity: 0; }
}

/* â”€â”€ TOAST â”€â”€ */
@keyframes toast-enter {
    0%   { transform: translateX(-50%) translateY(100px) scale(0.9); opacity: 0; filter: blur(4px); }
    100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; filter: blur(0); }
}
@keyframes toast-exit {
    0%   { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) translateY(100px) scale(0.9); opacity: 0; filter: blur(4px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 10: UI COMPONENT ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ TAB ANIMATIONS â”€â”€ */
@keyframes tab-indicator-slide {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes tab-fade-in {
    from { opacity: 0; transform: translateY(10px); filter: blur(2px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.tab-pane.active {
    animation: tab-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* â”€â”€ RESULT CARD CASCADE â”€â”€ */
@keyframes cascade-in {
    0%   { opacity: 0; transform: translateY(30px) scale(0.96); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.cascade-1 { animation: cascade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.cascade-2 { animation: cascade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.cascade-3 { animation: cascade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.cascade-4 { animation: cascade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.cascade-5 { animation: cascade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }

/* â”€â”€ COUNTER ANIMATION â”€â”€ */
@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* â”€â”€ STAT COUNTER POP â”€â”€ */
@keyframes stat-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* â”€â”€ SIDEBAR ENTER â”€â”€ */
@keyframes sidebar-enter {
    from { transform: translateX(-20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* â”€â”€ MAP MARKER BOUNCE â”€â”€ */
@keyframes marker-drop {
    0%   { transform: translate(-50%, -200%) scale(0.8); opacity: 0; }
    60%  { transform: translate(-50%, -45%) scale(1.05); }
    80%  { transform: translate(-50%, -52%); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* â”€â”€ BADGE GLOW â”€â”€ */
@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.08), inset 0 0 10px rgba(255, 255, 255, 0.04); }
    50%      { box-shadow: 0 0 24px rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.06); }
}
.hero-badge {
    animation: hero-badge-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both,
               badge-glow 3s ease-in-out 1.5s infinite;
}

/* â”€â”€ SHAKE ERROR â”€â”€ */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}
.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* â”€â”€ SUCCESS CHECK DRAW â”€â”€ */
@keyframes check-draw {
    0%   { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}
.success-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: check-draw 0.6s ease forwards 0.2s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 11: PREMIUM GLASSMORPHISM & EFFECTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.glass-premium {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    box-shadow:
        0 8px 36px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.glass-premium:hover {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(255, 255, 255, 0.04),
        0 0 20px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* â”€â”€ FROSTED PANEL â”€â”€ */
.frosted-panel {
    background: rgba(10, 13, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
                0 20px 60px rgba(0, 0, 0, 0.4);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 12: LOGO, SCROLLBAR & HEADER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    50%      { box-shadow: 0 0 24px rgba(255, 255, 255, 0.4), 0 0 48px rgba(255, 255, 255, 0.1); }
}
.logo-icon {
    animation: logo-glow 4s ease-in-out infinite;
    transition: transform 0.35s var(--ease-spring);
}
.logo-icon:hover {
    transform: scale(1.12) rotate(-8deg);
}

/* â”€â”€ SMOOTH SCROLLBAR â”€â”€ */
.smooth-scroll {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* HEADER SCROLL */
.site-header {
    transition: all 0.4s ease;
}
.site-header.scrolled {
    background: rgba(6, 6, 8, 0.94);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06) inset;
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(32px) saturate(1.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 13: AUTH & PAGE TRANSITIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes auth-card-enter {
    0%   { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes auth-bg-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes auth-float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
}

/* â”€â”€ PAGE TRANSITION WIPE â”€â”€ */
@keyframes page-wipe-in {
    0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes page-wipe-out {
    0%   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    100% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
}

/* â”€â”€ FOCUS RING â”€â”€ */
.focus-ring:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
    border-radius: inherit;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 14: NUMBER COUNTER (JS-enhanced)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.counter-value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: transform 0.3s ease;
}
.counter-value.counting {
    animation: counter-tick 0.1s ease infinite;
}
@keyframes counter-tick {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 15: MORPHING BLOB (behind upload zone)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes morph-blob {
    0%   { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(0deg) scale(1); }
    25%  { border-radius: 73% 27% 26% 74% / 57% 69% 31% 43%; transform: rotate(90deg) scale(1.05); }
    50%  { border-radius: 28% 72% 44% 56% / 49% 40% 60% 51%; transform: rotate(180deg) scale(0.95); }
    75%  { border-radius: 40% 60% 67% 33% / 37% 65% 35% 63%; transform: rotate(270deg) scale(1.02); }
    100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(360deg) scale(1); }
}

.morph-blob {
    position: absolute;
    width: 240px; height: 240px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.04));
    filter: blur(45px);
    animation: morph-blob 18s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 16A: NEW PREMIUM ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ NEON BORDER TRACE â”€â”€ */
@keyframes neon-trace {
    0%   { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}
.neon-border-trace {
    position: relative;
}
.neon-border-trace::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg,
        transparent 0%, transparent 30%,
        rgba(255, 255, 255, 0.4) 48%,
        rgba(129, 140, 248, 0.5) 50%,
        rgba(255, 255, 255, 0.4) 52%,
        transparent 70%, transparent 100%);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: neon-trace 4s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.neon-border-trace:hover::before {
    opacity: 1;
}

/* â”€â”€ FLOATING GLOW ORBS (behind cards) â”€â”€ */
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33%  { transform: translate(15px, -20px) scale(1.15); opacity: 0.6; }
    66%  { transform: translate(-10px, 10px) scale(0.9); opacity: 0.35; }
}
.float-orb {
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    filter: blur(20px);
    animation: float-orb 8s ease-in-out infinite;
    pointer-events: none;
}

/* â”€â”€ CYBER SCAN LINE â”€â”€ */
@keyframes cyber-scan {
    0% { top: -5%; }
    100% { top: 105%; }
}
.cyber-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), rgba(129, 140, 248, 0.3), transparent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
    animation: cyber-scan 4s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* â”€â”€ PULSE RING EXPAND â”€â”€ */
@keyframes neon-pulse-ring {
    0% { transform: scale(0.8); opacity: 0.6; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1); opacity: 0.3; box-shadow: 0 0 20px 10px rgba(129, 140, 248, 0.1); }
    100% { transform: scale(1.2); opacity: 0; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* â”€â”€ CARD ENTRANCE WITH GLOW â”€â”€ */
@keyframes card-enter-glow {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        box-shadow: 0 0 0 rgba(129, 140, 248, 0);
    }
    60% {
        box-shadow: 0 0 40px rgba(129, 140, 248, 0.08);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
    }
}

/* â”€â”€ TYPING DOTS â”€â”€ */
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.typing-dots span {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    margin: 0 2px;
}
.typing-dots span:nth-child(1) { animation: typing-dot 1.2s ease-in-out infinite 0s; }
.typing-dots span:nth-child(2) { animation: typing-dot 1.2s ease-in-out infinite 0.2s; }
.typing-dots span:nth-child(3) { animation: typing-dot 1.2s ease-in-out infinite 0.4s; }

/* â”€â”€ HOLOGRAPHIC SHIMMER â”€â”€ */
@keyframes holo-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.holo-shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(129, 140, 248, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: holo-shimmer 3s ease-in-out infinite;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 16: LIGHT THEME OVERRIDES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

[data-theme="light"] .aurora-bg,
[data-theme="light"] .aurora-orb,
[data-theme="light"] .aurora-orb-1,
[data-theme="light"] .aurora-orb-2,
[data-theme="light"] .grid-bg {
    opacity: 0.15;
}
[data-theme="light"] .particle {
    background: rgba(129, 140, 248, 0.12) !important;
}
[data-theme="light"] .noise-overlay { display: none; }
[data-theme="light"] body::after {
    opacity: 0.008;
}

[data-theme="light"] ::-webkit-scrollbar-thumb { background: #cccccc; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #aaaaaa; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 17: PERFORMANCE â€” Reduce motion
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .particle, .aurora-bg, .aurora-orb, .morph-blob, .noise-overlay { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 20: HACKER / CYBER ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── MATRIX RAIN (CSS-only) ── */
@keyframes matrix-fall {
    0%   { transform: translateY(-100%); opacity: 0; }
    5%   { opacity: 1; }
    85%  { opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.matrix-rain-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.08;
}
.matrix-col {
    position: absolute;
    top: -20%;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.2;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: upright;
    animation: matrix-fall linear infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    letter-spacing: 4px;
}
.matrix-col:nth-child(1)  { left: 2%;  animation-duration: 12s; animation-delay: 0s;    font-size: 12px; }
.matrix-col:nth-child(2)  { left: 8%;  animation-duration: 18s; animation-delay: 2s;    font-size: 10px; }
.matrix-col:nth-child(3)  { left: 14%; animation-duration: 15s; animation-delay: 5s;    font-size: 14px; }
.matrix-col:nth-child(4)  { left: 22%; animation-duration: 20s; animation-delay: 1s;    font-size: 11px; }
.matrix-col:nth-child(5)  { left: 30%; animation-duration: 13s; animation-delay: 7s;    font-size: 13px; }
.matrix-col:nth-child(6)  { left: 38%; animation-duration: 22s; animation-delay: 3s;    font-size: 10px; }
.matrix-col:nth-child(7)  { left: 46%; animation-duration: 16s; animation-delay: 8s;    font-size: 12px; }
.matrix-col:nth-child(8)  { left: 54%; animation-duration: 19s; animation-delay: 4s;    font-size: 11px; }
.matrix-col:nth-child(9)  { left: 62%; animation-duration: 14s; animation-delay: 6s;    font-size: 14px; }
.matrix-col:nth-child(10) { left: 70%; animation-duration: 21s; animation-delay: 2.5s;  font-size: 10px; }
.matrix-col:nth-child(11) { left: 78%; animation-duration: 17s; animation-delay: 9s;    font-size: 13px; }
.matrix-col:nth-child(12) { left: 86%; animation-duration: 15s; animation-delay: 1.5s;  font-size: 11px; }
.matrix-col:nth-child(13) { left: 94%; animation-duration: 23s; animation-delay: 4.5s;  font-size: 12px; }

/* ── TERMINAL CURSOR BLINK ── */
@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #ffffff;
    animation: terminal-blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
}

/* ── DATA STREAM BORDER ── */
@keyframes data-stream {
    0%   { background-position: 0% 0%; }
    100% { background-position: 0% 300%; }
}
.data-stream-border {
    position: relative;
}
.data-stream-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 15%,
        rgba(255, 255, 255, 0.4) 20%,
        transparent 35%,
        transparent 50%,
        rgba(200, 200, 200, 0.2) 65%,
        rgba(200, 200, 200, 0.4) 70%,
        transparent 85%,
        transparent 100%
    );
    background-size: 100% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: data-stream 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* ── GLITCH SCREEN EFFECT ── */
@keyframes glitch-screen {
    0%, 96%, 100% { transform: translate(0); filter: none; }
    97%  { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
    98%  { transform: translate(1px, -1px); filter: hue-rotate(-90deg); }
    99%  { transform: translate(-1px, 2px); }
}

/* ── CYBER HEXAGON GRID PULSE ── */
@keyframes hex-pulse {
    0%, 100% { opacity: 0.03; transform: scale(1); }
    50%      { opacity: 0.08; transform: scale(1.02); }
}
.cyber-hex-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300ff41' fill-opacity='0.04'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: hex-pulse 8s ease-in-out infinite;
}

/* ── CRT SCANLINE OVERLAY ── */
@keyframes crt-line {
    0%   { top: 0%; }
    100% { top: 100%; }
}
.crt-scanline {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.02) 2px,
        transparent 3px
    );
}
.crt-scanline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    animation: crt-line 6s linear infinite;
}

/* ── HACKER TEXT REVEAL (character by character) ── */
@keyframes hacker-reveal {
    0%   { opacity: 0; transform: translateY(4px); filter: blur(2px); color: #ffffff; }
    50%  { color: #ffffff; }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); color: inherit; }
}
.hacker-text-reveal span {
    display: inline-block;
    opacity: 0;
    animation: hacker-reveal 0.4s ease forwards;
}

/* ── BINARY STREAM ANIMATION ── */
@keyframes binary-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.binary-stream {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1.8;
    animation: binary-scroll 20s linear infinite;
    pointer-events: none;
    white-space: pre;
    letter-spacing: 2px;
}

/* ── CYBER CIRCLE SCAN ── */
@keyframes cyber-circle-scan {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes cyber-circle-pulse {
    0%, 100% { opacity: 0.4; r: 38; }
    50%      { opacity: 0.8; r: 42; }
}
.cyber-circle {
    position: relative;
    display: inline-block;
}
.cyber-circle svg {
    animation: cyber-circle-scan 8s linear infinite;
}

/* ── NEON GLOW TEXT ── */
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
            0 0 4px #ffffff,
            0 0 11px #ffffff,
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}
.neon-text {
    color: #ffffff;
    animation: neon-flicker 3s ease-in-out infinite alternate;
}

/* ── HEX CODE DISPLAY ── */
@keyframes hex-scroll-up {
    0%   { transform: translateY(0); opacity: 0.5; }
    50%  { opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

/* ── DIGITAL NOISE GLITCH ── */
@keyframes digital-noise {
    0%   { clip-path: inset(40% 0 61% 0); }
    20%  { clip-path: inset(92% 0 1% 0); }
    40%  { clip-path: inset(43% 0 1% 0); }
    60%  { clip-path: inset(25% 0 58% 0); }
    80%  { clip-path: inset(54% 0 7% 0); }
    100% { clip-path: inset(58% 0 43% 0); }
}

/* ── RADAR SWEEP ── */
@keyframes radar-sweep {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.radar-sweep {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}
.radar-sweep::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.15) 30deg,
        rgba(255, 255, 255, 0.3) 45deg,
        transparent 50deg
    );
    animation: radar-sweep 3s linear infinite;
}

/* ── WIREFRAME GRID ANIMATION ── */
@keyframes wireframe-perspective {
    0%   { transform: perspective(400px) rotateX(75deg) translateZ(0); }
    50%  { transform: perspective(400px) rotateX(75deg) translateZ(-20px); }
    100% { transform: perspective(400px) rotateX(75deg) translateZ(0); }
}

/* ── TYPING EFFECT FOR TERMINAL ── */
@keyframes typing-dash {
    0%, 100% { border-right-color: #ffffff; }
    50%      { border-right-color: transparent; }
}
.terminal-typing {
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #ffffff;
    animation: typing-dash 0.8s step-end infinite;
}

/* ── HACKER CARD STYLE ── */
.hacker-card {
    position: relative;
    background: rgba(0, 10, 2, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.hacker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}
.hacker-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.3), transparent);
}

/* ── PROCESSING HACKER EFFECT ── */
@keyframes hacker-process-bg {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
.hacker-processing {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 20%,
        rgba(200, 200, 200, 0.02) 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.02) 80%,
        transparent 100%
    );
    background-size: 400% 400%;
    animation: hacker-process-bg 4s linear infinite;
}

/* ── ENHANCED GLITCH FOR HERO ── */
@keyframes hero-glitch {
    0%, 92%, 100% { transform: translate(0); opacity: 1; }
    93%  { transform: translate(-3px, 1px) skew(1deg); opacity: 0.8; }
    94%  { transform: translate(2px, -1px) skew(-0.5deg); opacity: 0.9; }
    95%  { transform: translate(-1px, 2px); opacity: 0.85; }
    96%  { transform: translate(1px, -1px) skew(0.5deg); opacity: 0.95; }
}

/* ── SECURITY BADGE GLOW ── */
@keyframes secure-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
.secure-badge {
    animation: secure-pulse 2s ease-in-out infinite;
}

/* ── SIGNAL WAVE ── */
@keyframes signal-wave {
    0%   { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ── CORNER BRACKETS FOR HACKER CARDS ── */
.cyber-corners {
    position: relative;
}
.cyber-corners::before,
.cyber-corners::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.4);
    border-style: solid;
    pointer-events: none;
    z-index: 2;
}
.cyber-corners::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}
.cyber-corners::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

/* Light theme: reduce hacker effects */
[data-theme="light"] .matrix-rain-container { opacity: 0.02; }
[data-theme="light"] .cyber-hex-grid { opacity: 0.02; }
[data-theme="light"] .crt-scanline { display: none; }
[data-theme="light"] .matrix-col { color: rgba(150, 150, 150, 0.3); }

/* ╔══════════════════════════════════════════════════════╗ */
/*  SCROLL-DRIVEN ANIMATIONS (Progressive Enhancement)   */
/* ╚══════════════════════════════════════════════════════╝ */
@supports (animation-timeline: view()) {
    .result-card {
        animation: scroll-fade-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
    @keyframes scroll-fade-up {
        from { opacity: 0; transform: translateY(30px) scale(0.97); filter: blur(4px); }
        to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }

    .intel-grid-item,
    .weather-item,
    .sun-time {
        animation: scroll-scale-in linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 25%;
    }
    @keyframes scroll-scale-in {
        from { opacity: 0; transform: scale(0.9); }
        to { opacity: 1; transform: scale(1); }
    }

    .evidence-tag {
        animation: scroll-pop linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 20%;
    }
    @keyframes scroll-pop {
        from { opacity: 0; transform: scale(0.8) translateY(8px); }
        to { opacity: 1; transform: scale(1) translateY(0); }
    }

    /* Parallax depth effect on cards when scrolling */
    .glass-card {
        animation: scroll-parallax linear;
        animation-timeline: view();
        animation-range: contain 0% contain 100%;
    }
    @keyframes scroll-parallax {
        from { transform: translateY(8px); }
        50% { transform: translateY(0); }
        to { transform: translateY(-8px); }
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 18: NEW LANDING PAGE ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Line Staggered Reveal ── */
.hero-line {
    opacity: 0;
    transform: translateY(32px);
    animation: hero-line-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.25s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; }
@keyframes hero-line-reveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Centered Hero Title Entrance ── */
.hero-title-centered {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(10px);
    animation: hero-centered-title-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes hero-centered-title-enter {
    0%   { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(10px); }
    50%  { filter: blur(2px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ── Gradient "Location" text shimmer ── */
.hero-title-centered .highlight {
    background-size: 400% auto;
    animation: gradient-text-flow 6s ease infinite, highlight-glow-pulse 4s ease-in-out infinite;
}
@keyframes highlight-glow-pulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0px transparent); }
    50%      { filter: brightness(1.15) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
}

/* ── Centered Hero Subtitle ── */
.hero-subtitle-centered {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-sub-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
@keyframes hero-sub-enter {
    to { opacity: 0.85; transform: translateY(0); }
}

/* ── Centered Upload Card Entrance ── */
.hero-upload-centered .hero-upload-card {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    filter: blur(6px);
    animation: hero-card-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
@keyframes hero-card-rise {
    0%   { opacity: 0; transform: translateY(50px) scale(0.92); filter: blur(6px); }
    60%  { transform: translateY(-6px) scale(1.01); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ── OSINT Badge Entrance ── */
.hero-osint-badge {
    opacity: 0;
    transform: translateY(16px) scale(0.8);
    animation: osint-badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}
@keyframes osint-badge-pop {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Upload Card Floating Idle ── */
.hero-upload-centered .hero-upload-card {
    will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
    .hero-upload-centered .hero-upload-card {
        animation: hero-card-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both,
                   card-float-idle 6s ease-in-out 2s infinite;
    }
}
@keyframes card-float-idle {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-8px); }
}

/* ── Upload Card Glow Breathing ── */
.upload-card-glow {
    animation: card-glow-breathe 4s ease-in-out infinite;
}
@keyframes card-glow-breathe {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

/* ── Upload Card Border Animation (Conic Trace) ── */
.upload-card-border-anim {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        rgba(255, 255, 255, 0.5) 6%,
        rgba(255, 255, 255, 0.4) 10%,
        transparent 16%,
        transparent 50%,
        rgba(255, 255, 255, 0.3) 56%,
        rgba(255, 255, 255, 0.4) 60%,
        transparent 66%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: border-rotate 6s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}
@keyframes border-rotate {
    0%   { --border-angle: 0deg; transform: rotate(0deg); }
    100% { --border-angle: 360deg; transform: rotate(360deg); }
}

/* ── Upload Card Corner Accents ── */
.card-corner {
    position: absolute;
    width: 14px; height: 14px;
    border-color: rgba(255, 255, 255, 0.4);
    border-style: solid;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: corner-appear 0.5s ease 1.4s both;
}
.card-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.card-corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-radius: 0 6px 0 0; }
.card-corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-radius: 0 0 0 6px; }
.card-corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
@keyframes corner-appear {
    0%   { opacity: 0; transform: scale(0.5); }
    60%  { transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* ── Upload Zone Scan Line ── */
.upload-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5), transparent);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 24px rgba(255, 255, 255, 0.15);
    animation: scan-line-sweep 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
    opacity: 0.5;
}
@keyframes scan-line-sweep {
    0%   { top: 0%; opacity: 0; }
    5%   { opacity: 0.5; }
    45%  { opacity: 0.5; }
    50%  { top: 100%; opacity: 0; }
    100% { top: 100%; opacity: 0; }
}

/* ── Mode Badge Dot Pulse ── */
.mode-badge-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #cccccc;
    margin-right: 5px;
    box-shadow: 0 0 6px rgba(200, 200, 200, 0.5);
    animation: badge-dot-pulse 2s ease-in-out infinite;
}
@keyframes badge-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.5; }
}

/* ── Upload Zone Hover Effects ── */
.upload-zone {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}
.hero-upload-card:hover .upload-zone {
    transform: scale(1.03);
}
.hero-upload-card.drag-over .upload-zone {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

/* ── Upload Icon Floating Animation ── */
.upload-lottie-wrap {
    animation: upload-float 3s ease-in-out infinite;
}
@keyframes upload-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ── Nav Link Hover Underline ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after {
    width: 70%;
}

/* ── Header Logo Entrance ── */
.logo-group {
    opacity: 0;
    transform: translateX(-20px);
    animation: logo-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
@keyframes logo-slide-in {
    to { opacity: 1; transform: translateX(0); }
}

/* ── Header Nav Links Stagger Entrance ── */
.header-nav-links .nav-link {
    opacity: 0;
    transform: translateY(-8px);
    animation: nav-link-drop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.header-nav-links .nav-link:nth-child(1) { animation-delay: 0.1s; }
.header-nav-links .nav-link:nth-child(2) { animation-delay: 0.15s; }
.header-nav-links .nav-link:nth-child(3) { animation-delay: 0.2s; }
.header-nav-links .nav-link:nth-child(4) { animation-delay: 0.25s; }
@keyframes nav-link-drop {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Header Actions Entrance ── */
.header-actions {
    opacity: 0;
    transform: translateX(20px);
    animation: actions-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes actions-slide-in {
    to { opacity: 1; transform: translateX(0); }
}

/* ── Ambient Floating Particles (Enhanced) ── */
.hero-section .particle-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: orb-drift ease-in-out infinite;
}
@keyframes orb-drift {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.8); }
    20%  { opacity: 0.6; }
    50%  { opacity: 0.3; transform: translate(var(--drift-x, 30px), var(--drift-y, -40px)) scale(1.1); }
    80%  { opacity: 0.5; }
    100% { opacity: 0; transform: translate(var(--drift-x2, -20px), var(--drift-y2, 20px)) scale(0.8); }
}

/* ── Upload Card 3D Hover Tilt ── */
.hero-upload-card {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}
.hero-upload-card:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.06),
        0 0 30px rgba(255, 255, 255, 0.04);
}

/* ── Progress Ring Animation ── */
.upload-ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3;
}
.upload-ring-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Drag-Over State ── */
.hero-upload-card.drag-over {
    border-color: rgba(255, 255, 255, 0.5);
}
.hero-upload-card.drag-over .upload-card-glow {
    opacity: 1;
    animation: drag-glow-pulse 0.8s ease-in-out infinite;
}
@keyframes drag-glow-pulse {
    0%, 100% { opacity: 0.8; }
    50%      { opacity: 1; }
}

/* ── Success State ── */
.hero-upload-card.upload-success .upload-card-glow {
    background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(200, 200, 200, 0.15));
}
.hero-upload-card.upload-success .card-corner {
    border-color: rgba(200, 200, 200, 0.5);
}

/* ── Bento Card Stagger Entrance ── */
.bento-card {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    animation: bento-enter 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.bento-card:nth-child(1) { animation-delay: 0.05s; }
.bento-card:nth-child(2) { animation-delay: 0.1s; }
.bento-card:nth-child(3) { animation-delay: 0.15s; }
.bento-card:nth-child(4) { animation-delay: 0.2s; }
.bento-card:nth-child(5) { animation-delay: 0.25s; }
.bento-card:nth-child(6) { animation-delay: 0.3s; }
.bento-card:nth-child(7) { animation-delay: 0.35s; }
@keyframes bento-enter {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── CTA Section Entrance ── */
.cta-section .cta-title,
.cta-section .cta-desc,
.cta-section .cta-actions {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.7s ease both;
}
.cta-section .cta-title  { animation-delay: 0.05s; }
.cta-section .cta-desc    { animation-delay: 0.15s; }
.cta-section .cta-actions  { animation-delay: 0.25s; }

/* ── Section Header Entrance ── */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.6s ease 0.05s both;
}

/* ── FAQ items stagger on scroll ── */
@supports (animation-timeline: view()) {
    .faq-item {
        animation: scroll-fade-up linear;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
    .bento-card {
        animation: scroll-fade-up linear;
        animation-timeline: view();
        animation-range: entry 0% entry 25%;
    }
    @keyframes scroll-fade-up {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ── Section 19: v3 Upgrade Animations ── */

/* Step Cards Stagger Entrance */
.step-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.6s ease both;
}
.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.25s; }
.step-card:nth-child(5) { animation-delay: 0.4s; }

.step-connector {
    opacity: 0;
    animation: fade-up 0.4s ease both;
}
.step-connector:nth-child(2) { animation-delay: 0.18s; }
.step-connector:nth-child(4) { animation-delay: 0.33s; }

/* Social Proof Bar Entrance */
.proof-stat {
    opacity: 0;
    transform: translateY(16px);
    animation: fade-up 0.5s ease both;
}
.proof-stat:nth-child(1) { animation-delay: 0.1s; }
.proof-stat:nth-child(3) { animation-delay: 0.2s; }
.proof-stat:nth-child(5) { animation-delay: 0.3s; }
.proof-stat:nth-child(7) { animation-delay: 0.4s; }

.proof-divider {
    opacity: 0;
    animation: fade-up 0.3s ease 0.25s both;
}

/* CTA Border Card Entrance */
.cta-border-card {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    animation: cta-card-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes cta-card-enter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* CTA Icon Ring Entrance */
.cta-icon-ring {
    opacity: 0;
    transform: scale(0.6);
    animation: icon-ring-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}
@keyframes icon-ring-pop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer Glow Line Entrance */
.footer-glow-line {
    transform: scaleX(0);
    animation: glow-line-expand 0.8s ease 0.2s both;
}
@keyframes glow-line-expand {
    to { transform: translateX(-50%) scaleX(1); }
}

/* How It Works + Social Proof scroll-reveal */
@supports (animation-timeline: view()) {
    .step-card {
        animation: scroll-fade-up linear;
        animation-timeline: view();
        animation-range: entry 0% entry 25%;
    }
    .proof-stat {
        animation: scroll-fade-up linear;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
    .cta-border-card {
        animation: scroll-fade-up linear;
        animation-timeline: view();
        animation-range: entry 0% entry 25%;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 21: TEXT SPLIT, CURSOR TRAIL & SCROLL EFFECTS
   ═══════════════════════════════════════════════════════════ */

/* ── Hero Character Split Reveal ── */
.hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(32px) rotateX(-60deg) scale(0.7);
    filter: blur(6px);
    animation: hero-char-reveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity, filter;
}
@keyframes hero-char-reveal {
    0%   { opacity: 0; transform: translateY(32px) rotateX(-60deg) scale(0.7); filter: blur(6px); }
    60%  { filter: blur(1px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); filter: blur(0); }
}
/* The .highlight chars get a slight color pulse after reveal */
.hero-title-centered .highlight .hero-char {
    animation: hero-char-reveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both,
               char-glow-after 2s ease-in-out 1.8s infinite alternate;
}
@keyframes char-glow-after {
    0%   { filter: brightness(1); }
    100% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); }
}

/* ── Scroll Progress Bar (gradient glow) ── */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), #ffffff 40%, #cccccc 70%, #ffffff);
    background-size: 300% 100%;
    animation: progress-gradient-shift 3s ease infinite;
    z-index: 100000;
    pointer-events: none;
    transition: width 0.1s linear;
}
.scroll-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 80px;
    height: 11px;
    background: radial-gradient(ellipse at right, rgba(255,255,255,0.6), transparent);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 1;
    animation: progress-dot-pulse 1.5s ease-in-out infinite;
}
@keyframes progress-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes progress-dot-pulse {
    0%, 100% { opacity: 0.6; transform: scaleX(0.7); }
    50%      { opacity: 1;   transform: scaleX(1); }
}

/* ── Step Connector Drawing Animation ── */
.step-connector-line {
    transform-origin: top center;
    transform: scaleY(0);
    animation: draw-line 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
@keyframes draw-line {
    to { transform: scaleY(1); }
}
.steps-row .step-connector:nth-child(2) .step-connector-line { animation-delay: 0.3s; }
.steps-row .step-connector:nth-child(4) .step-connector-line { animation-delay: 0.6s; }

/* ── Step Card Number Pulse ── */
.step-number {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.step-card:hover .step-number {
    transform: scale(1.1);
    color: #ffffff;
}

/* ── Step Icon Spin on Hover ── */
.step-icon-wrap {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.step-card:hover .step-icon-wrap {
    transform: rotateY(180deg);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.3);
}

/* ── Bento Card Hover Depth + 3D Tilt ── */
.bento-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s ease,
                border-color 0.4s ease;
    transform-style: preserve-3d;
    perspective: 800px;
}
.bento-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}
/* Bento card spotlight glow that follows mouse via CSS custom props */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
        rgba(255, 255, 255, 0.06) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.bento-card:hover::before {
    opacity: 1;
}

/* ── Bento Tag Pop on Card Hover ── */
.bento-tag {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                color 0.3s ease;
}
.bento-card:hover .bento-tag {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}
.bento-card:hover .bento-tag:nth-child(2) { transition-delay: 0.05s; }
.bento-card:hover .bento-tag:nth-child(3) { transition-delay: 0.1s; }

/* ── Bento Icon Glow on Hover ── */
.bento-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.4s ease;
}
.bento-card:hover .bento-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.5));
}

/* ── Social Proof Counter Glow ── */
.proof-value {
    transition: text-shadow 0.5s ease;
}
.proof-stat:hover .proof-value {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 255, 255, 0.2);
}

/* ── CTA Button Shimmer ── */
.cta-actions .btn-primary {
    position: relative;
    overflow: hidden;
}
.cta-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}
.cta-actions .btn-primary:hover::after {
    left: 100%;
}

/* ── Section Tag Entrance ── */
.section-tag {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    animation: tag-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes tag-enter {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Footer Links Stagger ── */
.footer-nav-group a {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 0.4s ease both;
}
.footer-nav-group a:nth-child(1) { animation-delay: 0.05s; }
.footer-nav-group a:nth-child(2) { animation-delay: 0.1s; }
.footer-nav-group a:nth-child(3) { animation-delay: 0.15s; }
.footer-nav-group a:nth-child(4) { animation-delay: 0.2s; }
.footer-nav-group a:nth-child(5) { animation-delay: 0.25s; }

/* ── Upload Card Ripple Click Effect ── */
.upload-zone::after {
    transition: transform 0.6s ease, opacity 0.6s ease;
}
.upload-zone:active::after {
    transform: scale(1.5);
    opacity: 0;
}

/* ── Nav Link Active Glow ── */
.nav-link:hover {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ── Social Proof Divider Pulse ── */
.proof-divider {
    animation: divider-pulse 3s ease-in-out infinite;
}
@keyframes divider-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%      { opacity: 0.6; transform: scaleY(1.2); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 22: ACCESSIBILITY — REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.15s !important;
        scroll-behavior: auto !important;
    }
    .aurora-bg, .aurora-bg::before, .aurora-bg::after,
    .aurora-orb, .aurora-orb-1, .aurora-orb-2,
    .particles-container, .particle,
    .grid-bg, .noise-overlay { display: none; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .reveal-rotate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .hero-char {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .scroll-progress {
        transition: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 23: SMOOTH ENTRANCE UTILITIES
   ═══════════════════════════════════════════════════════════ */

/* Fade up on page load */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-in-up 0.7s var(--ease-smooth) both;
}
@keyframes fade-in-up {
    to { opacity: 1; transform: translateY(0); }
}

/* Scale pop in */
.pop-in {
    opacity: 0;
    transform: scale(0.9);
    animation: pop-in 0.5s var(--ease-bounce) both;
}
@keyframes pop-in {
    to { opacity: 1; transform: scale(1); }
}

/* Slide from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slide-in-left 0.6s var(--ease-smooth) both;
}
@keyframes slide-in-left {
    to { opacity: 1; transform: translateX(0); }
}

/* Slide from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slide-in-right 0.6s var(--ease-smooth) both;
}
@keyframes slide-in-right {
    to { opacity: 1; transform: translateX(0); }
}

/* Counting number shimmer */
@keyframes number-glow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50%      { text-shadow: 0 0 12px rgba(255, 255, 255, 0.3); }
}
.stat-value-glow {
    animation: number-glow 3s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════════
   ███████╗██████╗ ██╗   ██╗     ███████╗███████╗███████╗███████╗ ██████╗████████╗███████╗
   ██╔════╝██╔══██╗╚██╗ ██╔╝     ██╔════╝██╔════╝██╔════╝██╔════╝██╔════╝╚══██╔══╝██╔════╝
   ███████╗██████╔╝ ╚████╔╝      █████╗  █████╗  █████╗  █████╗  ██║        ██║   ███████╗
   ╚════██║██╔═══╝   ╚██╔╝       ██╔══╝  ██╔══╝  ██╔══╝  ██╔══╝  ██║        ██║   ╚════██║
   ███████║██║        ██║        ███████╗██║     ██║     ███████╗╚██████╗   ██║   ███████║
   ╚══════╝╚═╝        ╚═╝        ╚══════╝╚═╝     ╚═╝     ╚══════╝ ╚═════╝   ╚═╝   ╚══════╝
   SECTION 30: CLASSIFIED INTELLIGENCE OPERATIONS SUITE
   ═══════════════════════════════════════════════════════════════════ */

/* ── SPY CLASSIFIED STAMP ── */
@keyframes classified-stamp {
    0%   { transform: scale(3) rotate(-15deg); opacity: 0; filter: blur(8px); }
    40%  { transform: scale(1.05) rotate(-12deg); opacity: 0.9; filter: blur(0); }
    50%  { transform: scale(0.98) rotate(-12deg); opacity: 1; }
    100% { transform: scale(1) rotate(-12deg); opacity: 0.15; }
}
.classified-stamp {
    position: absolute;
    top: 10px; right: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #777777;
    border: 2px solid #777777;
    padding: 4px 12px;
    border-radius: 4px;
    transform: rotate(-12deg);
    pointer-events: none;
    animation: classified-stamp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    z-index: 5;
}

/* ── TARGET ACQUISITION / CROSSHAIR ── */
@keyframes target-lock {
    0%   { transform: scale(2) rotate(0deg); opacity: 0; }
    50%  { transform: scale(1.1) rotate(45deg); opacity: 0.8; }
    70%  { transform: scale(0.95) rotate(85deg); }
    100% { transform: scale(1) rotate(90deg); opacity: 1; }
}
@keyframes crosshair-pulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}
.spy-crosshair {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.spy-crosshair::before,
.spy-crosshair::after {
    content: '';
    position: absolute;
    pointer-events: none;
    animation: crosshair-pulse 2s ease-in-out infinite;
}
.spy-crosshair::before {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
}
.spy-crosshair::after {
    width: 1px; height: 100%;
    background: linear-gradient(180deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
}

/* ── SURVEILLANCE SCANLINE ── */
@keyframes surveillance-scan {
    0%   { top: -2px; opacity: 0; }
    5%   { opacity: 0.8; }
    50%  { opacity: 0.6; }
    95%  { opacity: 0.8; }
    100% { top: calc(100% + 2px); opacity: 0; }
}
.surveillance-scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.1) 15%,
        rgba(255,255,255,0.6) 45%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0.6) 55%,
        rgba(255,255,255,0.1) 85%,
        transparent 100%
    );
    box-shadow:
        0 0 20px rgba(255,255,255,0.3),
        0 0 60px rgba(255,255,255,0.1),
        0 2px 8px rgba(255,255,255,0.2);
    animation: surveillance-scan 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

/* ── INTEL TRANSMISSION EFFECT ── */
@keyframes intel-transmit {
    0%   { clip-path: inset(0 100% 0 0); opacity: 0.5; }
    30%  { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
.intel-transmit {
    animation: intel-transmit 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.intel-transmit.delay-1 { animation-delay: 0.1s; }
.intel-transmit.delay-2 { animation-delay: 0.2s; }
.intel-transmit.delay-3 { animation-delay: 0.3s; }
.intel-transmit.delay-4 { animation-delay: 0.4s; }
.intel-transmit.delay-5 { animation-delay: 0.5s; }

/* ── DOSSIER FILE REVEAL ── */
@keyframes dossier-reveal {
    0%   { opacity: 0; transform: translateY(20px) rotateX(10deg); filter: blur(4px) brightness(0.5); }
    30%  { filter: blur(1px) brightness(0.8); }
    60%  { transform: translateY(-4px) rotateX(-2deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0) brightness(1); }
}
.dossier-reveal {
    animation: dossier-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── RADAR HUD SWEEP ── */
@keyframes radar-hud-sweep {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes radar-hud-ping {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}
.radar-hud {
    position: relative;
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: radial-gradient(circle, rgba(10,10,10,0.8) 0%, rgba(0,0,0,0.95) 100%);
    overflow: hidden;
}
.radar-hud::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 50%;
    transform-origin: 0 0;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255,255,255,0.06) 15deg,
        rgba(255,255,255,0.15) 30deg,
        rgba(255,255,255,0.25) 40deg,
        transparent 50deg
    );
    animation: radar-hud-sweep 2.5s linear infinite;
}
.radar-hud::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
}
.radar-hud .radar-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.radar-hud .radar-ring-1 { width: 33%; height: 33%; }
.radar-hud .radar-ring-2 { width: 66%; height: 66%; }
.radar-hud .radar-ring-3 { width: 100%; height: 100%; }
.radar-hud .radar-crosshair-h,
.radar-hud .radar-crosshair-v {
    position: absolute;
    background: rgba(255,255,255,0.06);
}
.radar-hud .radar-crosshair-h { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.radar-hud .radar-crosshair-v { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.radar-ping {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.radar-ping::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    animation: radar-hud-ping 1.5s ease-out infinite;
}

/* ── ENCRYPTED TEXT DECODE ── */
@keyframes decrypt-char {
    0%   { opacity: 0.3; content: '█'; color: #333333; }
    25%  { content: attr(data-scramble-1); color: #555555; }
    50%  { content: attr(data-scramble-2); color: #777777; }
    75%  { content: attr(data-scramble-3); color: #aaaaaa; }
    100% { opacity: 1; color: inherit; }
}
.decrypt-text {
    font-family: 'JetBrains Mono', monospace;
    position: relative;
}
.decrypt-text .char {
    display: inline-block;
    animation: decrypt-fade 0.6s ease both;
}
@keyframes decrypt-fade {
    0%   { opacity: 0; color: #333333; transform: translateY(2px); }
    40%  { color: #666666; }
    100% { opacity: 1; color: inherit; transform: translateY(0); }
}

/* ── NIGHT VISION EFFECT ── */
.night-vision {
    position: relative;
    overflow: hidden;
}
.night-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.01) 2px,
        rgba(255,255,255,0.01) 4px
    );
    pointer-events: none;
    z-index: 10;
    opacity: 0.5;
}
.night-vision::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 11;
}

/* ── SIGNAL STRENGTH BARS ── */
@keyframes signal-bar-1 { 0%, 100% { height: 4px; } 50% { height: 6px; } }
@keyframes signal-bar-2 { 0%, 100% { height: 8px; } 50% { height: 10px; } }
@keyframes signal-bar-3 { 0%, 100% { height: 12px; } 50% { height: 14px; } }
@keyframes signal-bar-4 { 0%, 100% { height: 16px; } 50% { height: 18px; } }
.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}
.signal-bars .bar {
    width: 3px;
    border-radius: 1px;
    background: rgba(0, 229, 195, 0.7);
}
.signal-bars .bar:nth-child(1) { animation: signal-bar-1 1.5s ease-in-out infinite; }
.signal-bars .bar:nth-child(2) { animation: signal-bar-2 1.5s ease-in-out 0.1s infinite; }
.signal-bars .bar:nth-child(3) { animation: signal-bar-3 1.5s ease-in-out 0.2s infinite; }
.signal-bars .bar:nth-child(4) { animation: signal-bar-4 1.5s ease-in-out 0.3s infinite; }

/* ── INTEL GRID BACKGROUND ── */
.intel-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(0,229,195,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,195,0.012) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 100%);
    animation: intel-grid-pulse 8s ease-in-out infinite;
}
@keyframes intel-grid-pulse {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.2; }
}

/* ── BRIEFING CARD ENTRANCE ── */
@keyframes briefing-enter {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateY(-8deg) translateX(-30px) scale(0.95);
        filter: blur(4px);
    }
    50% {
        transform: perspective(600px) rotateY(2deg) translateX(5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateY(0deg) translateX(0) scale(1);
        filter: blur(0);
    }
}
.briefing-enter {
    animation: briefing-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── SECURE CONNECTION INDICATOR ── */
@keyframes secure-link-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,195,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(0,229,195,0), 0 0 12px rgba(0,229,195,0.15); }
}
.secure-conn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 229, 195, 0.6);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0,229,195,0.12);
    background: rgba(0,229,195,0.04);
}
.secure-conn .conn-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00e5c3;
    animation: secure-link-pulse 2s ease-in-out infinite;
}

/* ── MOTION TRAIL / GHOST ECHO ── */
@keyframes ghost-trail {
    0% { opacity: 0.5; transform: translateX(0) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translateX(-20px) scale(0.95); filter: blur(4px); }
}

/* ── DATA TICKER SCROLL ── */
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.spy-ticker {
    overflow: hidden;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.06em;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 8px 0;
    position: relative;
    background: rgba(10, 10, 10, 0.3);
}
.spy-ticker::before,
.spy-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.spy-ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, transparent 100%);
}
.spy-ticker::after {
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,1) 0%, transparent 100%);
}
.spy-ticker:hover .spy-ticker-inner {
    animation-play-state: paused;
}
.spy-ticker-inner {
    display: inline-block;
    animation: ticker-scroll 30s linear infinite;
}
.spy-ticker-item {
    padding: 0 24px;
    transition: color 0.3s ease;
}
.spy-ticker:hover .spy-ticker-item {
    color: rgba(255,255,255,0.5);
}
.spy-ticker-sep {
    color: rgba(255,255,255,0.12);
    padding: 0 8px;
}

/* ── FINGERPRINT SCAN ── */
@keyframes fingerprint-scan {
    0%   { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}
.fingerprint-scan {
    position: relative;
    overflow: hidden;
}
.fingerprint-scan::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 40%,
        rgba(255,255,255,0.08) 48%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.08) 52%,
        transparent 60%,
        transparent 100%
    );
    background-size: 100% 200%;
    animation: fingerprint-scan 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* ── SPY CARD STYLE ── */
.spy-card {
    position: relative;
    background: rgba(8, 8, 8, 0.85);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.spy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.spy-card:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.4),
        0 0 1px rgba(255,255,255,0.1),
        inset 0 0 40px rgba(255,255,255,0.01);
    transform: translateY(-4px);
}

/* ── SPY CARD CORNER BRACKETS ── */
.spy-corners {
    position: relative;
}
.spy-corners::before,
.spy-corners::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border-color: rgba(255,255,255,0.2);
    border-style: solid;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.3s ease;
}
.spy-corners::before {
    top: 6px; left: 6px;
    border-width: 1px 0 0 1px;
}
.spy-corners::after {
    bottom: 6px; right: 6px;
    border-width: 0 1px 1px 0;
}
.spy-corners:hover::before,
.spy-corners:hover::after {
    border-color: rgba(255,255,255,0.5);
}

/* ── STATUS INDICATORS ── */
.spy-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.spy-status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    position: relative;
}
.spy-status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0.3;
    animation: status-ring-pulse 2s ease-in-out infinite;
}
@keyframes status-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50%      { transform: scale(1.5); opacity: 0; }
}
.spy-status-active .spy-status-dot { background: #cccccc; color: #cccccc; }
.spy-status-warning .spy-status-dot { background: #aaaaaa; color: #aaaaaa; }
.spy-status-critical .spy-status-dot { background: #777777; color: #777777; }

/* ── GLITCH LINE EFFECT ── */
@keyframes glitch-line {
    0%   { transform: translateX(0); }
    2%   { transform: translateX(-3px); }
    4%   { transform: translateX(5px); }
    6%   { transform: translateX(-2px); }
    8%   { transform: translateX(0); }
    100% { transform: translateX(0); }
}

/* ── COORDINATE DISPLAY ── */
.spy-coords {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #aaaaaa;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.spy-coords .coord-label {
    color: #555555;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.spy-coords .coord-value {
    color: #cccccc;
    font-variant-numeric: tabular-nums;
}

/* ── TIMESTAMP DISPLAY ── */
.spy-timestamp {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #666666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── LOADING: INTEL DECODE ── */
@keyframes intel-decode-bar {
    0%   { width: 0%; background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { width: 100%; background-position: 0% 50%; }
}
.intel-decode-bar {
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, #888888, transparent);
    background-size: 200% 100%;
    animation: intel-decode-bar 2s ease-in-out infinite;
}

/* ── PAGE TRANSITIONS: BRIEFING WIPE ── */
@keyframes briefing-wipe-in {
    0%   { clip-path: polygon(0 50%, 0 50%, 0 50%, 0 50%); }
    50%  { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
.briefing-wipe {
    animation: briefing-wipe-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── STAGGER ENTER FOR GRID ITEMS ── */
.stagger-enter > * {
    opacity: 0;
    transform: translateY(20px);
    animation: stagger-item-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stagger-enter > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-enter > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-enter > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-enter > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-enter > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-enter > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-enter > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-enter > *:nth-child(8) { animation-delay: 0.4s; }
@keyframes stagger-item-enter {
    to { opacity: 1; transform: translateY(0); }
}

/* ── PAGE ENTER ANIMATION ── */
@keyframes page-enter-up {
    0%   { opacity: 0; transform: translateY(30px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.page-enter {
    animation: page-enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── ACTIVITY TIMELINE ── */
.activity-timeline { position: relative; padding-left: 24px; }
.activity-timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03));
}
.timeline-item {
    position: relative;
    margin-bottom: 16px;
    animation: stagger-item-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.15s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.25s; }
.timeline-item:nth-child(5) { animation-delay: 0.3s; }
.timeline-dot {
    position: absolute;
    left: -20px; top: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.15);
}
.timeline-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.25s;
}
.timeline-card:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.timeline-time {
    font-size: 11px;
    color: #555555;
    font-family: 'JetBrains Mono', monospace;
}
.timeline-card-body {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── CHIP STYLES ── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.chip-sm { font-size: 10px; padding: 2px 8px; }
.chip-success { color: #cccccc; border-color: rgba(200,200,200,0.15); }
.chip i { font-size: 9px; opacity: 0.7; }

/* ── EMPTY STATE ── */
.empty-state, .empty-state-hero {
    text-align: center;
    padding: 30px 20px;
}
.empty-state-icon, .empty-state-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px; color: #555555;
}
.empty-state h3, .empty-state-hero h3 {
    font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px;
}
.empty-state p, .empty-state-hero p {
    font-size: 12px; color: var(--text-muted); margin-bottom: 16px;
}
.btn-action {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 10px; border: none;
    background: rgba(255,255,255,0.08); color: #cccccc;
    font-size: 12px; font-weight: 500; cursor: pointer;
    transition: all 0.2s;
}
.btn-action:hover { background: rgba(255,255,255,0.14); color: #ffffff; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
}
.breadcrumb-item {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s;
    padding: 4px 0;
}
.breadcrumb-item:hover { color: #cccccc; }
.breadcrumb-item.active { color: #999999; }
.breadcrumb-sep { color: #333333; font-size: 8px; padding: 0 8px; }

/* ── SCROLL-TO-TOP ── */
.scroll-top-btn {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
    position: fixed; top: 56px; left: 0;
    height: 2px; z-index: 99;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(200,200,200,0.6));
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    transition: width 0.1s linear;
    width: 0%;
}

/* ── SPY THEMED HOVER GLOW CARD ── */
.glow-border-card {
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-border-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}
.glow-border-card:hover::after {
    opacity: 1;
}

/* ── CARD TILT (CSS-only 3D) ── */
.card-tilt {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.card-tilt:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.03);
}

/* ── CARD SPOTLIGHT (mouse-follow glow) ── */
.card-spotlight {
    position: relative;
    overflow: hidden;
}
.card-spotlight::before {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    transform: translate(var(--mouse-x, -200px), var(--mouse-y, -200px)) translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.card-spotlight:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 23: PREMIUM UPGRADE ANIMATIONS v2
   ═══════════════════════════════════════════════════════════════ */

/* ── Encrypted Subtitle Text Scramble ── */
.hero-subtitle-centered.decrypt-active {
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}
.hero-subtitle-centered .char-decrypt {
    display: inline;
    animation: char-decrypt-flash 0.06s steps(1) both;
}
@keyframes char-decrypt-flash {
    0%   { opacity: 0.4; color: rgba(255,255,255,0.3); }
    100% { opacity: 1; color: var(--text-secondary); }
}

/* ── Smooth Floating Particles (CSS-only) ── */
.particle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particle-float linear infinite;
}
.particle-dot:nth-child(odd) {
    background: rgba(255, 255, 255, 0.08);
    width: 1px;
    height: 1px;
}
@keyframes particle-float {
    0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-10vh) translateX(var(--drift, 20px)); opacity: 0; }
}

/* ── Button Press Effect (scale + shadow) ── */
.btn-primary:active,
.auth-btn:active,
.btn-action:active {
    transform: scale(0.96) !important;
    box-shadow: none !important;
    transition: transform 0.08s ease, box-shadow 0.08s ease !important;
}

/* ── Glitch Flicker (for spy themed elements) ── */
.glitch-flicker {
    animation: glitch-micro 8s ease-in-out infinite;
}
@keyframes glitch-micro {
    0%, 94%, 96%, 98%, 100% { opacity: 1; transform: none; }
    95%  { opacity: 0.8; transform: translateX(-1px); }
    97%  { opacity: 0.9; transform: translateX(1px); }
}

/* ── Scan Line Overlay (spy HUD) ── */
.scan-lines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.01) 2px,
        rgba(255, 255, 255, 0.01) 4px
    );
    pointer-events: none;
    z-index: 100;
    animation: scanline-drift 12s linear infinite;
}
@keyframes scanline-drift {
    0%   { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* ── Pulse Ring (for status indicators) ── */
.pulse-ring-anim {
    position: relative;
}
.pulse-ring-anim::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-ring-expand 2s ease-out infinite;
}
@keyframes pulse-ring-expand {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ── Loading Skeleton Shimmer ── */
.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.02) 25%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.02) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-sweep 1.5s ease-in-out infinite;
    border-radius: 8px;
}
@keyframes skeleton-sweep {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Smooth Number Ticker ── */
.counting {
    display: inline-block;
    animation: count-pulse 0.15s ease-in-out;
}
@keyframes count-pulse {
    50% { transform: scale(1.05); }
}

/* ── Focus Ring for Accessibility ── */
.nav-link:focus-visible,
.nav-btn-labeled:focus-visible,
.btn-primary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: inherit;
}
