/* =====================================================
   ECO3D - Premium Website Styles
   The Future of 3D Printing Industry
   ===================================================== */

/* ============ CSS Variables - Light Theme (Default) ============ */
:root {
    /* Brand Accent Color - Elegant Teal */
    --accent: #0891B2;
    --accent-dark: #0E7490;
    --accent-light: #22D3EE;
    --accent-glow: rgba(8, 145, 178, 0.2);
    --accent-soft: rgba(8, 145, 178, 0.1);
    
    /* Secondary Accent */
    --secondary: #6366F1;
    --secondary-dark: #4F46E5;
    --secondary-light: #818CF8;
    
    /* Light Theme Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    
    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    
    /* Border Colors */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-dark: #94A3B8;
    
    /* Legacy support */
    --primary: var(--accent);
    --primary-dark: var(--accent-dark);
    --primary-light: var(--accent-light);
    --primary-glow: var(--accent-glow);
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-lighter: #334155;
    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 140px;
    --container-padding: 80px;
    --content-max-width: 1400px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows - Light Theme */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-preloader: 500;
}

/* ============ Dark Theme ============ */
[data-theme="dark"] {
    /* Background Colors */
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --bg-card: #1E293B;
    --bg-card-hover: #334155;
    
    /* Text Colors */
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-tertiary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;
    
    /* Border Colors */
    --border-light: #334155;
    --border-medium: #475569;
    --border-dark: #64748B;
    
    /* Enhanced accent glow for dark mode */
    --accent-glow: rgba(8, 145, 178, 0.3);
    --accent-soft: rgba(8, 145, 178, 0.15);
    
    /* Shadows - Dark Theme */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.3), 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Gradients */
    --gradient-subtle: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(30,41,59,0.9) 0%, rgba(15,23,42,0.9) 100%);
}

/* ============ Reset & Base ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

body.loading {
    overflow: hidden;
}

/* Selection */
::selection {
    background-color: var(--accent);
    color: var(--text-inverse);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============ Utilities ============ */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Inner content wrapper for controlled width */
.container-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Full bleed sections with contained content */
.full-bleed {
    width: 100%;
    padding: 0 var(--container-padding);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 14px;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
    color: var(--text-inverse);
    background: var(--accent-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-inverse);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ============ Preloader ============ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-cube {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 2s infinite linear;
}

.loader-cube .face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    opacity: 0.9;
    border: 2px solid var(--accent-light);
}

.loader-cube .front { transform: translateZ(30px); }
.loader-cube .back { transform: translateZ(-30px) rotateY(180deg); }
.loader-cube .right { transform: translateX(30px) rotateY(90deg); }
.loader-cube .left { transform: translateX(-30px) rotateY(-90deg); }
.loader-cube .top { transform: translateY(-30px) rotateX(90deg); }
.loader-cube .bottom { transform: translateY(30px) rotateX(-90deg); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.loader-text {
    color: var(--text-tertiary);
    font-size: 14px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============ Header / Navigation ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border-light), var(--shadow-md);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 1px 0 var(--border-light), var(--shadow-lg);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform-origin: left;
    transform: scaleX(0);
    z-index: calc(var(--z-fixed) + 10);
    transition: transform 0.1s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.logo-eco {
    color: var(--text-primary);
}

.logo-3d {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--accent-soft);
}

.nav-link i {
    font-size: 10px;
    transition: transform var(--transition-base);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.dropdown-menu li a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.dropdown-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--accent);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.theme-toggle i {
    position: absolute;
    font-size: 16px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.theme-toggle .fa-sun {
    color: var(--accent);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .fa-moon {
    color: var(--accent);
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-cta {
    padding: 10px 24px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============ Hero Section ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 100% 80% at 20% 0%, var(--accent-soft) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 90% 80%, var(--accent-soft) 0%, transparent 50%);
}

[data-theme="dark"] .hero-gradient {
    background: 
        radial-gradient(ellipse 100% 80% at 20% 0%, rgba(8, 145, 178, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    opacity: 0.5;
}

[data-theme="dark"] .hero-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 180px;
}

.hero-text {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: var(--accent-soft);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    color: var(--text-inverse);
    font-size: 12px;
}

.hero-badge span:last-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 0;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-mini {
    text-align: center;
}

.stat-mini .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-mini .stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual / Dashboard Mockup */
.hero-visual {
    position: relative;
}

.hero-dashboard {
    position: relative;
}

.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

[data-theme="dark"] .dashboard-mockup {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-color: var(--border-light);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }

.mockup-title {
    font-size: 13px;
    color: var(--text-tertiary);
    flex: 1;
    text-align: center;
}

.mockup-content {
    display: flex;
    padding: 20px;
    gap: 20px;
    min-height: 360px;
    background: var(--bg-secondary);
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 50px;
}

.sidebar-item {
    width: 100%;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.sidebar-item.active {
    background: var(--accent);
}

.mockup-main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mockup-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--border-light);
}

.mockup-card .card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 18px;
}

.card-2 .card-icon { background: rgba(99, 102, 241, 0.1); color: var(--secondary); }
.card-3 .card-icon { background: rgba(249, 115, 22, 0.1); color: #F97316; }

.card-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.mockup-chart {
    grid-column: span 3;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    animation: growBar 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 4s ease-in-out infinite;
}

[data-theme="dark"] .floating-card {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg), 0 0 20px var(--accent-glow);
}

.floating-card i {
    color: var(--accent);
    font-size: 16px;
}

.float-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: 1s;
}

.float-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 11px;
    text-decoration: none;
    transition: var(--transition-base);
    opacity: 0.5;
}

.scroll-indicator:hover {
    color: var(--accent);
    opacity: 0.8;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid currentColor;
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* ============ Section Common Styles ============ */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-soft);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ Hero Services Orbit ============ */
.hero-services {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

/* Hide mobile grid on desktop */
.mobile-services-grid {
    display: none;
}

.services-orbit {
    position: relative;
    width: 600px;
    height: 600px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.center-logo {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(8, 145, 178, 0.4);
}

.center-logo i {
    font-size: 40px;
    color: white;
}

.center-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: pulseRing 3s ease-out infinite;
}

.center-pulse.delay-1 {
    animation-delay: 1s;
}

.center-pulse.delay-2 {
    animation-delay: 2s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.orbit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-path {
    fill: none;
    stroke: var(--border-light);
    stroke-width: 1;
    stroke-dasharray: 5, 10;
    animation: rotateOrbit 60s linear infinite;
}

.orbit-path.inner {
    animation-direction: reverse;
    animation-duration: 45s;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); transform-origin: center; }
    to { transform: rotate(360deg); transform-origin: center; }
}

.service-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 10;
}

.service-node:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(8, 145, 178, 0.2);
}

.service-node:hover .node-glow {
    opacity: 1;
}

.node-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

/* Dark mode: softer hover for service nodes */
[data-theme="dark"] .service-node:hover {
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.12);
    border-color: rgba(8, 145, 178, 0.5);
    background: rgba(8, 145, 178, 0.08);
}

[data-theme="dark"] .service-node:hover .node-glow {
    opacity: 0.3;
    filter: blur(25px);
}

[data-theme="dark"] .node-glow {
    background: rgba(8, 145, 178, 0.4);
}

.node-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.node-icon i {
    font-size: 20px;
    color: var(--accent);
}

.node-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
}

.node-content p {
    font-size: 12px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

/* Position nodes around the orbit */
.node-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.node-2 { top: 25%; right: 0; }
.node-3 { bottom: 25%; right: 0; }
.node-4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 25%; left: 0; }
.node-6 { top: 25%; left: 0; }

/* Floating animation for nodes */
.node-1, .node-4 { animation: floatY 4s ease-in-out infinite; }
.node-2, .node-5 { animation: floatY 4s ease-in-out infinite 0.5s; }
.node-3, .node-6 { animation: floatY 4s ease-in-out infinite 1s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0) translateX(var(--tx, 0)); }
    50% { transform: translateY(-10px) translateX(var(--tx, 0)); }
}

.node-1, .node-4 { --tx: -50%; }
.node-2, .node-3, .node-5, .node-6 { --tx: 0; }

/* ============ Hero Stats Bar ============ */
.hero-stats-bar {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero-stats-bar .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 30px 50px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ============ Services Overview Section ============ */
.services-overview {
    padding: 120px 0;
    background: var(--bg-primary);
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-card:hover .icon-ring {
    transform: scale(1.2);
    opacity: 1;
}

.service-card.featured {
    background: var(--gradient-accent);
    border-color: transparent;
}

.service-card.featured * {
    color: white;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-icon i {
    color: white;
}

.service-card.featured .icon-ring {
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card.featured .service-features li i {
    color: white;
}

.service-card.featured .service-link {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card.featured .service-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 32px;
    color: var(--accent);
}

.icon-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.service-link:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ============ Problems Section ============ */
.problems {
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.problem-card {
    position: relative;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card-hover);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.problem-icon .icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
}

.problem-icon i {
    position: relative;
    font-size: 28px;
    color: var(--accent);
}

.problem-stat {
    margin-bottom: 20px;
}

.problem-stat .stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.problem-stat .stat-context {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.problem-solution {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    border-left: 4px solid var(--accent);
}

.problem-solution i {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ============ Solutions Section ============ */
.solutions {
    position: relative;
    overflow: hidden;
}

.solutions-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.bg-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-soft);
    top: -200px;
    left: -200px;
}

.bg-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.08);
    bottom: -200px;
    right: -200px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.solution-card {
    position: relative;
    padding: 56px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent);
}

.solution-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 14px;
    background: var(--accent-soft);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.solution-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.solution-icon .icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    filter: blur(20px);
}

.solution-icon i {
    position: relative;
    font-size: 36px;
    color: var(--accent);
}

.solution-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.solution-card > p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 28px;
}

.solution-features {
    list-style: none;
    margin-bottom: 32px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 15px;
}

.solution-features li:last-child {
    border-bottom: none;
}

.solution-features li i {
    color: var(--accent);
    font-size: 12px;
}

.solution-metrics {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Marketplace Roles */
.marketplace-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.role {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.role i {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.role span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.role p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* ============ Statistics Section ============ */
.stats {
    position: relative;
    background: var(--gradient-primary);
    padding: 100px 0;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stats-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-card .stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    font-size: 28px;
    color: var(--white);
}

.stat-card .stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
}

.stat-card .stat-suffix {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.stat-card h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ============ How It Works Section ============ */
.how-it-works {
    background: var(--bg-secondary);
}

.steps-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    animation: progressLine 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes progressLine {
    to { width: 100%; }
}

.step {
    position: relative;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step:hover .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
    transform: scale(1.1);
}

.step-content {
    padding: 0 16px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============ Clients Section ============ */
.clients {
    padding: 80px 0;
    overflow: hidden;
}

.clients-slider {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    min-width: 180px;
    transition: var(--transition-base);
}

.client-logo:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition-base);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

.client-logo span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ============ Testimonial Section ============ */
.testimonial {
    background: var(--bg-primary);
    padding: 100px 0;
}

.testimonial-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.testimonial-quote i {
    font-size: 28px;
    color: var(--text-inverse);
}

.testimonial-card blockquote {
    font-size: 24px;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 48px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-decoration {
    position: absolute;
    bottom: 40px;
    right: 60px;
}

.deco-circle {
    width: 120px;
    height: 120px;
    border: 2px dashed var(--border-light);
    border-radius: 50%;
    opacity: 0.5;
}

/* ============ Why Choose Us Section ============ */
.why-us {
    background: var(--bg-secondary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.why-card {
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card-hover);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    font-size: 32px;
    color: var(--accent);
    transition: var(--transition-base);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--text-inverse);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============ CTA Section ============ */
.cta-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.cta-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--dark);
    margin-bottom: 24px;
}

.cta-content > p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 48px;
    color: rgba(10, 15, 28, 0.8);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-contact {
    padding-top: 40px;
    border-top: 1px solid rgba(10, 15, 28, 0.1);
}

.cta-contact p {
    font-size: 14px;
    color: rgba(10, 15, 28, 0.7);
    margin-bottom: 16px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-options a:hover {
    opacity: 0.8;
}

.contact-options i {
    font-size: 18px;
}

/* ============ Footer ============ */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
}

.footer-top {
    padding: 100px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr) 1.2fr;
    gap: 50px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-tertiary);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--accent);
}

.lang-toggle-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
}

.lang-toggle-footer:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============ WhatsApp Float ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #128C7E;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(18, 140, 126, 0.25);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
    opacity: 0.9;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: var(--white);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ============ Back to Top ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-inverse);
}

/* ============ Visual Wow Elements ============ */

/* Gradient border effect for cards */
.gradient-border {
    position: relative;
    background: var(--dark);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-base);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Glow effect on hover */
.glow-hover {
    transition: var(--transition-base);
}

.glow-hover:hover {
    box-shadow: 0 0 60px var(--primary-glow);
}

/* Animated gradient text */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--primary-light) 50%,
        var(--secondary) 75%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

/* Section divider with gradient */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0.3;
}

/* Decorative elements */
.deco-circle-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced button styles */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.03) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.card-shine:hover::after {
    transform: rotate(45deg) translateY(100%);
}

/* Pulse animation for icons */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Smooth reveal animation */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 32px;
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
        --container-padding: 40px;
    }
    
    .hero-content {
        padding-bottom: 220px;
    }
    
    .services-orbit {
        width: 500px;
        height: 500px;
    }
    
    .service-node {
        padding: 12px 16px;
    }
    
    .node-icon {
        width: 40px;
        height: 40px;
    }
    
    .node-icon i {
        font-size: 16px;
    }
    
    .node-content h4 {
        font-size: 13px;
    }
    
    .node-content p {
        font-size: 11px;
    }
    
    .services-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats-bar .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px 30px;
    }
    
    .stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item .stat-number {
        font-size: 26px;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-line {
        display: none;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        padding: 100px 32px 32px;
        transition: right var(--transition-base);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 16px;
        font-size: 18px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        background: transparent;
        transition: max-height var(--transition-base);
    }
    
    .nav-item.active .dropdown-menu {
        max-height: 500px;
        padding: 12px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-content {
        padding-bottom: 0;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0 20px;
        width: 100%;
    }
    
    /* Stack hero title properly */
    .hero-title {
        display: block;
        width: 100%;
    }
    
    .hero-title .gradient-text {
        display: block;
    }
    
    .hero-services {
        margin-top: 30px;
        width: 100%;
    }
    
    .services-orbit {
        display: none;
        width: 340px;
        height: 340px;
    }
    
    .center-logo {
        width: 70px;
        height: 70px;
    }
    
    .center-logo i {
        font-size: 28px;
    }
    
    .service-node {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .node-icon {
        width: 32px;
        height: 32px;
    }
    
    .node-icon i {
        font-size: 14px;
    }
    
    .node-content h4 {
        font-size: 11px;
    }
    
    .node-content p {
        display: none;
    }
    
    .hero-stats-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 30px 0 0 !important;
        width: 100% !important;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .hero-stats-bar .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-item .stat-number {
        font-size: 22px;
    }
    
    .stat-item .stat-label {
        font-size: 12px;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-overview {
        padding: 80px 0;
    }
    
    :root {
        --container-padding: 24px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .mockup-content {
        flex-direction: column;
    }
    
    .mockup-sidebar {
        flex-direction: row;
        width: 100%;
    }
    
    .sidebar-item {
        height: 8px;
    }
    
    .mockup-main {
        grid-template-columns: 1fr;
    }
    
    .mockup-chart {
        grid-column: span 1;
    }
    
    .hero-stats-bar .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        gap: 24px;
        text-align: left;
        padding: 20px;
        background: rgba(10, 15, 28, 0.1);
        border-radius: var(--radius-lg);
    }
    
    .stat-card .stat-icon {
        margin: 0;
        flex-shrink: 0;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .step {
        display: flex;
        gap: 24px;
        text-align: left;
    }
    
    .step-number {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .step-content {
        padding: 0;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .marketplace-roles {
        grid-template-columns: 1fr;
    }
    
    .solution-metrics {
        flex-direction: column;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .hero-stats-mini {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    /* Hide orbit on very small screens, show simple grid */
    .services-orbit {
        display: none;
    }
    
    .hero-services {
        width: 100%;
    }
    
    .hero-services::before {
        content: '';
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hero-content {
        padding-bottom: 0;
    }
    
    .hero-stats-bar .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .stats .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-item .stat-number {
        font-size: 20px;
    }
    
    .stat-item .stat-label {
        font-size: 10px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon-wrap {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .testimonial-card {
        padding: 40px 24px;
    }
    
    .testimonial-card blockquote {
        font-size: 18px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        grid-column: span 1;
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* ============ Animation Classes ============ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}
/* =====================================================
   MOBILE WOW EXPERIENCE - Premium Mobile Enhancements
   ===================================================== */

/* ============ Mobile-First Hero Enhancements ============ */
@media (max-width: 768px) {
    /* Smooth gradient animated background for mobile */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 80%, var(--accent-glow) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
        animation: mobileGradientPulse 8s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }
    
    @keyframes mobileGradientPulse {
        0%, 100% { opacity: 0.5; transform: scale(1); }
        50% { opacity: 0.8; transform: scale(1.1); }
    }
    
    /* Hero title with animated gradient */
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.2;
        display: block;
        width: 100%;
    }
    
    .hero-title .gradient-text {
        display: block;
        margin-top: 8px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        letter-spacing: 3px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Mobile CTA buttons - stacked and full width */
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
        border-radius: var(--radius-lg);
    }
    
    /* Touch-friendly button press effect */
    .btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    
    /* Mobile services grid - replaces orbit */
    .hero-services {
        display: block !important;
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .services-orbit {
        display: none !important;
    }
    
    /* Mobile service cards grid */
    .mobile-services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mobile-service-item {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-lg);
        padding: 16px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-service-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .mobile-service-item:active::before {
        left: 100%;
    }
    
    .mobile-service-item:active {
        transform: scale(0.98);
        border-color: var(--accent);
    }
    
    .mobile-service-item i {
        font-size: 24px;
        color: var(--accent);
        margin-bottom: 8px;
        display: block;
    }
    
    .mobile-service-item span {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-primary);
    }
    
    /* Hero stats bar mobile enhancement */
    .hero-stats-bar {
        position: relative;
        bottom: auto;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .hero-stats-bar .stats-grid {
        background: rgba(var(--bg-card), 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: var(--radius-xl);
        animation: slideUpFade 0.8s ease-out;
    }
    
    @keyframes slideUpFade {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ============ Mobile Navigation Enhancement ============ */
@media (max-width: 768px) {
    .nav-menu {
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        animation: slideInRight 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .nav-link {
        opacity: 0;
        transform: translateX(30px);
    }
    
    .nav-menu.active .nav-link {
        animation: fadeInLeft 0.4s ease forwards;
    }
    
    .nav-menu.active .nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) .nav-link { animation-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) .nav-link { animation-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) .nav-link { animation-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) .nav-link { animation-delay: 0.3s; }
    
    @keyframes fadeInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Hamburger to X animation enhancement */
    .nav-toggle {
        width: 32px;
        height: 32px;
        position: relative;
        z-index: 101;
    }
    
    .nav-toggle span {
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
}

/* ============ Mobile Services Section ============ */
@media (max-width: 768px) {
    .services-overview {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .section-tag {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .services-showcase {
        padding: 0 20px;
    }
    
    .service-card {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
        transition: all 0.3s ease;
    }
    
    .service-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Swipeable horizontal scroll for service cards */
    .services-showcase.swipeable {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 20px;
        gap: 16px;
    }
    
    .services-showcase.swipeable::-webkit-scrollbar {
        display: none;
    }
    
    .services-showcase.swipeable .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* ============ Mobile Solutions Section ============ */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    
    .solution-card {
        padding: 30px 24px;
        border-radius: var(--radius-xl);
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .solution-icon i {
        font-size: 28px;
    }
    
    .solution-card h3 {
        font-size: 1.4rem;
    }
    
    .solution-features {
        margin-bottom: 24px;
    }
    
    .solution-features li {
        padding: 8px 0;
        font-size: 14px;
    }
    
    .solution-metrics {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .metric {
        text-align: center;
    }
    
    /* Marketplace roles horizontal scroll */
    .marketplace-roles {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 16px 0;
    }
    
    .marketplace-roles::-webkit-scrollbar {
        display: none;
    }
    
    .marketplace-roles .role {
        flex: 0 0 auto;
        min-width: 120px;
        scroll-snap-align: start;
        padding: 16px;
        background: var(--bg-secondary);
        border-radius: var(--radius-lg);
        text-align: center;
    }
}

/* ============ Mobile Stats Section ============ */
@media (max-width: 768px) {
    .stats {
        padding: 60px 0;
    }
    
    .stat-card {
        padding: 20px;
        position: relative;
        overflow: hidden;
    }
    
    .stat-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .stat-card .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .stat-card .stat-icon i {
        font-size: 20px;
    }
    
    .stat-card .stat-number {
        font-size: 36px;
    }
    
    .stat-card .stat-suffix {
        font-size: 24px;
    }
    
    .stat-card h4 {
        font-size: 14px;
    }
    
    .stat-card p {
        font-size: 12px;
    }
}

/* ============ Mobile How It Works Section ============ */
@media (max-width: 768px) {
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .step-content {
        flex: 1;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
        margin-left: 0;
        margin-right: auto;
    }
    
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    /* Animated step connector */
    .step::after {
        content: '';
        position: absolute;
        left: 30px;
        top: 70px;
        width: 2px;
        height: calc(100% + 10px);
        background: linear-gradient(to bottom, var(--accent), transparent);
    }
    
    .step:last-child::after {
        display: none;
    }
}

/* ============ Mobile CTA Section ============ */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-contact {
        margin-top: 30px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-options a {
        justify-content: center;
        padding: 12px 20px;
        background: rgba(255,255,255,0.1);
        border-radius: var(--radius-lg);
    }
}

/* ============ Mobile Footer ============ */
@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============ Mobile Touch Feedback ============ */
@media (max-width: 768px) {
    /* Ripple effect on touch */
    .touch-ripple {
        position: relative;
        overflow: hidden;
    }
    
    .touch-ripple::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(8, 145, 178, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
        opacity: 0;
    }
    
    .touch-ripple:active::after {
        width: 200%;
        height: 200%;
        opacity: 1;
        transition: width 0s, height 0s, opacity 0s;
    }
    
    /* Smooth scroll indicator */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--gradient-primary);
        transform-origin: left;
        transform: scaleX(0);
        z-index: 1000;
        transition: transform 0.1s ease;
    }
}

/* ============ Mobile Performance Optimizations ============ */
@media (max-width: 768px) {
    /* Slow down animations for smoother feel */
    * {
        animation-duration: 1.2s !important;
    }
    
    /* Stack nav actions properly */
    .nav-actions {
        gap: 8px;
    }
    
    .theme-toggle,
    .lang-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .lang-toggle span {
        display: none;
    }
    
    .lang-toggle::after {
        content: 'ع';
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Hardware acceleration for smooth scrolling */
    .hero,
    .services-overview,
    .solutions,
    .stats,
    .how-it-works,
    .cta-section {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Optimize images */
    img {
        content-visibility: auto;
    }
    
    /* Disable complex hover effects on touch */
    @media (hover: none) {
        .btn:hover,
        .service-card:hover,
        .solution-card:hover {
            transform: none;
            box-shadow: var(--shadow-card);
        }
    }
}

/* ============ Mobile 480px Fine-tuning ============ */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
    
    .hero-cta .btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .mobile-service-item {
        padding: 12px 8px;
    }
    
    .mobile-service-item i {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .mobile-service-item span {
        font-size: 10px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .solution-card {
        padding: 24px 20px;
    }
    
    .stat-card .stat-number {
        font-size: 28px;
    }
    
    .stat-card .stat-suffix {
        font-size: 18px;
    }
    
    /* WhatsApp button mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    /* Back to top mobile */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 20px;
    }
}

/* =====================================================
   MOBILE LAYOUT FIX - Comprehensive Override
   ===================================================== */
@media (max-width: 768px) {
    /* Force hero section to be properly stacked */
    .hero {
        position: relative;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: auto !important;
        padding: 100px 0 60px !important;
    }
    
    .hero-content {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 20px !important;
        padding-bottom: 0 !important;
    }
    
    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-title .gradient-text {
        display: block !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 16px !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 24px !important;
        padding: 0 10px !important;
    }
    
    .hero-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .hero-cta .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Hide services orbit on mobile, show grid */
    .hero-services {
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
    }
    
    .services-orbit {
        display: none !important;
    }
    
    .mobile-services-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
    }
    
    .mobile-service-item {
        background: var(--bg-card) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 12px !important;
        padding: 16px 8px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .mobile-service-item i {
        font-size: 24px !important;
        color: var(--accent) !important;
    }
    
    .mobile-service-item span {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: var(--text-primary) !important;
    }
    
    /* CRITICAL: Stats bar must be relative and below content */
    .hero-stats-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 30px !important;
        width: 100% !important;
        z-index: 5;
    }
    
    .hero-stats-bar .container {
        padding: 0 20px !important;
    }
    
    .hero-stats-bar .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 20px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 16px !important;
    }
    
    .hero-stats-bar .stat-item {
        text-align: center !important;
    }
    
    .hero-stats-bar .stat-item .stat-number {
        font-size: 1.5rem !important;
        display: block !important;
    }
    
    .hero-stats-bar .stat-item .stat-label {
        font-size: 0.75rem !important;
        display: block !important;
    }
}

/* ============ Coming Soon System ============ */
/* Toast notification */
.coming-soon-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    pointer-events: none;
}

.coming-soon-toast i {
    color: var(--accent);
    font-size: 16px;
}

.coming-soon-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}