/* DigitalHub - Custom Theme Styles & Animations */

:root {
    --primary-emerald: #10b981;
    --primary-dark: #059669;
    --dark-surface: #0f172a;
    --light-bg: #fafbfd;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #fafbfd;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Product Card Hover Enhancements */
.product-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-3px);
}

/* Tab active state line */
.tab-btn.active {
    color: #059669;
    border-bottom: 2px solid #10b981;
    font-weight: 700;
}

/* Accordion Smooth Transition */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.2s ease;
}

/* Radio button active style for checkout */
.payment-radio:checked + label {
    border-color: #10b981;
    background-color: #ecfdf5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism helpers */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
