/* STANDALONE LANDING PAGE STYLES */

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* UTILITIES */
.glass-panel {
    background: rgba(17, 17, 17, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Cursor-follow glow: each card sets --mx/--my; pseudo layers read them */
.glow-window {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.glow-window::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.85),
            rgba(255, 42, 42, 0.55),
            rgba(0, 217, 255, 0.22),
            rgba(123, 97, 255, 0.18));
    opacity: 0.55;
    z-index: 0;
    transition: opacity 240ms ease;
}

.glow-window::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    opacity: var(--g, 0.65);
    filter: blur(18px);
    background:
        radial-gradient(520px 380px at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(760px 520px at var(--mx, 50%) var(--my, 20%), rgba(255, 107, 53, 0.34) 0%, rgba(255, 107, 53, 0) 65%),
        radial-gradient(900px 620px at var(--mx, 50%) var(--my, 25%), rgba(255, 42, 42, 0.28) 0%, rgba(255, 42, 42, 0) 70%),
        radial-gradient(820px 520px at calc(var(--mx, 50%) + 10%) calc(var(--my, 20%) + 10%), rgba(0, 217, 255, 0.16) 0%, rgba(0, 217, 255, 0) 68%);
    transition: opacity 240ms ease;
}

.glow-window:hover::before {
    opacity: 0.95;
}

.glow-window:hover::after {
    opacity: 1;
}

/* Inner content must sit above glows */
.glow-inner {
    position: relative;
    z-index: 1;
}

/* subtle noise texture */
.noise::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.12"/></svg>');
    opacity: 0.16;
    mix-blend-mode: overlay;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms cubic-bezier(.2, .8, .2, 1), transform 700ms cubic-bezier(.2, .8, .2, 1);
}

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

/* Better focus outlines */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.35);
    border-color: rgba(123, 97, 255, 0.5);
}

/* Perspective effect for dashboard */
.scroll-perspective {
    perspective: 1200px;
}

.interactive-dashboard {
    transform: rotateX(15deg) translateY(0);
    transition: transform 0.5s ease;
}

/* Animations */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ADAPTABILITY: Typography Scaling */
@media (min-width: 1440px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 20px;
    }

    .max-w-7xl {
        max-width: 1600px;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 24px;
    }

    .max-w-7xl {
        max-width: 2000px;
    }
}