/* ===================================
   SECTION ENHANCEMENTS - CONSOLIDATED
   Combined enhancements for all page sections
   =================================== */

/* ===================================
   SECURITY SECTION - MINIMALIST DESIGN
   =================================== */

.security-section {
    padding: 100px 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

/* Security section header */
.security-section .section-header {
    margin-bottom: 48px !important;
    text-align: center;
}

.security-section .section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.security-section .section-subtitle {
    font-size: 1.125rem !important;
    color: var(--text-secondary) !important;
}

/* Security features grid - 2 columns minimalist */
.security-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
}

.security-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Left accent bar on hover */
.security-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-item:hover::before {
    height: 100%;
}

.security-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

/* Security item content */
.security-item-icon {
    width: 48px !important;
    height: 48px !important;
    background: rgba(99, 102, 241, 0.1) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    font-size: 1.25rem !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.security-item:hover .security-item-icon {
    background: var(--primary) !important;
    color: white !important;
    transform: rotate(5deg) scale(1.1);
}

.security-item h3 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--text-primary) !important;
}

.security-item p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 968px) {
    .security-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .security-section {
        padding: 80px 0 !important;
    }
    
    .security-section .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .security-section {
        padding: 60px 0 !important;
    }
    
    .security-section .section-title {
        font-size: 1.75rem !important;
    }
    
    .security-item {
        padding: 20px;
    }
    
    .security-item h3 {
        font-size: 1rem !important;
    }
}

/* ===================================
   INTEGRATIONS SECTION - ENHANCED & COMPACT
   Reduced spacing, better visual design
   =================================== */

.integrations-section {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.integrations-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Compact header */
.integrations-section .section-header {
    margin-bottom: 40px !important;
    text-align: center;
}

.integrations-section .section-title {
    font-size: 2.25rem !important;
    margin-bottom: 8px !important;
}

.integrations-section .section-subtitle {
    font-size: 1.0625rem !important;
    color: var(--text-secondary) !important;
}

/* Grid layout - 2 columns for all desktop/laptop screens */
.integrations-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
    position: relative;
    z-index: 1;
}

/* Category cards - enhanced design */
.integration-category {
    background: white;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Subtle top accent bar */
.integration-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.integration-category:hover::before {
    transform: scaleX(1);
}

.integration-category:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

/* Category title with icon */
.integration-category h3 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.integration-category h3::before {
    content: '';
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Category-specific icons using pseudo-element backgrounds */
.integration-category:nth-child(1) h3::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
}

.integration-category:nth-child(2) h3::before {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
}

.integration-category:nth-child(3) h3::before {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.15));
}

.integration-category:nth-child(4) h3::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
}

/* Logo items - more compact and refined */
.integration-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.logo-item {
    padding: 10px 18px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay on hover */
.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.logo-item:hover::before {
    opacity: 1;
}

.logo-item:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

/* Special styling for "+X more" items */
.logo-item:last-child:not(:only-child) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.logo-item:last-child:not(:only-child):hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Quick stats badge (optional enhancement) */
.integration-category::after {
    content: attr(data-count);
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.integration-category:hover::after {
    opacity: 0.8;
}

/* Animation delay */
.integration-category:nth-child(1) { animation-delay: 0s; }
.integration-category:nth-child(2) { animation-delay: 0.1s; }
.integration-category:nth-child(3) { animation-delay: 0.2s; }
.integration-category:nth-child(4) { animation-delay: 0.3s; }

/* Responsive adjustments */
@media (max-width: 968px) {
    .integrations-section {
        padding: 60px 0 !important;
    }

    .integrations-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .integration-category {
        padding: 24px;
    }

    .integrations-section .section-title {
        font-size: 1.875rem !important;
    }
}

@media (max-width: 576px) {
    .integrations-section {
        padding: 48px 0 !important;
    }

    .integrations-section .section-header {
        margin-bottom: 32px !important;
    }

    .integrations-section .section-title {
        font-size: 1.625rem !important;
    }

    .integration-category {
        padding: 20px;
    }

    .integration-category h3 {
        font-size: 1rem !important;
        margin-bottom: 16px !important;
    }

    .integration-category h3::before {
        width: 28px;
        height: 28px;
    }

    .logo-item {
        padding: 8px 14px !important;
        font-size: 0.8125rem !important;
    }

    .integration-logos {
        gap: 8px !important;
    }
}

/* Additional visual enhancement - connection lines removed for cleaner look */

/* ===================================
   HERO ANIMATED FLOATING BUBBLES
   Organic moving shapes in background
   =================================== */

.hero {
    position: relative;
    overflow: hidden;
}

/* Animated Floating Bubbles */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.06));
    top: -300px;
    right: -300px;
    animation: morphingFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50% 40% 45% 55% / 45% 60% 40% 55%;
    background: linear-gradient(225deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.04));
    bottom: -200px;
    left: -200px;
    animation: morphingFloat 30s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

/* Additional Floating Bubbles */
.hero-content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatPulse 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 40% 60% 55% 45% / 60% 40% 50% 55%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: morphingFloat 28s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Additional small floating dots */
.hero-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation: floatUpDown 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Morphing and Floating Animation */
@keyframes morphingFloat {
    0%, 100% { 
        border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
        transform: rotate(0deg) scale(1) translateY(0px);
    }
    25% {
        border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%;
        transform: rotate(90deg) scale(1.05) translateY(-30px);
    }
    50% { 
        border-radius: 55% 45% 50% 50% / 60% 40% 55% 45%;
        transform: rotate(180deg) scale(0.95) translateY(-50px);
    }
    75% {
        border-radius: 40% 60% 55% 45% / 50% 55% 45% 60%;
        transform: rotate(270deg) scale(1.02) translateY(-30px);
    }
}

@keyframes floatPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

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

/* Ensure content stays above bubbles */
.hero-content,
.hero-visual,
.hero-content > *,
.hero-visual > * {
    position: relative;
    z-index: 2;
}

/* Responsive - reduce bubble size on mobile */
@media (max-width: 968px) {
    .hero::before {
        width: 600px;
        height: 600px;
        top: -200px;
        right: -200px;
    }
    
    .hero::after {
        width: 450px;
        height: 450px;
        bottom: -150px;
        left: -150px;
    }
    
    .hero-visual::before {
        width: 350px;
        height: 350px;
    }
    
    .hero-content::before {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero::before {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -150px;
    }
    
    .hero::after {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: -100px;
    }
    
    .hero-visual::before {
        width: 250px;
        height: 250px;
    }
    
    .hero-content::before {
        width: 200px;
        height: 200px;
    }
    
    .hero-content::after {
        width: 150px;
        height: 150px;
    }
}

/* Performance optimization - reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .hero-content::before,
    .hero-content::after,
    .hero-visual::before {
        animation: none;
        opacity: 0.5;
    }
}

/* ===================================
   DASHBOARD - BRAND PURPLE STYLE
   Updated cards and performance layout
   =================================== */

#performance {
    background: var(--bg-secondary);
    padding: 24px;
}

/* Performance Header */
.performance-header {
    margin-bottom: 32px;
    text-align: center;
}

.performance-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.performance-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Performance Metrics Grid */
.stats-dashboard-inline {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
}

.stat-card-live {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out backwards;
}

.stat-card-live::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5b3fd1, #7359e0);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.stat-card-live:hover::before {
    transform: scaleY(1);
}

.stat-card-live:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(91, 63, 209, 0.15);
    border-color: #5b3fd1;
}

.stat-icon-live {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #5b3fd1 0%, #7359e0 100%) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    color: white !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(91, 63, 209, 0.25);
}

.stat-value-live {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em;
}

.stat-label-live {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

/* Animation delays */
.stat-card-live:nth-child(1) { animation-delay: 0s; }
.stat-card-live:nth-child(2) { animation-delay: 0.1s; }
.stat-card-live:nth-child(3) { animation-delay: 0.2s; }
.stat-card-live:nth-child(4) { animation-delay: 0.3s; }

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

/* Charts Grid - Improved Layout */
.charts-grid-inline {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
}

.chart-card-large {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 28px !important;
    transition: all 0.3s ease !important;
}

.chart-card-large:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #5b3fd1;
}

.chart-card-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 24px !important;
}

.chart-wrapper {
    height: 300px !important;
    position: relative;
}

/* World Map Card */
.world-map {
    background: linear-gradient(135deg, #5b3fd1 0%, #4830a3 100%) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(91, 63, 209, 0.3);
}

.world-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.world-map .chart-card-title {
    color: white !important;
    position: relative;
    z-index: 1;
}

.map-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* World Map Overlay - Simple continents outline */
.world-map .map-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 70%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- North America --%3E%3Cpath d='M150,80 L180,70 L210,75 L220,60 L240,65 L250,80 L240,100 L230,110 L220,115 L200,120 L180,115 L160,100 Z'/%3E%3C!-- South America --%3E%3Cpath d='M200,200 L220,190 L235,200 L240,220 L235,250 L225,280 L215,290 L205,285 L195,260 L190,230 Z'/%3E%3C!-- Europe --%3E%3Cpath d='M380,90 L395,85 L410,90 L420,100 L425,110 L420,120 L410,125 L395,120 L385,110 Z'/%3E%3C!-- Africa --%3E%3Cpath d='M380,150 L400,145 L420,150 L430,170 L435,200 L430,230 L420,250 L405,260 L390,255 L380,240 L375,210 L378,180 Z'/%3E%3C!-- Asia --%3E%3Cpath d='M480,80 L520,75 L560,80 L590,90 L610,100 L620,120 L615,140 L600,150 L580,155 L550,150 L520,140 L490,130 L470,110 Z'/%3E%3C!-- Australia --%3E%3Cpath d='M600,280 L630,275 L650,285 L655,305 L645,320 L625,325 L605,315 L595,300 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* Map continents as gradient shapes */
.world-map .map-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 60px 80px at 25% 35%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50px 100px at 28% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 80px 60px at 48% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 70px 90px at 50% 55%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 120px 70px at 70% 35%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60px 50px at 75% 65%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* Ensure dots stay visible on top */
.map-dot {
    z-index: 10 !important;
}

/* System Health Indicator */
.system-health {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

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

.health-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
}

.health-status i {
    font-size: 0.75rem;
}

.health-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.health-metric {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.health-metric-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.health-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.health-metric-value.good {
    color: #10b981;
}

.health-metric-value.warning {
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 968px) {
    .stats-dashboard-inline {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .charts-grid-inline {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .account-cards {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .stats-dashboard-inline {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .account-card {
        padding: 20px;
    }
    
    .account-balance {
        font-size: 1.75rem !important;
    }
    
    .stat-icon-live {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.25rem !important;
    }
    
    .stat-value-live {
        font-size: 1.75rem !important;
    }
    
    .chart-wrapper {
        height: 250px !important;
    }
}

/* ===================================
   BULK PAYMENTS - ENHANCED ANIMATION
   Dynamic flowing payment badges
   =================================== */

.payment-flow {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 10px 0;
}

.payment-method {
    background: white !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
    border-left: 5px solid var(--primary) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: paymentSlideIn 0.6s ease-out backwards;
}

/* Slide in animation on load */
@keyframes paymentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Continuous subtle pulse animation */
@keyframes paymentPulse {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        transform: scale(1.02);
    }
}

/* Shimmer effect */
.payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

/* Arrow indicator */
.payment-method::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Individual payment method colors and animations */
.payment-method.neft { 
    border-left-color: #3b82f6 !important; 
    color: #3b82f6 !important;
    animation-delay: 0s;
}

.payment-method.rtgs { 
    border-left-color: #8b5cf6 !important; 
    color: #8b5cf6 !important;
    animation-delay: 0.1s;
}

.payment-method.imps { 
    border-left-color: #ec4899 !important; 
    color: #ec4899 !important;
    animation-delay: 0.2s;
}

.payment-method.upi { 
    border-left-color: #10b981 !important; 
    color: #10b981 !important;
    animation-delay: 0.3s;
}

/* Hover effects on card */
.solution-visual-card:hover .payment-method {
    transform: translateX(12px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-left-width: 8px !important;
    animation: paymentPulse 2s ease-in-out infinite;
}

.solution-visual-card:hover .payment-method::before {
    left: 100%;
}

.solution-visual-card:hover .payment-method::after {
    opacity: 0.8;
    right: 12px;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(4px); }
}

/* Individual hover backgrounds with gradients */
.solution-visual-card:hover .payment-method.neft {
    background: linear-gradient(90deg, white 0%, rgba(59, 130, 246, 0.08) 100%) !important;
}

.solution-visual-card:hover .payment-method.rtgs {
    background: linear-gradient(90deg, white 0%, rgba(139, 92, 246, 0.08) 100%) !important;
}

.solution-visual-card:hover .payment-method.imps {
    background: linear-gradient(90deg, white 0%, rgba(236, 72, 153, 0.08) 100%) !important;
}

.solution-visual-card:hover .payment-method.upi {
    background: linear-gradient(90deg, white 0%, rgba(16, 185, 129, 0.08) 100%) !important;
}

/* Flow arrows - Enhanced */
.flow-arrow {
    position: absolute !important;
    right: -40px !important;
    width: 30px !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary), transparent) !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
}

.flow-arrow:nth-of-type(1) { top: 20%; }
.flow-arrow:nth-of-type(2) { top: 45%; }
.flow-arrow:nth-of-type(3) { top: 70%; }

.solution-visual-card:hover .flow-arrow {
    opacity: 0.6 !important;
    animation: flowArrowMove 1.5s ease-in-out infinite;
}

@keyframes flowArrowMove {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.3;
    }
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Badge icons for payment methods */
.payment-method .payment-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-method {
        padding: 12px 20px !important;
        font-size: 12px !important;
    }
    
    .solution-visual-card:hover .payment-method {
        transform: translateX(8px) !important;
    }
    
    .flow-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .payment-flow {
        gap: 10px !important;
    }
    
    .payment-method {
        padding: 10px 16px !important;
        font-size: 11px !important;
    }
}

/* ===================================
   SHARED ANIMATIONS
   =================================== */

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