/* Base & Typography */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc; /* bg-slate-50 */
    color: #0f172a; /* text-slate-900 */
    overflow-x: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-gradient {
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .card-hover:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-pulse-green {
    animation: pulse-green 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Dashboard Specific Styles */
.tab-active {
    color: #4f46e5; /* text-indigo-600 */
    border-bottom: 2px solid #4f46e5;
}

.nav-link-active {
    color: #4f46e5;
    background-color: #eef2ff; /* bg-indigo-50 */
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.aspect-3-2 {
    aspect-ratio: 3 / 2;
}

/* Popups & Overlays */
#ad-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#ad-popup.active {
    display: flex;
}

body.popup-open {
    overflow: hidden;
}

/* Custom Component Styles */
.dashboard-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9; /* border-slate-100 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    background-color: #ffffff;
    color: #475569; /* text-slate-600 */
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0; /* border-slate-200 */
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #f8fafc;
}
