/* ============================================================
   MORPHO BLUE - Premium Digital Agency
   Full-Service Digital & Technology Company (Saudi Arabia)
   Design: Dark navy, electric blue, cyan accent palette
   Fonts: Inter (body) + Space Grotesk (display)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --primary: #0055FF;
    --primary-light: #3388FF;
    --primary-dark: #0044CC;
    --accent: #00D4FF;

    /* Backgrounds — Dark Navy Theme */
    --dark: #0A0E1A;
    --darker: #060912;
    --card-bg: #111827;
    --card-border: #1E293B;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #0055FF, #00D4FF);
    --gradient-brand-reverse: linear-gradient(135deg, #00D4FF, #0055FF);
    --gradient-dark: linear-gradient(180deg, #0A0E1A 0%, #060912 100%);
    --gradient-radial: radial-gradient(ellipse at center, rgba(0, 85, 255, 0.08) 0%, transparent 70%);

    /* Status */
    --success: #10B981;
    --error: #EF4444;
    --gold: #F59E0B;

    /* Glass */
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    --font-arabic: 'Noto Kufi Arabic', 'Tajawal', 'Cairo', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;
    --nav-height: 80px;
    --section-padding: 120px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(0, 85, 255, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(0, 212, 255, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-overlay: 500;
    --z-max: 9999;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) var(--darker);
}

/* Selection */
::selection {
    background: var(--primary);
    color: #FFFFFF;
}

::-moz-selection {
    background: var(--primary);
    color: #FFFFFF;
}

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

/* Base Elements */
img,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   3. LAYOUT & CONTAINERS
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================================
   4. PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-max);
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.preloader-logo {
    font-size: var(--text-3xl);
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.preloader-logo span {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    background: transparent;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Scrolled state (added by JS) */
.navbar-solid,
.navbar.navbar-solid {
    background: rgba(6, 9, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-transparent {
    background: transparent;
}

/* Navbar Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: var(--z-max);
    text-decoration: none;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.brand-accent {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
    color: var(--text-primary);
}

/* Navbar Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-base);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

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

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

/* Nav CTA link */
.nav-link-cta {
    padding: 12px 24px !important;
    background: var(--gradient-brand);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF !important;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    white-space: nowrap;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hamburger Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    z-index: var(--z-max);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

.navbar-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.navbar-menu.open {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 18, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    z-index: var(--z-overlay);
}

.navbar-menu.open .nav-link {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-secondary);
}

.navbar-menu.open .nav-link:hover {
    color: var(--text-primary);
}

.navbar-menu.open .nav-link-cta {
    font-size: var(--text-lg) !important;
    padding: var(--space-md) var(--space-2xl) !important;
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
    background: var(--darker);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 85, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 212, 255, 0.08), transparent),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(99, 102, 241, 0.06), transparent);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 85, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, var(--darker) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 96px 32px 64px;
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
}

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Hero Title */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--text-primary);
    font-family: var(--font-display);
}

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

/* Hero Subtitle */
.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    padding-top: 44px;
    border-top: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: var(--font-display);
}

.stat-plus {
    font-size: var(--text-3xl);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--glass-border);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    color: var(--primary);
}

.scroll-arrow svg {
    display: inline-block;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Hero Slider Words (not in original design) */
.hero-slider-words {
    display: none;
}

.slider-track {
    display: none;
}

/* Hero Typed Text (not in original design) */
.hero-typed-wrapper {
    display: none;
}

.hero-typed {
    display: none;
}

.typed-cursor {
    display: none;
}

/* Hero Marquee (not in original design) */
.hero-marquee {
    display: none;
}

.marquee-label {
    display: none;
}

.marquee-track {
    display: none;
}

.marquee-inner {
    display: none;
}

/* Pipeline Label (not in original design) */
.pipeline-label {
    display: none;
}

/* Section Title Light/Subtitle Light (not in original design) */
.section-title-light {
    display: none;
}

.section-subtitle-light {
    display: none;
}

/* Service Info */
.service-info {
    flex: 1;
    min-width: 0;
}

.service-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--font-display);
    white-space: nowrap;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.btn svg {
    display: inline-block;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 85, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

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

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--card-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 85, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ============================================================
   8. SHARED SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #0055FF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================================
   9. PIPELINE / PROCESS SECTION
   ============================================================ */
.pipeline-section {
    padding: 80px 0;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.pipeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 85, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Override section header colors for pipeline */
.pipeline-section .section-header {
    margin-bottom: 32px;
}

.pipeline-section .section-label {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.15);
}

.pipeline-section .section-title {
    color: #FFFFFF;
}

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

.pipeline-section .section-subtitle {
    color: var(--text-secondary);
}

.pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: var(--space-xl) 0;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pipeline::-webkit-scrollbar {
    display: none;
}

.pipeline-step {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    min-width: 120px;
    max-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.pipeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.pipeline-step.glow .pipeline-icon {
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.4), 0 0 40px rgba(0, 85, 255, 0.2);
}

.pipeline-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.1), rgba(0, 212, 255, 0.06));
    border: 1.5px solid rgba(0, 85, 255, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: all var(--transition-base);
    color: var(--accent);
}

.pipeline-icon svg {
    display: block;
    stroke: var(--accent);
}

.pipeline-step:hover .pipeline-icon {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.2), rgba(0, 212, 255, 0.12));
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(0, 85, 255, 0.3);
}

.pipeline-step:hover .pipeline-icon svg {
    stroke: #fff;
}

.pipeline-number {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-light);
    margin-bottom: var(--space-sm);
}

.pipeline-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: var(--space-xs);
}

.pipeline-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 140px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pipeline-connector {
    position: absolute;
    right: -20px;
    top: 40px;
    color: rgba(0, 85, 255, 0.3);
    opacity: 1;
    z-index: 1;
}

.pipeline-connector svg {
    display: block;
}

/* ============================================================
   10. SERVICES ECOSYSTEM SECTION
   ============================================================ */
.services-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--dark);
    background-image: radial-gradient(ellipse at 80% 20%, rgba(0, 85, 255, 0.05) 0%, transparent 50%);
}

/* 3-column grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Service Category Card */
.service-category {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.service-category::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0) 0%, rgba(0, 85, 255, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
    pointer-events: none;
}

.service-category:hover {
    background: rgba(0, 85, 255, 0.06);
    border-color: rgba(0, 85, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 85, 255, 0.08);
}

.service-category:hover::before {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.3), rgba(0, 212, 255, 0.15));
}

.service-category.active {
    background: rgba(0, 85, 255, 0.08);
    border-color: rgba(0, 85, 255, 0.2);
}

.service-category.active::before {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.4), rgba(0, 212, 255, 0.2));
}

/* Service Category Wide — same as others, no spanning */
.service-category-wide {
    grid-column: auto;
}

/* Service Header */
.service-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    width: 100%;
}

.service-header:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.2);
}

.service-number {
    font-size: 42px;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

[dir="rtl"] .service-number {
    right: auto;
    left: 24px;
}

/* Icon + Number on same row, opposite sides */
.service-header .service-icon {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.12), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(0, 85, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--accent);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.service-icon svg {
    stroke: var(--accent);
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    font-family: var(--font-arabic), var(--font-display);
}

.service-brief {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-display);
    direction: ltr;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

.service-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 85, 255, 0.08);
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-radius: 50%;
    color: var(--accent);
    transition: all var(--transition-base);
    flex-shrink: 0;
    cursor: pointer;
    font-size: 14px;
    align-self: flex-start;
    margin-top: auto;
}

.service-toggle:hover {
    background: rgba(0, 85, 255, 0.15);
    color: var(--text-primary);
}

.service-toggle svg {
    transition: transform var(--transition-base);
    width: 16px;
    height: 16px;
}

.service-category.active .service-toggle svg {
    transform: rotate(45deg);
}

/* Service Body (Expandable) */
.service-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.service-category.active .service-body {
    max-height: 500px;
    opacity: 1;
    padding-top: 20px;
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(0, 85, 255, 0.06);
    border: 1px solid rgba(0, 85, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Service Info wrapper */
.service-info {
    flex: 1;
    min-width: 0;
}

/* ============================================================
   11. TECHNOLOGY UNIVERSE SECTION
   ============================================================ */
.tech-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 85, 255, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.tech-section > .container {
    position: relative;
    z-index: var(--z-base);
}

/* Override section header colors for tech */
.tech-section .section-label {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.tech-section .section-title {
    color: #FFFFFF;
}

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

.tech-section .section-subtitle {
    color: var(--text-secondary);
}

/* Project Type Selector */
.tech-project-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.selector-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-type-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-type-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.project-type-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.project-type-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

/* Stack Flow Diagram */
.stack-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease forwards;
}

.stack-flow:empty {
    display: none;
}

.stack-flow-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: var(--space-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
}

.stack-flow-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: 20px 18px;
    background: rgba(0, 85, 255, 0.06);
    border: 1px solid rgba(0, 85, 255, 0.15);
    border-radius: var(--radius-lg);
    min-width: 170px;
    text-align: center;
    animation: fadeInUp 0.5s ease both;
}

.stack-flow-layer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: 10px;
}

.stack-flow-icon {
    font-size: var(--text-lg);
}

.stack-flow-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-light);
}

.stack-flow-techs {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.stack-flow-tech {
    padding: 2px 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-display);
    white-space: nowrap;
}

.stack-flow-arrow {
    color: rgba(0, 85, 255, 0.4);
    flex-shrink: 0;
    font-size: 20px;
}

/* Technology Category Tabs — hidden, using grid cards instead */
.tech-tabs {
    display: none;
}

.tech-tab {
    display: none;
}

/* Technology Cloud */
.tech-grid {
    position: relative;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    direction: ltr;
}

/* Tech Pill */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    cursor: default;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tech-pill:hover {
    background: color-mix(in srgb, var(--pill-color) 12%, transparent);
    border-color: color-mix(in srgb, var(--pill-color) 40%, transparent);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--pill-color) 20%, transparent);
}

.tech-pill.highlighted {
    background: color-mix(in srgb, var(--pill-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--pill-color) 50%, transparent);
    box-shadow: 0 0 20px color-mix(in srgb, var(--pill-color) 15%, transparent);
}

.tech-pill.dimmed {
    opacity: 0.08;
}

.tech-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-pill:hover .tech-pill-dot {
    box-shadow: 0 0 8px currentColor;
    animation: pulse 1.5s ease-in-out infinite;
}

.tech-pill-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
}

.tech-pill:hover .tech-pill-name {
    color: #FFFFFF;
}

.tech-pill.highlighted .tech-pill-name {
    color: var(--accent);
}

/* Responsive pills */
@media (max-width: 767px) {
    .tech-cloud {
        gap: 8px;
    }
    .tech-pill {
        padding: 8px 14px;
        gap: 6px;
    }
    .tech-pill-name {
        font-size: 12px;
    }
    .tech-pill-dot {
        width: 6px;
        height: 6px;
    }
}

/* ============================================================
   12. SOLUTIONS / BUSINESS PATHWAYS SECTION
   ============================================================ */
.solutions-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--darker);
}

.pathways-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Pathway Card — Glass morphism */
.pathway-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.pathway-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 180deg, transparent 60%, rgba(0, 85, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.pathway-card:hover::before {
    opacity: 1;
}

.pathway-card:hover {
    border-color: rgba(0, 85, 255, 0.15);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pathway-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

.pathway-icon svg {
    stroke: var(--primary-light);
}

.pathway-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.pathway-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Pathway Options (Buttons grid) */
.pathway-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.pathway-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 18px;
    background: rgba(0, 85, 255, 0.06);
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.pathway-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.pathway-btn-icon {
    font-size: var(--text-base);
    line-height: 1;
}

/* Solution Panel (Slide-in) */
.solution-panel {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.solution-panel.active {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.solution-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.solution-panel-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 100vh;
    background: var(--dark);
    border-left: 1px solid var(--card-border);
    padding: var(--space-3xl);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.solution-panel.active .solution-panel-content {
    transform: translateX(0);
}

.solution-panel-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.solution-panel-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

/* Solution Panel Inner Content (JS rendered) */
.solution-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2xl);
    padding-right: 50px;
}

.solution-services {
    margin-bottom: var(--space-2xl);
}

.solution-services h4,
.solution-tech h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-base);
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
}

.solution-check {
    color: var(--success);
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.solution-tech {
    margin-bottom: var(--space-2xl);
}

.solution-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.solution-tech-tag {
    padding: var(--space-xs) var(--space-md);
    background: rgba(0, 85, 255, 0.08);
    border: 1px solid rgba(0, 85, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--primary-light);
}

.solution-cta {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--card-border);
}

.solution-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   12.4. PAGE HERO (Standalone Pages)
   ============================================================ */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
    background: var(--darker);
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 85, 255, 0.12), transparent),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(0, 212, 255, 0.06), transparent);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--dark));
    pointer-events: none;
}

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

.page-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.page-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.page-hero-breadcrumb a {
    color: var(--primary-light);
    transition: color var(--transition-base);
}

.page-hero-breadcrumb a:hover {
    color: var(--accent);
}

.page-hero-breadcrumb svg {
    display: inline-block;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Legal Pages */
.legal-section {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 16px;
    font-family: var(--font-display);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 16px;
}

.legal-content ul {
    padding-right: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    list-style: disc;
}

.legal-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-date {
    margin-top: 48px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive */
@media (max-width: 767px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-title {
        font-size: 32px;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }
}

/* ============================================================
   12.5. WORKS / PORTFOLIO SECTION
   ============================================================ */
.works-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.works-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(0, 85, 255, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Works Filters */
.works-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.works-filter {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    font-family: var(--font-arabic);
}

.works-filter:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.works-filter.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Work Card */
.work-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    border-color: rgba(0, 85, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 85, 255, 0.08);
}

.work-card.hidden {
    display: none;
}

/* Work Preview / Browser Frame */
.work-preview {
    position: relative;
    overflow: hidden;
}

.work-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.browser-url {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    direction: ltr;
}

.browser-url svg {
    flex-shrink: 0;
    color: var(--success);
    display: inline-block;
}

/* Work Thumbnail */
.work-thumbnail {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.work-thumbnail-icon {
    position: relative;
    z-index: 2;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.work-card:hover .work-thumbnail-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

.work-thumbnail-number {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    z-index: 2;
}

[dir="rtl"] .work-thumbnail-number {
    right: auto;
    left: 16px;
}

/* Work Body */
.work-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.work-category-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 14px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 85, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.work-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    font-family: var(--font-arabic), var(--font-display);
}

.work-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

/* Work Tech Tags */
.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.work-tech-tag {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* Work CTA Button */
.work-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.12), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(0, 85, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    margin-top: auto;
}

.work-cta-btn svg {
    display: inline-block;
    flex-shrink: 0;
}

.work-cta-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Works Responsive */
@media (max-width: 1023px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .works-filters {
        gap: 6px;
    }

    .works-filter {
        padding: 6px 14px;
        font-size: 12px;
    }

    .work-thumbnail {
        height: 180px;
    }

    .work-body {
        padding: 20px;
    }
}

@media (max-width: 479px) {
    .work-thumbnail {
        height: 150px;
    }
}

/* ============================================================
   13. CTA SECTION
   ============================================================ */
.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: var(--darker);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(0, 85, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.cta-card {
    position: relative;
    padding: 64px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.cta-card .section-label {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.cta-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
}

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

.cta-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-trust {
    font-size: var(--text-sm);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Override button styles inside CTA */
.cta-card .btn-primary {
    background: var(--gradient-brand);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 85, 255, 0.35);
}

.cta-card .btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 85, 255, 0.5);
}

.cta-card .btn-outline {
    border-color: var(--card-border);
    color: var(--text-primary);
}

.cta-card .btn-outline:hover {
    background: rgba(0, 85, 255, 0.08);
    border-color: var(--primary);
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
    background: #040710;
    border-top: none;
    padding-top: 0;
    padding-bottom: var(--space-2xl);
    color: #FFFFFF;
}

/* Footer Vision 2030 */
.footer-vision {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.vision-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-2xl) var(--space-3xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    max-width: 500px;
    width: 100%;
}

.vision-badge:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.vision-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.vision-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.vision-tagline {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.vision-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: var(--space-xl) 0;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-2xl) 0;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .brand-accent {
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.footer-tagline {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* Footer Headings */
.footer-heading {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: var(--space-xl);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links li a,
.footer-links li span {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.footer-links li a:hover {
    color: var(--text-primary);
    padding-left: var(--space-sm);
}

.footer-links li svg {
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0.5;
    display: inline-block;
}

/* Footer Contact */
.footer-contact li {
    gap: var(--space-sm);
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-bottom-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-bottom-links a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ============================================================
   15. SCROLL / DATA-ANIMATE ANIMATIONS
   ============================================================ */

/* Scroll animations — initial state set by JS, animated via inline transition */
[data-animate].animated {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger children */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   16. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes shimmer {
    0% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
    100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
}

@keyframes gradientShift {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

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

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 85, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 85, 255, 0.5);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

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

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

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

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

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

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 85, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 85, 255, 0.4);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============================================================
   17. UTILITY CLASSES
   ============================================================ */
.text-gradient {
    background: linear-gradient(135deg, #0055FF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.font-mono { font-family: var(--font-mono); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: var(--z-max);
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Loading / Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, rgba(30, 41, 59, 0.8) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: shimmerSkeleton 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ============================================================
   18. ARABIC / RTL SUPPORT
   ============================================================ */
[dir="rtl"],
.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic);
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links li a:hover {
    padding-left: 0;
    padding-right: var(--space-sm);
}

[dir="rtl"] .tag::before {
    order: 1;
}

[dir="rtl"] .pipeline-connector {
    right: auto;
    left: -20px;
    transform: scaleX(-1);
}

[dir="rtl"] .hero-title {
    letter-spacing: 0;
}

[dir="rtl"] .section-label {
    letter-spacing: 0.05em;
}

[dir="rtl"] .service-title {
    text-align: right;
}

[dir="rtl"] .service-brief {
    text-align: right;
}

[dir="rtl"] .solution-panel-content {
    border-left: none;
    border-right: 1px solid var(--card-border);
    transform: translateX(-100%);
}

[dir="rtl"] .solution-panel.active .solution-panel-content {
    transform: translateX(0);
}

[dir="rtl"] .solution-panel-close {
    right: auto;
    left: var(--space-xl);
}

[dir="rtl"] .solution-title {
    padding-right: 0;
    padding-left: 50px;
}

.text-arabic {
    font-family: var(--font-arabic);
    line-height: 1.8;
}

/* ============================================================
   19. RESPONSIVE DESIGN
   ============================================================ */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --section-padding: 96px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-content {
        padding: 80px 32px 56px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-card {
        padding: 48px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
        --nav-height: 68px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-content {
        padding: 64px 24px 48px;
    }

    .section-title {
        font-size: 34px;
    }

    /* Mobile Nav */
    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu.open {
        display: flex;
    }

    /* Services — 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-category-wide {
        grid-column: auto;
    }

    /* Pathways */
    .pathways-grid {
        grid-template-columns: 1fr;
    }

    /* Tech */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand-col {
        grid-column: span 2;
        max-width: none;
    }

    /* Pipeline - horizontal scroll on tablet */
    .pipeline {
        justify-content: flex-start;
        padding-left: var(--space-lg);
        gap: 0;
    }

    .pipeline-step {
        min-width: 110px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-card {
        padding: 40px;
    }

    .hero-stats {
        gap: 32px;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 64px;
        --nav-height: 64px;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-content {
        padding: 48px 16px 40px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Services — single column on mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-category-wide {
        grid-column: unset;
    }

    .service-category {
        padding: 24px 20px;
    }

    .service-number {
        font-size: 32px;
    }

    .service-number {
        display: none;
    }

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

    .service-brief {
        display: none;
    }

    .service-icon {
        width: 38px;
        height: 38px;
    }

    /* Tech */
    .tech-tabs {
        gap: var(--space-xs);
    }

    .tech-tab {
        padding: 7px 14px;
        font-size: var(--text-xs);
    }

    .tech-project-selector {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .project-type-buttons {
        justify-content: center;
    }

    .project-type-btn {
        padding: 6px 12px;
        font-size: var(--text-xs);
    }

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

    /* Pathways */
    .pathways-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .pathway-card {
        padding: var(--space-xl);
    }

    .pathway-options {
        gap: var(--space-xs);
    }

    .pathway-btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Solution Panel */
    .solution-panel-content {
        max-width: 100%;
    }

    /* CTA */
    .cta-section {
        padding: 64px 0;
    }

    .cta-title {
        font-size: 24px;
        line-height: 1.5;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        grid-column: span 1;
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Vision Badge Mobile */
    .vision-badge {
        padding: var(--space-xl);
    }

    .vision-logo {
        width: 160px;
    }

    .vision-tagline {
        font-size: var(--text-base);
    }

    /* Pipeline - vertical on mobile */
    .pipeline {
        flex-direction: column;
        align-items: center;
        padding: var(--space-lg) 0;
    }

    .pipeline-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-sm) 0;
        min-width: auto;
        max-width: none;
    }

    .pipeline-step .pipeline-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .pipeline-connector {
        display: none;
    }

    /* Stack flow vertical on mobile */
    .stack-flow,
    .stack-flow-inner {
        flex-direction: column;
    }

    .stack-flow-arrow {
        transform: rotate(90deg);
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: 8px 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn-lg {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--text-base);
    }

    .stat-number {
        font-size: 32px;
    }

    .vision-logo {
        width: 120px;
    }

    .vision-tagline {
        font-size: var(--text-sm);
    }

    .pipeline-icon {
        width: 44px;
        height: 44px;
        font-size: var(--text-lg);
    }

    .pathway-title {
        font-size: 17px;
    }

    .cta-title {
        font-size: 20px;
    }

    .tech-card {
        padding: 8px 14px;
    }

    .tech-card-name {
        font-size: 12px;
    }

    .cta-card {
        padding: 28px 20px;
    }
}

/* ============================================================
   20. PRINT STYLES
   ============================================================ */
@media print {
    .navbar,
    .preloader,
    .hero-canvas,
    .hero-overlay,
    .noise-overlay,
    .hero-scroll-indicator,
    .cta-glow,
    .pipeline-connector {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .pipeline-section,
    .services-section,
    .tech-section,
    .solutions-section,
    .cta-section,
    .footer {
        padding: 20px 0;
        background: white;
    }

    .pipeline-section,
    .tech-section {
        background: #f5f5f5;
    }

    .hero-title,
    .section-title,
    .cta-title {
        -webkit-text-fill-color: black;
        color: black;
    }

    .gradient-text,
    .hero-gradient-text,
    .brand-accent,
    .text-gradient {
        -webkit-text-fill-color: #0055FF;
        color: #0055FF;
        background: none;
    }

    .stat-number,
    .stat-plus {
        -webkit-text-fill-color: #0055FF;
        color: #0055FF;
        background: none;
    }

    .service-category,
    .tech-card,
    .pathway-card,
    .cta-card,
    .vision-badge {
        border: 1px solid #ddd;
        background: white;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .tag {
        border: 1px solid #ddd;
        background: #f5f5f5;
        color: #333;
    }

    .footer {
        background: #f5f5f5;
        color: #333;
    }

    .footer-socials,
    .solution-panel,
    .hero-actions,
    .cta-actions {
        display: none !important;
    }

    p, .text-secondary, .text-muted {
        color: #555 !important;
    }
}
