/* ============================================================
   Fiber Tech — Fiber Signal Luxe
   Inspired by NEOM / Red Sea / Qiddiya / Address / Emaar
   Direction: cinematic Gulf night + optic fiber signal
   ============================================================ */

:root {
  --fx-void: #060418;
  --fx-ink: #0b0824;
  --fx-navy: #031882;
  --fx-mid: #6552C8;
  --fx-optic: #9A45D6;
  --fx-champagne: #e9defc;
  --fx-mist: #c8c4d8;
  --fx-snow: #f7f5ff;
  --fx-glass: rgba(10, 15, 42, 0.55);
  --fx-line: rgba(235, 228, 250, 0.18);
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --fx-body: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
  --fx-radius: 2px;
  --fx-radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(154, 69, 214, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(101, 82, 200, 0.1), transparent 50%),
    linear-gradient(180deg, #080618 0%, #0d1450 18%, #f4f2fb 18.02%, #f4f2fb 100%) !important;
  background-attachment: scroll !important;
  color: #1b1f3b;
  font-family: var(--fx-body);
  overflow-x: hidden;
}

body.has-hero-bg {
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(154, 69, 214, 0.18), transparent 60%),
    linear-gradient(180deg, var(--fx-void) 0%, var(--fx-ink) 42%, #f3f1fa 42.05%, #f3f1fa 100%) !important;
}

/* ----- Scroll progress ----- */
.fx-scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 100000;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--fx-optic), var(--fx-champagne), var(--fx-mid));
  pointer-events: none;
}

/* ----- Custom cursor (desktop rich only) ----- */
.fx-cursor,
.fx-cursor-dot {
  display: none;
}
body.device-rich:not(.prefers-reduced-motion) .fx-cursor {
  display: block;
  position: fixed;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(235, 228, 250, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--fx-ease), height 0.25s var(--fx-ease), border-color 0.25s ease;
}
body.device-rich:not(.prefers-reduced-motion) .fx-cursor-dot {
  display: block;
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--fx-champagne);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}
body.device-rich.fx-cursor-hover .fx-cursor {
  width: 72px;
  height: 72px;
  border-color: rgba(154, 69, 214, 0.9);
}

/* ----- Header: glass cinematic ----- */
header {
  position: relative;
  z-index: 50;
}
.navbar-custom.header-top-nav,
.header-top-nav {
  background: transparent !important;
  border: 0 !important;
  transition: background 0.45s var(--fx-ease), backdrop-filter 0.45s ease, box-shadow 0.45s ease;
}
body.fx-scrolled .navbar-custom.header-top-nav,
body.fx-scrolled .header-top-nav {
  background: rgba(5, 8, 26, 0.72) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
body.has-hero-bg .navbar-custom .nav-link,
body.has-hero-bg .navbar-custom .nav-link span {
  color: rgba(247, 245, 255, 0.88) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease;
}
body.has-hero-bg .navbar-custom .nav-link:hover span,
body.has-hero-bg .navbar-custom .nav-link.active span {
  color: var(--fx-champagne) !important;
}
body.has-hero-bg .navPlacehoderContainer .nav-link span,
body.has-hero-bg .navPlacehoderContainer .nav-link {
  color: #1b1f3b !important;
}
body.has-hero-bg .navbar-logo img {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s var(--fx-ease);
}
body.has-hero-bg .navbar-logo a:hover img {
  transform: scale(1.04);
}

.header-action-btn,
.cta-button.header-action-btn,
.matches-header-btn.header-action-btn {
  border-radius: var(--fx-radius-pill) !important;
  border: 1px solid rgba(235, 228, 250, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  min-height: 46px;
  padding: 0.55rem 1.25rem !important;
  transition: transform 0.35s var(--fx-ease), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}
.header-action-btn:hover,
.cta-button.header-action-btn:hover,
.matches-header-btn.header-action-btn:hover {
  background: #fff !important;
  color: var(--fx-void) !important;
  border-color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.cta-button.header-action-btn {
  background: #fff !important;
  color: var(--fx-void) !important;
  border-color: #fff !important;
}
.cta-button.header-action-btn:hover {
  background: var(--fx-champagne) !important;
  color: var(--fx-void) !important;
}
.cta-button.header-action-btn img,
.header-action-btn img {
  filter: brightness(0);
}
.notifications-bell-btn {
  border-radius: 50% !important;
  border-color: rgba(235, 228, 250, 0.4) !important;
  color: var(--fx-champagne) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ----- Hero: full-bleed cinematic composition ----- */
.homepage-hero-bg {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.homepage-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(154, 69, 214, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(101, 82, 200, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(5, 8, 26, 0.25) 0%, rgba(5, 8, 26, 0.55) 55%, rgba(5, 8, 26, 0.92) 100%);
  transition: opacity 0.6s ease;
}
.homepage-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(235, 228, 250, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 228, 250, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  animation: fx-grid-drift 28s linear infinite;
}
@keyframes fx-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-72px, -36px, 0); }
}

.homepage-hero-bg .hero-bg-overlay {
  background:
    linear-gradient(115deg, rgba(5, 8, 26, 0.82) 0%, rgba(5, 8, 26, 0.35) 48%, rgba(26, 35, 126, 0.28) 100%),
    radial-gradient(ellipse at 25% 20%, rgba(154, 69, 214, 0.25), transparent 50%) !important;
}

.homepage-hero-bg > header,
.homepage-hero-bg > .hero-landing-shell,
.homepage-hero-bg > .fx-hero-signal {
  position: relative;
  z-index: 3;
}

.hero-landing-shell.hero-image-mode {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(4rem, 12vh, 8rem) !important;
  padding-bottom: clamp(3rem, 8vh, 5.5rem) !important;
  max-width: 100%;
}

.hero-landing-shell.hero-image-mode .row {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  align-items: flex-end !important;
}

.hero-landing-shell.hero-image-mode .hero-copy {
  text-align: start !important;
  max-width: 720px;
}

.hero-landing-shell.hero-image-mode .hero-slider {
  display: none !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(235, 228, 250, 0.35);
  border-radius: var(--fx-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fx-champagne) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-optic);
  box-shadow: 0 0 12px var(--fx-optic);
  animation: fx-pulse-dot 1.8s ease-in-out infinite;
}
@keyframes fx-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.homepage-hero-bg .section-titles,
.homepage-hero-bg h1.section-titles {
  font-family: var(--fx-display) !important;
  font-weight: 800 !important;
  font-size: clamp(1.55rem, 3.8vw, 2.65rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--fx-champagne) !important;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  max-width: 22ch;
  margin-inline: 0 !important;
  margin-top: 0.5rem !important;
}
.homepage-hero-bg h1.section-titles::after,
.homepage-hero-bg .fx-hero-lead::after {
  display: none;
}

.homepage-hero-bg .hero-subtitle,
.homepage-hero-bg .hero-tagline {
  color: rgba(235, 228, 250, 0.88) !important;
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
  max-width: 38ch;
  margin-top: 1.25rem !important;
}

.fx-brand-hero {
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.4);
  margin: 0;
}
.fx-hero-lead.section-titles {
  font-size: clamp(1.35rem, 3.2vw, 2.15rem) !important;
  font-weight: 700 !important;
  color: var(--fx-champagne) !important;
  max-width: 22ch;
  margin-top: 0.75rem !important;
}
.fx-hero-lead.section-titles::after {
  display: none;
}

.homepage-hero-bg .main-button,
.homepage-hero-bg a.main-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 180px;
  height: 54px;
  margin-top: 0 !important;
  padding: 0 1.75rem !important;
  border-radius: var(--fx-radius-pill) !important;
  background: #fff !important;
  color: var(--fx-void) !important;
  border: 0 !important;
  font-weight: 800 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--fx-ease), background 0.35s ease, box-shadow 0.35s ease !important;
}
.homepage-hero-bg .main-button:hover {
  background: var(--fx-champagne) !important;
  color: var(--fx-void) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 50px rgba(154, 69, 214, 0.25);
}

.fx-ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.5rem;
  border-radius: var(--fx-radius-pill);
  border: 1px solid rgba(235, 228, 250, 0.55);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--fx-ease);
}
.fx-ghost-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-2px);
}
.fx-hero-ctas {
  margin-top: 1.75rem !important;
}

/* Hero signal lines */
.fx-hero-signal {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.7;
}
.fx-hero-signal span {
  position: absolute;
  height: 1px;
  width: 140%;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(235, 228, 250, 0.55), transparent);
  animation: fx-signal-sweep 7s linear infinite;
}
.fx-hero-signal span:nth-child(1) { bottom: 28%; animation-delay: 0s; }
.fx-hero-signal span:nth-child(2) { bottom: 48%; opacity: 0.5; animation-delay: 2.2s; width: 110%; }
.fx-hero-signal span:nth-child(3) { bottom: 68%; opacity: 0.35; animation-delay: 4.1s; }
@keyframes fx-signal-sweep {
  from { transform: translateX(8%); }
  to { transform: translateX(-18%); }
}

/* Marquee strip */
.fx-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--fx-void);
  border-block: 1px solid var(--fx-line);
  padding: 0.95rem 0;
  color: var(--fx-champagne);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.fx-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: fx-marquee 42s linear infinite;
}
.fx-marquee-track span {
  white-space: nowrap;
  padding-inline: 2rem;
  opacity: 0.85;
}
.fx-marquee-track span::after {
  content: "◆";
  margin-inline-start: 2rem;
  color: var(--fx-optic);
  font-size: 0.65em;
  vertical-align: middle;
}
@keyframes fx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
html[dir="rtl"] .fx-marquee-track,
body[dir="rtl"] .fx-marquee-track,
html[lang="ar"] .fx-marquee-track {
  animation-name: fx-marquee-rtl;
}
@keyframes fx-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Section titles ----- */
.section-titles {
  font-family: var(--fx-display) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  color: var(--fx-navy) !important;
  position: relative;
  display: inline-block;
}
.fiber-value-section .section-titles,
.fiber-services-section .section-titles,
.fiber-cta-section .section-titles,
.container > .row .section-titles {
  font-size: clamp(2rem, 4.5vw, 3.35rem) !important;
  line-height: 1.2 !important;
}
.section-titles::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fx-optic), var(--fx-mid), transparent);
}

/* ----- Value / feature cards ----- */
.fiber-value-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(101, 82, 200, 0.08), transparent 60%),
    #f3f1fa;
  overflow: hidden;
}
.fiber-value-section .feature-card {
  height: 100%;
  padding: 1.75rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(3, 24, 130, 0.08);
  box-shadow: 0 18px 40px rgba(13, 20, 80, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.45s var(--fx-ease), box-shadow 0.45s ease, border-color 0.45s ease;
  cursor: default;
}
.fiber-value-section .feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 69, 214, 0.28);
  box-shadow: 0 28px 60px rgba(26, 35, 126, 0.14);
}
.fiber-value-section .feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(101, 82, 200, 0.12), rgba(154, 69, 214, 0.1));
  transition: transform 0.4s var(--fx-ease);
}
.fiber-value-section .feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}
.fiber-value-section .feature-card h5 {
  font-weight: 800;
  color: var(--fx-navy);
  margin-bottom: 0.65rem;
}
.fiber-value-section .feature-card p {
  color: #4a5078;
  line-height: 1.7;
  margin: 0;
}

/* ----- Alnooah / services ----- */
.price-card {
  border-radius: 16px !important;
  background: linear-gradient(160deg, #fff, #f7f4ff) !important;
  border: 1px solid rgba(101, 82, 200, 0.16) !important;
  transition: transform 0.4s var(--fx-ease), border-color 0.35s ease, box-shadow 0.4s ease !important;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--fx-optic) !important;
  box-shadow: 0 20px 40px rgba(154, 69, 214, 0.14) !important;
}
.price-card h6 {
  font-family: var(--fx-display);
  font-weight: 900 !important;
  font-size: 1.65rem !important;
  background: linear-gradient(120deg, var(--fx-navy), var(--fx-optic));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.fiber-services-section {
  position: relative;
  background:
    linear-gradient(180deg, #0b0824 0%, #12183d 100%);
  color: #fff;
  padding-block: 1rem;
  overflow: hidden;
}
.fiber-services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(154, 69, 214, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(101, 82, 200, 0.18), transparent 50%);
  pointer-events: none;
}
.fiber-services-section .section-titles {
  color: #fff !important;
}
.fiber-services-section .feature-card,
.fiber-services-section .service-card,
.fiber-services-section .card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(235, 228, 250, 0.12) !important;
  border-radius: 18px !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  transition: transform 0.45s var(--fx-ease), background 0.35s ease, border-color 0.35s ease !important;
}
.fiber-services-section .feature-card:hover,
.fiber-services-section .service-card:hover,
.fiber-services-section .card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(154, 69, 214, 0.45) !important;
}
.fiber-services-section h5,
.fiber-services-section h4,
.fiber-services-section .card-title {
  color: var(--fx-champagne) !important;
}
.fiber-services-section p,
.fiber-services-section .card-text {
  color: rgba(235, 228, 250, 0.75) !important;
}

/* Service gallery */
.svc-gallery,
.service-gallery {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(235, 228, 250, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ----- CTA ----- */
.fiber-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(154, 69, 214, 0.35), transparent 55%),
    linear-gradient(120deg, #060418 0%, #1a237e 55%, #3a2a8a 100%) !important;
  border-block: 1px solid rgba(235, 228, 250, 0.12);
}
.fiber-cta-section .section-titles {
  color: #fff !important;
}
.fiber-cta-section .main-button,
.fiber-cta-section a.main-button,
.fiber-cta-section .cta-button {
  border-radius: var(--fx-radius-pill) !important;
  background: #fff !important;
  color: var(--fx-void) !important;
  font-weight: 800 !important;
  border: 0 !important;
  min-height: 52px;
  padding-inline: 1.75rem !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ----- Buttons global ----- */
.main-button,
.cta-button {
  border-radius: var(--fx-radius-pill) !important;
  font-weight: 700 !important;
  transition: transform 0.35s var(--fx-ease), box-shadow 0.35s ease, filter 0.35s ease !important;
}
.main-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
}

/* ----- Footer ----- */
#footer-section {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(101, 82, 200, 0.25), transparent 60%),
    linear-gradient(180deg, #060418, #030512) !important;
  border-top: 1px solid rgba(235, 228, 250, 0.1);
}
#footer-section a {
  transition: color 0.25s ease, opacity 0.25s ease !important;
}
#footer-section a:hover {
  color: var(--fx-champagne) !important;
}
.social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 228, 250, 0.15);
  transition: transform 0.35s var(--fx-ease), background 0.35s ease !important;
}
.social-link:hover {
  transform: translateY(-4px) scale(1.06);
  background: rgba(154, 69, 214, 0.25);
}

/* ----- Reveal system (springy cinematic entrance) ----- */
.fx-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  filter: blur(7px);
  transition:
    opacity 0.75s ease,
    transform 0.85s cubic-bezier(0.22, 1.28, 0.36, 1),
    filter 0.7s ease;
  will-change: transform, opacity, filter;
}
.fx-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.fx-reveal-delay-1 { transition-delay: 0.07s; }
.fx-reveal-delay-2 { transition-delay: 0.14s; }
.fx-reveal-delay-3 { transition-delay: 0.21s; }
.fx-reveal-delay-4 { transition-delay: 0.28s; }
.fx-reveal-delay-5 { transition-delay: 0.35s; }

/* ----- Pointer light on hero ----- */
.fx-pointer-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(154, 69, 214, 0.28), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
.homepage-hero-bg:hover .fx-pointer-glow {
  opacity: 1;
}

/* ----- Loader elevate ----- */
#fiber-loader {
  background:
    radial-gradient(circle at 50% 35%, rgba(154, 69, 214, 0.28), transparent 45%),
    radial-gradient(circle at 50% 40%, #1a1548 0%, #060418 70%) !important;
}

/* ----- Alnooah featured ----- */
.fx-alnooah-block {
  position: relative;
}
.fx-alnooah-block .price-card p {
  color: #4a5078;
  margin: 0;
  font-weight: 600;
}

/* ----- Topic / inner pages ----- */
.topic-hero,
.page-hero,
.about-hero {
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(154, 69, 214, 0.2), transparent 55%),
    linear-gradient(135deg, #060418, #1a237e) !important;
}

/* ----- Reduced motion / lite ----- */
@media (prefers-reduced-motion: reduce) {
  .fx-marquee-track,
  .fx-hero-signal span,
  .homepage-hero-bg::after,
  .hero-badge::before,
  .fx-scroll-cue span {
    animation: none !important;
  }
  .fx-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .fx-cursor,
  .fx-cursor-dot,
  .fx-pointer-glow {
    display: none !important;
  }
}

html.device-lite .homepage-hero-bg::after,
body.device-lite .homepage-hero-bg::after {
  animation: none !important;
  opacity: 0.35;
}
html.device-lite .fx-cursor,
body.device-lite .fx-cursor,
html.device-lite .fx-cursor-dot,
body.device-lite .fx-cursor-dot,
html.device-lite .fx-pointer-glow,
body.device-lite .fx-pointer-glow {
  display: none !important;
}
/* Lite: keep marquee/signals/stars visible but softer & slower */
html.device-lite .fx-marquee-track,
body.device-lite .fx-marquee-track,
.fx-marquee-soft .fx-marquee-track {
  animation-duration: 70s !important;
}
html.device-lite .fx-hero-signal span,
body.device-lite .fx-hero-signal span {
  opacity: 0.45;
}
html.device-lite #luxe-starfield,
body.device-lite #luxe-starfield {
  display: none !important;
}
html.device-lite .luxe-stars,
body.device-lite .luxe-stars {
  opacity: 0.55;
}
html.device-lite body.fx-scrolled .navbar-custom.header-top-nav,
html.device-lite body.fx-scrolled .header-top-nav,
body.device-lite.fx-scrolled .navbar-custom.header-top-nav,
body.device-lite.fx-scrolled .header-top-nav {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  background: rgba(5, 8, 26, 0.88) !important;
}
html.device-lite .fx-reveal,
body.device-lite .fx-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Second-pass atmosphere */
.fx-luxe img:not(.sbl-logo):not(.navbar-logo img) {
  transition: transform 0.7s var(--fx-ease), filter 0.5s ease;
}
.fx-alnooah-block img:hover,
.fiber-services-section img:hover {
  transform: scale(1.03);
}
.fiber-value-section .container,
.fx-alnooah-block,
.fiber-services-section .container {
  position: relative;
  z-index: 1;
}

#footer-section .footer-logo img {
  filter: drop-shadow(0 8px 24px rgba(154, 69, 214, 0.25));
  transition: transform 0.45s var(--fx-ease);
}
#footer-section .footer-logo:hover img {
  transform: scale(1.06);
}

/* Soft selection */
::selection {
  background: rgba(154, 69, 214, 0.28);
  color: #060418;
}

@media (max-width: 767.98px) {
  .homepage-hero-bg {
    min-height: 92vh;
  }
  .homepage-hero-bg .section-titles,
  .homepage-hero-bg h1.section-titles {
    max-width: 100%;
    font-size: clamp(1.35rem, 6.5vw, 1.85rem) !important;
  }
  .fx-brand-hero {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
  .hero-landing-shell.hero-image-mode {
    align-items: center;
    padding-top: 5.5rem !important;
  }
  body.has-hero-bg .navPlacehoderContainer .nav-link span {
    color: #1b1f3b !important;
  }
  .navPlacehoderContainer .navbar-menu {
    background: rgba(247, 245, 255, 0.97) !important;
  }
}

/* ============================================================
   Specificity lock — beat brand-overrides / premium layers
   ============================================================ */
body.fx-luxe .section-titles {
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .fx-brand-hero {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 0.35rem !important;
  font-size: clamp(2.8rem, 8vw, 5.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.45) !important;
  text-align: start !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .section-titles,
body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy h1.section-titles {
  color: #f4efe6 !important;
  -webkit-text-fill-color: #f4efe6 !important;
  font-size: clamp(1.45rem, 3.6vw, 2.45rem) !important;
  font-weight: 800 !important;
  text-align: start !important;
  text-shadow: 0 2px 0 rgba(5, 8, 26, 0.35), 0 12px 36px rgba(0, 0, 0, 0.55) !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .section-titles::after {
  display: none !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .hero-subtitle,
body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .hero-tagline {
  color: rgba(235, 228, 250, 0.92) !important;
  -webkit-text-fill-color: rgba(235, 228, 250, 0.92) !important;
  text-align: start !important;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem) !important;
  font-weight: 500 !important;
}

body.fx-luxe.has-hero-bg .navbar-custom.header-top-nav .header-action-btn,
body.fx-luxe.has-hero-bg .navbar-custom.header-top-nav .matches-header-btn.header-action-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(235, 228, 250, 0.4) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.fx-luxe.has-hero-bg .navbar-custom.header-top-nav .cta-button.header-action-btn {
  background: #ffffff !important;
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  border-color: #ffffff !important;
}

body.fx-luxe.has-hero-bg .navbar-custom.header-top-nav .cta-button.header-action-btn span,
body.fx-luxe.has-hero-bg .navbar-custom.header-top-nav .cta-button.header-action-btn img {
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  filter: brightness(0);
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .main-button,
body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy a.main-button {
  background: #ffffff !important;
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
  min-width: 170px !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .main-button span {
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  font-weight: 800 !important;
}

body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy .fx-ghost-cta {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(235, 228, 250, 0.55) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.fx-luxe .fiber-services-section {
  background: linear-gradient(180deg, #060418 0%, #12183d 100%) !important;
}

body.fx-luxe .fiber-cta-section .main-button,
body.fx-luxe .fiber-cta-section a.main-button,
body.fx-luxe .fiber-cta-section .cta-button,
body.fx-luxe .fiber-cta-section .cta-button span,
body.fx-luxe .fiber-cta-section .main-button span {
  background: #ffffff !important;
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  border-radius: 999px !important;
}

html[lang="ar"] body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy-left,
html[lang="ar"] body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy-left * {
  text-align: right !important;
}

/* ============================================================
   Pass 2 — stages, page heroes, dark services, skills
   ============================================================ */

.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(3, 24, 130, 0.14);
  border-radius: 999px;
  background: rgba(101, 82, 200, 0.08);
  color: #4a3aad;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.fx-kicker-light {
  border-color: rgba(235, 228, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fx-champagne);
}
.fx-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-optic);
  box-shadow: 0 0 10px var(--fx-optic);
}

body.fx-luxe .fiber-services-section,
body.fx-luxe .fiber-services-section.fx-stage-dark {
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(154, 69, 214, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(101, 82, 200, 0.22), transparent 50%),
    linear-gradient(180deg, #060418 0%, #0d1450 55%, #12183d 100%) !important;
  color: #fff !important;
  padding-block: clamp(2.5rem, 6vw, 5rem) !important;
}
body.fx-luxe .fiber-services-section .fx-stage-lead {
  width: min(640px, 92%);
  margin-inline: auto;
  color: rgba(235, 228, 250, 0.82) !important;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
}
body.fx-luxe .fiber-services-section .section-titles {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.fx-luxe .fiber-services-section .feature-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(235, 228, 250, 0.14) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28) !important;
}
body.fx-luxe .fiber-services-section .feature-card h5 {
  color: var(--fx-champagne) !important;
  font-weight: 800 !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}
body.fx-luxe .fiber-services-section .feature-card p {
  color: rgba(235, 228, 250, 0.78) !important;
}
body.fx-luxe .fiber-services-section .main-button {
  background: #fff !important;
  color: #060418 !important;
  -webkit-text-fill-color: #060418 !important;
  border-radius: 999px !important;
}

.fx-alnooah-block {
  position: relative;
  padding-block: 1rem 2rem;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(101, 82, 200, 0.1), transparent 55%),
    #f3f1fa;
}
.fx-alnooah-block .image-wrapper img {
  border-radius: 18px !important;
  border: 0 !important;
  box-shadow: 0 30px 70px rgba(13, 20, 80, 0.18);
}

.fx-skill-rail {
  position: relative;
  padding-block: 1.5rem !important;
}
body.fx-luxe .fiber-skill-chip {
  border-radius: 999px !important;
  border: 1px solid rgba(3, 24, 130, 0.12) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: #031882 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(13, 20, 80, 0.06);
  transition: transform 0.35s var(--fx-ease), border-color 0.35s ease, background 0.35s ease !important;
}
body.fx-luxe .fiber-skill-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 69, 214, 0.45) !important;
  background: #fff !important;
  color: var(--fx-optic) !important;
}

body.fx-luxe .fiber-cta-section.fx-cta-finale {
  max-width: none !important;
  width: 100%;
  margin-inline: 0 !important;
  border-radius: 0 !important;
  padding-block: clamp(3.5rem, 8vw, 6rem) !important;
  background:
    radial-gradient(ellipse 50% 70% at 15% 40%, rgba(154, 69, 214, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 70%, rgba(101, 82, 200, 0.3), transparent 50%),
    linear-gradient(125deg, #060418 0%, #1a237e 50%, #2a1a5e 100%) !important;
}
body.fx-luxe .fiber-cta-section.fx-cta-finale .section-intro {
  color: rgba(235, 228, 250, 0.88) !important;
  max-width: 38rem;
}

/* Inner page heroes */
.fx-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 4.5rem);
  background:
    radial-gradient(ellipse 50% 55% at 80% 20%, rgba(154, 69, 214, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 45% at 10% 80%, rgba(101, 82, 200, 0.22), transparent 50%),
    linear-gradient(135deg, #060418 0%, #0d1450 55%, #1a237e 100%);
  color: #fff;
}
.fx-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(235, 228, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 228, 250, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  opacity: 0.6;
}
.fx-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.fx-page-title {
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.fx-page-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(235, 228, 250, 0.9);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  font-weight: 500;
}
.fx-page-body {
  background:
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(101, 82, 200, 0.07), transparent 55%),
    #f3f1fa !important;
}
.fx-section-label {
  color: #031882 !important;
  font-weight: 800 !important;
}
.fx-muted {
  color: #4a5078 !important;
}
.fx-topic-tile {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(101, 82, 200, 0.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(13, 20, 80, 0.06);
  transition: transform 0.4s var(--fx-ease), border-color 0.35s ease, box-shadow 0.4s ease;
}
.fx-topic-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 69, 214, 0.4) !important;
  box-shadow: 0 22px 48px rgba(26, 35, 126, 0.14);
}
.fx-topic-title {
  color: #031882 !important;
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
}
.fx-topic-blurb {
  color: #4a5078 !important;
  font-size: 0.85rem;
  line-height: 1.55;
}
.fx-breadcrumb .breadcrumb-item,
.fx-breadcrumb .breadcrumb-item a,
.fx-breadcrumb .breadcrumb-item.active {
  color: rgba(235, 228, 250, 0.75) !important;
}
.fx-breadcrumb .breadcrumb-item a:hover {
  color: #fff !important;
}
.fx-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(235, 228, 250, 0.4) !important;
}

/* Non-home pages: glass header over light body */
body.fx-luxe:not(.has-hero-bg) .navbar-custom.header-top-nav {
  background: rgba(247, 245, 255, 0.86) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(3, 24, 130, 0.06) !important;
}
body.fx-luxe:not(.has-hero-bg) .navbar-custom .nav-link span {
  color: #1b1f3b !important;
}
body.fx-luxe:not(.has-hero-bg) .header-action-btn,
body.fx-luxe:not(.has-hero-bg) .matches-header-btn.header-action-btn {
  background: rgba(3, 24, 130, 0.06) !important;
  border: 1px solid rgba(3, 24, 130, 0.14) !important;
  color: #031882 !important;
  -webkit-text-fill-color: #031882 !important;
}
body.fx-luxe:not(.has-hero-bg) .cta-button.header-action-btn {
  background: linear-gradient(135deg, #1a237e, #9A45D6) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: transparent !important;
}
body.fx-luxe:not(.has-hero-bg) .cta-button.header-action-btn span,
body.fx-luxe:not(.has-hero-bg) .cta-button.header-action-btn img {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  filter: none;
}

/* Marquee amplify */
.fx-marquee {
  background: linear-gradient(90deg, #060418, #0d1450, #060418) !important;
  letter-spacing: 0.16em !important;
}

/* Hero editorial alignment (RTL start = right) */
body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-landing-shell.hero-image-mode {
  align-items: flex-end !important;
}
body.fx-luxe.has-hero-bg .homepage-hero-bg .hero-copy {
  text-align: start !important;
  margin-inline-end: auto;
}

@media (max-width: 767.98px) {
  .fx-page-hero {
    padding-top: 5.25rem;
    text-align: center;
  }
  .fx-page-lead {
    margin-inline: auto;
  }
  .fx-page-hero-inner .fx-hero-ctas {
    justify-content: center;
  }
}

/* ============================================================
   Pass 3 — Qiddiya-style editorial service bands + scroll cue
   ============================================================ */

.fx-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 64px;
  margin-top: 2.25rem;
  padding: 0;
  border: 1px solid rgba(235, 228, 250, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.fx-scroll-cue span {
  width: 4px;
  height: 12px;
  border-radius: 4px;
  background: var(--fx-champagne);
  animation: fx-cue-bounce 1.6s ease-in-out infinite;
}
.fx-scroll-cue:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
@keyframes fx-cue-bounce {
  0%, 100% { transform: translateY(-6px); opacity: 0.35; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* Soft Ken Burns — rich devices only, subtle scale (no heavy thrash) */
body.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video {
  transform: scale(1.04);
  animation: none;
}
html.device-rich body.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video,
body.device-rich.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video {
  animation: fx-kenburns-soft 40s ease-in-out infinite alternate;
}
@keyframes fx-kenburns-soft {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-0.8%, 0.5%, 0); }
}
html.device-lite body.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video,
body.device-lite.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video {
  animation: none !important;
  transform: scale(1.03) !important;
}

.fx-editorial-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(235, 228, 250, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--fx-ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s ease;
}
.fx-editorial-row:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 69, 214, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}
.fx-editorial-row.is-odd .fx-editorial-media { order: 1; }
.fx-editorial-row.is-odd .fx-editorial-copy { order: 2; }
.fx-editorial-row.is-even .fx-editorial-media { order: 2; }
.fx-editorial-row.is-even .fx-editorial-copy { order: 1; }

.fx-editorial-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 240px;
  background: rgba(0, 0, 0, 0.25);
}
.fx-editorial-media .fiber-svc-gallery,
.fx-editorial-media .svc-gallery,
.fx-editorial-media .service-gallery {
  height: 100%;
  min-height: 240px;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
.fx-editorial-media img,
.fx-editorial-media .service-showcase-img,
.fx-editorial-media .fiber-svc-slide {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 320px;
  object-fit: cover !important;
  transition: transform 0.8s var(--fx-ease) !important;
}
.fx-editorial-row:hover .fx-editorial-media img,
.fx-editorial-row:hover .fx-editorial-media .service-showcase-img,
.fx-editorial-row:hover .fx-editorial-media .fiber-svc-slide {
  transform: scale(1.06) !important;
}

.fx-editorial-copy {
  position: relative;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  text-align: start;
}
.fx-editorial-index {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--fx-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(235, 228, 250, 0.35);
  opacity: 0.9;
}
.fx-editorial-title {
  margin: 0 0 0.85rem;
  color: var(--fx-champagne) !important;
  font-family: var(--fx-display);
  font-weight: 800 !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  line-height: 1.3;
}
.fx-editorial-desc {
  margin: 0 0 1.35rem;
  color: rgba(235, 228, 250, 0.78) !important;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 36ch;
}
.fx-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(235, 228, 250, 0.45);
  padding-bottom: 0.2rem;
  transition: gap 0.35s var(--fx-ease), border-color 0.35s ease, color 0.35s ease;
}
.fx-editorial-link:hover {
  gap: 0.85rem;
  color: var(--fx-champagne) !important;
  border-color: var(--fx-optic);
}
.fx-editorial-link svg {
  transform: scaleX(-1);
}

/* Light variant (services page) */
.fx-editorial-row-light {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 24, 130, 0.1);
  box-shadow: 0 16px 40px rgba(13, 20, 80, 0.06);
}
.fx-editorial-row-light:hover {
  background: #fff;
  border-color: rgba(154, 69, 214, 0.28);
  box-shadow: 0 28px 60px rgba(26, 35, 126, 0.12);
}
.fx-editorial-row-light .fx-editorial-index {
  -webkit-text-stroke: 1.5px rgba(3, 24, 130, 0.18);
}
.fx-editorial-row-light .fx-editorial-title {
  color: #031882 !important;
}
.fx-editorial-row-light .fx-editorial-desc {
  color: #4a5078 !important;
}
.fx-editorial-row-light .fx-editorial-link {
  color: #031882 !important;
  border-color: rgba(3, 24, 130, 0.25);
}
.fx-editorial-row-light .fx-editorial-link:hover {
  color: var(--fx-optic) !important;
  border-color: var(--fx-optic);
}

.fx-ghost-cta-on-dark {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(235, 228, 250, 0.5) !important;
  background: transparent !important;
}
.fx-ghost-cta-on-dark:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 991.98px) {
  .fx-editorial-row,
  .fx-editorial-row-light {
    grid-template-columns: 1fr;
  }
  .fx-editorial-row.is-even .fx-editorial-media,
  .fx-editorial-row.is-odd .fx-editorial-media,
  .fx-editorial-row.is-even .fx-editorial-copy,
  .fx-editorial-row.is-odd .fx-editorial-copy {
    order: unset;
  }
  .fx-editorial-media { order: 1 !important; }
  .fx-editorial-copy { order: 2 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scroll-cue span,
  body.fx-luxe.has-hero-bg .homepage-hero-bg.has-hero-video .hero-bg-video {
    animation: none !important;
  }
}
body.device-lite .homepage-hero-bg.has-hero-video .hero-bg-video {
  animation: none !important;
  transform: none !important;
}

/* ============================================================
   Pass 4 — tool panel, discover rail, WA FAB, downloads
   ============================================================ */

.fx-tool-stage {
  background:
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(154, 69, 214, 0.12), transparent 55%),
    #f3f1fa;
}
.fx-tool-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 24px;
  border: 1px solid rgba(3, 24, 130, 0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,245,255,0.9));
  box-shadow: 0 22px 50px rgba(13, 20, 80, 0.08);
}
.fx-tool-title {
  margin: 0 0 0.55rem;
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: #031882;
  letter-spacing: -0.02em;
}
.fx-tool-desc {
  margin: 0;
  max-width: 40rem;
  color: #4a5078;
  line-height: 1.7;
}
.fx-tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  background: #060418;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.35s var(--fx-ease), background 0.35s ease, box-shadow 0.35s ease;
}
.fx-tool-cta svg { transform: scaleX(-1); }
.fx-tool-cta:hover {
  background: var(--fx-optic);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(154, 69, 214, 0.28);
}

.fx-discover-stage {
  background: #f3f1fa;
  overflow: hidden;
}
.fx-discover-title {
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #031882;
  letter-spacing: -0.02em;
}
.fx-discover-hint {
  font-size: 0.85rem;
  opacity: 0.75;
}
.fx-discover-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(101, 82, 200, 0.35) transparent;
}
.fx-discover-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.fx-discover-rail::-webkit-scrollbar { height: 6px; }
.fx-discover-rail::-webkit-scrollbar-thumb {
  background: rgba(101, 82, 200, 0.35);
  border-radius: 999px;
}
.fx-discover-card {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 170px;
  padding: 1.25rem 1.2rem;
  border-radius: 20px;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid rgba(3, 24, 130, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(13, 20, 80, 0.06);
  transition: transform 0.4s var(--fx-ease), border-color 0.35s ease, box-shadow 0.4s ease;
}
.fx-discover-card:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 69, 214, 0.35);
  box-shadow: 0 24px 48px rgba(26, 35, 126, 0.12);
}
.fx-discover-num {
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(3, 24, 130, 0.22);
}
.fx-discover-card strong {
  color: #031882;
  font-size: 1.15rem;
  font-weight: 800;
}
.fx-discover-card > span:last-child {
  color: #4a5078;
  font-size: 0.92rem;
  line-height: 1.55;
}

.fx-downloads-stage {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(101, 82, 200, 0.08), transparent 55%),
    #f7f5ff !important;
}
body.fx-luxe .download-card {
  border-radius: 18px !important;
  border-color: rgba(101, 82, 200, 0.14) !important;
  box-shadow: 0 16px 36px rgba(13, 20, 80, 0.06) !important;
}
body.fx-luxe .download-card:hover {
  border-color: rgba(154, 69, 214, 0.35) !important;
}

.fx-wa-fab {
  position: fixed;
  inset-inline-start: 1.15rem;
  bottom: 1.15rem;
  z-index: 9990;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1ebd57;
  color: #fff;
  box-shadow: 0 14px 34px rgba(30, 189, 87, 0.35);
  transition: transform 0.35s var(--fx-ease), box-shadow 0.35s ease;
}
.fx-wa-fab:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff;
  box-shadow: 0 20px 42px rgba(30, 189, 87, 0.45);
}

/* Contact page polish */
body.fx-luxe .contact-us-info-section .contact-info-card {
  border-radius: 18px !important;
  border-color: rgba(101, 82, 200, 0.14) !important;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(13, 20, 80, 0.06);
  transition: transform 0.35s var(--fx-ease), border-color 0.35s ease;
}
body.fx-luxe .contact-us-info-section .contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 69, 214, 0.3) !important;
}

@media (max-width: 767.98px) {
  .fx-tool-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .fx-tool-cta { justify-content: center; width: 100%; }
  .fx-discover-hint { display: none; }
}

/* ============================================================
   Pass 5 — featured Alnooah panel + contact form
   ============================================================ */

.fx-featured-stage {
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(154, 69, 214, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(101, 82, 200, 0.08), transparent 50%),
    #f3f1fa;
}
.fx-featured-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  border: 1px solid rgba(3, 24, 130, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 70px rgba(13, 20, 80, 0.1);
  backdrop-filter: blur(10px);
}
.fx-featured-brand {
  margin: 0 0 0.35rem;
  color: var(--fx-optic);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.fx-featured-title {
  margin: 0 0 0.85rem;
  font-family: var(--fx-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  color: #031882;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fx-featured-logo {
  max-height: 72px;
  width: auto;
  margin-bottom: 0.85rem;
}
.fx-featured-desc {
  margin: 0 0 1.25rem;
  color: #4a5078;
  font-size: 0.98rem;
  line-height: 1.8;
  font-weight: 500;
}
.fx-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.fx-featured-panel .price-card {
  text-align: center;
  padding: 0.9rem 0.6rem !important;
  margin: 0 !important;
}
.fx-featured-panel .main-button {
  width: auto !important;
  min-width: 160px;
  border-radius: 999px !important;
}
.fx-ghost-cta-dark {
  color: #031882 !important;
  -webkit-text-fill-color: #031882 !important;
  border-color: rgba(3, 24, 130, 0.28) !important;
  background: transparent !important;
}
.fx-ghost-cta-dark:hover {
  background: rgba(3, 24, 130, 0.06) !important;
  color: var(--fx-optic) !important;
  -webkit-text-fill-color: var(--fx-optic) !important;
  border-color: var(--fx-optic) !important;
}
.fx-featured-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(101, 82, 200, 0.18), transparent 60%),
    #0b0824;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.fx-featured-media img {
  max-height: 380px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border: 0 !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  transition: transform 0.7s var(--fx-ease);
}
.fx-featured-panel:hover .fx-featured-media img {
  transform: scale(1.03);
}

.fx-contact-card {
  border-radius: 24px !important;
  border: 1px solid rgba(101, 82, 200, 0.14) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 24px 60px rgba(13, 20, 80, 0.1) !important;
  padding-inline: clamp(1rem, 3vw, 1.75rem) !important;
}
body.fx-luxe .fx-contact-card .form-control,
body.fx-luxe .fx-contact-card .form-select {
  border-radius: 14px !important;
  border-color: rgba(3, 24, 130, 0.12) !important;
  background: #faf9ff !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.fx-luxe .fx-contact-card .form-control:focus,
body.fx-luxe .fx-contact-card .form-select:focus {
  border-color: rgba(154, 69, 214, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(154, 69, 214, 0.12) !important;
}
body.fx-luxe .fx-contact-card .form-label {
  font-weight: 700;
  color: #031882;
}
body.fx-luxe .fx-contact-card .main-button {
  border-radius: 999px !important;
  min-width: 140px;
}

@media (max-width: 991.98px) {
  .fx-featured-panel {
    grid-template-columns: 1fr;
  }
  .fx-featured-copy { text-align: center; }
  .fx-featured-logo { margin-inline: auto; }
  .fx-featured-copy .d-flex { justify-content: center; }
}
