/* ===== MICROSOFT ERP FINANCIAL DASHBOARD HERO SECTION - REDESIGNED ===== */

/* Main Hero Section - Dashboard Layout */
.erp-hero-section {
    position: relative;
    background: #0A2248;
    min-height: auto;
    overflow: hidden;
    color: white;
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
}

/* ===== ERP ANIMATED BACKGROUND ===== */
.erp-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Static Color Base - Deep Navy Blue */
.erp-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A2248;
}

/* Geometric Shapes Layer - Floating circles */
.erp-circuit-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.erp-circuit-layer::before,
.erp-circuit-layer::after {
    content: '';
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: erpShapeFloat 20s ease-in-out infinite;
}

.erp-circuit-layer::before {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.erp-circuit-layer::after {
    width: 300px;
    height: 300px;
    bottom: -10%;
    left: -5%;
    animation-delay: -10s;
}

@keyframes erpShapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -40px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, -20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-40px, 30px) rotate(270deg) scale(1.05); }
}

/* Glowing Orbs Layer */
.erp-energy-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.erp-energy-layer::before,
.erp-energy-layer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: erpOrbFloat 18s ease-in-out infinite;
}

.erp-energy-layer::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.erp-energy-layer::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: -9s;
}

@keyframes erpOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(50px, -60px) scale(1.2); opacity: 0.6; }
    66% { transform: translate(-40px, 40px) scale(0.9); opacity: 0.3; }
}

/* Beautiful Grid Layer */
.erp-flow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}

.erp-flow-layer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: erpLightRaySlide 10s ease-in-out infinite;
    transform: translateY(-50%);
}

.erp-flow-layer::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: erpLightRaySlide 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes erpLightRaySlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ===== MODERN ERP HERO REDESIGN ===== */

.erp-modern-hero {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Hero Header */
.erp-hero-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.erp-logo-wrapper {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.erp-dynamics-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 188, 242, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.erp-main-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.title-accent {
    display: block;
    background: linear-gradient(135deg, #00bcf2, #0078d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.erp-tagline {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Dashboard Grid */
.erp-dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* KPI Cards Row */
.erp-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.erp-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.erp-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.revenue-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.profit-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.costs-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.orders-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
}

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.stat-trend {
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.stat-trend.positive {
    color: #22c55e;
}

.stat-trend.negative {
    color: #ef4444;
}

/* Chart Section */
.erp-chart-section {
    width: 100%;
}

.chart-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.chart-badge {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 140px;
    gap: 0.4rem;
    padding: 0 0.4rem;
    margin-bottom: 0.625rem;
}

.chart-column {
    flex: 1;
    background: linear-gradient(180deg, #00bcf2, #0078d4);
    border-radius: 6px 6px 0 0;
    min-height: 25px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chart-column:hover {
    background: linear-gradient(180deg, #00d4ff, #0090ff);
    transform: scaleY(1.05);
}

.chart-column.active {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.chart-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-column:hover .chart-tooltip {
    opacity: 1;
}

.chart-months {
    display: flex;
    justify-content: space-between;
    padding: 0 0.4rem;
}

.chart-months span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Operations Row */
.erp-operations-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.operation-mini-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.operation-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.operation-mini-card i {
    font-size: 1.4rem;
    color: #00bcf2;
}

.operation-mini-card div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.op-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.op-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

/* Disclaimer */
.erp-disclaimer {
    text-align: center;
    padding: 0.625rem;
    background: rgba(0, 188, 242, 0.1);
    border: 1px solid rgba(0, 188, 242, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.erp-disclaimer i {
    color: #00bcf2;
    font-size: 0.875rem;
}

.erp-disclaimer span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* ===== FINANCE SECTION REDESIGN ===== */

.erp-finance-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

/* Animated Background Circles */
.finance-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatAnimation 20s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #5A2D91, #742774);
    bottom: 100px;
    left: -50px;
    animation-delay: -7s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #00bcf2, #0078d4);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes floatAnimation {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Section Header */
.finance-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.finance-logo-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.finance-section-logo {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 120, 212, 0.3));
    animation: financeLogoFloat 3.5s ease-in-out infinite;
}

@keyframes financeLogoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

.finance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.finance-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.finance-intro {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main Showcase */
.finance-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.showcase-content h3 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.showcase-description {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showcase-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-benefits li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.showcase-benefits li:hover .benefit-number {
    transform: scale(1.1) rotate(5deg);
}

.benefit-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-info p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Showcase Visual */
.showcase-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.visual-frame:hover .showcase-image {
    transform: scale(1.05);
}

.visual-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0, 120, 212, 0.3), transparent);
    filter: blur(40px);
    z-index: -1;
}

/* Capabilities Cards */
.finance-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.capability-modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.capability-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 120, 212, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.capability-modern-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 120, 212, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.capability-modern-card:hover .card-overlay {
    opacity: 1;
}

.card-body {
    padding: 1.75rem;
}

.card-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.card-body p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-tags span {
    background: #e0f2fe;
    color: #0078d4;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.capability-modern-card:hover .card-tags span {
    background: #0078d4;
    color: white;
}

/* Finance Section Responsive */
@media (max-width: 1199px) {
    .finance-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .finance-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .erp-finance-section {
        padding: 3rem 0;
    }
    
    .finance-header {
        margin-bottom: 3rem;
    }
    
    .finance-section-logo {
        width: 95px;
    }
    
    .finance-showcase {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 767px) {
    .erp-finance-section {
        padding: 2.5rem 0;
    }
    
    .finance-header {
        margin-bottom: 2rem;
    }
    
    .finance-section-logo {
        width: 80px;
    }
    
    .finance-title {
        font-size: 2rem;
    }
    
    .finance-intro {
        font-size: 1rem;
    }
    
    .showcase-benefits {
        gap: 1rem;
    }
    
    .benefit-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .benefit-info h4 {
        font-size: 1rem;
    }
    
    .benefit-info p {
        font-size: 0.9rem;
    }
    
    .finance-capabilities {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .erp-finance-section {
        padding: 2rem 0;
    }
    
    .finance-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
    }
    
    .finance-section-logo {
        width: 70px;
    }
    
    .finance-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .finance-intro {
        font-size: 0.95rem;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .showcase-description {
        font-size: 0.95rem;
    }
    
    .float-circle {
        opacity: 0.05;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-body h4 {
        font-size: 1.1rem;
    }
    
    .card-body p {
        font-size: 0.9rem;
    }
}

.dashboard-breadcrumb .breadcrumb {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    backdrop-filter: none !important;
    border: none !important;
}

.dashboard-breadcrumb .breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}

.dashboard-breadcrumb .breadcrumb-item.active {
    color: #00bcf2;
    font-weight: 500;
}

.dashboard-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.time-period {
    background: linear-gradient(135deg, #00bcf2, #0078d4);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.refresh-indicator {
    color: #9ca3af;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.refresh-indicator::before {
    content: '•';
    color: #22c55e;
    animation: pulse 2s infinite;
}

/* Main Dashboard Content */
.dashboard-main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    flex: 1;
    align-items: start;
    padding-bottom: 2rem;
    width: 100%;
}

/* Left Panel - Title & Financial KPIs */
.dashboard-left-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dashboard-title-section {
    margin-bottom: 15px;
}

.dashboard-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.highlight-text {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f1f5f9 20%, 
        #e2e8f0 40%, 
        #cbd5e1 60%, 
        #94a3b8 80%, 
        #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    display: inline-block;
    text-shadow: none;
}

.dashboard-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
}

/* Financial KPIs Cards */
.financial-kpis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.kpi-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 120, 212, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.25);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.kpi-title {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trend-up {
    color: #22c55e;
    font-size: 16px;
    animation: trendPulse 2s ease-in-out infinite;
}

.trend-down {
    color: #ef4444;
    font-size: 16px;
    animation: trendPulse 2s ease-in-out infinite;
}

.kpi-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.kpi-change {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.revenue .kpi-change {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.profit .kpi-change {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.expenses .kpi-change {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Example Disclaimer */
.dashboard-disclaimer {
    text-align: center;
    margin-top: 10px;
}

.dashboard-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-style: italic;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dashboard-disclaimer i {
    color: #00bcf2;
    font-size: 14px;
}

/* Right Panel - Interactive Financial Charts */
.dashboard-right-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Main Chart Container - Revenue Analytics */
.main-chart-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.main-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bcf2, #0078d4, #00bcf2);
    animation: chartGlow 3s ease-in-out infinite;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.chart-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.chart-period {
    background: rgba(0, 120, 212, 0.2);
    color: #00bcf2;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Interactive Revenue Chart */
.revenue-chart {
    position: relative;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 100px;
    margin-bottom: 12px;
    gap: 10px;
    position: relative;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #00bcf2, #0078d4);
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: barGrow 1.5s ease-out;
    animation-delay: calc(var(--bar-index) * 0.1s);
}

.chart-bar:nth-child(1) { --bar-index: 0; }
.chart-bar:nth-child(2) { --bar-index: 1; }
.chart-bar:nth-child(3) { --bar-index: 2; }
.chart-bar:nth-child(4) { --bar-index: 3; }
.chart-bar:nth-child(5) { --bar-index: 4; }
.chart-bar:nth-child(6) { --bar-index: 5; }
.chart-bar:nth-child(7) { --bar-index: 6; }

.chart-bar:hover {
    background: linear-gradient(to top, #00d4ff, #0088ff);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 188, 242, 0.4);
}

.chart-bar.active {
    background: linear-gradient(to top, #ffb900, #ff8c00);
    box-shadow: 0 4px 16px rgba(255, 185, 0, 0.4);
}

.chart-bar:hover::after {
    content: attr(data-value);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    animation: tooltipFadeIn 0.2s ease-out;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Dashboard Widgets - ERP Modules */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.widget {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--widget-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.widget:hover::before {
    transform: scaleX(1);
}

.widget:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.widget-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.procurement {
    --widget-color: #00bcf2;
}
.procurement .widget-icon {
    background: linear-gradient(135deg, #00bcf2, #0078d4);
    color: white;
}

.inventory {
    --widget-color: #22c55e;
}
.inventory .widget-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.manufacturing {
    --widget-color: #f59e0b;
}
.manufacturing .widget-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.widget-content {
    flex: 1;
}

.widget-title {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

/* Animations */
/* Old animations removed - using new modern animations above */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes trendPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes chartGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes barGrow {
    0% { height: 0; opacity: 0; }
    100% { opacity: 1; }
}

@keyframes tooltipFadeIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .erp-dashboard-container {
        height: auto;
        min-height: 80vh;
    }
    
    .dashboard-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-title {
        font-size: 2.5rem;
    }
    
    .chart-bars {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .erp-dashboard-container {
        padding: 1rem;
        height: auto;
        min-height: 70vh;
    }
    
    .erp-header-bar {
        flex-direction: column;
        gap: 0.875rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-controls {
        flex-direction: column;
        gap: 0.625rem;
        align-items: flex-start;
    }
    
    .dashboard-title {
        font-size: 1.875rem;
    }
    
    .dashboard-disclaimer {
        margin-top: 1rem;
    }
    
    .dashboard-disclaimer p {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .chart-bars {
        height: 110px;
        gap: 0.375rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }
    
    .main-chart-container {
        padding: 1.125rem;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 0.625rem;
        align-items: flex-start;
    }
    
    .kpi-card {
        padding: 1rem;
    }
    
    .kpi-value {
        font-size: 1.75rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .erp-hero-section {
    background: #0A1F44;
}

[data-theme="dark"] .primary-gradient {
    background: linear-gradient(135deg, 
        rgba(96, 165, 250, 0.03) 0%, 
        rgba(168, 85, 247, 0.02) 25%,
        rgba(59, 130, 246, 0.015) 50%,
        rgba(96, 165, 250, 0.02) 75%,
        rgba(168, 85, 247, 0.03) 100%);
}

[data-theme="dark"] .secondary-gradient {
    background: radial-gradient(ellipse at 20% 30%, 
        rgba(96, 165, 250, 0.04) 0%,
        transparent 60%),
        radial-gradient(ellipse at 80% 70%, 
        rgba(168, 85, 247, 0.03) 0%,
        transparent 60%);
}

/* ===== FIELD SERVICE CTA SECTION (UNIVERSAL) ===== */
.field-service-cta-section {
    position: relative;
    min-height: 300px;
    background-image: url('../../img/microsoft-partner-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.field-service-cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.cta-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #0078d4;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.cta-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: #0078d4;
    text-decoration: none;
}

.cta-contact-btn i {
    font-size: 1rem;
}

/* ===== RESPONSIVE BREAKPOINTS FOR MODERN DESIGN ===== */

/* Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .erp-modern-hero {
        max-width: 1280px;
    }
    
    .erp-hero-header {
        margin-bottom: 1.75rem;
    }
    
    .erp-dashboard-grid {
        gap: 1rem;
    }
    
    .erp-kpi-row {
        gap: 0.875rem;
    }
}

/* Tablet & Small Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .erp-modern-hero {
        padding: 0;
    }
    
    .erp-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mini-chart {
        height: 160px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .erp-hero-section {
        padding: 1.5rem 0 2.5rem;
    }
    
    .erp-hero-header {
        margin-bottom: 1.75rem;
    }
    
    .erp-dynamics-logo {
        width: 90px;
    }
    
    .erp-main-title {
        font-size: 2rem;
    }
    
    .erp-stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .mini-chart {
        height: 150px;
    }
    
    .erp-dashboard-grid {
        gap: 1rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .erp-hero-section {
        padding: 1.25rem 0 2rem;
    }
    
    .erp-modern-hero {
        padding: 0;
    }
    
    .erp-hero-header {
        margin-bottom: 1.25rem;
    }
    
    .erp-dynamics-logo {
        width: 75px;
    }
    
    .erp-main-title {
        font-size: 1.65rem;
    }
    
    .erp-dashboard-grid {
        gap: 0.875rem;
    }
    
    .erp-kpi-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .erp-stat-card {
        padding: 0.875rem;
    }
    
    .chart-card {
        padding: 1.125rem;
    }
    
    .chart-card-header h3 {
        font-size: 1.1rem;
    }
    
    .mini-chart {
        height: 140px;
    }
    
    .erp-operations-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    .erp-hero-section {
        padding: 1rem 0 1.75rem;
    }
    
    .erp-modern-hero {
        padding: 0;
    }
    
    .erp-hero-header {
        margin-bottom: 1rem;
    }
    
    .erp-dynamics-logo {
        width: 70px;
    }
    
    .erp-main-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .erp-tagline {
        font-size: 0.875rem;
    }
    
    .erp-dashboard-grid {
        gap: 0.75rem;
    }
    
    .erp-stat-card {
        padding: 0.75rem;
        gap: 0.625rem;
    }
    
    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-trend {
        font-size: 0.7rem;
    }
    
    .chart-card {
        padding: 0.875rem;
    }
    
    .chart-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }
    
    .chart-card-header h3 {
        font-size: 1rem;
    }
    
    .chart-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }
    
    .mini-chart {
        height: 120px;
        gap: 0.3rem;
    }
    
    .chart-months span {
        font-size: 0.65rem;
    }
    
    .operation-mini-card {
        padding: 0.75rem 0.875rem;
    }
    
    .operation-mini-card i {
        font-size: 1.375rem;
    }
    
    .op-label {
        font-size: 0.625rem;
    }
    
    .op-value {
        font-size: 0.95rem;
    }
    
    .erp-disclaimer {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
        gap: 0.375rem;
    }
    
    .erp-disclaimer span {
        font-size: 0.7rem;
    }
}

/* CTA Section Mobile Responsive */
@media (max-width: 768px) {
    .field-service-cta-section {
        min-height: 250px;
    }
    
    .cta-content {
        padding: 3rem 1rem;
    }
    
    .cta-main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-contact-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}