/* Custom Styles V5 */
html {
    scroll-behavior: smooth;
    cursor: none; /* Custom cursor */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #00D1FF;
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 209, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 209, 255, 0.5); 
}

/* Hero Elements */
.hero-bg-image {
    filter: saturate(0.8) contrast(1.1);
}

.ai-bounding-box {
    box-shadow: inset 0 0 40px rgba(0, 209, 255, 0.1);
}

.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00D1FF;
    box-shadow: 0 0 10px #00D1FF, 0 40px 40px -10px rgba(0, 209, 255, 0.2);
    opacity: 0.8;
    z-index: 10;
    animation: scanBeamAnim 3s ease-in-out infinite alternate;
}

@keyframes scanBeamAnim {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 98%; opacity: 0; }
}

.floating-ui {
    animation: floatUI 5s ease-in-out infinite alternate;
}
@keyframes floatUI {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
}

/* V5 Additions */

.portrait-scan-line {
    animation: portraitScan 2s ease-in-out infinite alternate;
}
@keyframes portraitScan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.ai-core-pulse {
    animation: corePulse 3s infinite alternate;
}
@keyframes corePulse {
    0% { box-shadow: 0 0 40px rgba(0, 209, 255, 0.1); border-color: rgba(0, 209, 255, 0.2); }
    100% { box-shadow: 0 0 60px rgba(0, 209, 255, 0.4); border-color: rgba(0, 209, 255, 0.6); }
}

.ai-path {
    stroke-dasharray: 20;
    animation: dashAnim 1s linear infinite;
}
@keyframes dashAnim {
    to { stroke-dashoffset: -40; }
}

.param-blink {
    animation: paramAlert 1.5s infinite;
}
@keyframes paramAlert {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; color: #FF453A; }
}

/* Utilities */
.text-transparent {
    color: transparent;
}
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.scan-beam-fast {
    animation: scanBeamFast 1.5s linear infinite;
}
@keyframes scanBeamFast {
    0% { top: 5%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

.landmark-point {
    animation: pulsePoint 2s infinite alternate;
}
@keyframes pulsePoint {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 1; filter: drop-shadow(0 0 5px currentColor); }
}
