/* ==========================================================================
   POLISH MEDIA CO — 3D METALLIC CHROME & SMOKED GLASS LUXURY SYSTEM (V7.0)
   - Inspired by Hyper-Realistic 3D Chrome Caustic Glassmorphism
   - Smoked Translucent Acrylic with Specular Glass Bevels
   - Floating 3D Liquid Chrome Torus & Spheres in Background
   - Ultra-Deep Refraction & Micro-Frosted Texture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Matte Obsidian Black Void */
  --bg-deep: #07080B;
  
  /* Smoked Acrylic Glass Surfaces */
  --glass-panel: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(20, 25, 35, 0.42) 28%, rgba(8, 10, 16, 0.68) 100%);
  --glass-panel-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(26, 32, 46, 0.52) 30%, rgba(10, 13, 20, 0.78) 100%);
  --glass-input: rgba(8, 10, 15, 0.65);
  --glass-header: rgba(7, 8, 12, 0.6);

  /* Signature Electric Cyan & Blue Gradient */
  --brand-cyan: #00E5FF;
  --brand-blue: #0088FF;
  --grad-brand: linear-gradient(135deg, #00E5FF 0%, #0088FF 100%);
  --grad-hover: linear-gradient(135deg, #33EBFF 0%, #1A94FF 100%);
  --grad-text: linear-gradient(135deg, #FFFFFF 40%, #00E5FF 85%, #0088FF 100%);

  /* Specular Light Edges & Beveled Glass Highlights */
  --border-specular: rgba(255, 255, 255, 0.22);
  --border-specular-hover: rgba(0, 229, 255, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.4);

  /* Glass Shadow & Inset Illumination */
  --glass-shadow: inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.35), inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.6), 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 229, 255, 0.12);
  --glass-shadow-hover: inset 0 2px 2px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 2px 0 rgba(0, 0, 0, 0.7), 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 229, 255, 0.25);
  --glass-shadow-input: inset 0 2px 5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-white: #FFFFFF;
  --text-lead: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Large Smooth Curves */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-deep);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-lead);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   3D CHROME GEOMETRY & CAUSTIC BACKGROUND
   (Simulates liquid metal toruses & metallic chrome spheres refracted through glass)
   ========================================================================== */

.ambient-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #0B0D14 0%, #050608 100%);
}

/* Dynamic Atmospheric Luxury Studio Aurora & Caustic Engine */
.ambient-glow-top {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(500px, 60vw, 850px);
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.18) 0%, rgba(0, 136, 255, 0.08) 45%, transparent 75%);
  filter: blur(90px);
  pointer-events: none;
  animation: auroraPulse 12s ease-in-out infinite alternate;
}

.ambient-glow-cyan {
  position: absolute;
  top: 18%;
  left: 12%;
  width: clamp(450px, 45vw, 680px);
  height: clamp(450px, 45vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 136, 255, 0.04) 50%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  animation: causticDrift1 20s ease-in-out infinite alternate;
}

.ambient-glow-blue {
  position: absolute;
  bottom: 12%;
  right: 10%;
  width: clamp(500px, 50vw, 750px);
  height: clamp(500px, 50vw, 750px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.14) 0%, rgba(0, 229, 255, 0.04) 50%, transparent 70%);
  filter: blur(130px);
  pointer-events: none;
  animation: causticDrift2 24s ease-in-out infinite alternate-reverse;
}

.ambient-glow-center {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(600px, 70vw, 1000px);
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, rgba(0, 100, 220, 0.03) 40%, transparent 75%);
  filter: blur(140px);
  pointer-events: none;
}

.ambient-aurora-prism {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: clamp(700px, 80vw, 1200px);
  height: 320px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(0, 136, 255, 0.08) 50%, rgba(0, 229, 255, 0.04) 100%);
  filter: blur(80px);
  pointer-events: none;
  animation: prismWave 18s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes causticDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  100% { transform: translate3d(40px, -30px, 0) scale(1.1); }
}

@keyframes causticDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-35px, 25px, 0) scale(1.12); }
}

@keyframes prismWave {
  0% { transform: translateX(-50%) rotate(-8deg) scale(0.96); opacity: 0.5; }
  100% { transform: translateX(-50%) rotate(4deg) scale(1.06); opacity: 0.9; }
}

/* ==========================================================================
   CINEMATIC MULTI-PLANE LUXURY BEAUTY DEPTH ENGINE (GPU ACCELERATED)
   ========================================================================== */

.beauty-depth-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

/* Layer 1: Far Volumetric Bokeh Beauty Atmosphere (Deep Field Depth) */
.beauty-depth-far {
  z-index: 1;
  filter: blur(20px) saturate(135%);
  opacity: 0.28;
  mix-blend-mode: screen;
}

.beauty-bokeh-item {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.beauty-bokeh-item img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.bokeh-serum {
  top: 12%;
  left: 8%;
  width: clamp(200px, 22vw, 320px);
  animation: bokehDrift1 36s ease-in-out infinite alternate;
}

.bokeh-perfume {
  top: 15%;
  right: 6%;
  width: clamp(220px, 24vw, 340px);
  animation: bokehDrift2 42s ease-in-out infinite alternate-reverse;
}

.bokeh-cream {
  top: 58%;
  left: 14%;
  width: clamp(210px, 23vw, 330px);
  animation: bokehDrift3 38s ease-in-out infinite alternate;
}

/* Layer 2: Mid-Ground Luminous Crystal Beauty Products (Atmospheric Focus) */
.beauty-depth-mid {
  z-index: 2;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.beauty-floating-item {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 0 35px rgba(0, 229, 255, 0.35)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95));
}

.beauty-floating-item img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(110%) contrast(105%);
}

.float-serum-left {
  top: 14%;
  left: clamp(16px, 4.5vw, 75px);
  width: clamp(75px, 8vw, 125px);
  animation: beautyHarmonic1 26s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.float-perfume-right {
  top: 16%;
  right: clamp(16px, 4.8vw, 82px);
  width: clamp(80px, 8.5vw, 132px);
  animation: beautyHarmonic2 29s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate-reverse;
}

.float-lipglaze-right {
  top: 56%;
  right: clamp(14px, 4.2vw, 72px);
  width: clamp(62px, 6.5vw, 98px);
  animation: beautyHarmonic3 24s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.float-cream-left {
  top: 66%;
  left: clamp(14px, 4.4vw, 76px);
  width: clamp(78px, 8.2vw, 128px);
  animation: beautyHarmonic4 28s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate-reverse;
}

/* Layer 3: Subtle Refractive Liquid Essence Droplets */
.beauty-depth-near {
  z-index: 3;
}

.liquid-glint {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #00E5FF 60%, rgba(0, 136, 255, 0.2) 100%);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.7), inset -2px -2px 6px rgba(255, 255, 255, 0.8);
  will-change: transform;
}

.glint-1 {
  top: 32%;
  left: clamp(20px, 6vw, 95px);
  width: 10px;
  height: 10px;
  opacity: 0.85;
  animation: glintDrift1 18s ease-in-out infinite alternate;
}

.glint-2 {
  top: 48%;
  right: clamp(20px, 6.5vw, 100px);
  width: 12px;
  height: 12px;
  opacity: 0.8;
  animation: glintDrift2 22s ease-in-out infinite alternate-reverse;
}

.glint-3 {
  top: 78%;
  left: 22%;
  width: 8px;
  height: 8px;
  opacity: 0.6;
  filter: blur(1px);
  animation: glintDrift1 26s ease-in-out infinite alternate;
}

/* Physics-based Easing Keyframes (100% GPU Composited) */
@keyframes bokehDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(0.96) rotate(-4deg); }
  100% { transform: translate3d(30px, -40px, 0) scale(1.08) rotate(4deg); }
}

@keyframes bokehDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1.04) rotate(6deg); }
  100% { transform: translate3d(-35px, 45px, 0) scale(0.95) rotate(-3deg); }
}

@keyframes bokehDrift3 {
  0% { transform: translate3d(0, 0, 0) scale(0.98); }
  100% { transform: translate3d(25px, 35px, 0) scale(1.06); }
}

@keyframes beautyHarmonic1 {
  0% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); }
  50% { transform: translate3d(10px, -18px, 0) rotate(-1deg) scale(1.02); }
  100% { transform: translate3d(-8px, -32px, 0) rotate(3deg) scale(0.98); }
}

@keyframes beautyHarmonic2 {
  0% { transform: translate3d(0, 0, 0) rotate(8deg) scale(1); }
  50% { transform: translate3d(-12px, 16px, 0) rotate(2deg) scale(1.03); }
  100% { transform: translate3d(10px, -22px, 0) rotate(-4deg) scale(0.98); }
}

@keyframes beautyHarmonic3 {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(8px, 16px, 0) rotate(-2deg); }
  100% { transform: translate3d(-10px, 26px, 0) rotate(-12deg); }
}

@keyframes beautyHarmonic4 {
  0% { transform: translate3d(0, 0, 0) rotate(6deg); }
  50% { transform: translate3d(-10px, -14px, 0) rotate(-1deg); }
  100% { transform: translate3d(8px, 18px, 0) rotate(10deg); }
}

@keyframes glintDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.5; }
  50% { transform: translate3d(14px, -20px, 0) scale(1.2); opacity: 0.95; }
  100% { transform: translate3d(-10px, -36px, 0) scale(0.85); opacity: 0.4; }
}

@keyframes glintDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(-16px, 22px, 0) scale(1.25); opacity: 1; }
  100% { transform: translate3d(12px, 38px, 0) scale(0.9); opacity: 0.5; }
}

/* Mouse-Tracking Caustic Orb (GPU Composited) */
.mouse-caustic-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, rgba(0, 136, 255, 0.06) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  mix-blend-mode: screen;
}

/* Ambient Particles Canvas */
.ambient-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   HOVERING FLOATING GLASS HEADER (ROUND EDGES & SPECULAR REFRACTION)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 20px;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.floating-header-glass {
  pointer-events: auto;
  background: rgba(10, 13, 20, 0.72);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-pill);
  padding: 4px 14px 4px 6px;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 1.5px 1.5px rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(0, 0, 0, 0.6), 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 229, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.floating-header-glass:hover {
  background: rgba(14, 18, 28, 0.85);
  border-color: var(--border-specular-hover);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.7), 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

/* Grand Prominent Smoked Glass Logo Bubble */
.header-logo-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 4px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(0, 229, 255, 0.08) 45%, rgba(7, 11, 20, 0.92) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 229, 255, 0.28);
  backdrop-filter: blur(36px) saturate(220%);
  -webkit-backdrop-filter: blur(36px) saturate(220%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  position: relative;
  flex-shrink: 0;
}

.header-logo-bubble:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 229, 255, 0.14) 45%, rgba(9, 14, 26, 0.95) 100%);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: inset 0 2px 2.5px rgba(255, 255, 255, 0.55), 0 0 35px rgba(0, 229, 255, 0.5), 0 14px 40px rgba(0, 0, 0, 0.85);
  transform: scale(1.03);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.45));
  will-change: transform, filter;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.header-logo-bubble:hover .header-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8)) drop-shadow(0 0 32px rgba(0, 136, 255, 0.45));
}

/* ==========================================================================
   LANGUAGE SELECTOR SWITCHER CAPSULE (EN / FR / AR)
   ========================================================================== */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 3px 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.lang-btn:hover {
  color: #FFFFFF;
}

.lang-btn.active {
  color: #06080A;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
  font-weight: 400;
  user-select: none;
}

/* ==========================================================================
   BUTTONS & SMOKED GLASS CAPSULES (STABILIZED ACROSS LANGUAGES)
   ========================================================================== */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #06080A;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 22px rgba(0, 229, 255, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

/* Stabilized Hero CTA */
.hero-actions .btn-cta-lg {
  min-width: 250px;
  text-align: center;
}

/* ==========================================================================
   STICKY GLOWING HOVERING FLOATING CTA DOCK (SMART AUTO-BLEND)
   ========================================================================== */

.sticky-cta-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(35px) scale(0.92);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform, opacity;
  filter: blur(4px);
}

.sticky-cta-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  filter: blur(0px);
}

.sticky-glowing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-brand);
  color: #06080A;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 35px rgba(0, 229, 255, 0.45), 0 0 24px rgba(0, 229, 255, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sticky-glowing-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(25deg);
  animation: shineLoop 4s infinite ease-in-out;
}

@keyframes shineLoop {
  0% { left: -60%; }
  35% { left: 120%; }
  100% { left: 120%; }
}

.sticky-glowing-btn:hover {
  background: var(--grad-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 45px rgba(0, 229, 255, 0.7), 0 0 35px rgba(0, 229, 255, 0.5), inset 0 2.5px 2.5px rgba(255, 255, 255, 0.85);
}

/* RTL Arrow Support */
[dir="rtl"] .sticky-glowing-btn svg {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .sticky-cta-dock {
    bottom: 18px;
  }
  .sticky-glowing-btn {
    padding: 11px 22px;
    font-size: 12.5px;
    box-shadow: 0 6px 26px rgba(0, 229, 255, 0.5), 0 0 18px rgba(0, 229, 255, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.65);
  }
}

@media (max-width: 359px) {
  .sticky-glowing-btn {
    padding: 9px 18px;
    font-size: 11.5px;
  }
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  transition: none;
}

.btn-cta:hover::after {
  left: 120%;
  transition: left 0.75s ease-in-out;
}

.btn-cta:hover {
  background: var(--grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.7);
}

.btn-cta-lg {
  padding: 16px 36px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-specular);
  color: var(--text-white);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-specular-hover);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Smoked Glass Eyebrow Badge */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 26px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 36px 0 60px;
  text-align: center;
  position: relative;
}

.hero-h1 {
  font-size: clamp(38px, 4.4vw, 54px);
  max-width: 960px;
  margin: 0 auto 22px;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
}

.hero-desc {
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 34px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.micro-trust {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.015em;
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
}

/* ==========================================================================
   SMOKED GLASS PRO CARDS (FROSTED ACCORDING TO REFERENCE MOCKUP)
   ========================================================================== */

.section-wrap {
  padding: 80px 0 60px;
  position: relative;
  scroll-margin-top: 90px;
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  scroll-margin-top: 90px;
}

.section-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

.grid-cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Authentic Frosted Acrylic Smoked Glass Card */
.pro-card {
  background: var(--glass-panel);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border: 1px solid var(--border-specular);
  border-radius: 24px;
  padding: 38px 32px;
  position: relative;
  box-shadow: var(--glass-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-card:hover {
  transform: translateY(-6px) scale(1.008);
  background: var(--glass-panel-hover);
  border-color: var(--border-specular-hover);
  box-shadow: var(--glass-shadow-hover);
}

.card-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.card-h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
  line-height: 1.32;
}

.card-p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.68;
}

.pillar-digit {
  font-size: 38px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.3));
}

/* Smoked Glass Case Study Banner */
.case-banner {
  margin-top: 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(22, 28, 42, 0.5) 30%, rgba(8, 11, 18, 0.75) 100%);
  backdrop-filter: blur(45px) saturate(200%);
  -webkit-backdrop-filter: blur(45px) saturate(200%);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 42px;
  text-align: center;
  box-shadow: var(--glass-shadow), 0 0 45px rgba(0, 229, 255, 0.15);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 36px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metric-big {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.35));
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.case-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-lead);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.68;
}

/* ==========================================================================
   PAGE 2: SMOKED ACRYLIC MULTI-STEP FORM
   ========================================================================== */

.form-container-shell {
  max-width: 700px;
  margin: 0 auto 80px;
  background: var(--glass-panel);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.step-progress-wrap {
  margin-bottom: 34px;
}

.step-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-counter {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  text-transform: uppercase;
}

.step-title-hint {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.progress-line-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-line-fill {
  height: 100%;
  width: 25%;
  background: var(--grad-brand);
  border-radius: var(--radius-pill);
  transition: width 0.35s ease;
  box-shadow: 0 0 14px var(--brand-cyan);
}

.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
  animation: fadeIn 0.25s ease forwards;
}

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

.step-lead-title {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-lead-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-group {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.field-label span.req {
  color: var(--brand-cyan);
}

/* Smoked Inset Glass Inputs */
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--glass-input);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 14.5px;
  box-shadow: var(--glass-shadow-input);
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.45);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-cyan);
  background: rgba(12, 16, 26, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.form-select option {
  background: #090B12;
  color: #FFF;
}

/* Frosted Acrylic Category Pills */
.category-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.cat-badge-label {
  position: relative;
  cursor: pointer;
}

.cat-badge-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cat-badge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  background: var(--glass-input);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
  user-select: none;
}

.cat-badge-label input[type="radio"]:checked + .cat-badge-card {
  border-color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.15);
  color: var(--text-white);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.35);
}

.cat-badge-card:hover {
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--text-white);
}

.step-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.btn-back-step {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-specular);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-step:hover {
  border-color: var(--border-specular-hover);
  color: var(--text-white);
}

.btn-back-step:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.form-success-box {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success-check-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.14);
  border: 1.5px solid var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand-cyan);
  font-size: 28px;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   SMOKED GLASS WHATSAPP WIDGET
   ========================================================================== */

/* ==========================================================================
   SMOKED GLASS WHATSAPP WIDGET
   ========================================================================== */

.whatsapp-float-container {
  position: fixed;
  bottom: 95px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-chat-box {
  width: 320px;
  background: rgba(12, 16, 26, 0.86);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--glass-shadow), 0 0 30px rgba(0, 229, 255, 0.25);
  margin-bottom: 14px;
  display: none;
  animation: fadeIn 0.2s ease;
}

.whatsapp-chat-box.open {
  display: block;
}

.wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
}

.wa-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFF;
}

.wa-status {
  font-size: 11px;
  color: #25D366;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
}

.wa-message-bubble {
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.8px;
  color: var(--text-lead);
  margin-bottom: 14px;
  line-height: 1.55;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.wa-btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: all 0.2s ease;
}

.wa-btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

.whatsapp-trigger-wrap {
  position: relative;
}

/* Dual Concentric WhatsApp Green Sonar Pulse Waves */
.whatsapp-radar-ring,
.whatsapp-radar-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.8);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.55), inset 0 0 10px rgba(37, 211, 102, 0.3);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.whatsapp-radar-ring {
  animation: sonarPulse 3s infinite cubic-bezier(0.1, 0.6, 0.4, 1);
}

.whatsapp-radar-ring-2 {
  animation: sonarPulse 3s infinite 1.5s cubic-bezier(0.1, 0.6, 0.4, 1);
}

@keyframes sonarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.95;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
}

.whatsapp-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.6), 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(37, 211, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  animation: waFloatGlow 3.5s ease-in-out infinite, waAttentionTilt 5s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.14) translateY(-2px);
  background: linear-gradient(135deg, #2ae26f 0%, #15a090 100%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 2.5px 2.5px rgba(255, 255, 255, 0.8), 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 38px rgba(37, 211, 102, 0.85);
  animation-play-state: paused;
}

.whatsapp-trigger-btn svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.whatsapp-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #128C7E;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes waFloatGlow {
  0%, 100% {
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.6), 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: inset 0 2.5px 2.5px rgba(255, 255, 255, 0.8), 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(37, 211, 102, 0.75);
  }
}

@keyframes waAttentionTilt {
  0%, 80%, 100% { transform: translateY(0) rotate(0deg); }
  84% { transform: translateY(-3px) rotate(-10deg) scale(1.06); }
  88% { transform: translateY(-3px) rotate(10deg) scale(1.06); }
  92% { transform: translateY(-1px) rotate(-5deg) scale(1.03); }
  96% { transform: translateY(0) rotate(0deg); }
}

/* Smoked Glass Footer */
.site-footer {
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-specular);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 44px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--brand-cyan);
}

.footer-link-item svg {
  flex-shrink: 0;
}

/* ==========================================================================
   HERO GLASS CARD (IN THE EXACT STYLE OF THE REFERENCE MOCKUP)
   ========================================================================== */

.hero-glass-card {
  background: var(--glass-panel);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border: 1px solid var(--border-specular);
  border-radius: 28px;
  padding: 42px 48px 54px;
  box-shadow: var(--glass-shadow);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  transition: all 0.35s ease;
}

.hero-glass-card:hover {
  border-color: var(--border-specular-hover);
  box-shadow: var(--glass-shadow-hover);
}

.glass-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot-red {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF5F56;
  box-shadow: 0 0 8px rgba(255, 95, 86, 0.6);
}

.dot-yellow {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFBD2E;
  box-shadow: 0 0 8px rgba(255, 189, 46, 0.6);
}

.dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #27C93F;
  box-shadow: 0 0 8px rgba(39, 201, 63, 0.6);
}

.glass-card-domain {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.glass-pill-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 1.25;
}

/* ==========================================================================
   MOBILE-FIRST UX PERFECTION (ONE-HAND ERGONOMICS, TOUCH TARGETS & SPACING)
   ========================================================================== */

@media (max-width: 768px) {
  /* Container & Gutters */
  .container {
    padding: 0 18px;
  }

  /* Sleek Minimal Floating Header Island */
  .site-header {
    top: 10px;
  }
  .header-container {
    padding: 0 14px;
  }
  .floating-header-glass {
    min-height: 50px;
    padding: 4px 10px 4px 6px;
    border-radius: var(--radius-pill);
    gap: 8px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.1);
    overflow: hidden;
  }
  .header-actions-wrap {
    gap: 6px;
    min-width: 0;
  }
  .header-logo-bubble {
    height: 42px;
    min-height: 42px;
    padding: 3px 14px;
    margin: 0;
    border-radius: var(--radius-pill);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4), 0 6px 18px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 229, 255, 0.25);
  }
  .header-logo-img {
    height: 30px;
    width: auto;
  }
  .site-header {
    top: 12px;
    margin-bottom: 18px;
  }

  /* Section Spacing & Visual Rhythm */
  .hero-section {
    padding: 16px 0 52px;
  }
  .apply-main-wrapper {
    padding: 16px 0 85px;
  }
  .section-wrap {
    padding: 52px 0 40px;
    scroll-margin-top: 75px;
  }
  .section-head {
    margin-bottom: 28px;
    scroll-margin-top: 75px;
  }
  .hero-glass-card {
    padding: 26px 20px 32px;
    border-radius: 22px;
    margin-bottom: 20px;
  }
  .glass-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
  }
  .mac-dots {
    flex-shrink: 0;
    gap: 5px;
  }
  .mac-dots span {
    width: 9px;
    height: 9px;
  }
  .glass-card-domain {
    display: none;
  }
  .glass-pill-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    max-width: 80%;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
    flex-shrink: 1;
  }
  [dir="rtl"] .glass-pill-tag {
    text-align: left;
  }

  /* Typography Sizing */
  .hero-h1 {
    font-size: clamp(25px, 6.8vw, 30px);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 1.62;
    margin-bottom: 24px;
    max-width: 96%;
  }
  .section-h2 {
    font-size: clamp(23px, 6.4vw, 27px);
    line-height: 1.22;
    margin-bottom: 12px;
  }
  .section-desc {
    font-size: 13.5px;
    line-height: 1.58;
    margin-bottom: 24px;
  }

  /* Form & Interactive Elements (Apple HIG 48px+ Touch Target Compliance) */
  .form-container-shell {
    padding: 24px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .form-step-header {
    margin-bottom: 22px;
    padding-bottom: 16px;
  }
  .form-group {
    margin-bottom: 18px;
  }
  .form-label {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .form-input,
  .form-select {
    font-size: 16px !important; /* Prevents unwanted iOS Safari viewport auto-zoom */
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 12px;
  }
  .input-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Category Badges on Mobile (Touch Grid) */
  .category-badges-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cat-badge-card {
    min-height: 52px;
    padding: 12px 8px;
    font-size: 12.5px;
    border-radius: 12px;
    text-align: center;
  }

  /* One-Hand Navigation Footer Bar */
  .step-nav-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .btn-back-step {
    flex: 1;
    min-height: 50px;
    font-size: 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .step-nav-footer .btn-cta {
    flex: 2;
    min-height: 50px;
    font-size: 14.5px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-actions .btn-cta {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* Pillars & Cards */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pillar-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .pillar-num {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .pillar-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .pillar-text {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .case-banner {
    padding: 30px 18px;
    border-radius: 18px;
  }

  /* Floating WhatsApp Widget (Elevated to not clash with sticky CTA) */
  .whatsapp-float-container {
    bottom: 85px;
    right: 18px;
    z-index: 999;
  }
  .whatsapp-trigger-btn {
    width: 52px;
    height: 52px;
  }

}

/* ==========================================================================
   RTL & MULTI-LANGUAGE SPACING / TYPOGRAPHY OPTIMIZATION (ARABIC / EN / FR)
   ========================================================================== */

[dir="rtl"], body.is-rtl {
  letter-spacing: normal !important;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .hero-title, [dir="rtl"] .section-title,
[dir="rtl"] .step-title, [dir="rtl"] .creator-heading {
  letter-spacing: 0 !important;
  line-height: 1.4;
}

[dir="rtl"] .hero-desc,
[dir="rtl"] .section-desc,
[dir="rtl"] .wizard-subtitle,
[dir="rtl"] .creator-subheading {
  line-height: 1.7;
}

/* RTL Arrow Flips */
[dir="rtl"] .btn-cta svg,
[dir="rtl"] .btn-wizard-next svg {
  transform: scaleX(-1);
}

/* RTL Card & Layout Alignments */
[dir="rtl"] .pillar-item {
  text-align: right;
}

[dir="rtl"] .diagnostic-card,
[dir="rtl"] .wizard-step {
  text-align: right;
}

[dir="rtl"] .trust-seal-strip {
  flex-direction: row-reverse;
}

[dir="rtl"] .floating-header-glass {
  flex-direction: row-reverse;
}

[dir="rtl"] .whatsapp-float-container {
  bottom: 95px;
  left: 28px;
  right: auto;
}

[dir="rtl"] .whatsapp-chat-box {
  left: 0;
  right: auto;
}

@media (max-width: 768px) {
  [dir="rtl"] .whatsapp-float-container {
    bottom: 85px;
    left: 18px;
    right: auto;
  }
}

/* Micro-screen optimization (Galaxy Fold / 320px - 359px devices) */
@media (max-width: 359px) {
  .floating-header-glass {
    min-height: 44px;
    padding: 3px 6px 3px 4px;
    gap: 6px;
  }
  .header-logo-bubble {
    height: 38px;
    min-height: 38px;
    padding: 2px 10px;
  }
  .header-logo-img {
    height: 26px;
  }
  .lang-toggle {
    padding: 2px 4px;
    gap: 2px;
  }
  .lang-btn {
    font-size: 10px;
    padding: 2px 4px;
  }
  .hero-glass-card {
    padding: 16px 12px 22px;
  }
  .hero-h1 {
    font-size: 24px;
  }
  .glass-pill-tag {
    font-size: 8.5px;
    padding: 2px 6px;
    max-width: 74%;
  }
}


