/* ============================================================
   EVOLEX — Cyber 3D Brand System
   Light-on-dark · purple/cyan glow · 3D depth · orchestrated motion
   ============================================================ */

:root {
    /* Brand palette (identity-preserved) */
    --primary: #8b5cf6;
    --primary-bright: #a78bfa;
    --primary-deep: #6d28d9;
    --secondary: #06b6d4;
    --secondary-bright: #22d3ee;
    --accent: #f43f5e;

    /* Surfaces */
    --bg: #030712;
    --bg-2: #060b18;
    --surface: #0b1120;
    --surface-2: #0f172a;
    --card: rgba(17, 26, 46, 0.55);
    --card-solid: #0c1426;
    --border: rgba(148, 163, 184, 0.14);
    --border-bright: rgba(167, 139, 250, 0.45);

    /* Ink */
    --ink: #f8fafc;
    --ink-soft: #cbd5e1;
    --ink-dim: #94a3b8;

    /* Gradients & glow */
    --grad-main: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.18));
    --glow-primary: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 60px -12px rgba(139, 92, 246, 0.55);
    --glow-secondary: 0 0 0 1px rgba(6, 182, 212, 0.35), 0 18px 60px -12px rgba(6, 182, 212, 0.5);
    --shadow-deep: 0 40px 100px -25px rgba(0, 0, 0, 0.85);
    --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.9);

    /* Motion */
    --e-out: cubic-bezier(0.16, 1, 0.3, 1);       /* expo-out */
    --e-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Z-index scale */
    --z-bg: 0;
    --z-base: 1;
    --z-nav: 100;
    --z-float: 500;
    --z-cursor: 9000;
    --z-progress: 9500;

    /* Spacing rhythm */
    --section-y: clamp(70px, 11vw, 150px);
    --container: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Cairo', 'Sora', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #fff;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
   LIVING BACKGROUND — aurora orbs + grid + scanline
   ============================================================ */
.matrix-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 50% -10%, #11193a 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, #0a1024 0%, #030712 70%);
}

.matrix-bg::before {
    /* moving aurora */
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(40% 40% at 20% 20%, rgba(139, 92, 246, 0.22), transparent 70%),
        radial-gradient(45% 45% at 85% 25%, rgba(6, 182, 212, 0.18), transparent 70%),
        radial-gradient(50% 50% at 60% 90%, rgba(109, 40, 217, 0.16), transparent 70%);
    filter: blur(20px);
    animation: aurora-drift 24s var(--e-in-out) infinite alternate;
}

.matrix-bg::after {
    /* perspective tech-grid */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
    animation: grid-drift 40s linear infinite;
}

@keyframes aurora-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3%, 2%, 0) scale(1.08); }
    100% { transform: translate3d(-3%, -2%, 0) scale(1.04); }
}

@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 60px 120px, 60px 120px; }
}

.particles-container {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.25;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.8);
    animation: pulse-star 4s ease-in-out infinite;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.6); opacity: 0.5; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    width: 0%;
    background: var(--grad-main);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
    z-index: var(--z-progress);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    position: relative;
    z-index: var(--z-base);
}

section {
    padding: var(--section-y) 0;
    position: relative;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}

h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
}

h1 span, h2 span, h3 span {
    color: var(--primary-bright);
    position: relative;
}

h1 span { text-shadow: 0 0 38px rgba(139, 92, 246, 0.6); }
h2 span { text-shadow: 0 0 30px rgba(139, 92, 246, 0.5); }

p {
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    color: var(--ink-soft);
    line-height: 1.85;
    max-width: 68ch;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: var(--ink-soft);
}

/* English / Latin accents use Sora */
.en, .logo-text, .pos-tag, .num, .stat-num {
    font-family: 'Sora', 'Cairo', sans-serif;
}

/* Kicker (used sparingly, not on every section) */
.pos-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-bright);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 100px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.pos-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary-bright);
    box-shadow: 0 0 10px var(--secondary-bright);
    animation: blink 1.8s ease-in-out infinite;
}

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

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(40px, 6vw, 70px);
    text-align: center;
}

.section-head p { margin: 0 auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 18px;
    width: 100%;
    z-index: var(--z-nav);
    transition: top 0.4s var(--e-out);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(8, 13, 28, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 0.85rem 1.6rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
    transition: border-radius 0.4s var(--e-out), border-color 0.4s;
}

.navbar.scrolled { top: 0; }

.navbar.scrolled .nav-inner {
    border-radius: 0 0 26px 26px;
    max-width: 100%;
    border-top: none;
    border-color: var(--border-bright);
}

/* Company logo image */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.brand-logo img {
    height: 46px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px -6px rgba(139, 92, 246, 0.6), 0 0 0 1px var(--border);
    transition: transform 0.4s var(--e-out), box-shadow 0.4s var(--e-out);
}

.brand-logo:hover img {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 26px -6px rgba(139, 92, 246, 0.8), 0 0 0 1px var(--border-bright);
}

.brand-logo.brand-logo-lg img {
    height: 68px;
    border-radius: 16px;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

/* logo gradient mark = deliberate, established brand identity */
.logo-text span {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text i {
    font-size: 1.3rem;
    color: var(--primary-bright);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.7));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    position: relative;
    transition: color 0.3s;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: width 0.35s var(--e-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    padding: 1rem 2.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.35s var(--e-out), box-shadow 0.35s var(--e-out), background 0.35s;
    border: none;
    cursor: pointer;
    position: relative;
    will-change: transform;
}

.btn-primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 14px 40px -14px rgba(139, 92, 246, 0.8);
}

.btn-primary:hover {
    box-shadow: 0 20px 55px -12px rgba(139, 92, 246, 0.95);
}

.btn-outline {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid var(--border-bright);
    color: var(--primary-bright);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.16);
    color: #fff;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero.hero-short {
    min-height: auto;
    padding-top: clamp(150px, 22vw, 220px);
    padding-bottom: clamp(40px, 7vw, 90px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.hero-content p { margin-bottom: 0; }

/* glowing orbs decor */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

.orb-1 { width: 380px; height: 380px; background: var(--primary); top: 6%; right: -80px; }
.orb-2 { width: 320px; height: 320px; background: var(--secondary); bottom: 4%; left: -60px; opacity: 0.4; }

/* 3D visual frame */
.hero-visual {
    position: relative;
    transform-style: preserve-3d;
}

.visual-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-bright);
    box-shadow: var(--shadow-deep), 0 0 0 1px rgba(139, 92, 246, 0.2);
    transform-style: preserve-3d;
}

.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(6, 182, 212, 0.18));
    pointer-events: none;
}

/* floating glass data card */
.floating-data-card {
    position: absolute;
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-bright);
    padding: 18px 22px;
    border-radius: 18px;
    z-index: 5;
    box-shadow: var(--shadow-card);
    animation: float-slow 5s var(--e-in-out) infinite;
    transform: translateZ(60px);
}

.floating-data-card.fc-top { top: -22px; left: -18px; }
.floating-data-card.fc-bottom { bottom: -22px; right: -18px; animation-delay: -2.5s; }

.floating-data-card i {
    font-size: 1.4rem;
    color: var(--secondary-bright);
    margin-bottom: 6px;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.7));
}

.floating-data-card h4 {
    font-size: 1.15rem;
    margin-bottom: 2px;
    color: #fff;
}

.floating-data-card p {
    font-size: 0.8rem;
    color: var(--ink-dim);
    margin: 0;
}

@keyframes float-slow {
    0%, 100% { transform: translate3d(0, 0, 60px); }
    50% { transform: translate3d(0, -16px, 60px); }
}

/* ============================================================
   FEATURE LIST (replaces side-stripe lists)
   ============================================================ */
.feature-list {
    list-style: none;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
}

.feature-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.14);
    color: var(--primary-bright);
    font-size: 0.85rem;
}

/* ============================================================
   SERVICE CARDS (glass + glow-follow + tilt + image)
   ============================================================ */
.service-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
}

.matrix-item {
    position: relative;
    background: var(--card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 2.6rem 2.2rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.5s var(--e-out), box-shadow 0.5s var(--e-out), background 0.5s;
    will-change: transform;
}

/* cursor-following glow */
.matrix-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(220px circle at var(--x, 50%) var(--y, 0%), rgba(139, 92, 246, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.matrix-item:hover {
    border-color: var(--border-bright);
    box-shadow: var(--shadow-card), 0 0 40px -18px rgba(139, 92, 246, 0.7);
}

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

.matrix-item .icon {
    font-size: 1.6rem;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 1.6rem;
    border-radius: 18px;
    color: #fff;
    background: var(--grad-main);
    box-shadow: 0 12px 30px -10px rgba(139, 92, 246, 0.8);
    transform: translateZ(40px);
    transition: transform 0.5s var(--e-out);
}

.matrix-item:hover .icon { transform: translateZ(55px) rotate(-6deg) scale(1.06); }

.matrix-item h3 { transform: translateZ(28px); margin-bottom: 0.7rem; }
.matrix-item p { transform: translateZ(18px); font-size: 0.98rem; }

/* numbered process variant */
.matrix-item.step .icon {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-bright);
    color: var(--primary-bright);
    box-shadow: none;
}

/* service card with image header */
.service-card { padding: 0; display: flex; flex-direction: column; }

.service-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--e-out);
}

.service-card:hover .service-thumb img { transform: scale(1.12); }

.service-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.1) 20%, var(--card-solid) 100%);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    background: var(--grad-main);
    border-radius: 15px;
    box-shadow: 0 10px 26px -8px rgba(139, 92, 246, 0.9);
    transition: transform 0.5s var(--e-out);
}

.service-card:hover .service-badge { transform: rotate(-8deg) scale(1.08); }

.service-body {
    padding: 1.8rem 1.9rem 2.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-body h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.service-body p { font-size: 0.97rem; flex: 1; margin-bottom: 1.3rem; }

.service-link {
    color: var(--primary-bright);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--e-out), color 0.3s;
}

.service-card:hover .service-link { gap: 14px; color: var(--secondary-bright); }

/* ============================================================
   PRIVILEGE CARDS (3D depth)
   ============================================================ */
.privilege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
}

.privilege-card {
    background: var(--card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: clamp(34px, 4vw, 50px) clamp(26px, 3vw, 38px);
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.5s var(--e-out), background 0.5s, box-shadow 0.5s var(--e-out);
    will-change: transform;
}

.privilege-card:hover {
    border-color: var(--border-bright);
    background: rgba(139, 92, 246, 0.07);
    box-shadow: var(--shadow-card);
}

.privilege-icon {
    font-size: 2rem;
    width: 76px;
    height: 76px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    background: var(--grad-main);
    box-shadow: 0 16px 40px -12px rgba(139, 92, 246, 0.8);
    transform: translateZ(50px);
}

.privilege-card h3 { transform: translateZ(30px); }
.privilege-card p { transform: translateZ(20px); margin: 0 auto; font-size: 0.98rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: clamp(16px, 2.5vw, 30px);
    padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 44px);
    background: var(--grad-soft);
    border: 1px solid var(--border-bright);
    border-radius: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
}

.stat-item { position: relative; }

.stat-num {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    display: inline-flex;
    align-items: baseline;
}

.stat-num .suffix { color: var(--primary-bright); margin-inline-start: 2px; }

.stat-item p {
    margin: 12px auto 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    gap: clamp(40px, 6vw, 90px);
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-soft);
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.marquee-item i { color: var(--primary-bright); font-size: 1.4em; }
.marquee-item img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}
.marquee-item:hover { opacity: 1; color: #fff; }

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

/* ============================================================
   INDUSTRIES WE SERVE
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}

.industry-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: border-color 0.4s var(--e-out), transform 0.4s var(--e-out), background 0.4s;
}

.industry-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    background: rgba(139, 92, 246, 0.06);
}

.industry-card .ic {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.3rem;
    color: var(--primary-bright);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.industry-card h4 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.industry-card p { font-size: 0.85rem; color: var(--ink-dim); margin: 2px 0 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
        var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: 36px;
    padding: clamp(50px, 8vw, 90px) clamp(28px, 5vw, 60px);
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
    pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner p { margin: 0 auto 32px; }

/* ============================================================
   CONTACT — panels & form
   ============================================================ */
.panel {
    background: var(--card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: clamp(26px, 4vw, 42px);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-row .ic {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary-bright);
    font-size: 1.1rem;
}

.info-row .label {
    color: var(--ink-dim);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.info-row .val { color: #fff; font-weight: 600; }

.premium-form .field { display: grid; gap: 18px; margin-bottom: 22px; }

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.premium-form input::placeholder,
.premium-form textarea::placeholder { color: var(--ink-dim); }

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
    background: rgba(3, 7, 18, 0.85);
}

.premium-form select option { background: var(--surface); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: clamp(70px, 9vw, 110px) 0 36px;
    background: linear-gradient(180deg, transparent, #01030a 35%);
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: clamp(28px, 4vw, 56px);
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.9rem; }

.footer-col a {
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.3s, padding 0.3s;
}

.footer-col a:hover { color: var(--primary-bright); padding-inline-end: 6px; }

.footer-col > p { color: var(--ink-dim); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    color: var(--ink-dim);
    font-size: 0.9rem;
}

.phone-num {
    direction: ltr;
    unicode-bidi: embed;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-bright);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    font-size: 0.92rem;
    transition: background 0.3s, color 0.3s;
}

.phone-badge:hover { background: var(--primary); color: #fff; }

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--surface-2);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--e-out), background 0.3s, border-color 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background: #25d366;
    color: #fff;
    padding: 14px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    z-index: var(--z-float);
    box-shadow: 0 12px 34px rgba(37, 211, 102, 0.45);
    transition: transform 0.4s var(--e-out), box-shadow 0.4s var(--e-out);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: ping 2.4s var(--e-out) infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.25); opacity: 0; }
}

.whatsapp-float i { font-size: 1.7rem; }
.whatsapp-float:hover { transform: scale(1.06) translateY(-4px); box-shadow: 0 18px 44px rgba(37, 211, 102, 0.6); }

/* ============================================================
   REVEAL ANIMATIONS (enhance already-visible content)
   ============================================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
    transition-delay: var(--reveal-delay, 0s);
}

/* Keep above-the-fold hero content immediately paintable for fast LCP */
.hero .reveal-up {
    opacity: 1;
    transform: none;
}

.reveal-up.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 2001;
    background: transparent;
    border: 0;
    padding: 4px;
}

.menu-btn div {
    width: 28px;
    height: 2.5px;
    background: #fff;
    margin: 6px 0;
    transition: 0.4s var(--e-out);
    border-radius: 2px;
}

.menu-btn.active div:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.menu-btn.active div:nth-child(2) { opacity: 0; }
.menu-btn.active div:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

/* ============================================================
   ACCESSIBILITY FOCUS & SKIP LINK
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--secondary-bright);
    outline-offset: 3px;
}

/* ============================================================
   SOLUTIONS FILTER TABS & GRID
   ============================================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(129, 140, 248, 0.3);
    background: rgba(129, 140, 248, 0.05);
    color: var(--ink-dim);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.filter-btn i { font-size: 0.82rem; }

.filter-btn:hover {
    border-color: var(--primary-bright);
    color: var(--primary-bright);
    background: rgba(129, 140, 248, 0.12);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--grad-main);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.45);
}

.services-count {
    text-align: center;
    font-size: 0.88rem;
    color: var(--ink-dim);
    margin: 0 auto 2.5rem;
}

.services-count strong {
    color: var(--primary-bright);
    font-weight: 700;
}

.matrix-item.hidden {
    display: none;
}

#servicesGrid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    #servicesGrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    #servicesGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    #servicesGrid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM FEEDBACK
   ============================================================ */
.form-feedback {
    display: none;
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(6, 182, 212, 0.08);
    color: var(--ink);
}

.form-feedback.visible {
    display: block;
}

.form-feedback h4 {
    color: var(--secondary-bright);
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.form-feedback p {
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
}

.form-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 130px;
}

.error-code {
    font-family: 'Sora', sans-serif;
    font-size: clamp(4.5rem, 14vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero { min-height: auto; padding-top: 130px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-content p, .feature-list { margin-inline: auto; }
    .feature-list li { text-align: right; }
    .hero-visual { order: -1; }
    .hero-btns { justify-content: center; }

    .nav-links, .nav-cta { display: none; }
    .menu-btn { display: block; }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(6, 11, 24, 0.97);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        z-index: 2000;
        gap: 2rem;
    }

    .nav-links.mobile-active li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideUp 0.5s var(--e-out) forwards;
    }

    .nav-links.mobile-active li:nth-child(1) { animation-delay: 0.08s; }
    .nav-links.mobile-active li:nth-child(2) { animation-delay: 0.16s; }
    .nav-links.mobile-active li:nth-child(3) { animation-delay: 0.24s; }
    .nav-links.mobile-active li:nth-child(4) { animation-delay: 0.32s; }
    .nav-links.mobile-active a { font-size: 1.6rem; color: #fff; }

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

    .floating-data-card { padding: 12px 16px; }
    .floating-data-card.fc-top { left: 0; }
    .floating-data-card.fc-bottom { right: 0; }
}

@media (max-width: 600px) {
    .footer-main { grid-template-columns: 1fr; gap: 2.4rem; }
    .footer-col:last-child { grid-column: auto; }
    .nav-inner { padding: 0.7rem 1.2rem; }
    .logo-text { font-size: 1.45rem; }
    .orb { display: none; }
}

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

    .reveal-up { opacity: 1; transform: none; }
    .matrix-bg::before, .matrix-bg::after { animation: none; }
    .floating-data-card { animation: none; transform: none; }
    .particles-container, .whatsapp-float::before { display: none; }
    .marquee-track { animation: none; }
}
