/* ==========================================================================
   ADP STORE - Premium Visual Identity (Void Dark Mode)
   ========================================================================== */

:root {
    --bg-void: #020204;
    --neon-blue: #00d4ff;
    --neon-violet: #7c3aed;
    --text-primary: #ffffff;
    --text-secondary: #c3c5d8;
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* SSO Portal Design System Typography Tokens */
    --font-headline: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --color-primary: #00d4ff;
    --color-primary-glow: rgba(0, 212, 255, 0.25);
    --color-purple: #7c3aed;
    --color-purple-glow: rgba(124, 58, 237, 0.25);
}

/* Global Typography & Background Override (100% login.php Compliance) */
html {
    background-color: var(--bg-void) !important;
}

body {
    font-family: var(--font-body) !important;
    background-color: transparent !important;
}

.font-body {
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6, .font-headline {
    font-family: var(--font-headline) !important;
    font-weight: 700 !important;
}

code, pre, .font-mono {
    font-family: var(--font-mono) !important;
}

/* Map glass-panel globally to premium-glass from login.php */
.glass-panel, .premium-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.002) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-panel:hover, .premium-glass:hover {
    border-color: rgba(0, 212, 255, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 212, 255, 0.03) !important;
}

/* Ambient Blur Spotlight */
.glow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -5;
    opacity: 0.18;
}

/* Text Shimmering (Void Mode) */
.text-shimmer {
    background: linear-gradient(90deg, #ffffff 0%, var(--color-primary) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    to { background-position: 200% center; }
}

/* Radar Sweep Animation */
.radar-container {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 50%, rgba(0, 212, 255, 0.15) 100%);
    transform-origin: 0 0;
    animation: radarRotate 3s linear infinite;
    border-radius: 50%;
}

@keyframes radarRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Premium Glow Accents */
.glow-cyan {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.08), inset 0 0 15px rgba(0, 212, 255, 0.02) !important;
}

.glow-violet {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.08), inset 0 0 15px rgba(124, 58, 237, 0.02) !important;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-violet));
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(37, 99, 255, 0.8);
}

/* Custom Text and Border Neon Glows */
.text-glow-blue {
    text-shadow: 0 0 20px rgba(37, 99, 255, 0.6);
}

.text-glow-violet {
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.neon-blue-glow {
    box-shadow: 0 0 20px rgba(37, 99, 255, 0.15);
    border-color: rgba(37, 99, 255, 0.3) !important;
}

.neon-blue-glow:hover, .neon-blue-glow:focus-within {
    box-shadow: 0 0 30px rgba(37, 99, 255, 0.35);
    border-color: rgba(37, 99, 255, 0.6) !important;
}

.neon-violet-glow {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3) !important;
}

.neon-violet-glow:hover, .neon-violet-glow:focus-within {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
    border-color: rgba(124, 58, 237, 0.6) !important;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-panel-heavy {
    background: rgba(14, 14, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Premium Buttons */
.btn-primary-neon {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
    box-shadow: 0 0 20px rgba(37, 99, 255, 0.35);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-neon:hover {
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.btn-primary-neon:active {
    transform: translateY(0) scale(1);
}

.btn-outline-neon {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    border-color: var(--neon-blue);
    background: rgba(37, 99, 255, 0.05);
    box-shadow: 0 0 20px rgba(37, 99, 255, 0.25);
    transform: translateY(-2px);
}

/* Dynamic Ambient Floating Background Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    pointer-events: none;
    background: var(--bg-void);
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
    transform-origin: center;
}

/* Floating animation keyframes */
@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(150px, -80px) scale(1.2); }
    100% { transform: translate(-50px, 120px) scale(0.9); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-120px, 180px) scale(0.8); }
    100% { transform: translate(100px, -50px) scale(1.1); }
}

/* Input Fields Styles */
.neon-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.neon-input:focus {
    border-color: var(--neon-blue) !important;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(37, 99, 255, 0.3);
}

/* Page transitions and fade ins */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Skeleton Loader Placeholders */
.skeleton-pulse {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeletonGlow 1.6s infinite linear;
    border-radius: 12px;
}

@keyframes skeletonGlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Luminous Mouse-Tracking Spotlight Effect */
.glass-panel-spotlight {
    position: relative;
    overflow: hidden;
}

.glass-panel-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(37, 99, 255, 0.09),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.glass-panel-spotlight:hover::before {
    opacity: 1;
}

/* Specific Premium Glow Accents */
.border-spotlight {
    position: relative;
}

.border-spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        300px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(124, 58, 237, 0.5),
        transparent 60%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.border-spotlight:hover::after {
    opacity: 1;
}

/* ─────────────────────────────────────────────
   INTERNAL DESIGN TEAM - ELEVATED DESIGN TOKENS
   ───────────────────────────────────────────── */

/* Animated border for extremely premium spotlight cards */
.glass-border-glow {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.glass-border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.glass-border-glow:hover::after {
    opacity: 1;
}

/* Ultra-Premium Shimmer effect for Call to Actions and Popular Cards */
.premium-shimmer {
    position: relative;
    overflow: hidden;
}

.premium-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.premium-shimmer:hover::after {
    left: 140%;
    opacity: 1;
}

/* Elegant Heading Spotlights */
.heading-spotlight {
    position: relative;
    display: inline-block;
}

.heading-spotlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(37, 99, 255, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(12px);
}

/* Slow breathing status dot */
.breathing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    animation: breath 2.4s infinite alternate ease-in-out;
}

@keyframes breath {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 6px rgba(37, 99, 255, 0.4);
    }
    100% {
        transform: scale(1.25);
        opacity: 1;
        box-shadow: 0 0 14px rgba(37, 99, 255, 0.9), 0 0 25px rgba(37, 99, 255, 0.5);
    }
}

/* Refined, saturated bottom-nav background */
#bottom-nav {
    background: rgba(5, 5, 8, 0.78) !important;
    backdrop-filter: blur(32px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
}

/* Card feature hover checkmarks dynamic shift */
.pricing-grid .glass-panel li:hover span.material-symbols-outlined {
    transform: scale(1.25) rotate(6deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

