/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* App Layout */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo styling for inner pages */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Google Premier Partner Badge */
.premier-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .header-left {
        gap: 1rem;
    }
    
    .premier-badge {
        display: none; /* Hide on mobile to save space */
    }
    
    .app-header {
        padding: 1rem;
    }
    
    .badge-text {
        display: none;
    }
}


@keyframes blobPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.95);
        border-color: rgba(245, 158, 11, 0.3);
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        border-color: rgba(245, 158, 11, 0.6);
        box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    }
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 60% 50% / 40% 50% 60% 60%;
    }
    75% {
        border-radius: 60% 30% 30% 60% / 70% 40% 60% 30%;
    }
}

@keyframes electricGlitch {
    0%, 89%, 100% {
        filter: blur(1px);
        transform: translate(-50%, -50%) scale(1);
    }
    90% {
        filter: blur(0.5px) brightness(1.5);
        transform: translate(-50%, -50%) scale(1.02) translateX(-2px);
        border-color: rgba(59, 130, 246, 0.8);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.6),
                    inset 0 0 20px rgba(245, 158, 11, 0.3);
    }
    91% {
        filter: blur(2px) brightness(0.8);
        transform: translate(-50%, -50%) scale(0.98) translateX(2px);
        border-color: rgba(139, 92, 246, 0.9);
    }
    92% {
        filter: blur(0.5px) brightness(1.8) hue-rotate(180deg);
        transform: translate(-50%, -50%) scale(1.01) translateY(-2px);
        border-color: rgba(16, 185, 129, 0.8);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
    }
    93% {
        filter: blur(1px) brightness(1.2);
        transform: translate(-50%, -50%) scale(1) translateX(-1px) translateY(1px);
        border-color: rgba(245, 158, 11, 0.6);
    }
}

@keyframes electricGlitch2 {
    0%, 92%, 100% {
        filter: blur(1px);
    }
    93% {
        filter: blur(0.3px) brightness(1.3) saturate(1.5);
        transform: translate(-50%, -50%) scale(1.01) translateY(1px);
        border-color: rgba(239, 68, 68, 0.7);
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
    }
    94% {
        filter: blur(1.5px) brightness(1.6);
        transform: translate(-50%, -50%) scale(0.99) translateX(-1px);
        border-color: rgba(34, 197, 94, 0.8);
    }
    95% {
        filter: blur(0.8px) brightness(0.9) hue-rotate(90deg);
        transform: translate(-50%, -50%) scale(1.02);
        border-color: rgba(168, 85, 247, 0.7);
        box-shadow: 0 0 35px rgba(168, 85, 247, 0.5),
                    inset 0 0 15px rgba(59, 130, 246, 0.3);
    }
}

@keyframes microGlitch {
    0%, 85%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    86% {
        transform: translate(-50%, -50%) scale(1.005) translateX(0.5px);
    }
    87% {
        transform: translate(-50%, -50%) scale(0.995) translateY(-0.5px);
    }
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover::before {
    animation-duration: 2s, 6s;
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    line-height: 1.1;
}

@keyframes aiGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.3));
    }
}

@keyframes textGlitch {
    0%, 89%, 100% {
        transform: translateX(0);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    }
    90% {
        transform: translateX(-1px);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5)) brightness(1.1);
    }
    91% {
        transform: translateX(1px);
        filter: drop-shadow(-2px 0 8px rgba(239, 68, 68, 0.4)) drop-shadow(2px 0 8px rgba(16, 185, 129, 0.4));
    }
    92% {
        transform: translateX(-0.5px) translateY(0.5px);
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)) brightness(1.2);
    }
    93% {
        transform: translateX(0);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    }
}

@keyframes pixelDestroy {
    0%, 84%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2)) blur(0);
    }
    85% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3)) blur(0.2px);
    }
    86% {
        opacity: 0.9;
        transform: scale(1.02) rotate(0.5deg);
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4)) blur(0.5px) contrast(1.2);
    }
    87% {
        opacity: 0.7;
        transform: scale(1.05) rotate(-0.5deg);
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5)) blur(1px) contrast(1.5);
        text-shadow: 2px 2px 0 rgba(59, 130, 246, 0.3),
                     -2px -2px 0 rgba(139, 92, 246, 0.3),
                     4px 4px 0 rgba(16, 185, 129, 0.2);
    }
    88% {
        opacity: 0.4;
        transform: scale(1.1) rotate(1deg);
        filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.6)) blur(2px) contrast(2);
        text-shadow: 4px 4px 2px rgba(59, 130, 246, 0.4),
                     -4px -4px 2px rgba(139, 92, 246, 0.4),
                     8px 8px 4px rgba(16, 185, 129, 0.3),
                     -8px 8px 4px rgba(245, 158, 11, 0.3);
    }
    89% {
        opacity: 0.2;
        transform: scale(1.2) rotate(-1deg);
        filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.7)) blur(4px) contrast(3);
        text-shadow: 8px 8px 4px rgba(59, 130, 246, 0.5),
                     -8px -8px 4px rgba(139, 92, 246, 0.5),
                     16px 16px 8px rgba(16, 185, 129, 0.4),
                     -16px 16px 8px rgba(245, 158, 11, 0.4),
                     0 0 20px rgba(255, 255, 255, 0.5);
    }
    90% {
        opacity: 0.1;
        transform: scale(1.3) rotate(2deg);
        filter: blur(8px) contrast(5);
        text-shadow: 16px 16px 8px rgba(59, 130, 246, 0.6),
                     -16px -16px 8px rgba(139, 92, 246, 0.6),
                     32px 32px 16px rgba(16, 185, 129, 0.5),
                     -32px 32px 16px rgba(245, 158, 11, 0.5);
    }
    91%, 92% {
        opacity: 0;
        transform: scale(1.5) rotate(-2deg);
        filter: blur(20px);
    }
    93% {
        opacity: 0.1;
        transform: scale(0.8) rotate(0deg);
        filter: blur(10px);
    }
    94% {
        opacity: 0.3;
        transform: scale(0.9) rotate(0deg);
        filter: blur(6px) brightness(1.5);
    }
    95% {
        opacity: 0.5;
        transform: scale(0.95) rotate(0deg);
        filter: blur(4px) brightness(1.3);
    }
    96% {
        opacity: 0.7;
        transform: scale(0.98) rotate(0deg);
        filter: blur(2px) brightness(1.1);
    }
    97% {
        opacity: 0.9;
        transform: scale(0.99) rotate(0deg);
        filter: blur(1px);
    }
    98% {
        opacity: 0.95;
        transform: scale(1) rotate(0deg);
        filter: blur(0.5px);
    }
}

@keyframes subtleShift {
    0%, 60%, 100% {
        transform: translateX(0);
    }
    61% {
        transform: translateX(-0.3px);
    }
    62% {
        transform: translateX(0.3px);
    }
    63% {
        transform: translateX(0);
    }
    85% {
        transform: translateY(-0.2px);
    }
    86% {
        transform: translateY(0.2px);
    }
}

@keyframes dataStream {
    0%, 91%, 100% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    }
    92% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2)) drop-shadow(1px 0 0 rgba(16, 185, 129, 0.6));
    }
    92.5% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2)) drop-shadow(-1px 0 0 rgba(239, 68, 68, 0.6));
    }
    93% {
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)) brightness(1.05);
    }
    94% {
        filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.3)) drop-shadow(0 1px 0 rgba(59, 130, 246, 0.4));
    }
    95% {
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    }
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
}

.logo:hover .logo-text {
    letter-spacing: -0.5px;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.page-description {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-new-audit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-new-audit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-new-audit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.btn-new-audit:hover::before {
    left: 100%;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.user-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.2;
}

.user-plan {
    font-size: 0.625rem;
    font-weight: 700;
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    border: 1px solid #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
}

.btn-logout {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-logout:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: translateY(-1px);
}

/* Main Layout */
.app-main {
    display: flex;
    flex: 1;
}

/* Sidebar */
.app-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(226, 232, 240, 0.6);
    padding: 2rem 0;
    box-shadow: 
        4px 0 6px rgba(0, 0, 0, 0.02),
        2px 0 4px rgba(0, 0, 0, 0.04);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 2rem;
    margin: 0.25rem 1rem;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #1f2937;
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #1d4ed8;
    border-radius: 2px;
}

.nav-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.app-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background: transparent;
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 3rem;
    position: relative;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.dashboard-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    position: relative;
    display: inline-block;
}

.dashboard-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    opacity: 0.8;
}

.subtitle {
    color: #64748b;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 3px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Recent Audits */
.recent-audits {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0f172a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-view-all {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Audit List */
.audit-list {
    display: flex;
    flex-direction: column;
}

.audit-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.audit-item:last-child {
    border-bottom: none;
}

.audit-item:hover {
    background: rgba(59, 130, 246, 0.02);
    transform: translateX(4px);
}

.audit-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.audit-item:hover::before {
    width: 4px;
}

.audit-info {
    flex: 1;
}

.audit-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.audit-url {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.audit-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audit-status {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.status-in-progress {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.status-review {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
    border-color: #f87171;
}

.status-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #34d399;
}

.audit-date {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Progress */
.audit-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 140px;
}

.progress-bar {
    width: 120px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* Action Buttons */
.audit-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-continue,
.btn-review,
.btn-view {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-continue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-review {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-view {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-sidebar {
        width: 240px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 1rem 1.5rem;
    }
    
    .app-title {
        font-size: 1.25rem;
    }
    
    .btn-new-audit {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .user-info {
        gap: 0.5rem;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .user-name {
        font-size: 0.875rem;
    }
    
    .user-plan {
        font-size: 0.5rem;
        padding: 0.1rem 0.375rem;
    }
    
    .app-main {
        flex-direction: column;
    }
    
    .app-sidebar {
        width: 100%;
        order: 2;
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.25rem 0.5rem;
        padding: 0.75rem 1rem;
    }
    
    .app-content {
        order: 1;
        padding: 1.5rem;
    }
    
    .dashboard-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .audit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .audit-progress {
        align-self: stretch;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .progress-bar {
        width: 60%;
    }
    
    .audit-actions {
        align-self: stretch;
        justify-content: center;
    }
    
    /* Additional mobile improvements */
    .logo-text {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-description {
        font-size: 0.875rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .btn-view-all {
        align-self: stretch;
        text-align: center;
    }
    
    /* Mobile navigation improvements */
    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-item {
        font-size: 0.875rem;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    /* Quick action button mobile */
    .quick-action-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-logout {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}