/* ===== MODERN DRILLDOWN HERO SECTION ===== */

/* Hero Container with Glassmorphism */
.drilldown-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: heroSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Content */
.drilldown-hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.drilldown-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
    }
}

.drilldown-hero-badge .material-symbols-outlined {
    font-size: 20px;
}

/* Hero Title */
.drilldown-hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Hero Subtitle */
.drilldown-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Feature Pills */
.drilldown-hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-pill:hover {
    background: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.feature-pill .material-symbols-outlined {
    font-size: 20px;
    color: var(--accent-color);
}

/* Floating Decorative Shapes */
.drilldown-hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatAnimation 8s ease-in-out infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    top: -30px;
    right: 50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    top: 100px;
    right: 150px;
    animation-delay: 1.5s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    bottom: -20px;
    right: 80px;
    animation-delay: 3s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

/* Enhanced Drilldown Cards with Modern Design */
.drilldown-card {
    position: relative;
    background: var(--primary-color);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.drilldown-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.drilldown-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.drilldown-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Card Icon with Gradient */
.drilldown-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-base);
}

.drilldown-card:hover .drilldown-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Enhanced Breadcrumb with Glassmorphism */
.drilldown-breadcrumb {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.938rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.breadcrumb-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
}

.breadcrumb-item.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Enhanced Action Buttons */
.drilldown-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tertiary-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
}

.drilldown-action-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.drilldown-action-btn.edit:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.drilldown-action-btn.delete:hover {
    background: var(--danger-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Responsive Hero */
@media only screen and (max-width: 992px) {
    .drilldown-hero {
        padding: 2rem 1.5rem;
    }

    .drilldown-hero-title {
        font-size: 2.25rem;
    }

    .drilldown-hero-subtitle {
        font-size: 1rem;
    }

    .drilldown-hero-decoration {
        width: 30%;
        opacity: 0.5;
    }

    .feature-pill {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
}

@media only screen and (max-width: 768px) {
    .drilldown-hero {
        padding: 1.5rem;
    }

    .drilldown-hero-title {
        font-size: 1.875rem;
    }

    .drilldown-hero-features {
        gap: 0.75rem;
    }

    .feature-pill {
        font-size: 0.813rem;
        padding: 0.5rem 0.875rem;
    }

    .drilldown-hero-decoration {
        display: none;
    }
}
