/* ============================================
   CANMORPRO - FUTURISTIC DESIGN SYSTEM
   ============================================ */

/* CSS Variables - Futuristic Color Palette */
:root {
    /* Primary Colors */
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    
    /* Accent Colors */
    --accent-cyan: #00f5ff;
    --accent-pink: #f472b6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    
    /* Background Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #f472b6 100%);
    --gradient-cyber: linear-gradient(135deg, #00f5ff 0%, #7c3aed 50%, #f472b6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(244, 114, 182, 0.3) 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection Styling */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* ============================================
   PRELOADER - CANMORPRO BRANDED
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    background-image: 
        radial-gradient(ellipse at 30% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 245, 255, 0.08) 0%, transparent 50%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.cyber-loader {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Logo Section */
.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    animation: logoReveal 1s ease-out forwards;
}

@keyframes logoReveal {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.loader-icon {
    font-size: 60px;
    color: var(--accent-cyan);
    text-shadow: 
        0 0 20px var(--accent-cyan),
        0 0 40px var(--accent-cyan),
        0 0 60px rgba(0, 245, 255, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        text-shadow: 
            0 0 20px var(--accent-cyan),
            0 0 40px var(--accent-cyan),
            0 0 60px rgba(0, 245, 255, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 
            0 0 30px var(--accent-cyan),
            0 0 60px var(--accent-cyan),
            0 0 100px rgba(0, 245, 255, 0.8);
        transform: scale(1.05);
    }
}

.loader-brand {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 8px;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.loader-brand .accent {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* Animated Rings */
.loader-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--accent-cyan);
    border-right-color: transparent;
    border-bottom-color: rgba(0, 245, 255, 0.3);
    border-left-color: transparent;
    animation: spin 3s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-top-color: transparent;
    border-right-color: var(--primary);
    border-bottom-color: transparent;
    border-left-color: rgba(124, 58, 237, 0.3);
    animation: spin 2.5s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-top-color: var(--accent-pink);
    border-right-color: transparent;
    border-bottom-color: rgba(244, 114, 182, 0.3);
    border-left-color: transparent;
    animation: spin 2s linear infinite;
}

.ring-4 {
    width: 40%;
    height: 40%;
    border-top-color: transparent;
    border-right-color: var(--accent-cyan);
    border-bottom-color: transparent;
    border-left-color: var(--primary);
    animation: spin 1.5s linear infinite reverse;
}

/* Progress Bar */
.loader-progress {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-cyber);
    border-radius: 3px;
    animation: loadProgress 2s ease-in-out forwards;
    box-shadow: 0 0 15px var(--accent-cyan);
}

@keyframes loadProgress {
    0% { width: 0%; }
    20% { width: 20%; }
    40% { width: 45%; }
    60% { width: 70%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loader-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.loader-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.loader-particles .particle:nth-child(2) { top: 30%; left: 85%; animation-delay: 0.5s; }
.loader-particles .particle:nth-child(3) { top: 60%; left: 15%; animation-delay: 1s; background: var(--primary); }
.loader-particles .particle:nth-child(4) { top: 70%; left: 90%; animation-delay: 1.5s; background: var(--accent-pink); }
.loader-particles .particle:nth-child(5) { top: 85%; left: 25%; animation-delay: 2s; }
.loader-particles .particle:nth-child(6) { top: 15%; left: 75%; animation-delay: 2.5s; background: var(--primary); }

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

/* Loader Text */
.loader-text {
    position: absolute;
    bottom: 25px;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-muted);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        color: var(--text-muted);
        text-shadow: none;
    }
    50% { 
        color: var(--accent-cyan);
        text-shadow: 0 0 10px var(--accent-cyan);
    }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(244, 114, 182, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 245, 255, 0.05) 0%, transparent 50%);
}

/* ============================================
   HEADER
   ============================================ */
.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.cyber-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.cyber-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cyber-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    color: var(--accent-cyan);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 10px var(--accent-cyan); }
    50% { text-shadow: 0 0 25px var(--accent-cyan), 0 0 50px var(--accent-cyan); }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: color var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.badge-icon {
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
    display: block;
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.hero-title .line-1 { animation-delay: 0.2s; }
.hero-title .line-2 { animation-delay: 0.4s; }
.hero-title .line-3 { animation-delay: 0.6s; }

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

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

.typing-text {
    position: relative;
    color: var(--accent-cyan);
}

.typing-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

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

.hero-description strong {
    color: var(--accent-cyan);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.cyber-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.cyber-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cyber-btn.secondary:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.cyber-btn:hover .btn-glow {
    left: 100%;
}

.cyber-btn.full-width {
    width: 100%;
    justify-content: center;
}

.cyber-btn.large {
    padding: 20px 40px;
    font-size: 16px;
}

/* Button Spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
    margin-left: 10px;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 50px;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-cyan);
    display: inline;
}

.stat-suffix {
    font-size: 24px;
    color: var(--accent-cyan);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: rotate3d 10s linear infinite;
}

.ring-1 {
    width: 350px;
    height: 350px;
    border-color: rgba(0, 245, 255, 0.3);
}

.ring-2 {
    width: 280px;
    height: 280px;
    border-color: rgba(124, 58, 237, 0.4);
    animation-direction: reverse;
    animation-duration: 8s;
}

.ring-3 {
    width: 210px;
    height: 210px;
    border-color: rgba(244, 114, 182, 0.3);
    animation-duration: 6s;
}

@keyframes rotate3d {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

.ai-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

.brain-svg {
    width: 100%;
    height: 100%;
    animation: pulseBrain 3s ease-in-out infinite;
}

@keyframes pulseBrain {
    0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 10px var(--accent-cyan)); }
    50% { opacity: 1; filter: drop-shadow(0 0 30px var(--accent-cyan)); }
}

.brain-circle {
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    animation: drawCircle 2s ease forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.neural-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: nodeGlow 2s ease-in-out infinite;
}

.n1 { top: 10%; left: 50%; animation-delay: 0s; }
.n2 { top: 30%; left: 20%; animation-delay: 0.3s; }
.n3 { top: 30%; left: 80%; animation-delay: 0.6s; }
.n4 { top: 70%; left: 20%; animation-delay: 0.9s; }
.n5 { top: 70%; left: 80%; animation-delay: 1.2s; }
.n6 { top: 90%; left: 50%; animation-delay: 1.5s; }

@keyframes nodeGlow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-cyan); transform: scale(1); }
    50% { box-shadow: 0 0 20px var(--accent-cyan); transform: scale(1.5); }
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stream {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: streamFlow 2s linear infinite;
}

.s1 { left: 30%; animation-delay: 0s; }
.s2 { left: 50%; animation-delay: 0.5s; }
.s3 { left: 70%; animation-delay: 1s; }

@keyframes streamFlow {
    0% { top: -50px; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 10%; right: 10%; animation-delay: 0s; }
.card-2 { top: 40%; right: -5%; animation-delay: 2s; }
.card-3 { bottom: 15%; right: 15%; animation-delay: 4s; }

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

.card-icon {
    font-size: 24px;
}

.card-text {
    font-size: 14px;
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-padding {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.tech-showcase {
    position: relative;
    width: 350px;
    height: 350px;
}

.showcase-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.showcase-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.core-inner {
    width: 80px;
    height: 80px;
    background: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-icon {
    font-size: 32px;
    color: var(--accent-cyan);
    animation: logoGlow 2s ease-in-out infinite;
}

.orbit-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 15s linear infinite reverse;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.o1 { top: 0; left: 50%; transform: translateX(-50%); }
.o2 { top: 50%; right: 0; transform: translateY(-50%); }
.o3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.o4 { top: 50%; left: 0; transform: translateY(-50%); }

.about-content {
    padding-left: 50px;
}

.about-title {
    font-size: 32px;
    margin-bottom: 25px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.about-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    padding: 40px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.service-features li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 10px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-cyan);
    gap: 15px;
}

/* ============================================
   AI SOLUTIONS SECTION
   ============================================ */
.ai-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.ai-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 245, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.05) 0%, transparent 40%);
    animation: neuralPulse 8s ease-in-out infinite;
}

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

.section-tag.ai-tag {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    color: var(--accent-cyan);
}

.ai-showcase {
    position: relative;
    z-index: 1;
}

.ai-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    transition: all var(--transition-normal);
    height: calc(100% - 30px);
}

.ai-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
}

.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.ai-icon-wrapper {
    position: relative;
}

.ai-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-cyan);
}

.ai-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.ai-card:hover .ai-icon-glow {
    opacity: 1;
}

.ai-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.ai-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.ai-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-tag-item {
    padding: 6px 14px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    color: var(--accent-cyan);
}

/* AI CTA */
.ai-cta {
    margin-top: 80px;
    text-align: center;
    padding: 60px;
    background: var(--gradient-glow);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 30px;
}

.ai-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.ai-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    background: var(--bg-dark);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 35px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--primary), var(--accent-pink));
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.step-marker {
    position: relative;
    z-index: 2;
}

.marker-number {
    width: 70px;
    height: 70px;
    background: var(--bg-darker);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.step-content {
    flex: 1;
    padding-top: 15px;
}

.step-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.contact-info {
    padding-right: 50px;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.contact-text .label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-text .value {
    font-size: 16px;
    font-weight: 500;
}

/* Global Locations */
.global-locations {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.locations-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

.locations-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.location-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all var(--transition-normal);
    cursor: default;
}

.location-item:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.location-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.location-icon svg {
    width: 24px;
    height: 24px;
}

/* Canada - Red/White theme */
.location-icon.canada {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.3);
}

.location-icon.canada svg {
    color: white;
}

.location-item:hover .location-icon.canada {
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.5);
    transform: scale(1.1);
}

/* UAE - Gold/Black theme */
.location-icon.uae {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.location-icon.uae svg {
    color: #1a1a1a;
}

.location-item:hover .location-icon.uae {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

/* Morocco - Green/Red theme */
.location-icon.morocco {
    background: linear-gradient(135deg, #006233 0%, #c1272d 100%);
    box-shadow: 0 5px 20px rgba(0, 98, 51, 0.3);
}

.location-icon.morocco svg {
    color: white;
}

.location-item:hover .location-icon.morocco {
    box-shadow: 0 8px 30px rgba(0, 98, 51, 0.5);
    transform: scale(1.1);
}

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

.location-text .country {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.location-text .city {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 50px;
}

.cyber-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-darker);
    color: var(--text-primary);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.form-group input:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.cyber-footer {
    position: relative;
    background: var(--bg-darker);
    padding: 80px 0 30px;
    overflow: hidden;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .cyber-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-column h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.link-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.deco-line {
    width: 50px;
    height: 1px;
    background: var(--gradient-primary);
}

.deco-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: dotGlow 2s ease-in-out infinite;
}

@keyframes dotGlow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-cyan); }
    50% { box-shadow: 0 0 15px var(--accent-cyan); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199px) {
    .hero-visual {
        display: none;
    }
    
    .hero-text {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cyber-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .about-visual {
        margin-bottom: 50px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cyber-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
    
    .tech-showcase {
        width: 280px;
        height: 280px;
    }
    
    .locations-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .location-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .location-text {
        text-align: left;
    }
    
    .process-step {
        flex-direction: column;
        gap: 20px;
        padding-left: 50px;
    }
    
    .timeline-line {
        left: 15px;
    }
    
    .marker-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .step-marker {
        position: absolute;
        left: -50px;
    }
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Animate Pulse */
.animate-pulse {
    animation: pulseFade 2s ease-in-out infinite;
}

@keyframes pulseFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch:hover::before {
    animation: glitch-1 0.3s linear;
    color: var(--accent-cyan);
}

.glitch:hover::after {
    animation: glitch-2 0.3s linear;
    color: var(--accent-pink);
}

@keyframes glitch-1 {
    0% { transform: translateX(0); opacity: 0; }
    20% { transform: translateX(-5px); opacity: 0.5; }
    40% { transform: translateX(5px); opacity: 0.5; }
    60% { transform: translateX(-5px); opacity: 0.5; }
    80% { transform: translateX(5px); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 0; }
}

@keyframes glitch-2 {
    0% { transform: translateX(0); opacity: 0; }
    20% { transform: translateX(5px); opacity: 0.5; }
    40% { transform: translateX(-5px); opacity: 0.5; }
    60% { transform: translateX(5px); opacity: 0.5; }
    80% { transform: translateX(-5px); opacity: 0.5; }
    100% { transform: translateX(0); opacity: 0; }
}
