/* Premium Aesthetics & Micro-Animations for TableAdmin */

/* 1. Glassmorphism for Cards and Modals */
.problem-card, .pricing-card, .benefit-card, .features__panel, .nav__menu.active {
    background: rgba(26, 26, 36, 0.65) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.problem-card:hover, .pricing-card:hover, .benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.4) !important;
    box-shadow: 0 15px 35px 0 rgba(255, 107, 53, 0.15) !important;
}

/* 2. Enhanced Buttons with Glow */
.btn--primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn--primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
    z-index: -1;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 3. New Feature Visuals: Caja & POS */
.feature-illustration--caja {
    position: relative;
    width: 100%; height: 250px;
    display: flex; align-items: center; justify-content: center;
}
.fi-pos {
    width: 200px; height: 150px;
    background: rgba(20,20,30,0.8);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
}
.fi-pos .fi-screen {
    width: 90%; height: 80%;
    background: #0A0A0F;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    padding: 8px;
}
.fi-pos .fi-screen::before {
    content: '';
    background: #2EEDB8;
    border-radius: 4px;
    opacity: 0.8;
}
.fi-pos .fi-screen::after {
    content: '';
    background: #FF6B35;
    border-radius: 4px;
    opacity: 0.8;
}
.fi-receipt {
    position: absolute;
    top: -40px; right: 20px;
    width: 60px; height: 80px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 -5px 15px rgba(255,255,255,0.2);
    animation: printReceipt 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    background-image: repeating-linear-gradient(to bottom, #ccc 0, #ccc 2px, transparent 2px, transparent 8px);
    background-size: 100% 8px;
    background-position: 0 10px;
    background-repeat: no-repeat;
}
@keyframes printReceipt {
    0% { transform: translateY(20px); opacity: 0; clip-path: inset(100% 0 0 0); }
    50% { transform: translateY(0); opacity: 1; clip-path: inset(0 0 0 0); }
    100% { transform: translateY(0); opacity: 0; clip-path: inset(0 0 0 0); }
}

/* 4. New Feature Visuals: CRM & Marketing */
.feature-illustration--crm {
    position: relative;
    width: 100%; height: 250px;
    display: flex; align-items: center; justify-content: center;
}
.fi-chart {
    width: 180px; height: 140px;
    border-left: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: flex-end; justify-content: space-around;
    padding-bottom: 2px;
}
.fi-bar-group {
    display: flex; width: 100%; height: 100%; justify-content: space-around; align-items: flex-end;
}
.fi-bar-crm {
    width: 25%;
    background: var(--gradient-primary);
    border-top-left-radius: 4px; border-top-right-radius: 4px;
    animation: growBar 2s ease-out infinite alternate;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}
.fi-bar-crm:nth-child(1) { animation-delay: 0s; }
.fi-bar-crm:nth-child(2) { animation-delay: 0.2s; }
.fi-bar-crm:nth-child(3) { animation-delay: 0.4s; background: var(--gradient-accent); box-shadow: 0 0 10px rgba(0, 217, 165, 0.4); }

@keyframes growBar {
    0% { transform: scaleY(0.1); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}

/* Modern Typography Tweaks */
.hero__title {
    background-image: linear-gradient(135deg, #ffffff 0%, #dcdcdc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient {
    background-image: linear-gradient(135deg, #FF6B35 0%, #FFBE0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
