/* FinauthShield - Complete Enhanced Stylesheet with All Features */

/* Import foundation styles */
@import url('base.css');
@import url('components.css');
@import url('layout.css');
@import url('images.css');
@import url('parallax.css');

/* ===== CSS VARIABLES & FOUNDATIONS ===== */
:root {
    /* Brand Colors */
    --primary-navy: #1B365D;
    --primary-teal: #4A9B8E;
    --accent-orange: #FF6B35;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Enhanced color variations */
    --primary-navy-light: #2a4a73;
    --primary-navy-dark: #152946;
    --primary-teal-light: #5ab5a6;
    --primary-teal-dark: #3d8577;
    --accent-orange-light: #ff7b4a;
    --accent-orange-dark: #e55a2b;
    
    /* Neutral palette */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: clamp(0.7rem, 0.9vw, 0.75rem);
    --font-size-sm: clamp(0.8rem, 1.0vw, 0.875rem);
    --font-size-base: clamp(0.9rem, 1.1vw, 1rem);
    --font-size-lg: clamp(1rem, 1.3vw, 1.125rem);
    --font-size-xl: clamp(1.1rem, 1.5vw, 1.25rem);
    --font-size-2xl: clamp(1.3rem, 1.8vw, 1.5rem);
    --font-size-3xl: clamp(1.6rem, 2.2vw, 1.875rem);
    --font-size-4xl: clamp(1.9rem, 2.8vw, 2.25rem);
    --font-size-5xl: clamp(2.3rem, 3.5vw, 3rem);
    --font-size-6xl: clamp(2.8rem, 4.2vw, 3.75rem);
    --font-size-hero: clamp(3rem, 8vw, 6rem);
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    --spacing-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 30px rgb(74 155 142 / 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index Scale */
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-modal: 1000;
    --z-max: 9999;
    
    /* Line Heights */
    --line-height-none: 1;
    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Letter Spacing */
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
    
    /* Theme-specific variables */
    --bg-primary: var(--white);
    --bg-secondary: var(--light-gray);
    --text-primary: var(--dark-gray);
    --text-secondary: var(--neutral-600);
    --text-muted: var(--neutral-400);
    --text-on-dark: var(--white);
    --text-on-light: var(--dark-gray);
    --border-color: var(--neutral-200);
    --border-color-light: var(--neutral-100);
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== ENHANCED PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
    transition: all 0.6s var(--ease-out);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.shield-logo {
    font-size: 4rem;
    margin-bottom: var(--spacing-4);
    animation: float 3s ease-in-out infinite;
}

.loading-text {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-6);
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--white));
    border-radius: var(--radius-full);
    animation: loading-progress 2s ease-in-out infinite;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-navy);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-md);
    z-index: var(--z-max);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* ===== CRITICAL NAVIGATION FIXES FOR ALL PAGES ===== */

/* FIXED: Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 54, 93, 0.08);
    z-index: var(--z-40);
    transition: all var(--transition-base);
    will-change: transform, background-color;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom-color: rgba(27, 54, 93, 0.12);
}

.header.hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

/* Enhanced Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--transition-base);
    z-index: var(--z-50);
}

.nav-brand:hover {
    transform: scale(1.05);
    color: var(--primary-navy);
}

.nav-logo-icon {
    font-size: var(--font-size-3xl);
    color: var(--primary-teal);
    transition: all var(--transition-base);
}

.nav-brand:hover .nav-logo-icon {
    transform: rotate(10deg);
    color: var(--accent-orange);
}

/* FIXED: Navigation Menu - Mobile by default */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(27, 54, 93, 0.98) 0%, 
        rgba(74, 155, 142, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: var(--z-50);
    overscroll-behavior: contain;
}

.nav-menu.show-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out);
}

.nav-menu.show-menu .nav-item {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu.show-menu .nav-item:nth-child(1) { transition-delay: 0.1s; }
.nav-menu.show-menu .nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav-menu.show-menu .nav-item:nth-child(3) { transition-delay: 0.3s; }
.nav-menu.show-menu .nav-item:nth-child(4) { transition-delay: 0.4s; }
.nav-menu.show-menu .nav-item:nth-child(5) { transition-delay: 0.5s; }

.nav-link {
    display: flex;
    align-items: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-medium);
    color: var(--white);
    text-decoration: none;
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
    transform: translateX(10px);
}

/* Close Button */
.nav-close {
    position: absolute;
    top: var(--spacing-6);
    right: var(--spacing-6);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    flex-shrink: 0;
}

.nav-cta {
    display: none;
}

/* FIXED: Toggle Button with Hamburger Animation */
.nav-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--primary-navy);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    gap: 4px;
    z-index: var(--z-50);
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--primary-navy);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle:hover {
    background: var(--primary-navy);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.nav-toggle:hover .nav-toggle-bar {
    background: var(--white);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* FIXED: Desktop Navigation - This was the main issue */
@media (min-width: 1024px) {
    .nav-menu {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        z-index: auto !important;
    }
    
    .nav-list {
        flex-direction: row !important;
        gap: var(--spacing-2) !important;
    }
    
    .nav-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .nav-link {
        font-size: var(--font-size-base) !important;
        font-weight: var(--font-weight-medium) !important;
        color: var(--dark-gray) !important;
        padding: var(--spacing-3) var(--spacing-4) !important;
        border-radius: var(--radius-lg) !important;
        position: relative !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-link::before {
        display: none !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-teal) !important;
        background: rgba(74, 155, 142, 0.1) !important;
        transform: none !important;
    }
    
    .nav-close {
        display: none !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-cta,
    .nav-actions .btn {
        display: flex !important;
    }
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.btn::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: all 0.5s;
}

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

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-navy) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-teal-light) 0%, var(--primary-navy-light) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

/* ===== HOME PAGE SPECIFIC ENHANCEMENTS ===== */

/* Enhanced Hero Section for Home Page */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
}

/* Home Page Hero Background Effects */
.hero-bg.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(74,155,142,0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,107,53,0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(74,155,142,0.3), transparent);
    background-size: 300px 200px;
    animation: float-particles 20s linear infinite;
    opacity: 0.8;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(27, 54, 93, 0.7) 0%, 
        rgba(74, 155, 142, 0.5) 50%,
        rgba(255, 107, 53, 0.3) 100%);
    mix-blend-mode: overlay;
}

/* Enhanced Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: var(--spacing-2) var(--spacing-4);
    margin-bottom: var(--spacing-6);
    position: relative;
    overflow: hidden;
}

.badge {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--accent-orange);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-4);
    justify-content: center;
    margin-bottom: var(--spacing-12);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-6);
    max-width: 500px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--accent-orange);
    margin-bottom: var(--spacing-1);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin: var(--spacing-2) auto;
    animation: bounce 2s infinite;
}

/* ===== ENHANCED SECTIONS ===== */
.section {
    padding: var(--spacing-24) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-xl);
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ===== ENHANCED FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 54, 93, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    color: var(--white);
    margin-bottom: var(--spacing-6);
    box-shadow: var(--shadow-lg);
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-3);
}

.feature-description {
    color: var(--neutral-600);
    line-height: 1.6;
}

.feature-hover-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74,155,142,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
    transform: scale(0.5);
}

/* ===== ENHANCED TECH SHOWCASE ===== */
.tech-showcase {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--neutral-900) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25px 5px, rgba(74,155,142,0.3), transparent),
        radial-gradient(1px 1px at 50px 25px, rgba(255,107,53,0.2), transparent),
        radial-gradient(1px 1px at 125px 20px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 200px 75px, rgba(74,155,142,0.2), transparent);
    background-size: 250px 100px;
    animation: tech-particles 15s linear infinite;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin: var(--spacing-8) 0;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.tech-feature i {
    font-size: var(--font-size-xl);
    color: var(--accent-orange);
}

.tech-visual {
    position: relative;
    height: 400px;
}

.tech-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.ai-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: var(--accent-orange);
    animation: pulse-brain 3s ease-in-out infinite;
}

.connection-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-teal);
    border-radius: 50%;
    animation: node-pulse 2s ease-in-out infinite;
}

.node:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.node:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.node:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.node:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

/* ===== ENHANCED CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-teal) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 30px 20px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 80px 60px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 150px 30px, rgba(255,255,255,0.15), transparent);
    background-size: 200px 120px;
    animation: cta-particles 12s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-4);
    justify-content: center;
}

/* Enhanced Magnetic Effects */
.magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.magnetic:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Enhanced Glow Effects */
.glow-effect {
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

/* ===== ALL EXISTING COMPONENT STYLES PRESERVED ===== */

/* Enhanced Form Fields */
.form-group {
    position: relative;
    margin-bottom: var(--spacing-6);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
    width: 100%;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-4) var(--spacing-4) var(--spacing-3);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
    transform: translateY(-1px);
    background: var(--neutral-50);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Enhanced Floating Labels */
.form-group label {
    position: absolute;
    top: var(--spacing-4);
    left: var(--spacing-4);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
    background: var(--white);
    padding: 0 var(--spacing-2);
    max-width: calc(100% - 2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left center;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group.focused label {
    top: -var(--spacing-2);
    left: var(--spacing-3);
    font-size: var(--font-size-xs);
    color: var(--primary-teal);
    font-weight: var(--font-weight-medium);
    transform: scale(0.9);
}

/* Enhanced Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease-out);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

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

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-2);
    word-wrap: break-word;
    hyphens: auto;
}

/* Enhanced Service Cards */
.service-category {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-teal);
}

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

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out);
}

.service-category:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-teal));
}

/* Enhanced Feature Items */
.feature-item {
    text-align: center;
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    transition: all 0.4s var(--ease-out);
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-base);
    width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 155, 142, 0.02), rgba(255, 107, 53, 0.02));
    border-radius: var(--radius-2xl);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    z-index: 0;
}

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

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-teal);
}

/* ===== ENHANCED FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--neutral-900) 100%);
    color: var(--white);
    padding: var(--spacing-16) 0 var(--spacing-8);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-12);
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
    text-align: center;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    color: var(--white);
}

.footer-logo:hover {
    transform: scale(1.05);
    color: var(--accent-orange);
}

.footer-logo i {
    font-size: var(--font-size-3xl);
    color: var(--primary-teal);
    transition: all 0.3s var(--ease-out);
}

.footer-logo:hover i {
    color: var(--accent-orange);
    transform: rotate(10deg);
}

.footer-description {
    opacity: 0.9;
    line-height: var(--line-height-relaxed);
    word-wrap: break-word;
    font-size: var(--font-size-lg);
    color: var(--white);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    transition: all 0.4s ease;
    z-index: -1;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.1);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 25px rgba(74, 155, 142, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-6);
    color: var(--accent-orange);
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    text-align: center;
    width: 100%;
    list-style: none;
}

.footer-column a {
    opacity: 0.8;
    transition: all 0.3s var(--ease-out);
    word-wrap: break-word;
    display: inline-block;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-md);
    color: var(--white);
    text-decoration: none;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-teal);
    background: rgba(74, 155, 142, 0.1);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--spacing-8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
    font-size: var(--font-size-sm);
    word-wrap: break-word;
    width: 100%;
    position: relative;
    z-index: 1;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-6);
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary-teal);
}

/* Enhanced Footer Responsive Design */
@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-20) 0 var(--spacing-12);
    }
    
    .footer-content {
        gap: var(--spacing-16);
        margin-bottom: var(--spacing-16);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-12);
    }
    
    .footer-column h4 {
        text-align: left;
    }
    
    .footer-column ul {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: var(--spacing-20);
        margin-bottom: var(--spacing-20);
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-12);
    }
    
    .footer-bottom {
        padding-top: var(--spacing-12);
    }
    
    .tech-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-16);
        align-items: center;
    }
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes float-particles {
    from { background-position: 0% 0%; }
    to { background-position: 100% 100%; }
}

@keyframes tech-particles {
    from { background-position: 0% 0%; }
    to { background-position: 200% 200%; }
}

@keyframes cta-particles {
    from { background-position: 0% 0%; }
    to { background-position: -200% -200%; }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

@keyframes glow-pulse {
    from { box-shadow: var(--shadow-xl); }
    to { box-shadow: 0 0 30px rgba(74, 155, 142, 0.3); }
}

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

@keyframes loading-progress {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 100%; transform: translateX(0%); }
    100% { width: 100%; transform: translateX(100%); }
}

/* ===== ALL EXISTING ANIMATIONS PRESERVED ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* ===== ENHANCED SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: var(--radius-full);
    border: 2px solid var(--neutral-100);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-teal));
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-teal) var(--neutral-100);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .feature-card {
        padding: var(--spacing-6);
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
    
    .tech-visual {
        height: 300px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .service-category {
        padding: var(--spacing-6);
    }
    
    .feature-item {
        padding: var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        font-size: var(--font-size-xs);
        padding: var(--spacing-2) var(--spacing-4);
    }
    
    .btn-large {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-sm);
    }
}

/* ===== ENHANCED ACCESSIBILITY & PERFORMANCE ===== */
@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;
    }
    
    .magnetic:hover,
    .feature-card:hover,
    .service-category:hover {
        transform: none !important;
    }
}

/* Enhanced focus states */
.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .btn,
    .feature-card,
    .service-category {
        border: 2px solid !important;
    }
}

/* Enhanced keyboard navigation */
.keyboard-navigation *:focus {
    outline: 2px solid var(--accent-orange) !important;
    outline-offset: 2px !important;
}

/* Enhanced selection styling */
::selection {
    background: rgba(74, 155, 142, 0.3);
    color: var(--primary-navy);
}

::-moz-selection {
    background: rgba(74, 155, 142, 0.3);
    color: var(--primary-navy);
}