/* ==========================================================================
   AutoSolutions.ai Unified Design System
   Comprehensive styling solution for consistent brand experience
   ========================================================================== */

/* Brand Foundation */
:root {
    /* Core Brand Colors - Single Source of Truth */
    --brand-primary: #fa50cb;
    --brand-light: #fc78d6;
    --brand-dark: #e63eb7;
    --brand-accent: #ff6dd9;
    
    /* Semantic Color System */
    --color-background: #000000;
    --color-surface: #111827;
    --color-surface-light: rgba(17, 24, 39, 0.8);
    --color-border: rgba(250, 80, 203, 0.2);
    --color-border-light: rgba(250, 80, 203, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-accent: var(--brand-primary);
    
    /* Typography System */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-brand: 0 10px 40px rgba(250, 80, 203, 0.3);
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    --gradient-surface: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(17, 24, 39, 0.95) 100%);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   UNIFIED NAVIGATION SYSTEM
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 10000;
}

.navbar-logo img {
    height: 4rem;
    width: auto;
}

.navbar-brand-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.navbar-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-menu a:hover {
    color: var(--brand-primary);
}

.navbar-menu a.active {
    color: var(--brand-primary);
}

.navbar-cta {
    background: var(--gradient-brand);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* Mobile Menu Toggle */
.navbar-mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.navbar-mobile-menu.show {
    display: flex;
}

.navbar-mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem;
    text-align: center;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--color-border);
}

.navbar-mobile-menu a:hover {
    color: var(--brand-primary);
}

/* Desktop Menu */
@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
    
    .navbar-mobile-toggle {
        display: none;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.heading-display {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.heading-xl {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.heading-md {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.heading-sm {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.card-header {
    margin-bottom: 1rem;
}

.card-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--gradient-brand);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: white;
    box-shadow: 0 6px 18px rgba(250, 80, 203, 0.35);
}

.card-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    color: var(--text-muted);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.card-list li::before {
    content: '\2022';
    color: var(--brand-primary);
    position: absolute;
    left: 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(250, 80, 203, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-lg {
    padding: calc(var(--space-2xl) * 1.5) 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-50 {
    opacity: 0.5;
}

/* Margins */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Gaps */
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: var(--space-xl) 0;
    }
    
    .hero-section {
        padding-top: 6rem;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .heading-display {
        font-size: 3rem;
    }
}

/* ==========================================================================
   SPECIAL COMPONENTS
   ========================================================================== */

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-brand);
    border-radius: 2px;
}

/* Smaller progress bars in hero stats */
.hero-stats .progress-bar {
    height: 2px;
    width: clamp(120px, 40%, 220px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.25rem; /* tighter spacing */
}
.hero-stats .progress-bar-fill { height: 2px; }

/* Circular stats (centered) */
.stats-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: var(--space-md);
}

.stat-circle {
    width: 132px;
    height: 132px;
    position: relative;
}

.stat-circle .stat-ring {
    width: 132px;
    height: 132px;
    transform: rotate(-90deg);
}

.stat-circle .stat-ring .track {
    stroke: rgba(255,255,255,0.12);
}

.stat-circle .stat-ring .progress {
    stroke: var(--brand-primary);
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(250,80,203,0.45));
    transition: stroke-dashoffset 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-circle .stat-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

.stat-circle .stat-label {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .stat-circle { width: 110px; height: 110px; }
    .stat-circle .stat-ring { width: 110px; height: 110px; }
}

/* Neural Network Background */
.neural-network {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.neural-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 50%;
}

/* ==========================================================================
   MODERN VISUAL EFFECTS & ANIMATIONS
   ========================================================================== */

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(250, 80, 203, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(252, 120, 214, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(230, 62, 183, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Page loader (top progress) */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 250ms ease;
}
.page-loader .bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
    box-shadow: 0 0 10px rgba(250,80,203,0.6);
    transition: width 400ms ease;
}

/* Hero Section Enhanced */
.hero-section {
    background: radial-gradient(ellipse at bottom, rgba(250, 80, 203, 0.15) 0%, transparent 70%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

/* Aurora background and grid overlay */
.bg-aurora {
    position: absolute;
    inset: -20%;
    background: radial-gradient(40% 60% at 10% 20%, rgba(250, 80, 203, 0.12) 0%, transparent 60%),
                radial-gradient(40% 60% at 90% 30%, rgba(252, 120, 214, 0.10) 0%, transparent 60%),
                radial-gradient(60% 40% at 50% 80%, rgba(230, 62, 183, 0.08) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Tilt effect helper (powered by JS) */
.tilt {
    transform-style: preserve-3d;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease;
    will-change: transform;
}

/* Magnetic button helper */
.magnetic-btn {
    position: relative;
    transform: translateZ(0);
}

/* Animated Gradient Text */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #fa50cb, #fc78d6, #e63eb7, #fa50cb);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 12s ease-in-out infinite;
}

/* Enhanced Cards with Glass Effect */
.card {
    background: radial-gradient(120% 120% at 10% 5%, rgba(250, 80, 203, 0.06) 0%, rgba(17,24,39,0.55) 40%, rgba(17,24,39,0.45) 100%),
                linear-gradient(135deg, rgba(17, 24, 39, 0.65) 0%, rgba(17, 24, 39, 0.45) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 80, 203, 0.18);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    padding: 1.75rem;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250, 80, 203, 0.5), transparent);
}

.card:hover {
    box-shadow: 0 16px 44px rgba(250, 80, 203, 0.22), 0 10px 30px rgba(0,0,0,0.45);
    border-color: rgba(250, 80, 203, 0.42);
}

/* Enhanced Buttons with Glow */
.btn {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    box-shadow: 0 4px 15px rgba(250, 80, 203, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 80, 203, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand-primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(250, 80, 203, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

/* Navigation Bar Enhancements */
.navbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

/* Floating Animation for Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

.animate-pulse {
    animation: pulse 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Section Dividers */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250, 80, 203, 0.3), transparent);
}

/* Progress Bars with Animation */
.progress-bar {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
    box-shadow: 0 0 10px rgba(250, 80, 203, 0.5);
    position: relative;
    overflow: hidden;
}

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

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

/* Stats Numbers */
.stat-number {
    font-weight: 900;
    background: linear-gradient(135deg, #fa50cb, #fc78d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(250, 80, 203, 0.3));
}

/* Form Inputs Enhanced */
.form-input {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 80, 203, 0.2);
}

.form-input:focus {
    background: rgba(17, 24, 39, 0.7);
    border-color: var(--brand-primary);
    box-shadow: 0 0 20px rgba(250, 80, 203, 0.2);
}

/* Neural Network Background Animation */
@keyframes nodeFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.neural-node {
    animation: nodeFloat 10s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(250, 80, 203, 0.5);
}

.neural-node:nth-child(2) {
    animation-delay: 2s;
    left: 70%;
    top: 20%;
}

.neural-node:nth-child(3) {
    animation-delay: 4s;
    left: 30%;
    bottom: 30%;
}

.neural-node:nth-child(4) {
    animation-delay: 6s;
    right: 20%;
    top: 50%;
}

.neural-node:nth-child(5) {
    animation-delay: 8s;
    left: 50%;
    bottom: 20%;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    will-change: opacity, transform;
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
}

.reveal.fade-in-left { transform: translate3d(-20px, 0, 0); }
.reveal.fade-in-right { transform: translate3d(20px, 0, 0); }
.reveal.scale-in { transform: scale(0.96); }

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Glow Effect for Important Elements */
.glow {
    box-shadow: 0 0 20px rgba(250, 80, 203, 0.5);
}

/* Heading Enhancements */
.heading-display {
    text-shadow: 0 2px 20px rgba(250, 80, 203, 0.3);
}

/* Icon Animations */
.icon-pulse {
    animation: pulse 2s infinite;
}

.icon-bounce {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    /* Ensure reveal elements remain visible when motion is reduced */
    .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-contrast: high) {
    .card,
    .form-input {
        border-width: 2px;
    }
}

/* Focus states for better accessibility */
.btn:focus,
.form-input:focus,
.navbar-menu a:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .navbar,
    .btn,
    .card-icon {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .text-gradient {
        -webkit-text-fill-color: var(--brand-primary) !important;
        color: var(--brand-primary) !important;
    }
}

/* Overrides & small fixes */
/* Ensure proper bullet character regardless of earlier rules */
.card-list li::before { content: '\2022'; }



.service-card {
    border-radius: 18px;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(250, 80, 203, 0.35), rgba(250, 80, 203, 0.08) 35%, rgba(255, 255, 255, 0.04) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-card .card-header { margin-bottom: 0.75rem; }
.service-card .card-icon { position: relative; }
.service-card .card-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(250,80,203,0.35), transparent 70%);
    z-index: -1;
    filter: blur(8px);
}

.service-card .card-title { letter-spacing: 0.2px; }

/* Compact team cards (virtual-employees) */
.card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-condensed {
    padding: 1.25rem !important; /* override p-8 */
}
