/* ============================================
   LOOP — WILD SOCIAL MEDIA AGENCY THEME
   Insane Motion / Bold Typography / Holographic
   ============================================ */

:root {
    --bg: #0e0e11;
    --bg2: #141418;
    --white: #f2f2f1;
    --white70: rgba(242,242,241,0.7);
    --white40: rgba(242,242,241,0.35);
    --white10: rgba(242,242,241,0.08);
    --white05: rgba(242,242,241,0.04);
    --white30: rgba(242,242,241,0.25);
    --white50: rgba(242,242,241,0.5);
    --pink: #eea9c9;
    --blue: #74bae1;
    --mint: #9ddad0;
    --purple: #998dc0;
    --holo: linear-gradient(135deg, #eea9c9, #74bae1, #9ddad0);
    --holo-full: linear-gradient(90deg, #eea9c9, #998dc0, #74bae1, #9ddad0, #c1d9c1, #eea9c9);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-arabic: 'Cairo', sans-serif;
    --font-arabic-display: 'Tajawal', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

/* === PAGE TRANSITION === */
body {
    opacity: 1;
    transition: opacity 0.2s ease;
}
body.page-leaving {
    opacity: 0;
}

html {
    font-size: clamp(15px, 1vw + 0.5rem, 18px);
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-x: hidden;
}
html::-webkit-scrollbar { display: none; }

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--white);
    overflow-x: hidden;
    cursor: none;
    overscroll-behavior-x: none;
}

/* === VIDEO BACKGROUND === */
.bg-video-wrap {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -3;
    overflow: hidden;
}
.bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.bg-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(14, 14, 17, 0.9);
}

/* === ANIMATED BACKGROUND === */
.bg-aurora {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    background: transparent;
}
.bg-aurora::before {
    content: '';
    position: absolute;
    top: -60%; left: -60%;
    width: 220%; height: 220%;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(238,169,201,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 75% 20%, rgba(116,186,225,0.14) 0%, transparent 70%),
        radial-gradient(ellipse 400px 600px at 50% 80%, rgba(157,218,208,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 85% 70%, rgba(153,141,192,0.14) 0%, transparent 70%),
        radial-gradient(ellipse 350px 350px at 10% 75%, rgba(238,169,201,0.1) 0%, transparent 70%);
    animation: auroraDrift 30s ease-in-out infinite alternate;
    will-change: transform;
    contain: layout style;
}
.bg-aurora::after {
    content: '';
    position: absolute;
    top: -40%; left: -40%;
    width: 180%; height: 180%;
    background:
        radial-gradient(ellipse 450px 350px at 60% 50%, rgba(116,186,225,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 30% 60%, rgba(153,141,192,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 80% 30%, rgba(157,218,208,0.08) 0%, transparent 60%);
    animation: auroraDrift2 35s ease-in-out infinite alternate;
    will-change: transform;
    contain: layout style;
}
@keyframes auroraDrift {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    33% { transform: translate3d(5%, -3%, 0) rotate(3deg) scale(1.05); }
    66% { transform: translate3d(-4%, 5%, 0) rotate(-2deg) scale(0.97); }
    100% { transform: translate3d(3%, 2%, 0) rotate(1deg) scale(1.02); }
}
@keyframes auroraDrift2 {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-6%, 4%, 0) rotate(-4deg) scale(1.08); }
    100% { transform: translate3d(4%, -3%, 0) rotate(2deg) scale(0.95); }
}

/* Dot Grid Overlay */
.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(242,242,241,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

/* === CUSTOM CURSOR === */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 12px; height: 12px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    will-change: transform;
    contain: layout style;
}
.cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid var(--white40);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    will-change: transform;
    contain: layout style;
}
.cursor-follower.hover {
    width: 70px; height: 70px;
    border-color: var(--pink);
    background: rgba(238,169,201,0.08);
}

/* === NOISE === */
.noise-overlay {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    animation: noiseMove 1s steps(4) infinite;
    will-change: transform;
    contain: strict;
}
@keyframes noiseMove {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-10%,-10%,0); }
}

/* === LOADER === */
.no-loader .loader {
    display: none !important;
}
.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s var(--ease) 0.3s;
}
.loader.done {
    transform: translateY(-100%);
}
.loader-inner { text-align: center; }
.loader-logo img {
    height: 280px;
    margin: 0 auto 40px;
    animation: logoBounce 1s var(--ease) infinite alternate;
}
@keyframes logoBounce {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(3deg); }
}
.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--white10);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 16px;
}
.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--holo);
    border-radius: 2px;
    transition: width 0.1s;
}
.loader-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--white40);
    letter-spacing: 4px;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9990;
    padding: 20px 0;
    transition: all 0.5s var(--ease);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(14,14,17,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.nav-logo img {
    height: 140px;
    max-height: none;
    margin: -50px 0;
    transition: transform 0.4s var(--ease);
}
.nav-logo:hover img { transform: rotate(10deg) scale(1.1); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid var(--white);
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--white);
    transition: all 0.4s var(--ease);
}
.nav-cta svg { transition: transform 0.3s var(--ease); }
.nav-cta:hover {
    background: var(--white);
    color: var(--bg);
}
.nav-cta:hover svg { transform: translate(3px, -3px); }

/* === FLYING ICONS === */
.flying-icons {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 60px;
    pointer-events: none;
    z-index: 1;
}
.fly-icon {
    position: absolute;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    opacity: 0.6;
    animation: flyFloat 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.85s);
    filter: drop-shadow(0 0 8px currentColor);
    transition: opacity 0.3s;
    will-change: transform;
    contain: layout style;
}
.fly-icon:nth-child(1) { left: 0%; top: 10%; color: var(--pink); }
.fly-icon:nth-child(2) { left: 14%; top: 60%; color: var(--blue); }
.fly-icon:nth-child(3) { left: 28%; top: 5%; color: var(--white); }
.fly-icon:nth-child(4) { left: 42%; top: 55%; color: var(--mint); }
.fly-icon:nth-child(5) { left: 58%; top: 15%; color: #ffcc00; }
.fly-icon:nth-child(6) { left: 72%; top: 60%; color: #ff6633; }
.fly-icon:nth-child(7) { left: 88%; top: 10%; color: var(--purple); }

@keyframes flyFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    15% {
        transform: translate(12px, -18px) rotate(20deg) scale(1.15);
    }
    30% {
        transform: translate(-8px, 14px) rotate(-15deg) scale(0.9);
    }
    50% {
        transform: translate(18px, 6px) rotate(35deg) scale(1.2);
    }
    65% {
        transform: translate(-14px, -10px) rotate(-25deg) scale(0.95);
    }
    80% {
        transform: translate(6px, 16px) rotate(10deg) scale(1.1);
    }
}

/* Slight parallax on mouse move — handled by JS */
.fly-icon i {
    animation: flyIconSpin 8s linear infinite;
    animation-delay: calc(var(--i) * -1.1s);
}
@keyframes flyIconSpin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* === RADIAL MENU === */
.radial-menu-wrap {
    position: relative;
    z-index: 10001;
}
.radial-trigger {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(242,242,241,0.04);
    border: 1px solid var(--white10);
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
    z-index: 10;
}
.radial-trigger:hover {
    border-color: var(--pink);
    background: rgba(238,169,201,0.08);
    box-shadow: 0 0 30px rgba(238,169,201,0.15);
}
.radial-trigger-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 20px;
    z-index: 2;
}
.radial-bar {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.5s var(--ease);
}
.radial-bar:nth-child(1) { width: 100%; }
.radial-bar:nth-child(2) { width: 70%; }
.radial-bar:nth-child(3) { width: 50%; }

/* Ring SVG around trigger */
.radial-ring {
    position: absolute;
    top: -8px; left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    pointer-events: none;
    transform: rotate(-90deg);
}
.radial-ring-progress {
    transition: stroke-dashoffset 0.8s var(--ease);
}

/* Trigger active state: bars → X */
.radial-menu-wrap.active .radial-trigger {
    background: rgba(238,169,201,0.12);
    border-color: var(--pink);
    box-shadow: 0 0 40px rgba(238,169,201,0.25), 0 0 80px rgba(116,186,225,0.1);
}
.radial-menu-wrap.active .radial-bar:nth-child(1) {
    width: 100%;
    transform: rotate(45deg) translate(2.5px, 2.5px);
}
.radial-menu-wrap.active .radial-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.radial-menu-wrap.active .radial-bar:nth-child(3) {
    width: 100%;
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}
.radial-menu-wrap.active .radial-ring-progress {
    stroke-dashoffset: 0;
}

/* Radial Items — positioned in a semi-circle above-left */
.radial-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    transform: scale(0) translate(0, 0);
    transition: all 0.5s var(--ease);
    cursor: none;
}
/* Semi-circle positions — arc BELOW the trigger button
   7 items: Angles 160°, 137°, 113°, 90°, 67°, 43°, 20° (screen coords, y-down) */
.radial-item[data-index="0"] { --tx: -127px; --ty: 46px; }
.radial-item[data-index="1"] { --tx: -98px;  --ty: 93px; }
.radial-item[data-index="2"] { --tx: -54px;  --ty: 124px; }
.radial-item[data-index="3"] { --tx: 0px;    --ty: 135px; }
.radial-item[data-index="4"] { --tx: 54px;   --ty: 124px; }
.radial-item[data-index="5"] { --tx: 98px;   --ty: 93px; }
.radial-item[data-index="6"] { --tx: 127px;  --ty: 46px; }
button.radial-item { background: none; border: none; cursor: pointer; padding: 0; font: inherit; color: inherit; }

.radial-menu-wrap.active .radial-item {
    opacity: 1;
    pointer-events: all;
    transform: scale(1) translate(var(--tx), var(--ty));
}
/* Stagger the items popping in */
.radial-menu-wrap.active .radial-item[data-index="0"] { transition-delay: 0.05s; }
.radial-menu-wrap.active .radial-item[data-index="1"] { transition-delay: 0.08s; }
.radial-menu-wrap.active .radial-item[data-index="2"] { transition-delay: 0.12s; }
.radial-menu-wrap.active .radial-item[data-index="3"] { transition-delay: 0.16s; }
.radial-menu-wrap.active .radial-item[data-index="4"] { transition-delay: 0.2s; }
.radial-menu-wrap.active .radial-item[data-index="5"] { transition-delay: 0.24s; }
.radial-menu-wrap.active .radial-item[data-index="6"] { transition-delay: 0.28s; }

/* Stagger closing too */
.radial-menu-wrap:not(.active) .radial-item[data-index="6"] { transition-delay: 0.02s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="5"] { transition-delay: 0.05s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="4"] { transition-delay: 0.08s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="3"] { transition-delay: 0.11s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="2"] { transition-delay: 0.14s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="1"] { transition-delay: 0.17s; }
.radial-menu-wrap:not(.active) .radial-item[data-index="0"] { transition-delay: 0.2s; }

.radial-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14,14,17,0.9);
    border: 1.5px solid var(--white10);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.radial-item:hover .radial-item-icon {
    border-color: var(--pink);
    background: rgba(238,169,201,0.15);
    color: var(--pink);
    transform: scale(1.2) rotate(10deg);
    box-shadow:
        0 0 20px rgba(238,169,201,0.3),
        0 0 40px rgba(238,169,201,0.1);
}
.radial-item-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--white70);
    white-space: nowrap;
    transition: all 0.3s var(--ease);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.radial-item:hover .radial-item-label {
    color: var(--pink);
}

/* Backdrop blur when menu open */
.radial-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(14,14,17,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}
.radial-menu-wrap.active .radial-backdrop {
    opacity: 1;
    pointer-events: all;
}

/* Pulse animation on trigger when idle */
@keyframes radialPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(238,169,201,0.3); }
    50% { box-shadow: 0 0 0 12px rgba(238,169,201,0); }
}
.radial-trigger {
    animation: radialPulse 3s ease-in-out infinite;
}
.radial-menu-wrap.active .radial-trigger {
    animation: none;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 48px 0;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
#heroCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: sphereFloat 30s ease-in-out infinite;
    will-change: transform;
    contain: layout style;
}
.sphere-1 { width: 600px; height: 600px; background: rgba(238,169,201,0.18); top: -25%; right: -15%; }
.sphere-2 { width: 450px; height: 450px; background: rgba(116,186,225,0.14); bottom: -15%; left: -10%; animation-delay: -10s; }
.sphere-3 { width: 400px; height: 400px; background: rgba(157,218,208,0.12); top: 35%; left: 25%; animation-delay: -20s; }

@keyframes sphereFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(80px, -60px, 0) scale(1.1); }
    50% { transform: translate3d(-40px, 80px, 0) scale(0.9); }
    75% { transform: translate3d(60px, 40px, 0) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--pink);
    margin-bottom: 32px;
    display: inline-block;
}

/* Glitch */
.glitch {
    position: relative;
    animation: glitchSkew 6s infinite linear alternate-reverse;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.glitch::before {
    color: var(--blue);
    animation: glitch1 4s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch::after {
    color: var(--mint);
    animation: glitch2 5s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -1px); }
    60% { transform: translate(-2px, 3px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}
@keyframes glitch2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -2px); }
    40% { transform: translate(-3px, 1px); }
    60% { transform: translate(2px, -3px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}
@keyframes glitchSkew {
    0% { transform: skew(0deg); }
    2% { transform: skew(0.5deg); }
    4% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

.hero-title {
    margin-bottom: 48px;
}
.title-line {
    overflow: hidden;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.title-word {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    display: inline-block;
}
.stroke-text {
    -webkit-text-stroke: 2px var(--white);
    color: transparent;
}
.holo-word {
    background: var(--holo-full);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holoFlow 3s ease-in-out infinite;
}
@keyframes holoFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-desc {
    font-size: 1rem;
    color: var(--white70);
    line-height: 1.8;
    max-width: 420px;
}

/* Wild Button */
.btn-wild {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--white);
    color: var(--bg);
    border: none;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}
.btn-wild .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--bg);
    color: var(--white);
    border-radius: 50%;
    transition: transform 0.4s var(--ease);
}
.btn-wild:hover .btn-icon { transform: rotate(90deg); }
.btn-wild:hover { box-shadow: 0 0 60px rgba(238,169,201,0.3), 0 0 120px rgba(116,186,225,0.15); }
.btn-ripple {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--pink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s var(--ease);
    opacity: 0;
}
.btn-wild:hover .btn-ripple {
    width: 300px; height: 300px;
    opacity: 0.15;
}

/* Marquee */
.marquee-wrap {
    position: absolute;
    bottom: 80px;
    left: 0; right: 0;
    z-index: 2;
    overflow: hidden;
}
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--white10);
    border-bottom: 1px solid var(--white10);
    overflow: hidden;
}
.marquee {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-flex;
    gap: 32px;
    animation: marqueeScroll 25s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--white40);
    text-transform: uppercase;
}
.marquee-big {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0;
    color: var(--white10);
    gap: 48px;
}
.marquee-footer {
    font-size: 0.65rem;
    color: var(--white40);
}
.marquee-reverse .marquee-content {
    animation-direction: reverse;
}
.marquee-dot { color: var(--pink); }

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

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 48px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}
.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--white40);
}
.scroll-line {
    width: 40px; height: 1px;
    background: var(--white40);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--pink);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === STATS === */
.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 48px;
    border-top: 1px solid var(--white10);
    border-bottom: 1px solid var(--white10);
    flex-wrap: wrap;
}
.stat-block { text-align: center; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    background: var(--holo-full);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holoFlow 3s ease-in-out infinite;
    line-height: 1;
}
.stat-sign {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: 800;
    color: var(--pink);
}
.stat-txt {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--white40);
    margin-top: 8px;
    line-height: 1.6;
}
.stat-divider {
    width: 1px; height: 60px;
    background: linear-gradient(180deg, transparent, var(--white10), transparent);
}

/* === ABOUT === */
.about {
    padding: 160px 0;
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 10%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(153,141,192,0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: sphereFloat 25s ease-in-out infinite;
    pointer-events: none;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--white40);
    margin-bottom: 32px;
}
.big-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.about-right { padding-top: 20px; }
.about-text-block { margin-bottom: 32px; }
.big-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--white70);
}
.about-text-block p:not(.big-text) {
    color: var(--white40);
    line-height: 1.85;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.pill {
    padding: 10px 22px;
    border: 1px solid var(--white10);
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--white40);
    transition: all 0.4s var(--ease);
}
.pill:hover {
    border-color: var(--pink);
    color: var(--pink);
    background: rgba(238,169,201,0.06);
    transform: translateY(-3px);
}

/* === SERVICES === */
.services {
    padding: 160px 0 0;
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    bottom: 0; left: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(116,186,225,0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: sphereFloat 30s ease-in-out infinite reverse;
    pointer-events: none;
}
.services-list {
    margin-top: 64px;
    border-top: 1px solid var(--white10);
}
.service-item {
    position: relative;
    border-bottom: 1px solid var(--white10);
    overflow: hidden;
    transition: color 0.4s var(--ease);
}
.service-inner {
    display: flex;
    align-items: center;
    padding: 48px 0;
    gap: 32px;
    position: relative;
    z-index: 2;
}
.service-left { display: flex; align-items: center; gap: 32px; flex: 1; }
.service-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--white40);
    min-width: 32px;
    transition: color 0.4s var(--ease);
}
.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    transition: transform 0.5s var(--ease);
}
.service-right {
    flex: 0.6;
    font-size: 0.85rem;
    color: var(--white40);
    line-height: 1.7;
    transition: color 0.4s var(--ease);
}
.service-arrow {
    font-size: 1.5rem;
    color: var(--white40);
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateX(-20px);
}
.service-bg-fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease);
    z-index: 1;
}
.service-item[data-color="pink"] .service-bg-fill { background: rgba(238,169,201,0.08); }
.service-item[data-color="blue"] .service-bg-fill { background: rgba(116,186,225,0.08); }
.service-item[data-color="mint"] .service-bg-fill { background: rgba(157,218,208,0.08); }
.service-item[data-color="purple"] .service-bg-fill { background: rgba(153,141,192,0.08); }

.service-item:hover .service-bg-fill { transform: scaleY(1); }
.service-item:hover .service-title { transform: translateX(16px); }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }

.service-item[data-color="pink"]:hover { color: var(--pink); }
.service-item[data-color="pink"]:hover .service-num { color: var(--pink); }
.service-item[data-color="blue"]:hover { color: var(--blue); }
.service-item[data-color="blue"]:hover .service-num { color: var(--blue); }
.service-item[data-color="mint"]:hover { color: var(--mint); }
.service-item[data-color="mint"]:hover .service-num { color: var(--mint); }
.service-item[data-color="purple"]:hover { color: var(--purple); }
.service-item[data-color="purple"]:hover .service-num { color: var(--purple); }
.service-item:hover .service-right { color: var(--white70); }
.service-item:hover .service-arrow { color: inherit; }

/* === BIG TEXT === */
.big-text-section {
    padding: 160px 0;
    text-align: center;
}
.massive-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* === TEAM === */
.team { padding: 160px 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--white05);
    border: 1px solid var(--white10);
    transition: all 0.5s var(--ease);
}
.team-card:hover {
    border-color: var(--pink);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(238,169,201,0.1);
}
.team-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg2), var(--bg));
}
.team-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white10);
    transition: all 0.5s var(--ease);
}
.team-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all 0.5s var(--ease);
}
.team-card:hover .team-placeholder {
    transform: scale(1.1);
    color: var(--white40);
}
.team-card:hover .team-photo {
    transform: scale(1.08);
}
.team-overlay {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--white10);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--white40);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
}
.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}
.team-info {
    padding: 24px;
}
.team-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.team-info span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--white40);
}

/* === CONTACT === */
.contact {
    padding: 160px 0;
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    top: 20%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(238,169,201,0.1) 0%, rgba(116,186,225,0.06) 50%, transparent 70%);
    filter: blur(80px);
    animation: auroraDrift 20s ease-in-out infinite alternate;
    pointer-events: none;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-details { margin-top: 48px; }
.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--white10);
    font-size: 1rem;
    color: var(--white70);
    transition: all 0.3s var(--ease);
}
.contact-link i {
    width: 20px;
    text-align: center;
    color: var(--white40);
    transition: color 0.3s;
}
.contact-link:hover {
    color: var(--pink);
    padding-left: 8px;
}
.contact-link:hover i { color: var(--pink); }

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}
.social-btn {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white10);
    border-radius: 50%;
    color: var(--white40);
    font-size: 1.1rem;
    transition: all 0.4s var(--ease);
}
.social-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
    background: rgba(238,169,201,0.06);
    transform: translateY(-4px) rotate(5deg);
}

.contact-form { padding-top: 20px; }
.form-group { margin-bottom: 24px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white10);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 2px;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white40);
    letter-spacing: 3px;
    font-size: 0.72rem;
}
.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--pink);
}
.form-group textarea {
    resize: none;
    min-height: 80px;
    font-family: var(--font-mono);
}
.btn-submit {
    width: 100%;
    margin-top: 8px;
    font-size: 0.82rem;
    justify-content: center;
}
.btn-submit:hover {
    box-shadow: 0 0 40px rgba(238, 169, 201, 0.3), 0 0 80px rgba(116, 186, 225, 0.15);
}

/* === PAGE HERO (for sub-pages) === */
.page-hero {
    padding: 180px 0 100px;
    position: relative;
}
.page-hero-tag {
    margin-bottom: 24px;
}
.page-hero-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white70);
    line-height: 1.8;
    margin-top: 32px;
    max-width: 600px;
}

/* === NAV BACK LINK === */
.nav-back-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white40);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s var(--ease);
}
.nav-back-link:hover {
    color: var(--pink);
}
.nav-back-link i {
    font-size: 0.85rem;
    transition: transform 0.3s var(--ease);
}
.nav-back-link:hover i {
    transform: translateX(-4px);
}
body.is-arabic .nav-back-link {
    flex-direction: row-reverse;
}
body.is-arabic .nav-back-link:hover i {
    transform: translateX(4px);
}

/* === BACK TO BLOG LINK === */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white40);
    text-decoration: none;
    margin-top: 16px;
    padding: 10px 24px;
    border: 1px solid var(--white10);
    border-radius: 30px;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.back-to-blog:hover {
    color: var(--pink);
    border-color: var(--pink);
    background: rgba(238, 169, 201, 0.05);
}
.back-to-blog i {
    transition: transform 0.3s var(--ease);
}
.back-to-blog:hover i {
    transform: translateX(-4px);
}
body.is-arabic .back-to-blog {
    flex-direction: row-reverse;
}
body.is-arabic .back-to-blog:hover i {
    transform: translateX(4px);
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    padding: 40px 0 100px;
}
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    justify-content: center;
}
.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 10px 24px;
    border: 1px solid var(--white10);
    border-radius: 30px;
    background: none;
    color: var(--white70);
    cursor: none;
    transition: all 0.4s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--pink);
    color: var(--pink);
    background: rgba(238,169,201,0.08);
    box-shadow: 0 0 20px rgba(238,169,201,0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--white10);
    background: rgba(14,14,17,0.6);
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ease);
    cursor: none;
}
.portfolio-card:hover {
    border-color: var(--pink);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(238,169,201,0.08);
}
.portfolio-card-inner {
    position: relative;
    min-height: 380px;
}
.portfolio-card-front {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    justify-content: space-between;
}
.portfolio-card-visual {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(238,169,201,0.08);
    border: 1px solid var(--white10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    position: relative;
    transition: all 0.5s var(--ease);
}
.portfolio-card:hover .portfolio-card-visual {
    transform: scale(1.15) rotate(10deg);
    border-color: var(--accent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}
.portfolio-num {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    -webkit-text-stroke: 1px var(--white10);
    color: transparent;
    line-height: 1;
}
.portfolio-card-info {
    margin-top: auto;
}
.portfolio-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.portfolio-card-info p {
    font-size: 0.85rem;
    color: var(--white40);
}

/* Overlay on hover */
.portfolio-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(14,14,17,0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}
.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--pink);
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(238,169,201,0.3);
    border-radius: 20px;
    width: fit-content;
}
.portfolio-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.portfolio-card-overlay p {
    font-size: 0.9rem;
    color: var(--white70);
    line-height: 1.7;
    margin-bottom: 20px;
}
.portfolio-stats {
    display: flex;
    gap: 24px;
    margin-top: auto;
}
.portfolio-stats span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--white40);
    letter-spacing: 1px;
}
.portfolio-stats strong {
    color: var(--pink);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

/* Filter animation */
.portfolio-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

/* === SOLUTIONS PAGE === */
.solutions-strip {
    padding: 40px 0 100px;
}
.solutions-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.solution-card {
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--white10);
    background: rgba(14,14,17,0.6);
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}
.solution-card:hover {
    border-color: var(--white40);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.solution-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(238,169,201,0.06);
    border: 1px solid var(--white10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 28px;
    position: relative;
    transition: all 0.5s var(--ease);
}
.solution-card:hover .solution-card-icon {
    border-color: var(--accent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 25%, transparent);
    transform: rotate(5deg) scale(1.05);
}
.solution-card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
}
.solution-card:hover .solution-card-glow {
    opacity: 1;
}
.solution-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.solution-card-desc {
    font-size: 0.9rem;
    color: var(--white70);
    line-height: 1.7;
    margin-bottom: 24px;
}
.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--white70);
    font-family: var(--font-body);
}
.solution-features li i {
    color: var(--mint);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(157,218,208,0.1);
    flex-shrink: 0;
}

/* === CLIENT INSTAGRAM ACCOUNTS === */
.clients-section {
    padding: 100px 0;
}
.clients-page-section {
    padding: 40px 0 100px;
}
.client-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}
.clients-desc {
    font-size: 1rem;
    color: var(--white40);
    margin-top: 16px;
    margin-bottom: 48px;
}
.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.ig-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--white10);
    border-radius: 20px;
    background: rgba(14,14,17,0.7);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.5s var(--ease);
    cursor: none;
    position: relative;
}
.ig-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    opacity: 0;
    transition: opacity 0.4s;
}
.ig-card:hover::before {
    opacity: 1;
}
.ig-card:hover {
    border-color: rgba(225, 48, 108, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(225, 48, 108, 0.08);
}
.ig-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 24px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
}
.ig-card-header:hover {
    background: rgba(225,48,108,0.04);
}
.ig-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease);
}
.ig-card:hover .ig-avatar {
    transform: scale(1.1) rotate(10deg);
}
.ig-info {
    flex: 1;
    min-width: 0;
}
.ig-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}
.ig-info span {
    font-size: 0.8rem;
    color: var(--white40);
    font-family: var(--font-body);
}
.ig-follow-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--white10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white40);
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}
.ig-card:hover .ig-follow-badge {
    border-color: #e1306c;
    color: #e1306c;
    background: rgba(225,48,108,0.08);
}

.ig-card-body {
    padding: 0 24px 16px;
}
.ig-embed-wrap {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 480px;
    background: rgba(242,242,241,0.03);
    border: 1px solid var(--white05);
}
.ig-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: all;
    border-radius: 10px;
}
.ig-mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-radius: 10px;
    overflow: hidden;
}
.ig-mock-post {
    aspect-ratio: 1;
    background: rgba(242,242,241,0.03);
    border: 1px solid var(--white05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    opacity: 0.5;
    transition: all 0.4s var(--ease);
}
.ig-card:hover .ig-mock-post {
    opacity: 1;
    background: rgba(242,242,241,0.06);
}
.ig-card:hover .ig-mock-post:nth-child(1) { transition-delay: 0.05s; }
.ig-card:hover .ig-mock-post:nth-child(2) { transition-delay: 0.1s; }
.ig-card:hover .ig-mock-post:nth-child(3) { transition-delay: 0.15s; }

.ig-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--white05);
}
.ig-category {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--white40);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ig-category i {
    color: var(--pink);
    font-size: 0.55rem;
}
.ig-managed {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--mint);
    opacity: 0.6;
}

/* === PROCESS SECTION === */
.process-section {
    padding: 100px 0;
}
.process-timeline {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--white10) 10%, var(--white10) 90%, transparent);
}
.process-step {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    border-bottom: 1px solid var(--white05);
    position: relative;
    transition: all 0.4s var(--ease);
}
.process-step:hover {
    background: rgba(238,169,201,0.03);
}
.process-step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    -webkit-text-stroke: 1.5px var(--white10);
    color: transparent;
    min-width: 80px;
    text-align: center;
    transition: all 0.4s var(--ease);
}
.process-step:hover .process-step-num {
    -webkit-text-stroke-color: var(--pink);
    color: rgba(238,169,201,0.1);
}
.process-step-content {
    flex: 1;
}
.process-step-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: all 0.3s;
}
.process-step:hover .process-step-content h3 {
    background: var(--holo-full);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holoFlow 3s ease-in-out infinite;
}
.process-step-content p {
    font-size: 0.9rem;
    color: var(--white40);
    line-height: 1.6;
}
.process-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--white10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white40);
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}
.process-step:hover .process-step-icon {
    border-color: var(--pink);
    color: var(--pink);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 20px rgba(238,169,201,0.15);
}

/* === WHY US SECTION === */
.why-us-section {
    padding: 100px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.why-card {
    padding: 32px;
    border: 1px solid var(--white10);
    border-radius: 16px;
    background: rgba(14,14,17,0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.why-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.why-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    -webkit-text-stroke: 1px var(--white10);
    color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    transition: 0.4s;
}
.why-card:hover .why-num {
    -webkit-text-stroke-color: var(--pink);
}
.why-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 0.85rem;
    color: var(--white40);
    line-height: 1.7;
}

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--white10);
    padding: 0 0 32px;
}
.footer-marquee {
    padding: 24px 0;
    border-bottom: 1px solid var(--white10);
    overflow: hidden;
    margin-bottom: 40px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logo {
    height: 140px;
}
.footer-nav {
    display: flex;
    gap: 32px;
}
.footer-nav a {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--white40);
    transition: color 0.3s;
}
.footer-nav a:hover { color: var(--pink); }
.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.65rem;
    color: var(--white40);
    letter-spacing: 2px;
    margin-top: 24px;
    font-family: var(--font-mono);
}

/* === REVEAL === */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === BLOG SECTION === */
.blog-section {
    padding: 40px 0 100px;
}

/* === BLOG CATEGORIES GRID === */
.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.blog-cat-card {
    background: var(--white05);
    border: 1px solid var(--white10);
    border-radius: 20px;
    padding: 40px 32px;
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.blog-cat-card::after {
    content: '→';
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 1.4rem;
    color: var(--white10);
    transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.blog-cat-card:hover::after {
    color: var(--pink);
    transform: translateX(4px);
}
.blog-cat-card:hover {
    border-color: var(--pink);
    box-shadow: 0 0 40px rgba(238, 169, 201, 0.1);
    transform: translateY(-4px);
    background: rgba(238, 169, 201, 0.03);
}
.blog-cat-card i {
    font-size: 2rem;
    background: var(--holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.blog-cat-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-cat-ar {
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    color: var(--white40);
    direction: rtl;
    line-height: 1.8;
}
.blog-cat-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--white30);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}
@media (max-width: 768px) {
    .blog-categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-cat-card {
        padding: 28px 24px;
    }
}

.blog-article {
    background: var(--white05);
    border: 1px solid var(--white10);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 40px;
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.blog-article:hover {
    border-color: var(--pink);
    box-shadow: 0 0 40px rgba(238, 169, 201, 0.08);
}
.blog-article-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.blog-date, .blog-category {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--white40);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white50);
    background: var(--white05);
    border: 1px solid var(--white10);
    padding: 4px 12px;
    border-radius: 20px;
}
.blog-date i, .blog-category i {
    margin-right: 6px;
    background: var(--holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blog-article-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-article-title-ar {
    font-family: var(--font-arabic-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.8;
    color: var(--white70);
    margin-bottom: 24px;
    letter-spacing: 0;
}
.blog-article-body h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pink);
    margin: 28px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-article-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--white70);
    margin-bottom: 14px;
}
.blog-article-body ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.blog-article-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--white70);
}
.blog-article-body ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    background: var(--holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 10px;
    top: 5px;
}
.blog-article-body strong {
    color: var(--white);
    font-weight: 600;
}
.blog-article-ar-content {
    background: var(--white05);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    line-height: 2 !important;
    border: 1px solid var(--white10);
}
body.is-arabic .blog-article-body ul li {
    padding-left: 0;
    padding-right: 24px;
}
body.is-arabic .blog-article-body ul li::before {
    left: auto;
    right: 0;
}
body.is-arabic .blog-date i, body.is-arabic .blog-category i {
    margin-right: 0;
    margin-left: 6px;
}
@media (max-width: 768px) {
    .blog-article {
        padding: 28px 20px;
    }
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    z-index: 99998;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    animation: waFloat 3s ease-in-out infinite;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 4px 15px rgba(0,0,0,0.4);
}
.whatsapp-float:active {
    transform: translateY(-1px) scale(1);
}
@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.whatsapp-float:hover {
    animation: none;
}
body.is-arabic .whatsapp-float {
    right: auto;
    left: 30px;
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
    display: none;
}
@keyframes langPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(238, 169, 201, 0.2), 0 4px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 0 35px rgba(238, 169, 201, 0.4), 0 4px 20px rgba(0,0,0,0.4); }
}
.lang-toggle:hover {
    border-color: var(--pink);
    box-shadow: 0 0 40px rgba(238, 169, 201, 0.5), 0 4px 20px rgba(0,0,0,0.4);
    transform: translateY(-3px) scale(1.05);
    animation: none;
}
.lang-toggle:active {
    transform: translateY(-1px) scale(1);
}
.lang-toggle .lang-toggle-icon {
    font-size: 18px;
    background: linear-gradient(135deg, var(--pink), var(--blue), var(--mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lang-toggle .lang-toggle-text {
    line-height: 1;
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white05);
    border: 1px solid var(--white10);
    color: var(--white70);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s, border-color 0.3s, color 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--bg);
    transform: translateY(-3px);
}
body.is-arabic .scroll-top {
    right: auto;
    left: 30px;
}
@media (max-width: 768px) {
    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 82px;
        right: 20px;
    }
    body.is-arabic .scroll-top {
        right: auto;
        left: 20px;
    }
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--holo);
    z-index: 100000;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* === SKIP TO CONTENT (Accessibility) === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--pink);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0 0 12px 12px;
    z-index: 200000;
    text-decoration: none;
    transition: top 0.3s var(--ease);
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* === FORM SHAKE ANIMATION === */
@keyframes formShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.shake {
    animation: formShake 0.4s ease;
}

/* ═══════════════════════════════════════════
   ARABIC / RTL MODE  
   ═══════════════════════════════════════════ */
body.is-arabic {
    direction: rtl;
    font-family: var(--font-arabic);
    text-align: right;
}

/* ── Font override (all elements) ── */
body.is-arabic *:not(.fa):not(.fas):not(.fab):not(.far):not(.fal):not([class*="fa-"]) {
    font-family: var(--font-arabic) !important;
}
/* Display font (headings, titles, big text) */
body.is-arabic .title-word,
body.is-arabic .big-heading,
body.is-arabic .massive-text,
body.is-arabic .service-title,
body.is-arabic .stat-num,
body.is-arabic .solution-card-title,
body.is-arabic .process-step h3,
body.is-arabic .why-card h4,
body.is-arabic .hero-tag {
    font-family: var(--font-arabic-display) !important;
}

/* ── Hero title lines ── */
body.is-arabic .title-line {
    justify-content: flex-start;
    gap: 24px;
}
body.is-arabic .title-word {
    letter-spacing: 0 !important;
    line-height: 1.15;
    text-transform: none !important;
    font-weight: 900;
}
body.is-arabic .title-word.stroke-text {
    -webkit-text-stroke: 0 !important;
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white) !important;
    opacity: 0.25;
}
body.is-arabic .hero-title {
    margin-bottom: 56px;
}

/* ── Hero section ── */
body.is-arabic .hero-content {
    text-align: right;
}
body.is-arabic .hero-tag {
    letter-spacing: 0 !important;
    font-size: 0.85rem;
    font-weight: 700;
}
body.is-arabic .hero-desc,
body.is-arabic .page-hero-desc {
    text-align: right;
    line-height: 2;
    font-size: 1.05rem;
}
body.is-arabic .hero-bottom {
    gap: 24px;
}

/* ── Scroll hint ── */
body.is-arabic .scroll-hint {
    right: auto;
    left: 48px;
}
body.is-arabic .scroll-hint span {
    letter-spacing: 0 !important;
}

/* ── Stats ── */
body.is-arabic .stats-strip {
    direction: rtl;
}
body.is-arabic .stat-txt {
    letter-spacing: 0 !important;
    font-size: 0.72rem;
    line-height: 1.8;
}

/* ── Section labels & headings ── */
body.is-arabic .section-label {
    letter-spacing: 0 !important;
    font-size: 0.8rem;
    font-weight: 700;
}
body.is-arabic .big-heading {
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.2;
    font-weight: 900;
}

/* ── About ── */
body.is-arabic .about-layout {
    direction: rtl;
}
body.is-arabic .about-text-block p {
    line-height: 2;
}
body.is-arabic .pill {
    letter-spacing: 0 !important;
    font-size: 0.78rem;
    font-weight: 600;
}
body.is-arabic .about-pills {
    justify-content: flex-start;
}

/* ── Services ── */
body.is-arabic .service-item {
    text-align: right;
}
body.is-arabic .service-title {
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 900;
}
body.is-arabic .service-right p {
    text-align: right;
    line-height: 1.9;
}
body.is-arabic .service-item:hover .service-title {
    transform: translateX(16px);
}

/* ── Massive text / CTA ── */
body.is-arabic .massive-text {
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.2;
    font-weight: 900;
}
body.is-arabic .big-text-section {
    text-align: center;
}

/* ── Team ── */
body.is-arabic .team-overlay span,
body.is-arabic .team-info span {
    letter-spacing: 0 !important;
}

/* ── Contact ── */
body.is-arabic .contact-layout {
    direction: rtl;
}
body.is-arabic .contact-link {
    text-align: right;
}
body.is-arabic .form-group input,
body.is-arabic .form-group textarea {
    text-align: right;
    letter-spacing: 0 !important;
    font-size: 0.9rem;
}
body.is-arabic .form-group input::placeholder,
body.is-arabic .form-group textarea::placeholder {
    letter-spacing: 0 !important;
    font-size: 0.82rem;
}

/* ── Buttons ── */
body.is-arabic .btn-wild {
    letter-spacing: 0 !important;
}
body.is-arabic .btn-text {
    letter-spacing: 0 !important;
    font-weight: 700;
}

/* ── Footer ── */
body.is-arabic .footer-nav {
    direction: rtl;
}
body.is-arabic .footer-nav a {
    letter-spacing: 0 !important;
}
body.is-arabic .footer-copy {
    letter-spacing: 0 !important;
}

/* ── Nav ── */
body.is-arabic nav,
body.is-arabic .nav-container,
body.is-arabic .radial-menu-wrap {
    direction: ltr;
    text-align: left;
}
body.is-arabic .radial-item-label {
    letter-spacing: 0 !important;
}

/* ── Filters (portfolio / clients) ── */
body.is-arabic .filter-btn {
    letter-spacing: 0 !important;
    font-weight: 600;
}
body.is-arabic .portfolio-filters,
body.is-arabic .client-filters {
    direction: rtl;
}

/* ── Client cards ── */
body.is-arabic .ig-category,
body.is-arabic .ig-managed {
    direction: rtl;
    letter-spacing: 0 !important;
}

/* ── Solution cards ── */
body.is-arabic .solution-card-title {
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 900;
}
body.is-arabic .solution-card-desc {
    text-align: right;
    line-height: 1.9;
}
body.is-arabic .solution-feature {
    text-align: right;
}

/* ── Process & Why sections ── */
body.is-arabic .process-step {
    text-align: right;
}
body.is-arabic .process-step h3 {
    letter-spacing: 0 !important;
    text-transform: none !important;
}
body.is-arabic .process-step p {
    line-height: 1.9;
}
body.is-arabic .why-card {
    text-align: right;
}
body.is-arabic .why-card h4 {
    letter-spacing: 0 !important;
    text-transform: none !important;
}
body.is-arabic .why-card p {
    line-height: 1.9;
}

/* ── Lang toggle position stays left ── */
body.is-arabic .lang-toggle {
    left: 32px;
    right: auto;
}
@media (max-width: 768px) {
    .lang-toggle {
        bottom: 20px;
        left: 20px;
        padding: 10px 18px;
        font-size: 12px;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    body.is-arabic .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container { padding: 0 32px; }
    .hero { padding: 140px 32px 0; }
    .about-layout { grid-template-columns: 1fr; gap: 48px; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .solutions-cards { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
    a, button { cursor: auto; }
    
    .container { padding: 0 20px; }
    .nav-container { padding: 0 16px; }
    .nav-cta { display: none; }
    .nav-logo img {
        height: 160px;
        margin: -55px 0;
    }
    .nav-right { position: static; }
    
    /* Radial trigger — centered pill with MENU text */
    .radial-menu-wrap {
        position: static;
    }
    .radial-trigger {
        width: auto;
        height: 44px;
        border-radius: 30px;
        padding: 0 24px;
        gap: 10px;
        flex-direction: row;
    }
    .radial-trigger::after {
        content: 'MENU';
        font-family: var(--font-mono);
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 3px;
        color: var(--white);
    }
    .radial-menu-wrap.active .radial-trigger::after {
        content: 'CLOSE';
    }
    .radial-trigger-inner {
        width: 16px;
        gap: 4px;
    }
    .radial-ring { display: none; }

    /* Mobile: Arc opens down-left from the trigger button — 7 items */
    .radial-item[data-index="0"] { --tx: -200px; --ty: 15px; }
    .radial-item[data-index="1"] { --tx: -195px; --ty: 80px; }
    .radial-item[data-index="2"] { --tx: -170px; --ty: 140px; }
    .radial-item[data-index="3"] { --tx: -130px; --ty: 190px; }
    .radial-item[data-index="4"] { --tx: -75px;  --ty: 225px; }
    .radial-item[data-index="5"] { --tx: -10px;  --ty: 245px; }
    .radial-item[data-index="6"] { --tx: 60px;   --ty: 245px; }

    .radial-item-icon {
        width: 50px; 
        height: 50px; 
        font-size: 1.1rem;
    }
    .radial-item-label {
        font-size: 0.55rem;
        letter-spacing: 2px;
    }

    /* Flying icons on mobile - smaller */
    .flying-icons { width: 300px; height: 40px; }
    .fly-icon { width: 24px; height: 24px; font-size: 0.65rem; opacity: 0.45; }
    
    /* Hero */
    .hero { padding: 100px 20px 0; min-height: 100svh; }
    .hero-tag { font-size: 0.65rem; letter-spacing: 3px; margin-bottom: 20px; }
    .title-word { font-size: clamp(2.2rem, 11vw, 4rem); }
    .title-line { gap: 8px; }
    .hero-title { margin-bottom: 32px; }
    .hero-desc { font-size: 0.9rem; line-height: 1.7; }
    .hero-desc br { display: none; }
    .hero-bottom { gap: 24px; }
    .btn-wild { padding: 16px 32px; font-size: 0.75rem; letter-spacing: 2px; }
    .btn-wild .btn-icon { width: 28px; height: 28px; }
    
    /* Gradient spheres — smaller on mobile */
    .sphere-1 { width: 300px; height: 300px; }
    .sphere-2 { width: 250px; height: 250px; }
    .sphere-3 { width: 200px; height: 200px; }
    
    /* Marquee */
    .marquee-wrap { bottom: 20px; }
    .scroll-hint { display: none; }
    
    /* Glitch — reduce on mobile */
    .glitch::before,
    .glitch::after { display: none; }
    .glitch { animation: none; }
    
    .stats-strip { gap: 32px; padding: 48px 20px; }
    .stat-divider { display: none; }
    .stat-num { font-size: 3rem; }
    
    .service-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 0; }
    .service-right { flex: 1; }
    .service-arrow { display: none; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    .massive-text { font-size: clamp(2rem, 8vw, 4rem); }
    
    .solutions-cards { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .process-timeline::before { left: 30px; }
    .process-step-num { font-size: 2rem; min-width: 50px; }
    .process-step { padding: 24px 16px; gap: 16px; }
    .page-hero { padding: 120px 0 50px; }
    .page-hero-desc br { display: none; }
    
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-nav { flex-wrap: wrap; justify-content: center; }
    
    /* Aurora — lighter on mobile */
    .bg-aurora::before { opacity: 0.6; }
    .bg-aurora::after { opacity: 0.5; }
    .noise-overlay { display: none; }
    
    /* Video overlay darker on mobile for readability */
    .bg-video-overlay {
        background: rgba(14, 14, 17, 0.93);
    }

    /* Hide heavy video on mobile to save bandwidth */
    .bg-video {
        display: none;
    }

    /* Blog article pages mobile */
    .nav-back-link {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    .back-to-blog {
        font-size: 0.65rem;
        padding: 8px 18px;
    }
    .blog-article-title {
        font-size: 1.2rem;
    }
    .blog-article-body h4 {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .hero-bottom { flex-direction: column; align-items: flex-start; }
    .why-grid { grid-template-columns: 1fr; }
    .portfolio-card-inner { min-height: 320px; }
    .portfolio-card-front { min-height: 320px; }
    .title-word { font-size: clamp(1.8rem, 12vw, 3rem); }
    .hero { padding: 90px 16px 0; }
    .container { padding: 0 16px; }
    .nav-logo img { height: 160px; margin: -55px 0; }
    .hero-tag { font-size: 0.6rem; letter-spacing: 2px; }
    .marquee-wrap { bottom: 12px; }
    .stats-strip { flex-direction: column; gap: 24px; text-align: center; }
}

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

/* === GPU LAYER HINTS FOR FIXED BACKGROUNDS === */
.bg-aurora,
.bg-aurora::before,
.bg-aurora::after,
.bg-grid,
.noise-overlay {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
