@font-face {
  font-family: "Adobe Arabic";
  src: url("assets/fonts/AdobeArabic-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy Black";
  src: url("assets/fonts/Gilroy-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

:root {
  --blue: #0868ff;
  --dark: #00040d;
  --white: #ffffff;
  --text-main: #1a1a1a;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-dim: rgba(255, 255, 255, 0.6);
  --font-ar: "Adobe Arabic", Tahoma, Arial, sans-serif;
  --font-en: "Gilroy Black", sans-serif;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; }
body {
  direction: rtl;
  color: var(--white);
  background: var(--dark);
  font-family: var(--font-ar);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, .btn, .primary-nav a, .card-num {
  font-family: var(--font-en), var(--font-ar);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(0, 4, 13, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  direction: ltr;
  transition: var(--transition);
}

.site-header.scrolled {
  height: 108px;
  background: rgba(0, 4, 13, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(168px, 13vw, 232px);
  height: auto;
  object-fit: contain;
}

.primary-nav {
  direction: rtl;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(40px, 4.8vw, 86px);
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1;
  color: var(--white);
  font-weight: 900;
  transition: var(--transition);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--blue);
  transform: translateX(50%);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a.active { color: var(--blue); }
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 76px; }

.menu-toggle { display: none; width: 44px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.06); padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; margin-bottom: 5px; border-radius: 99px; background: #fff; }
.menu-toggle span:last-child { margin-bottom: 0; }

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  background: #000 url('ChatGPT Image 9 يوليو 2026، 01_56_26 ص.png') no-repeat left center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
  z-index: 1;
}

.hero .section-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between; /* تم التعديل لتوزيع النص والصورة */
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 600px;
  width: 100%;
  text-align: right;
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: -180px; /* تم رفع النص أكثر للأعلى بناءً على طلبك */
}

.hero-actions {
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-btn-about {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 42px;
  background: linear-gradient(135deg, var(--blue) 0%, #004dc7 100%);
  color: #fff;
  border-radius: 100px;
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(8, 104, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-btn-about:hover {
  transform: translateY(-8px) scale(1.05);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 15px 40px rgba(8, 104, 255, 0.4);
  border-color: var(--blue);
}

.hero-btn-about span {
  position: relative;
  z-index: 2;
}

.hero-btn-about i {
  transition: transform 0.4s ease;
}

.hero-btn-about:hover i {
  transform: translateY(3px);
}

.hero-title {
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 900;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
  display: block;
  margin: 0;
}

.hero-title-line--accent {
  color: var(--blue);
  margin-bottom: 5px;
}

.hero-title-line--main {
  color: #ffffff;
}

/* --- Standalone Character Layout & Animation --- */
.hero-visual-standalone {
  position: absolute;
  left: -2%;
  bottom: 0;
  height: 95vh;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  perspective: 1200px; /* Enable 3D depth */
}

/* --- 3D Data Cards Performance Fix --- */
.hero-data-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
}

.data-card {
  position: absolute;
  width: clamp(140px, 16vw, 210px); /* Slightly larger cards */
  height: auto;
  opacity: 0; /* Start hidden for animation */
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
  animation: dataCardEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             dataCardFloat 6s infinite ease-in-out;
  will-change: transform, opacity;
}

/* Specific 3D Positions and Delays */
.dc-1 { top: 10%; right: 15%; --ry: -20deg; --rx: 15deg; --tz: -50px; animation-delay: 0.2s; }
.dc-2 { top: 35%; right: 5%; --ry: -10deg; --rx: 5deg; --tz: -150px; animation-delay: 0.4s; }
.dc-3 { top: 60%; right: 18%; --ry: -25deg; --rx: -10deg; --tz: -100px; animation-delay: 0.6s; }
.dc-4 { top: 20%; left: 5%; --ry: 20deg; --rx: 10deg; --tz: -120px; animation-delay: 0.8s; }
.dc-5 { top: 55%; left: 10%; --ry: 15deg; --rx: -5deg; --tz: -180px; animation-delay: 1s; }

@keyframes dataCardEntrance {
  from { opacity: 0; transform: translate3d(0, 40px, -200px) rotateY(var(--ry)) rotateX(var(--rx)); }
  to { opacity: 0.9; transform: translate3d(0, 0, var(--tz)) rotateY(var(--ry)) rotateX(var(--rx)); }
}

@keyframes dataCardFloat {
  0%, 100% { transform: translate3d(0, 0, var(--tz)) rotateY(var(--ry)) rotateX(var(--rx)); }
  50% { transform: translate3d(0, -20px, var(--tz)) rotateY(calc(var(--ry) + 3deg)) rotateX(calc(var(--rx) - 2deg)); }
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .hero-data-cards { z-index: 1; } /* Bring forward on mobile if needed */
  .data-card { width: 120px; opacity: 0.7; }
  .dc-1 { top: 5%; right: 5%; }
  .dc-4 { top: 15%; left: 5%; }
}

.floating-character {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(8, 104, 255, 0.2));
  animation: heroStableFloat 8s infinite ease-in-out;
  transform-origin: bottom center;
}

.character-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(8, 104, 255, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glowPulse 5s infinite alternate ease-in-out;
}

@keyframes heroStableFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.01); }
}

@keyframes glowPulse {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

/* تعديل عرض النصوص لتجنب التداخل مع الشخصية الجديدة */
.hero-content {
  max-width: 550px !important;
  margin-right: 5% !important;
}

@media (max-width: 900px) {
  .hero .section-shell {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
    order: 1;
  }
  .hero-title { font-size: clamp(45px, 10vw, 70px); }
  .hero-copy { text-align: center; }
  .hero-visual {
    order: 2;
    height: 50vh;
    margin-top: 30px;
  }
}

/* About Section - Matching Your Mockup */
.about {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #1a1a1a;
  padding: 96px 0 110px;
  overflow: hidden;
  border-radius: 36px 36px 0 0;
}

.about::before {
  content: "";
  position: absolute;
  inset: 4% auto 0 0;
  width: min(55vw, 760px);
  background: url('assets/build/about-visual-clean.webp') no-repeat left bottom;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
}

.about::after {
  content: "";
  position: absolute;
  left: -9vw;
  top: -4vw;
  width: 42vw;
  height: 42vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  background: rgba(8, 104, 255, 0.075);
  pointer-events: none;
}

.about .section-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8%;
  display: flex;
  justify-content: flex-start;
}

.about-copy {
  width: min(48%, 650px);
  margin: 0;
  text-align: right;
  z-index: 5;
}

.about-title {
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 900;
  margin-bottom: 34px;
  color: #000;
  position: relative;
  line-height: 1.05;
}

.about-title span { color: var(--blue); }

.about-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 58px;
  height: 4px;
  background: var(--blue);
}

.about-copy p {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.68;
  color: #111;
  margin-bottom: 22px;
}

.about-quote-box {
  margin: 34px 0;
  padding: 22px 60px;
  border: 1.5px solid rgba(8, 104, 255, 0.42);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(8, 104, 255, 0.06);
  backdrop-filter: blur(8px);
}

.quote-text {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  color: var(--blue) !important;
  margin: 0 !important;
  text-align: center;
  line-height: 1.2 !important;
}

.q-mark {
  color: var(--blue);
  font-size: 48px;
  font-weight: 900;
  position: absolute;
  font-family: serif;
}

.q-start { right: 20px; top: 0; }
.q-end { left: 20px; bottom: -12px; transform: rotate(180deg); }


.curved-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  z-index: 10;
  opacity: 0.8;
}

/* Clients Section - PERFECT SEAMLESS LOOP */
.clients {
  padding: 100px 0;
  background: var(--dark);
  overflow: hidden;
  position: relative;
}

.clients-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 55px);
  margin-bottom: 60px;
  font-weight: 900;
  color: var(--blue);
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  direction: ltr; /* Animation logic works best in LTR */
}

.marquee-row {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.marquee-group {
  display: flex;
  gap: 30px;
  padding-right: 30px; /* Essential for seamless gap */
}

/* Row 1 moves Left */
.row-1 { animation: marqueeLeft 50s linear infinite; }
/* Row 2 moves Right */
.row-2 { animation: marqueeRight 55s linear infinite; }

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

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

.client-circle {
  width: 130px;
  height: 130px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.client-circle:hover {
  transform: scale(1.3);
  z-index: 100;
  box-shadow: 0 15px 40px rgba(8, 104, 255, 0.4);
}

.client-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Services Section - Highly Animated */
.services {
  background: #ffffff;
  padding: 120px 0;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

/* Background Decorative Blobs */
.services::before, .services::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(8, 104, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulseBlob 8s infinite alternate;
}
.services::before { top: -100px; left: -100px; }
.services::after { bottom: -100px; right: -100px; animation-delay: 4s; }

@keyframes pulseBlob {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.5) translate(50px, 50px); }
}

.services-title {
  text-align: center; margin-bottom: 80px; font-size: 48px; position: relative;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.services-title span { position: relative; z-index: 2; background: var(--white); padding: 0 30px; color: var(--blue); font-weight: 900; }
.services-title::after { content: ""; position: absolute; left: 15%; right: 15%; height: 3px; background: var(--blue); z-index: 1; }

.service-grid {
  max-width: 1300px; margin: 0 auto; padding: 0 6%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  padding: 50px 35px;
  border-radius: 20px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: right;
  box-shadow: 0 4px 30px rgba(0,0,0,0.02);
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(8, 104, 255, 0.12);
}

.card-num {
  position: absolute; top: 10px; left: 15px; font-size: 72px; font-weight: 900;
  color: rgba(8, 104, 255, 0.05); -webkit-text-stroke: 1.5px rgba(8, 104, 255, 0.2);
  line-height: 1; transition: all 0.5s ease;
}

.service-card:hover .card-num {
  color: rgba(8, 104, 255, 0.1);
  transform: translateY(-10px) scale(1.1);
  -webkit-text-stroke: 1.5px var(--blue);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 25px;
  margin-top: 35px;
  color: var(--dark);
  transition: color 0.4s ease;
}

.service-card:hover h3 { color: var(--blue); }

.service-card ul li {
  font-size: 17px;
  color: #666;
  margin-bottom: 12px;
  position: relative;
  padding-right: 25px;
  transition: all 0.4s ease;
}

.service-card:hover ul li {
  color: #333;
  transform: translateX(-5px); /* Gentle slide to the left in RTL */
}

.service-card ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.service-card:hover ul li::before {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  transform: scale(1.2);
}

/* Staggered Reveal Animation */
.service-card.reveal {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Individual Card Delays */
.service-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.service-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.service-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.service-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.service-grid .service-card:nth-child(5) { transition-delay: 0.1s; }
.service-grid .service-card:nth-child(6) { transition-delay: 0.2s; }
.service-grid .service-card:nth-child(7) { transition-delay: 0.3s; }
.service-grid .service-card:nth-child(8) { transition-delay: 0.4s; }

/* Work Slider */
.work {
  padding: 120px 0;
  background: var(--dark);
  overflow: hidden;
  direction: ltr;
}

.work-slider {
  width: 100%;
  overflow: hidden;
}

.work-track {
  display: flex;
  width: max-content;
  animation: workLoop 34s linear infinite;
  will-change: transform;
}

.work-group {
  display: flex;
  gap: 25px;
  padding-inline-end: 25px;
  flex-shrink: 0;
}

.work-card {
  width: clamp(250px, 22vw, 360px);
  height: clamp(350px, 31vw, 500px);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(8, 104, 255, 0.26);
}

.work-track:hover .work-card { opacity: 0.4; transform: scale(0.94); }
.work-track .work-card:hover { opacity: 1; transform: scale(1.04); z-index: 10; box-shadow: 0 20px 40px rgba(8, 104, 255, 0.36); }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card h3 { position: absolute; bottom: 25px; right: 25px; font-size: 20px; font-weight: 700; z-index: 2; direction: rtl; }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 1; }

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

/* Footer */
.footer {
  background: var(--white);
  color: var(--text-main);
  padding: 86px 6% 54px;
  border-top: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 40vw);
  height: 180px;
  background: radial-gradient(circle at bottom right, rgba(8, 104, 255, 0.09), transparent 68%);
  pointer-events: none;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.35fr 1.15fr;
  gap: 54px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.footer-brand img { width: 230px; height: auto; margin-bottom: 26px; }
.footer-brand p { color: #333; font-size: 20px; line-height: 1.8; max-width: 330px; }
.footer-col h3 { font-size: 25px; margin-bottom: 28px; font-weight: 900; color: #0644b8; position: relative; }
.footer-col h3::after { content: ""; position: absolute; right: 0; bottom: -10px; width: 74px; height: 3px; background: var(--blue); border-radius: 999px; }
.footer-links a { display: block; color: #222; margin-bottom: 15px; font-size: 20px; transition: var(--transition); }
.footer-links a:hover { color: var(--blue); transform: translateX(-5px); }

.contact-actions,
.social-actions { display: grid; gap: 12px; }

.contact-btn,
.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(8, 104, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 104, 255, 0.035);
  color: #082356;
  padding: 11px 14px;
  transition: var(--transition);
}

.contact-btn:hover,
.social-btn:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(8, 104, 255, 0.18);
}

.contact-icon,
.social-btn span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en), Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.contact-btn:hover .contact-icon,
.social-btn:hover span { background: #fff; color: var(--blue); }
.contact-btn strong,
.social-btn strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.1; }
.contact-btn small { display: block; margin-top: 4px; color: #616b7a; direction: ltr; text-align: right; font-size: 14px; font-family: Arial, sans-serif; }
.contact-btn:hover small { color: rgba(255,255,255,.82); }
.social-btn { justify-content: flex-start; }
.social-btn strong { font-size: 18px; }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

main > section {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  transition: transform 0.72s ease-out, opacity 0.72s ease-out;
  will-change: transform, opacity;
}

main > section.stack-active {
  z-index: 4;
  transform: translateY(0) scale(1);
}

main > section.stack-behind {
  z-index: 1;
  transform: translateY(24px) scale(0.99);
  opacity: 0.94;
}

main > section.stack-upcoming {
  z-index: 2;
  transform: translateY(42px) scale(0.985);
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header { height: 76px; background: rgba(0, 4, 13, 0.96); padding: 0 5%; }
  .site-header.scrolled { height: 76px; }
  .brand img { width: 136px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(0, 4, 13, .98);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 14px; font-size: 18px; display: block; }
  .primary-nav a::after { bottom: 4px; height: 3px; }
  .hero { background-position: 35% center; min-height: 760px; }
  .hero .section-shell { justify-content: center; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-content h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-content h1 span { white-space: normal; }
  .hero-btns { justify-content: center; flex-direction: column; }
  .about { min-height: auto; padding: 78px 0 430px; align-items: flex-start; border-radius: 24px 24px 0 0; }
  .about::before { inset: auto 0 12px 0; width: 100%; height: 390px; background-position: center bottom; background-size: contain; }
  .about::after { width: 80vw; height: 80vw; left: -30vw; top: auto; bottom: 100px; }
  .about .section-shell { justify-content: center; padding: 0 6%; }
  .about-copy { width: 100%; margin: 0; text-align: center; }
  .about-title::after { right: 50%; transform: translateX(50%); }
  .about-copy p { font-size: 18px; }
  .about-quote-box { padding: 18px 42px; }
  .curved-down-arrow { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .work { padding: 90px 0; }
  .work-card { width: 260px; height: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; text-align: center; } .footer-col h3::after { right: 50%; transform: translateX(50%); } .footer-brand p { margin-inline: auto; } .contact-btn, .social-btn { text-align: right; }
  .footer-brand img { margin-inline: auto; }
}
/* Home hero requested refinements */
.hero {
  overflow: hidden;
}

.hero .section-shell {
  max-width: none;
  padding: 0 clamp(34px, 7vw, 120px);
  justify-content: flex-end;
}

.hero-content {
  position: absolute;
  right: clamp(38px, 8vw, 138px);
  top: 51%;
  width: min(48vw, 650px) !important;
  max-width: 650px !important;
  margin: 0 !important;
  transform: translateY(-42%);
  align-items: flex-end;
  text-align: right;
}

.hero-title {
  width: 100%;
  text-align: right;
  font-size: clamp(66px, 7.4vw, 118px);
  letter-spacing: 0;
}

.hero-title-line {
  width: 100%;
  text-align: right;
}

.hero-title-line--accent,
.hero-title-line--main {
  margin-right: 0;
  margin-left: auto;
}

.hero-title-line--accent {
  text-shadow: 0 0 22px rgba(8, 104, 255, .28), 0 10px 32px rgba(0,0,0,.38);
}

.hero-title-line--main {
  text-shadow: 0 0 20px rgba(255,255,255,.12), 0 12px 34px rgba(0,0,0,.44);
}

.hero-visual-standalone {
  left: clamp(-42px, -1vw, -10px);
  bottom: -2.8vh;
  height: min(108vh, 900px);
  transform-style: preserve-3d;
}

.hero-visual-standalone::before {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 8%;
  width: 76%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,104,255,.18), transparent 68%);
  filter: blur(24px);
  animation: characterAura 5.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-visual-standalone::after {
  content: "";
  position: absolute;
  inset: 18% 2% 2% 12%;
  background: linear-gradient(115deg, transparent 34%, rgba(8,104,255,.20) 48%, transparent 62%);
  transform: translateX(-52%) skewX(-12deg);
  mix-blend-mode: screen;
  opacity: 0;
  animation: characterLightSweep 7.2s ease-in-out infinite;
  pointer-events: none;
}

.floating-character {
  height: 108%;
  max-width: none;
  filter:
    drop-shadow(0 22px 42px rgba(0,0,0,.42))
    drop-shadow(0 0 34px rgba(8,104,255,.28));
  animation: heroCharacterFloat 7.4s cubic-bezier(.45,0,.25,1) infinite;
  will-change: transform, filter;
}

.character-glow {
  width: 175%;
  height: 175%;
  opacity: .9;
  animation: glowPulse 4.8s infinite alternate ease-in-out;
}

@keyframes heroCharacterFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotateZ(-.35deg) scale(1.035);
    filter: drop-shadow(0 22px 42px rgba(0,0,0,.42)) drop-shadow(0 0 30px rgba(8,104,255,.24));
  }
  46% {
    transform: translate3d(10px, -22px, 0) rotateZ(.55deg) scale(1.065);
    filter: drop-shadow(0 30px 52px rgba(0,0,0,.48)) drop-shadow(0 0 44px rgba(8,104,255,.36));
  }
  72% {
    transform: translate3d(-5px, -10px, 0) rotateZ(-.2deg) scale(1.05);
  }
}

@keyframes characterAura {
  from { opacity: .36; transform: scale(.92) translate3d(-2%, 2%, 0); }
  to { opacity: .9; transform: scale(1.12) translate3d(4%, -3%, 0); }
}

@keyframes characterLightSweep {
  0%, 54% { opacity: 0; transform: translateX(-60%) skewX(-12deg); }
  66% { opacity: .62; }
  86%, 100% { opacity: 0; transform: translateX(55%) skewX(-12deg); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-content {
    right: clamp(28px, 5.8vw, 78px);
    width: min(50vw, 570px) !important;
  }

  .hero-title {
    font-size: clamp(58px, 7.1vw, 86px);
  }

  .hero-visual-standalone {
    left: -64px;
    height: 102vh;
  }

  .floating-character {
    height: 106%;
  }
}

@media (max-width: 900px) {
  .hero-content {
    position: relative;
    right: auto;
    top: auto;
    width: 100% !important;
    transform: none;
    align-items: center;
    text-align: center;
  }

  .hero-title,
  .hero-title-line {
    text-align: center;
  }

  .hero-visual-standalone {
    position: relative;
    left: auto;
    bottom: auto;
    height: 48vh;
    margin-top: 26px;
  }

  .floating-character {
    height: 100%;
  }
}


/* Requested cleanup: remove hero data network completely */
.character-data-network,
.data-lines,
.data-line,
.data-label,
.data-node {
  display: none !important;
}

/* Unified fixed header across pages */
.site-header,
.about-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  height: 108px !important;
  background: rgba(0, 4, 13, .96) !important;
  border-bottom: 1px solid rgba(255,255,255,.13) !important;
  backdrop-filter: blur(16px) !important;
}

/* Premium mouse movement effect */
:root {
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 420px at var(--cursor-x) var(--cursor-y), rgba(8,104,255,.105), transparent 62%);
  mix-blend-mode: screen;
  opacity: .85;
}

.pointer-aura,
.pointer-dot {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 1200;
  opacity: 0;
  transition: opacity .25s ease, width .25s ease, height .25s ease, border-color .25s ease;
}

.pointer-aura {
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 1px solid rgba(8,104,255,.26);
  background: radial-gradient(circle, rgba(8,104,255,.13), transparent 68%);
  box-shadow: 0 0 36px rgba(8,104,255,.18);
  mix-blend-mode: screen;
}

.pointer-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 14px rgba(8,104,255,.75);
}

body:hover .pointer-aura,
body:hover .pointer-dot {
  opacity: 1;
}

body.is-pointer-active .pointer-aura {
  width: 124px;
  height: 124px;
  border-color: rgba(255,255,255,.38);
  background: radial-gradient(circle, rgba(255,255,255,.10), rgba(8,104,255,.14) 38%, transparent 70%);
}

body.is-pointer-active .pointer-dot {
  opacity: .35;
}

main,
.footer,
.hero,
.about-main,
.work-page-main {
  position: relative;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body::before,
  .pointer-aura,
  .pointer-dot {
    display: none !important;
  }
}
/* Keep home hero headline visible after removing data network */
.hero .hero-content.reveal,
.hero .hero-content.reveal.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero .hero-title,
.hero .hero-title-line {
  opacity: 1 !important;
  visibility: visible !important;
}
/* Calm home character motion */
.floating-character {
  animation: heroCharacterBarelyFloat 11s ease-in-out infinite !important;
  transform-origin: bottom center !important;
}

@keyframes heroCharacterBarelyFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.035); }
  50% { transform: translate3d(0, -6px, 0) scale(1.04); }
}

/* --- New Professional WhatsApp Button --- */
.whatsapp-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  height: 66px;
  padding: 8px 9px 8px 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 10%, rgba(63, 178, 255, 0.22), transparent 38%),
    linear-gradient(135deg, #102f5c 0%, #06182f 100%);
  border: none;
  border-radius: 22px;
  outline: none;
  font-family: "Cairo", sans-serif;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(4, 18, 38, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -35px;
  z-index: -1;
  width: 110px;
  height: 110px;
  background: rgba(36, 151, 227, 0.14);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.whatsapp-button::after {
  content: "";
  position: absolute;
  left: 65px;
  bottom: -45px;
  z-index: -1;
  width: 85px;
  height: 85px;
  background: rgba(92, 201, 255, 0.09);
  border-radius: 50%;
}

.whatsapp-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 22px 45px rgba(4, 18, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.whatsapp-button:hover::before { transform: scale(1.3); }
.whatsapp-button:active { transform: translateY(-1px) scale(0.98); }

.whatsapp-button__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #2d9de2, #1766aa);
  border-radius: 17px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-button__icon { transform: rotate(4deg) scale(1.07); }

.whatsapp-button__icon img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.whatsapp-button__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
  white-space: nowrap;
}

.whatsapp-button__content small {
  color: #8edbff;
  font-size: 10px;
  font-weight: 600;
}

.whatsapp-button__content strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.whatsapp-button__arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  color: #08213f;
  background: #8edbff;
  border-radius: 11px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 6px 15px rgba(68, 181, 241, 0.24);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button:hover .whatsapp-button__arrow {
  background: #ffffff;
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .whatsapp-button {
    left: 14px;
    bottom: 14px;
    min-width: 188px;
    height: 59px;
    padding: 7px 8px 7px 14px;
    border-radius: 19px;
  }
  .whatsapp-button__icon { width: 45px; height: 45px; border-radius: 15px; }
  .whatsapp-button__icon img { width: 34px; height: 34px; }
  .whatsapp-button__content small { font-size: 9px; }
  .whatsapp-button__content strong { font-size: 13px; }
  .whatsapp-button__arrow { width: 28px; height: 28px; border-radius: 9px; font-size: 15px; }
}
/* Final mobile polish */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .site-header,
  .about-page .site-header {
    height: 72px !important;
    padding: 0 16px !important;
  }

  .site-header.scrolled {
    height: 72px !important;
  }

  .brand img {
    width: clamp(126px, 37vw, 150px) !important;
  }

  .menu-toggle {
    display: grid !important;
    place-content: center;
    width: 42px;
    height: 40px;
    padding: 8px;
  }

  .primary-nav {
    position: fixed !important;
    top: 82px !important;
    left: 14px !important;
    right: 14px !important;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px !important;
    max-height: calc(100dvh - 98px);
    overflow-y: auto;
    padding: 10px !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(0, 4, 13, .98) !important;
    box-shadow: 0 22px 56px rgba(0,0,0,.42);
  }

  .primary-nav.is-open {
    display: flex !important;
  }

  .primary-nav a {
    min-height: 48px;
    justify-content: center;
    padding: 13px 14px !important;
    border-radius: 12px;
    font-size: 18px !important;
    background: rgba(255,255,255,.035);
  }

  .primary-nav a.active,
  .primary-nav a:hover {
    color: #fff;
    background: var(--blue);
  }

  .primary-nav a::after {
    display: none;
  }

  main > section,
  main > section.stack-active,
  main > section.stack-behind,
  main > section.stack-upcoming {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero {
    height: auto !important;
    min-height: 100svh !important;
    background-position: 48% center !important;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,4,13,.98) 0%, rgba(0,4,13,.80) 34%, rgba(0,4,13,.52) 100%),
      linear-gradient(90deg, rgba(0,4,13,.42), transparent 58%) !important;
  }

  .hero .section-shell {
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px;
    padding: 96px 18px 32px !important;
  }

  .hero-content {
    position: relative !important;
    inset: auto !important;
    order: 1;
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    transform: none !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-title,
  .hero-title-line {
    text-align: center !important;
  }

  .hero-title {
    font-size: clamp(43px, 13.5vw, 66px) !important;
    line-height: .98 !important;
  }

  .hero-title-line--accent {
    margin-bottom: 8px;
  }

  .hero-visual-standalone {
    position: relative !important;
    order: 2;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: min(92vw, 390px);
    height: clamp(310px, 50svh, 460px) !important;
    margin: 0 auto !important;
    justify-content: center;
  }

  .hero-visual-standalone::before,
  .hero-visual-standalone::after {
    opacity: .55;
  }

  .floating-character {
    height: 105% !important;
    max-width: 100%;
    object-fit: contain;
  }

  .character-glow {
    width: 120% !important;
    height: 120% !important;
  }

  .about {
    min-height: 0 !important;
    padding: 68px 0 330px !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .about::before {
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: 310px !important;
    background-position: center bottom !important;
    background-size: contain !important;
  }

  .about::after {
    width: 82vw !important;
    height: 82vw !important;
    left: -40vw !important;
    bottom: 90px !important;
    top: auto !important;
  }

  .about .section-shell,
  .services .section-shell,
  .clients .section-shell {
    width: 100%;
    padding-inline: 18px !important;
  }

  .about-copy {
    width: 100% !important;
    max-width: 540px;
    text-align: center !important;
  }

  .about-title {
    font-size: clamp(38px, 12vw, 54px) !important;
    margin-bottom: 26px;
  }

  .about-title::after {
    right: 50% !important;
    transform: translateX(50%) !important;
  }

  .about-copy p {
    font-size: 18px !important;
    line-height: 1.72 !important;
  }

  .about-quote-box {
    margin: 26px 0;
    padding: 18px 34px !important;
    border-radius: 16px;
  }

  .clients {
    padding: 74px 0 !important;
  }

  .clients-title,
  .services-title {
    font-size: clamp(31px, 9vw, 43px) !important;
    margin-bottom: 38px !important;
    line-height: 1.15;
  }

  .marquee-container {
    gap: 22px !important;
  }

  .marquee-group {
    gap: 18px !important;
    padding-right: 18px !important;
  }

  .client-circle {
    width: clamp(82px, 25vw, 108px) !important;
    height: clamp(82px, 25vw, 108px) !important;
    padding: 16px !important;
  }

  .services {
    padding: 76px 0 !important;
  }

  .services-title {
    display: block !important;
    text-align: center;
  }

  .services-title span {
    padding: 0 !important;
  }

  .services-title::after {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-inline: 18px !important;
  }

  .service-card {
    padding: 34px 24px 28px !important;
    border-radius: 16px !important;
  }

  .service-card h3 {
    margin-top: 22px !important;
    margin-bottom: 18px !important;
    font-size: 23px !important;
  }

  .service-card ul li {
    font-size: 17px !important;
    line-height: 1.6;
  }

  .card-num {
    font-size: 54px !important;
  }

  .work {
    padding: 78px 0 !important;
  }

  .work-group {
    gap: 16px !important;
    padding-inline-end: 16px !important;
  }

  .work-card {
    width: min(78vw, 300px) !important;
    height: min(104vw, 410px) !important;
    border-radius: 18px !important;
  }

  .work-track:hover .work-card,
  .work-track .work-card:hover,
  .portfolio-container:hover .work-card,
  .portfolio-container .work-card:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .work-page-main {
    padding: 118px 0 64px !important;
  }

  .work-header {
    margin-bottom: 42px !important;
    padding-inline: 18px;
  }

  .work-page-title {
    font-size: clamp(40px, 14vw, 60px) !important;
    line-height: 1;
  }

  .work-subtitle {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  .portfolio-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 18px !important;
  }

  .portfolio-container .work-card,
  .portfolio-container .work-card:nth-child(1),
  .portfolio-container .work-card:nth-child(2),
  .portfolio-container .work-card:nth-child(3),
  .portfolio-container .work-card:nth-child(4),
  .portfolio-container .work-card:nth-child(5) {
    grid-column: 1 !important;
    width: 100% !important;
    height: clamp(300px, 96vw, 430px) !important;
    border-radius: 22px !important;
  }

  .footer {
    padding: 58px 18px 34px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }

  .footer-brand img {
    width: 180px !important;
    margin: 0 auto 18px !important;
  }

  .footer-brand p {
    max-width: 100% !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  .footer-col h3 {
    font-size: 23px !important;
    margin-bottom: 22px !important;
  }

  .footer-col h3::after {
    right: 50% !important;
    transform: translateX(50%) !important;
  }

  .footer-links a {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }

  .contact-btn,
  .social-btn {
    width: 100%;
    min-height: 54px !important;
    justify-content: flex-start !important;
    text-align: right !important;
  }

  .whatsapp-float {
    width: 52px !important;
    height: 52px !important;
    left: 16px !important;
    bottom: 16px !important;
  }
}

@media (max-width: 480px) {
  .site-header,
  .about-page .site-header {
    height: 68px !important;
    padding-inline: 14px !important;
  }

  .primary-nav {
    top: 78px !important;
    left: 10px !important;
    right: 10px !important;
  }

  .hero .section-shell {
    padding: 88px 14px 24px !important;
    gap: 10px;
  }

  .hero-title {
    font-size: clamp(39px, 13vw, 50px) !important;
  }

  .hero-visual-standalone {
    width: 94vw;
    height: clamp(270px, 48svh, 380px) !important;
  }

  .about {
    padding-bottom: 275px !important;
  }

  .about::before {
    height: 260px !important;
  }

  .about-copy p,
  .service-card ul li,
  .footer-brand p {
    font-size: 17px !important;
  }

  .service-card {
    padding-inline: 20px !important;
  }

  .client-circle {
    width: 82px !important;
    height: 82px !important;
  }

  .portfolio-container .work-card {
    height: clamp(275px, 104vw, 380px) !important;
  }
}

/* Browser comment refinements */
@keyframes whatsappFloatLift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  28% { transform: translate3d(0, -7px, 0) scale(1.045); }
  56% { transform: translate3d(0, 0, 0) scale(1); }
  72% { transform: translate3d(0, -3px, 0) scale(1.025); }
}

@keyframes whatsappRingPulse {
  0% { opacity: .72; transform: scale(.82); }
  70%, 100% { opacity: 0; transform: scale(1.85); }
}

@keyframes whatsappIconWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  18% { transform: rotate(-10deg) scale(1.08); }
  34% { transform: rotate(9deg) scale(1.04); }
  50% { transform: rotate(-5deg) scale(1.06); }
  66% { transform: rotate(3deg) scale(1); }
}

@keyframes whatsappShine {
  0%, 42% { transform: translateX(-160%) rotate(22deg); opacity: 0; }
  54% { opacity: .85; }
  74%, 100% { transform: translateX(170%) rotate(22deg); opacity: 0; }
}

.whatsapp-float {
  isolation: isolate;
  overflow: visible;
  background: linear-gradient(145deg, #31e979 0%, #15b957 48%, #0aa64d 100%) !important;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .24),
    0 0 0 7px rgba(37, 211, 102, .13),
    inset 0 1px 0 rgba(255,255,255,.38) !important;
  animation: whatsappFloatLift 3.4s ease-in-out infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  pointer-events: none;
}

.whatsapp-float::before {
  z-index: -1;
  border: 2px solid rgba(37, 211, 102, .42);
  animation: whatsappRingPulse 2.1s ease-out infinite;
}

.whatsapp-float::after {
  inset: 5px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0 34%, rgba(255,255,255,.62) 46%, transparent 60% 100%);
  mix-blend-mode: screen;
  animation: whatsappShine 3.7s ease-in-out infinite;
  overflow: hidden;
}

.whatsapp-float svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.18));
  animation: whatsappIconWiggle 3.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: linear-gradient(145deg, #3df587 0%, #19c961 50%, #0a9345 100%) !important;
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, .28),
    0 0 0 10px rgba(37, 211, 102, .16),
    inset 0 1px 0 rgba(255,255,255,.42) !important;
}

@media (max-width: 900px) {
  .hero .section-shell {
    justify-content: flex-start !important;
    gap: 8px !important;
    padding-top: 122px !important;
    padding-bottom: 0 !important;
  }

  .hero-content {
    z-index: 8 !important;
  }

  .hero-title {
    font-size: clamp(48px, 14.8vw, 74px) !important;
  }

  .hero-visual-standalone {
    width: min(116vw, 520px) !important;
    height: clamp(410px, 64svh, 560px) !important;
    margin-top: -4px !important;
    align-items: flex-end !important;
  }

  .floating-character {
    height: 124% !important;
    max-width: none !important;
    transform-origin: bottom center !important;
  }

  .character-glow {
    width: 154% !important;
    height: 154% !important;
  }

  .services {
    padding: 62px 0 !important;
  }

  .service-grid {
    gap: 12px !important;
    padding-inline: 14px !important;
  }

  .service-card {
    min-height: 0 !important;
    padding: 22px 20px 20px !important;
    border-radius: 18px !important;
    border-color: rgba(8,104,255,.12) !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 10px 30px rgba(8, 42, 102, .055) !important;
  }

  .service-card:hover,
  .service-card.reveal.is-visible {
    transform: none !important;
  }

  .card-num {
    top: 9px !important;
    left: 16px !important;
    font-size: 42px !important;
    -webkit-text-stroke: 1px rgba(8,104,255,.22) !important;
  }

  .service-card h3 {
    margin: 20px 0 13px !important;
    font-size: 20px !important;
    line-height: 1.18 !important;
  }

  .service-card ul {
    display: grid;
    gap: 7px;
  }

  .service-card ul li {
    margin: 0 !important;
    padding-right: 18px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #5d6b7c !important;
  }

  .service-card ul li::before {
    top: .72em !important;
    width: 6px !important;
    height: 6px !important;
    background: rgba(8,104,255,.24) !important;
  }

  .footer-social .social-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .footer-social .social-btn {
    position: relative;
    width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    text-align: center !important;
    background: linear-gradient(145deg, #0b74ff, #0056db) !important;
    border-color: rgba(8,104,255,.32) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(8,104,255,.22) !important;
  }

  .footer-social .social-btn strong {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .footer-social .social-btn span,
  .footer-social .social-btn::before {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-family: var(--font-en), Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .footer-social .social-btn:not(:has(span)) {
    font-size: 0 !important;
  }

  .footer-social .social-btn[href*="instagram"]::before { content: "IG"; }
  .footer-social .social-btn[href*="tiktok"]::before { content: "TT"; }
  .footer-social .social-btn[href*="facebook"]::before { content: "FB"; }

  .footer-social .social-btn:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 16px 32px rgba(8,104,255,.28) !important;
  }

  .whatsapp-float {
    width: 60px !important;
    height: 60px !important;
    left: 18px !important;
    bottom: 18px !important;
  }

  .whatsapp-float svg {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (max-width: 480px) {
  .hero .section-shell {
    padding-top: 118px !important;
    gap: 4px !important;
  }

  .hero-title {
    font-size: clamp(45px, 13.8vw, 60px) !important;
  }

  .hero-visual-standalone {
    width: 118vw !important;
    height: clamp(405px, 64svh, 520px) !important;
  }

  .floating-character {
    height: 126% !important;
  }

  .service-grid {
    padding-inline: 12px !important;
  }

  .service-card {
    padding: 20px 18px 18px !important;
  }

  .service-card h3 {
    font-size: 19px !important;
  }

  .service-card ul li {
    font-size: 14.5px !important;
  }
}

@media (max-width: 900px) {
  .footer-social .social-btn:has(span)::before {
    content: none !important;
  }
}

/* Browser comment refinements for global mobile controls */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.055) !important;
  }

  .menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
  }

  .footer-social .social-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .footer-social .social-btn {
    width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    font-size: 0 !important;
  }

  .footer-social .social-btn strong {
    display: none !important;
  }
}

/* Final polish: mobile hero order, work CTA, social icons, scroll motion */
.work-section-head {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 0 auto 58px;
}

.work-section-head h2 {
  margin: 0;
  color: #0868ff;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 0 28px rgba(8, 104, 255, .32);
}

.work-more {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  width: min(92%, 1420px);
  margin: 58px auto 0;
}

.discover-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid #0868ff;
  border-radius: 10px;
  color: #0868ff;
  background: rgba(8, 104, 255, .04);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(8,104,255,0);
  transition: transform .35s ease, color .35s ease, background .35s ease, box-shadow .35s ease;
}

.discover-more-btn:hover {
  color: #fff;
  background: #0868ff;
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(8, 104, 255, .3);
}

.social-btn .social-icon {
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #0868ff, #0045bd) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 10px 24px rgba(8,104,255,.2) !important;
}

.social-btn .social-icon i {
  font-size: 22px !important;
  line-height: 1 !important;
}

.social-btn[href*="instagram"] .social-icon {
  background: radial-gradient(circle at 25% 110%, #ffd66b 0 18%, #f56040 34%, #c13584 60%, #405de6 100%) !important;
}

.social-btn[href*="tiktok"] .social-icon {
  background: linear-gradient(145deg, #111827, #010409) !important;
  text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55;
}

.social-btn[href*="facebook"] .social-icon {
  background: linear-gradient(145deg, #1877f2, #0759c8) !important;
}

.reveal {
  transition-property: opacity, transform, filter !important;
  transition-duration: 950ms !important;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1) !important;
  will-change: opacity, transform, filter;
}

.reveal:not(.is-visible) {
  opacity: 0;
  filter: blur(8px);
}

.reveal-up:not(.is-visible) { transform: translate3d(0, 48px, 0) scale(.985); }
.reveal-left:not(.is-visible) { transform: translate3d(-52px, 24px, 0) scale(.985); }
.reveal-right:not(.is-visible) { transform: translate3d(52px, 24px, 0) scale(.985); }
.reveal-scale:not(.is-visible) { transform: translate3d(0, 34px, 0) scale(.94); }
.reveal.is-visible { filter: blur(0); }

.whatsapp-button {
  animation: whatsappBreath 3.2s ease-in-out infinite;
}

.whatsapp-button::before {
  animation: whatsappHalo 2.4s ease-out infinite;
}

.whatsapp-button__icon {
  animation: whatsappIconPulse 2.9s ease-in-out infinite;
}

@keyframes whatsappBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.015); }
}

@keyframes whatsappHalo {
  0% { opacity: .45; transform: scale(.8); }
  70% { opacity: .08; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.75); }
}

@keyframes whatsappIconPulse {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.08); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto !important;
    padding-bottom: 56px !important;
    overflow: hidden !important;
  }

  .hero .section-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding-top: 92px !important;
    gap: 0 !important;
  }

  .hero-visual-standalone {
    order: 1 !important;
    width: min(122vw, 560px) !important;
    height: clamp(500px, 72svh, 660px) !important;
    margin: 0 auto !important;
  }

  .hero-data-cards {
    z-index: 3 !important;
    opacity: .95 !important;
  }

  .floating-character {
    z-index: 4 !important;
    height: 118% !important;
    animation: heroCharacterBarelyFloat 12s ease-in-out infinite !important;
  }

  .hero-content {
    order: 2 !important;
    position: relative !important;
    z-index: 9 !important;
    width: 100% !important;
    margin: -18px auto 0 !important;
    padding: 0 18px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .hero-title {
    align-items: center !important;
    text-align: center !important;
    font-size: clamp(42px, 13vw, 62px) !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .work-section-head { margin-bottom: 34px; }
  .work-section-head h2 { font-size: clamp(42px, 13vw, 62px); }
  .work-more { justify-content: center; margin-top: 34px; }
  .discover-more-btn { min-width: 154px; min-height: 48px; font-size: 19px; }

  .footer-social .social-btn::before { content: none !important; }
  .footer-social .social-btn .social-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    border-radius: 50% !important;
  }

  .footer-social .social-btn .social-icon i { font-size: 24px !important; }
}

@media (max-width: 480px) {
  .hero-visual-standalone {
    width: 126vw !important;
    height: clamp(510px, 74svh, 620px) !important;
  }

  .hero-content { margin-top: -10px !important; }
}
.scroll-motion-ready {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(.985);
  filter: blur(7px);
  transition:
    opacity 900ms cubic-bezier(.16, 1, .3, 1) var(--scroll-delay, 0ms),
    transform 900ms cubic-bezier(.16, 1, .3, 1) var(--scroll-delay, 0ms),
    filter 900ms cubic-bezier(.16, 1, .3, 1) var(--scroll-delay, 0ms);
}

.scroll-motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-motion-ready,
  .reveal,
  .whatsapp-button,
  .whatsapp-button::before,
  .whatsapp-button__icon {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* Final mobile header breathing room */
@media (max-width: 600px) {
  .site-header {
    padding-inline: 18px !important;
  }

  .site-header .brand img {
    max-width: 178px !important;
  }

  .menu-toggle {
    flex: 0 0 48px !important;
    margin-inline-start: auto !important;
  }
}