/* ====================================================
   DASHBOARD ENHANCED STYLES - Interactive & Vibrant
   ==================================================== */

/* Enhanced Hero Section */
.dashboard-hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 50%, #f093fb15 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dashboard-title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Enhanced Container */
.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.tool-category {
    margin-bottom: 70px;
    animation: fadeInUp 0.8s ease;
}

/* Interactive Category Headers */
.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-header:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-header:hover .category-title {
    color: var(--accent-primary);
    transform: translateX(8px);
}

.category-icon {
    font-size: 36px;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Enhanced Tool Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* Interactive Tool Cards with 3D Effect */
.tool-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    border-color: transparent;
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px -10px rgba(102, 126, 234, 0.4),
        0 0 0 2px var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card:hover .tool-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.4));
}

.tool-card:hover .tool-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Enhanced Tool Elements */
.tool-icon {
    font-size: 72px;
    margin-bottom: 24px;
    display: block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
}

.tool-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-name {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.tool-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-desc {
    color: var(--text-primary);
}

.tool-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 11px;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Header Link Animations */
.logo-section a {
    transition: all 0.3s ease;
}

.logo-section a:hover .logo-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.4));
}

.logo-section a:hover .logo-text {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 40px;
    }

    .dashboard-subtitle {
        font-size: 18px;
    }

    .category-title {
        font-size: 26px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 32px 24px;
    }
}