/* =====================================================
   MBCI STORE - 2025 MODERN REDESIGN
   Complete Design System & Component Library
   ===================================================== */

/* ===== CSS VARIABLES - DESIGN TOKENS ===== */
:root {
    /* Modern 2025 Primary Colors - Electric Blue & Coral Pink */
    --primary-gradient: linear-gradient(135deg, #FF6B9D 0%, #FF8FAD 100%);
    --primary-orange: #FF6B9D;
    --primary-orange-light: #FF8FAD;
    --primary-orange-dark: #E8558A;
    
    /* Modern 2025 Secondary Colors - Vibrant Indigo */
    --secondary-blue: #6366F1;
    --secondary-blue-light: #818CF8;
    --accent-purple: #A855F7;
    --accent-green: #10B981;
    --accent-teal: #14B8A6;
    
    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Typography Scale */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
    --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
    --text-6xl: clamp(3.75rem, 3rem + 3.75vw, 4.5rem);
    
    /* Spacing System - 8pt Grid */
    --space-0: 0;
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    
    /* Border Radius System */
    --radius-none: 0;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadow System - Layered Elevation */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(255, 107, 53, 0.5);
    
    /* Animation Timing */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;
    
    /* Easing Functions */
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-notification: 800;
    --z-max: 9999;
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --gray-50: #111827;
        --gray-100: #1f2937;
        --gray-200: #374151;
        --gray-300: #4b5563;
        --gray-400: #6b7280;
        --gray-500: #9ca3af;
        --gray-600: #d1d5db;
        --gray-700: #e5e7eb;
        --gray-800: #f3f4f6;
        --gray-900: #f9fafb;
    }
    
    body {
        background-color: var(--gray-900);
        color: var(--gray-100);
    }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--gray-50);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== SKIP TO CONTENT - ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: white;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    z-index: var(--z-max);
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    top: 0;
}

/* ===== ENHANCED PRELOADER ===== */
.js-preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--duration-slow) var(--ease-out);
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 150px;
    height: 50px;
}

.preloader-inner .dot {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 15px;
    left: 15px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: dot 2.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.preloader-inner .dots {
    margin-top: 15px;
    margin-left: 35px;
    animation: dots 2.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    margin-left: 20px;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

@keyframes dot {
    50% {
        transform: translateX(96px);
    }
}

@keyframes dots {
    50% {
        transform: translateX(-31px);
    }
}

/* ===== MODERN HEADER & NAVIGATION ===== */
.sub-header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.sub-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.sub-header .container {
    position: relative;
    z-index: 1;
}

.sub-header .info li {
    color: #e2e8f0;
    font-size: var(--text-sm);
    transition: color var(--duration-fast) var(--ease-out);
}

.sub-header .info li:hover {
    color: var(--primary-orange-light);
}

.sub-header .info li i {
    color: var(--primary-orange);
    margin-right: var(--space-2);
    font-size: 1.1em;
}

.sub-header .social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-spring);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-header .social-links li a:hover {
    color: white;
    background: var(--primary-gradient);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-orange);
}

/* ===== MAIN HEADER ===== */
.header-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-xs);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    z-index: var(--z-sticky);
}

.header-area.background-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    animation: slideDown var(--duration-normal) var(--ease-out);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== LOGO ===== */
.logo h1 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: var(--text-2xl);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--duration-normal) var(--ease-spring);
    cursor: pointer;
}

.logo h1:hover {
    transform: scale(1.05);
}

.logo .fa-mobile-alt {
    font-size: 1.4em;
    color: var(--primary-orange);
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4));
    transition: transform var(--duration-normal) var(--ease-spring);
}

.logo:hover .fa-mobile-alt {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.6));
}

/* ===== NAVIGATION ===== */
.main-nav .nav li a {
    position: relative;
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-out);
    overflow: hidden;
}

.main-nav .nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left var(--duration-slow) var(--ease-out);
}

.main-nav .nav li a:hover::before {
    left: 100%;
}

.main-nav .nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--duration-normal) var(--ease-out);
    transform: translateX(-50%);
}

.main-nav .nav li a:hover,
.main-nav .nav li a.active {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-2px);
}

.main-nav .nav li a:hover::after,
.main-nav .nav li a.active::after {
    width: 60%;
}

/* Enhanced Search Button */
.main-nav .nav li a[href="search.html"] {
    background: var(--primary-gradient);
    color: white !important;
    padding: var(--space-2) var(--space-5);
    margin-left: var(--space-3);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.main-nav .nav li a[href="search.html"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
    background: linear-gradient(135deg, var(--primary-orange-dark) 0%, var(--primary-orange) 100%);
}

.main-nav .nav li a[href="search.html"] i {
    margin-right: var(--space-2);
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: var(--z-max);
    transition: width 100ms linear;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

/* ===== HERO SECTION - COMPLETELY REDESIGNED ===== */
.main-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
    overflow: hidden;
}

/* Animated Background */
.main-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(175, 82, 222, 0.06) 0%, transparent 70%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Floating Particles */
.main-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s var(--ease-out);
}

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

.hero-badge {
    display: inline-block;
    margin-bottom: var(--space-6);
    animation: fadeInUp 1s 0.2s var(--ease-out) backwards;
}

.hero-badge .category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.hero-badge .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s 0.4s var(--ease-out) backwards;
}

.hero-title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientAnimation 3s ease-in-out infinite;
}

@keyframes gradientAnimation {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto var(--space-8);
    animation: fadeInUp 1s 0.6s var(--ease-out) backwards;
}

/* ===== CTA BUTTONS ===== */
.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
    animation: fadeInUp 1s 0.8s var(--ease-out) backwards;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-2xl);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-spring);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-out);
}

.btn-modern:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-orange);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s 1s var(--ease-out) backwards;
}

.stat-item {
    text-align: center;
    padding: var(--space-4);
}

.stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-heading h6 {
    color: var(--primary-orange);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.section-heading h2 {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.section-heading p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 700px;
    margin: var(--space-6) auto 0;
    line-height: 1.7;
}

/* ===== CARD COMPONENTS ===== */
.app-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-out);
}

.app-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-orange-light);
}

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

.app-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.app-card:hover .app-card-image img {
    transform: scale(1.08);
}

.app-card-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-category {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    align-self: flex-start;
}

.app-card h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    transition: color var(--duration-fast) var(--ease-out);
}

.app-card:hover h4 {
    color: var(--primary-orange);
}

.app-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    flex: 1;
}

.app-store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
    color: white;
}

/* ===== FOOTER - RICH & MODERN ===== */
.rich-footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-20);
}

.rich-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.footer-main {
    padding: var(--space-20) 0 var(--space-12);
    position: relative;
    z-index: 2;
}

.footer-title {
    color: white;
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-links a::before {
    content: '→';
    color: var(--primary-orange);
    opacity: 0;
    transition: all var(--duration-fast) var(--ease-out);
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    :root {
        --space-20: 3rem;
        --space-16: 2.5rem;
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: var(--space-4);
    }
    
    .stat-item {
        flex: 0 0 calc(50% - var(--space-2));
    }
    
    .footer-main {
        padding: var(--space-12) 0 var(--space-8);
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible States */
*:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --gray-600: #333333;
        --gray-700: #222222;
        --gray-800: #111111;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .sub-header,
    .header-area,
    .hero-cta,
    .footer-newsletter,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .app-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

