/* styles.css - Xpress Academy Premium Theme */

/* --- Base Typography & Background --- */
body {
    background-color: #f8fafc; /* Slate-50: Clean, professional background */
    color: #0f172a; /* Slate-900: High contrast text */
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden; /* Prevents scrollbars from floating background blobs */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Premium Glassmorphism UI --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* --- Advanced Animations --- */

/* 1. Smooth Fade In (Entrance) */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Fluid Floating Blobs (Background) */
.float-slow {
    animation: float 12s ease-in-out infinite;
}

.float-medium {
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.float-fast {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg) scale(1.05); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 3. Pulse Glow (Live Status) */
.pulse-badge {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); } /* Indigo-600 */
    70% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* --- Component Styles --- */

/* Feature Cards (Hover Lift) */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.1); /* Indigo tint */
}

/* Pricing/Pack Cards */
.pack-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.pack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
    border-color: #6366f1; /* Brand-500 */
    z-index: 10;
}

/* --- Utility Classes --- */

/* Content Obfuscation (Security) */
.blur-content {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.4s ease;
}

/* Prevent Selection (CBT Mode) */
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* --- Custom Scrollbar (Chrome/Safari/Webkit) --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid #f8fafc; /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Modal Transitions --- */
.modal-enter {
    opacity: 0;
    transform: scale(0.95);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}