@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --color-primary: #0A0F1C;
    --color-primary-light: #1A2236;
    --color-accent: #6366F1;
    --color-accent-light: #818CF8;
    --color-accent-glow: rgba(99, 102, 241, 0.3);
    --color-text-primary: #0A0F1C;
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-bg-light: #F9FAFB;
    --color-bg-white: #FFFFFF;
    --color-border: rgba(10, 15, 28, 0.08);
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 15, 28, 0.07), 0 2px 4px -1px rgba(10, 15, 28, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(10, 15, 28, 0.08), 0 4px 6px -2px rgba(10, 15, 28, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(10, 15, 28, 0.1), 0 10px 10px -5px rgba(10, 15, 28, 0.04);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.2);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --wave-bg-from: #F5F8FF;
    --wave-bg-to: #EEF5FF;
    --wave-accent-1: rgba(99, 102, 241, 0.25);
    --wave-accent-2: rgba(56, 189, 248, 0.25);
    --wave-accent-3: rgba(37, 99, 235, 0.18);
    --wave-accent-highlight: rgba(167, 139, 250, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-heading {
    font-family: var(--font-heading);
}

.glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
}

.glass-dark {
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    padding: 24px;
    display: block;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
}

.gradient-bg-subtle {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

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

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll-reverse {
    animation: scroll-reverse 40s linear infinite;
}

.animate-scroll:hover,
.animate-scroll-reverse:hover {
    animation-play-state: paused;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Reusable Animated Background Wrapper */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg-layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.animated-bg-gradient {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 0% 0%, rgba(165, 180, 252, 0.6) 0%, transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(125, 211, 252, 0.5) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.5) 0%, transparent 60%),
        linear-gradient(180deg, #f0f9ff 0%, #e0e7ff 50%, #c7d2fe 100%);
    background-size: 220% 220%;
    animation: animated-bg-gradient-move 24s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
}

.animated-bg-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: animated-bg-blob-float 28s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
}

.animated-bg-blob--1 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.7), transparent 60%);
    top: -10%;
    left: -6%;
}

.animated-bg-blob--2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.65), transparent 60%);
    top: 20%;
    right: -10%;
    animation-delay: -8s;
}

.animated-bg-blob--3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.6), transparent 60%);
    bottom: -12%;
    left: 20%;
    animation-delay: -16s;
}

.animated-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.7),
        rgba(248, 250, 252, 0.78)
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wave-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--wave-bg-from), var(--wave-bg-to));
}

.wave-bg-inner {
    position: relative;
    z-index: 10;
}

.wave-bg-waves {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 40vh;
    min-height: 220px;
    max-height: 360px;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.wave-bg-wave {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.wave-bg-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-bg-wave--back {
    opacity: 0.5;
    animation: wave-bg-drift-slow 32s linear infinite;
}

.wave-bg-wave--middle {
    opacity: 0.7;
    animation: wave-bg-drift 24s linear infinite;
}

.wave-bg-wave--front {
    opacity: 0.9;
    animation: wave-bg-drift-fast 18s linear infinite;
}

.wave-bg-wave--back path {
    fill: var(--wave-accent-3);
}

.wave-bg-wave--middle path {
    fill: var(--wave-accent-2);
}

.wave-bg-wave--front path {
    fill: var(--wave-accent-1);
}

.wave-bg-highlight {
    position: absolute;
    bottom: 18%;
    left: 10%;
    width: 40%;
    max-width: 420px;
    aspect-ratio: 2 / 1;
    background: radial-gradient(circle at 50% 40%, var(--wave-accent-highlight), transparent 70%);
    filter: blur(40px);
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

@keyframes wave-bg-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes wave-bg-drift-slow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-30%, 0, 0);
    }
}

@keyframes wave-bg-drift-fast {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-60%, 0, 0);
    }
}

@keyframes animated-bg-gradient-move {
    0% {
        transform: translate3d(0, 0, 0);
        background-position: 0% 50%;
    }
    50% {
        transform: translate3d(-6%, -4%, 0);
        background-position: 100% 50%;
    }
    100% {
        transform: translate3d(0, 0, 0);
        background-position: 0% 50%;
    }
}

@keyframes animated-bg-blob-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(40px, -30px, 0) scale(1.12);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.grid-pattern {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.dots-pattern {
    background-image: radial-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--color-accent-glow);
    color: var(--color-accent);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 60px 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.hero-gradient {
    background: 
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0A0F1C 0%, #1A2236 100%);
}

.text-accent {
    color: var(--color-accent);
}

.bg-accent {
    background-color: var(--color-accent);
}

.border-accent {
    border-color: var(--color-accent);
}

/* Modern Tech Visual Effects */
.gradient-mesh {
    background: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%);
    background-size: 200% 200%;
    animation: gradient-mesh-shift 15s ease infinite;
}

@keyframes gradient-mesh-shift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.circuit-pattern {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
}

.circuit-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(99, 102, 241, 0.2) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Enhanced Glassmorphism */
.glass-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-modern-dark {
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Animated Counter */
.counter-number {
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

/* Data Flow Animation */
.data-flow {
    position: relative;
    overflow: hidden;
}

.data-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.3),
        transparent
    );
    animation: data-flow-animation 3s infinite;
}

@keyframes data-flow-animation {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Modern Card Hover Effects */
.card-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.card-modern:hover::before {
    left: 100%;
}

.card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
}

/* Tech Grid Pattern */
.tech-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

.tech-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Pulse Ring Animation */
.pulse-ring {
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: inherit;
    animation: pulse-ring-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer-animation 2s infinite;
}

@keyframes shimmer-animation {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Modern Typography Enhancements */
.text-gradient-modern {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Stats Counter Container */
.stats-container {
    position: relative;
}

.stats-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.stats-container:hover::before {
    opacity: 1;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

p {
    letter-spacing: -0.01em;
}

/* Animated Icons */
.icon-animate {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-animate:hover {
    transform: scale(1.1) rotate(5deg);
}

.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Modern Section Spacing */
.section-spacing {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .section-spacing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Enhanced Button Styles */
.btn-primary-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary-modern::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.5s;
}

.btn-primary-modern:hover::before {
    left: 100%;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.4);
}

/* Data Visualization Elements */
.metric-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

/* Modern Badge Enhancement */
.badge-modern {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Data Visualization - Progress Bars */
.progress-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-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: progress-shimmer 2s infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .animated-bg-gradient,
    .animated-bg-blob,
    .wave-bg-wave,
    .gradient-mesh,
    .animate-scroll,
    .animate-scroll-reverse,
    .animate-float,
    .animate-pulse-glow {
        animation: none !important;
    }
}

/* Metric Card with Visualization - Enhanced Professional Design */
.metric-visual {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.metric-visual:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.2);
}

/* Enhanced Progress Bar */
.progress-bar-fill {
    position: relative;
    overflow: hidden;
}

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

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10B981;
    margin-top: 0.5rem;
}

/* Chart-like Visualization */
.chart-container {
    position: relative;
    height: 200px;
    padding: 1rem;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 30px;
    background: linear-gradient(180deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 4px 4px 0 0;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: chart-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes chart-grow {
    from {
        height: 0;
    }
}

.chart-bar:nth-child(1) { left: 10%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { left: 25%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { left: 40%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { left: 55%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { left: 70%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { left: 85%; animation-delay: 0.6s; }

/* Enhanced Typography */
.text-display {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-headline {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-subheadline {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.text-body-large {
    font-size: 1.125rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -0.005em;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Typography Spacing Improvements */
.typography-spacing h1 {
    margin-bottom: 1.5rem;
}

.typography-spacing h2 {
    margin-bottom: 1.25rem;
}

.typography-spacing h3 {
    margin-bottom: 1rem;
}

.typography-spacing p {
    margin-bottom: 1.25rem;
}

.typography-spacing p:last-child {
    margin-bottom: 0;
}

/* Animated Icon Enhancements */
.icon-bounce {
    animation: icon-bounce 2s ease-in-out infinite;
}

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

.icon-rotate {
    animation: icon-rotate 3s linear infinite;
}

@keyframes icon-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.icon-scale-pulse {
    animation: icon-scale-pulse 2s ease-in-out infinite;
}

@keyframes icon-scale-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.icon-glow {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
    transition: filter 0.3s ease;
}

.icon-glow:hover {
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8));
}

/* Data Flow Visualization */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.4),
        transparent
    );
    animation: data-stream-flow 3s infinite;
}

@keyframes data-stream-flow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Percentage Circle */
.percentage-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.percentage-circle svg {
    transform: rotate(-90deg);
}

.percentage-circle .circle-bg {
    fill: none;
    stroke: rgba(99, 102, 241, 0.1);
    stroke-width: 8;
}

.percentage-circle .circle-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: circle-progress 2s ease-out forwards;
}

@keyframes circle-progress {
    to {
        stroke-dashoffset: var(--progress-offset);
    }
}
