/* ==========================================================================
   AFSANEH SARAEI - VISUAL IDENTITY & BRAND STRATEGY STUDIO
   Luxury Dark Cinematic Aesthetic with Three.js 3D & Bilingual Support (FA/EN)
   ========================================================================== */

:root {
  /* Hero Theme Variables - Compact & Balanced (User Requested) */
  --bg-hero: #fdfdfc;
  --ink-hero: #14151a;
  --sq: clamp(92px, 11vw, 145px);
  --label: clamp(11.5px, 1.05vw, 15px);

  /* Main Portfolio Dark Theme (Matches screenshot designer-pink.html) */
  --bg-dark: #08090c;
  --bg-darker: #050608;
  --bg-card: #121318;
  --bg-card-hover: #171821;
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-glow: rgba(255, 42, 109, 0.45);

  --text-main: #f0f2f5;
  --text-muted: #a0a6b5;
  --text-dim: #676d7d;

  /* Accent Colors (Neon Pink / Crimson Rose from Screenshot) */
  --primary-accent: #ff2a6d;       /* Vibrant Hot Pink */
  --primary-glow: rgba(255, 42, 109, 0.55);
  --primary-dark-glow: rgba(255, 42, 109, 0.15);
  --secondary-accent: #ff5388;     /* Lighter Rose */
  --gold-accent: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.35);

  /* Dynamic Fonts (User Requested: Much Better & Dynamic Fonts) */
  --font-hero: 'Plus Jakarta Sans', 'Vazirmatn', system-ui, sans-serif;
  --font-persian: 'Vazirmatn', system-ui, sans-serif;
  --font-en-display: 'Space Grotesk', 'Syne', sans-serif;
  --font-en-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-persian);
  font-feature-settings: "ss01" 1, "ss02" 1;
  line-height: 1.65;
  overflow-x: hidden;
  direction: rtl; /* Persian default */
  transition: direction 0.3s ease;
}

/* English Mode Overrides */
html[dir="ltr"] body {
  font-family: var(--font-en-body);
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .showcase-title,
html[dir="ltr"] .section-title,
html[dir="ltr"] .flagship-title {
  font-family: var(--font-en-display);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Selection */
::selection {
  background: var(--primary-accent);
  color: #000;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0b0e;
}
::-webkit-scrollbar-thumb {
  background: #252830;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* ==========================================================================
   FLOATING LANGUAGE SWITCHER
   ========================================================================== */
.lang-toggle-wrap {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 20, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 5px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 42, 109, 0.15);
  transition: var(--transition-smooth);
}

html[dir="ltr"] .lang-toggle-wrap {
  left: auto;
  right: 28px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-en-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

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

.lang-btn.active {
  background: var(--primary-accent);
  color: #fff;
  box-shadow: 0 0 12px var(--primary-glow);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* ==========================================================================
   HERO SECTION (Compact, Proportional, Balanced Cursor & Typography)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  direction: ltr !important; /* Keeps the hero animation math consistent */
}

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-hero);
  isolation: isolate;
  cursor: none;
  font-family: var(--font-hero);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  direction: ltr !important;
}

.lockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  direction: ltr !important;
}

.mark path {
  fill: none;
  stroke: var(--ink-hero);
  stroke-width: 8.209;
  stroke-linecap: butt;
  stroke-linejoin: round;
}

.word {
  fill: var(--ink-hero);
  stroke: none;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  direction: ltr !important;
  text-anchor: start;
  user-select: none;
}

.sq {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--sq);
  height: var(--sq);
  background: #fff;
  mix-blend-mode: difference;
  will-change: transform;
  pointer-events: none;
  border-radius: 4px;
}

.lab {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: .6em;
  color: #fff;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
  z-index: 10;
}

.lab i {
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: #fff;
  margin-left: -.28em;
}


.hero-scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #14151a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  z-index: 20;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.hero-scroll-down:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

.hero-scroll-down .mouse-icon {
  width: 18px;
  height: 28px;
  border: 2px solid #14151a;
  border-radius: 10px;
  position: relative;
}

.hero-scroll-down .wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 5px;
  background: #14151a;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 8px); opacity: 0; }
}

@media (hover:none), (pointer:coarse) {
  .hero { cursor: auto; }
  .sq, .lab { display: none; }
}

/* ==========================================================================
   VERTICAL FLOATING DOCK (Hidden on Hero, Glides in from Showcase downward)
   ========================================================================== */
.floating-dock {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(50px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  direction: ltr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.55s;
  will-change: transform, opacity;
}

html[dir="ltr"] .floating-dock {
  right: auto;
  left: 28px;
  transform: translateY(-50%) translateX(-50px);
}

.floating-dock.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

html[dir="ltr"] .floating-dock.visible {
  transform: translateY(-50%) translateX(0);
}

.dock-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 25, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.floating-dock.visible .dock-item {
  transform: scale(1);
  opacity: 1;
}

/* Staggered smooth ripple entrance for individual dock items */
.floating-dock.visible .dock-item:nth-child(1) { transition-delay: 0.04s; }
.floating-dock.visible .dock-item:nth-child(2) { transition-delay: 0.08s; }
.floating-dock.visible .dock-item:nth-child(3) { transition-delay: 0.12s; }
.floating-dock.visible .dock-item:nth-child(4) { transition-delay: 0.16s; }
.floating-dock.visible .dock-item:nth-child(5) { transition-delay: 0.20s; }
.floating-dock.visible .dock-item:nth-child(6) { transition-delay: 0.24s; }
.floating-dock.visible .dock-item:nth-child(7) { transition-delay: 0.28s; }
.floating-dock.visible .dock-item:nth-child(8) { transition-delay: 0.32s; }

.dock-item:hover {
  color: #ffffff;
  background: rgba(35, 40, 55, 0.95);
  border-color: rgba(255, 42, 109, 0.4);
  transform: scale(1.15) !important;
  box-shadow: 0 10px 28px rgba(255, 42, 109, 0.25);
}

.dock-item.active {
  color: #ffffff;
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(255, 42, 109, 0.7);
}

.dock-item .tooltip {
  position: absolute;
  right: 60px;
  background: rgba(15, 18, 24, 0.95);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

html[dir="ltr"] .dock-item .tooltip {
  right: auto;
  left: 60px;
  transform: translateX(-10px);
}

.dock-item:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

.dock-top-btn {
  position: fixed;
  right: 28px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--primary-accent);
  border: 1px solid rgba(255, 42, 109, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 42, 109, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(30px) scale(0.85);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s,
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform, opacity;
}

html[dir="ltr"] .dock-top-btn {
  right: auto;
  left: 28px;
}

.dock-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dock-top-btn:hover {
  transform: translateY(-4px) scale(1.15) !important;
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
  box-shadow: 0 8px 25px rgba(255, 42, 109, 0.65);
}

/* ==========================================================================
   SHOWCASE SECTION
   ========================================================================== */
.showcase-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-margin-top: 40px;
  background-color: #000000;
  padding: 80px 20px;
}

#three-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.showcase-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 30%;
  z-index: 2;
  opacity: 0.85;
  filter: contrast(106%) brightness(92%);
  will-change: transform;
}

.showcase-overlay-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at 75% 45%, transparent 15%, rgba(5, 6, 8, 0.65) 60%, #050608 100%),
              linear-gradient(to right, #050608 0%, rgba(5, 6, 8, 0.92) 38%, transparent 80%),
              linear-gradient(to bottom, #07080a 0%, transparent 20%, transparent 80%, #07080a 100%);
  pointer-events: none;
}

html[dir="ltr"] .showcase-overlay-vignette {
  background: radial-gradient(circle at 75% 45%, transparent 15%, rgba(5, 6, 8, 0.65) 60%, #050608 100%),
              linear-gradient(to right, #050608 0%, rgba(5, 6, 8, 0.92) 42%, transparent 80%),
              linear-gradient(to bottom, #07080a 0%, transparent 20%, transparent 80%, #07080a 100%);
}

.showcase-left-capabilities {
  position: absolute;
  left: 95px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(14, 16, 22, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--primary-accent);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 42, 109, 0.12);
  direction: ltr;
  min-width: 240px;
  animation: fadeInCapabilities 1s ease-out forwards;
}

html[dir="ltr"] .showcase-left-capabilities {
  left: 95px;
  right: auto;
  border-left: 3px solid var(--primary-accent);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes fadeInCapabilities {
  from { opacity: 0; transform: translateY(-45%) translateX(-15px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cap-badge {
  font-family: var(--font-en-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-accent);
  text-transform: uppercase;
}

.cap-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-accent), transparent);
}

.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.cap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.cap-item:hover {
  background: rgba(255, 42, 109, 0.12);
  border-color: rgba(255, 42, 109, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(255, 42, 109, 0.2);
}

.cap-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent);
  flex-shrink: 0;
}

.cap-name {
  font-family: var(--font-en-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #f1f3f8;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.cap-num {
  font-family: var(--font-en-display);
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 700;
}

.showcase-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 10vh;
}

.showcase-title {
  font-family: var(--font-persian);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 10px 40px rgba(0, 0, 0, 0.9);
  animation: fadeInTitle 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTitle {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.showcase-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 35px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.showcase-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  direction: ltr;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 17, 23, 0.45);
  backdrop-filter: blur(8px);
  color: #e0e4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-circle:hover {
  background: var(--primary-accent);
  color: #07080a;
  border-color: var(--primary-accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* ==========================================================================
   SERVICES & STRATEGY SECTION
   ========================================================================== */
.services-section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: 40px;
  background: radial-gradient(circle at 50% 45%, rgba(220, 20, 75, 0.16) 0%, rgba(8, 9, 12, 0.98) 70%), #08090c;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-3d-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.services-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 20px;
}

.service-card {
  background: #111216;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 26px;
  padding: 56px 36px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 42, 109, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8), 0 0 32px rgba(255, 42, 109, 0.22);
}

.service-icon-wrap {
  width: 78px;
  height: 78px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  filter: drop-shadow(0 0 14px rgba(255, 42, 109, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.12);
  filter: drop-shadow(0 0 20px rgba(255, 42, 109, 0.7));
}

.service-icon-svg {
  width: 68px;
  height: 68px;
  stroke: var(--primary-accent);
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #a0a6b5;
  max-width: 300px;
  font-weight: 300;
  margin: 0 auto;
}

/* ==========================================================================
   KINETIC TYPOGRAPHY MARQUEE
   ========================================================================== */
.marquee-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #0d0f14;
  border-top: 1px solid rgba(255, 42, 109, 0.2);
  border-bottom: 1px solid rgba(255, 42, 109, 0.2);
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  direction: ltr;
}

.marquee-track {
  display: inline-flex;
  gap: 36px;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-item {
  font-family: var(--font-en-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  opacity: 0.9;
}

html[dir="rtl"] .marquee-item {
  font-family: var(--font-persian);
  font-weight: 800;
  letter-spacing: 0;
}

.marquee-item span.accent {
  color: var(--primary-accent);
  text-shadow: 0 0 12px var(--primary-glow);
}

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

/* ==========================================================================
   GLOBAL SECTION WRAPPER & CONTAINERS
   ========================================================================== */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
  scroll-margin-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-persian);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 14px auto 0;
  font-weight: 300;
}

/* ==========================================================================
   CREATIVE ABOUT ME SECTION
   ========================================================================== */
.about-creative-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

html[dir="ltr"] .about-creative-wrapper {
  grid-template-columns: 1fr 1.15fr;
}

.about-holo-card {
  position: relative;
  background: linear-gradient(145deg, #12141c, #0a0b0f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 42, 109, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.about-holo-card:hover {
  border-color: rgba(255, 42, 109, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 42, 109, 0.25);
}

.holo-photo-wrap {
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.holo-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.about-holo-card:hover .holo-photo-wrap img {
  transform: scale(1.06);
}

.holo-glare-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.holo-floating-badge {
  position: absolute;
  padding: 10px 18px;
  border-radius: 20px;
  background: rgba(18, 20, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 5;
  transition: var(--transition-smooth);
}

.holo-badge-1 {
  top: 15px;
  right: -15px;
  border-color: rgba(255, 42, 109, 0.5);
  color: var(--primary-accent);
}

.holo-badge-2 {
  bottom: 20px;
  left: -15px;
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
}

.holo-badge-icon {
  font-size: 15px;
}

.about-narrative-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-quote-box {
  background: rgba(255, 255, 255, 0.02);
  border-right: 3px solid var(--primary-accent);
  border-radius: 0 18px 18px 0;
  padding: 24px 28px;
  position: relative;
  margin-bottom: 8px;
}

html[dir="ltr"] .about-quote-box {
  border-right: none;
  border-left: 3px solid var(--primary-accent);
  border-radius: 18px 0 0 18px;
}

.about-quote-text {
  font-size: 1.15rem;
  line-height: 1.95;
  color: #f1f3f8;
  font-weight: 400;
}

.about-quote-author {
  font-size: 0.92rem;
  color: var(--primary-accent);
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

.about-body-text {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #c0c6d4;
  font-weight: 300;
}

.career-timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.career-timeline-title i {
  color: var(--primary-accent);
}

.career-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.timeline-milestone {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 16px;
  transition: var(--transition-smooth);
}

.timeline-milestone:hover {
  background: rgba(255, 42, 109, 0.08);
  border-color: rgba(255, 42, 109, 0.4);
  transform: translateY(-4px);
}

.milestone-year {
  font-family: var(--font-en-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-accent);
  line-height: 1;
  margin-bottom: 8px;
}

html[dir="rtl"] .milestone-year {
  font-family: var(--font-persian);
  font-weight: 800;
}

.milestone-desc {
  font-size: 0.86rem;
  color: #a0a6b5;
  line-height: 1.6;
}

/* Stats Counter Grid - Bilingual Numbers */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat-box {
  background: #111319;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-glow);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-family: var(--font-en-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

html[dir="rtl"] .stat-number {
  font-family: var(--font-persian);
  font-weight: 900;
  letter-spacing: 0;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 400;
}

/* ==========================================================================
   SPECIALIZED FIELDS: INTERACTIVE BENTO GRID
   ========================================================================== */
.bento-specialized-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-field-card {
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
}

.bento-field-card:hover {
  border-color: rgba(255, 42, 109, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 42, 109, 0.15);
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-num {
  font-family: var(--font-en-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 42, 109, 0.35);
  line-height: 1;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .bento-num {
  font-family: var(--font-persian);
  font-weight: 800;
}

.bento-field-card:hover .bento-num {
  color: var(--primary-accent);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 42, 109, 0.1);
  border: 1px solid rgba(255, 42, 109, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary-accent);
  transition: var(--transition-smooth);
}

.bento-field-card:hover .bento-icon {
  transform: scale(1.1) rotate(6deg);
  background: var(--primary-accent);
  color: #fff;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.bento-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 22px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  color: #d1d5db;
}

/* ==========================================================================
   RECOGNITION & AWARDS: 3D TROPHY STAGE
   ========================================================================== */
.recognition-stage-card {
  background: linear-gradient(135deg, rgba(28, 30, 42, 0.95) 0%, rgba(14, 16, 22, 0.98) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 215, 0, 0.1);
}

.recognition-stage-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.recognition-stage-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.recognition-trophy-orb {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 42, 109, 0.25));
  border: 2px solid rgba(255, 215, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 44px;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.35);
  animation: pulseTrophyOrb 3s ease-in-out infinite;
}

@keyframes pulseTrophyOrb {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 215, 0, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 50px rgba(255, 215, 0, 0.55); }
}

.recognition-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.recognition-subtitle {
  color: #ffd700;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recognition-award-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--font-en-display);
  letter-spacing: 0.5px;
}

.recognition-text {
  color: #d1d5db;
  font-size: 0.98rem;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 18px;
}

.recognition-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.recognition-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recognition-meta-item i {
  color: #ffd700;
}

/* ==========================================================================
   FLAGSHIP PROJECT SHOWCASE (Dynamic, High Motion & Video Controls)
   ========================================================================== */
.flagship-showcase-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flagship-showcase-title::before {
  content: '';
  width: 4px;
  height: 26px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.flagship-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 60px;
}

.flagship-card {
  background: #0f1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: var(--transition-slow);
  position: relative;
}

html[dir="ltr"] .flagship-card {
  grid-template-columns: 1fr 1.25fr;
}

.flagship-card:hover {
  border-color: rgba(255, 42, 109, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 42, 109, 0.2);
  transform: translateY(-4px);
}

.flagship-media-container {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #000;
}

.flagship-media-container video,
.flagship-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: mediaFadeIn 0.35s ease forwards;
  transition: transform 0.6s ease;
}

@keyframes mediaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.flagship-card:hover .flagship-media-container video,
.flagship-card:hover .flagship-media-container img {
  transform: scale(1.03);
}

.flagship-video-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(14, 16, 24, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 42, 109, 0.5);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.flagship-video-badge i {
  color: var(--primary-accent);
}

/* Sound Toggle Button */
.flagship-sound-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-smooth);
}

.flagship-sound-btn:hover {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  transform: scale(1.1);
}

.flagship-info-box {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flagship-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.flagship-cat-tag {
  background: rgba(255, 42, 109, 0.12);
  color: var(--primary-accent);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.flagship-loc-tag {
  color: var(--text-dim);
  font-size: 12px;
}

.flagship-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.flagship-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 24px;
}

.flagship-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.flagship-mini-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.flagship-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship-mini-thumb:hover,
.flagship-mini-thumb.active {
  border-color: var(--primary-accent);
  transform: scale(1.08);
  box-shadow: 0 0 12px var(--primary-glow);
}

.flagship-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-open-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-accent), #d1124d);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(255, 42, 109, 0.4);
}

.btn-open-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 42, 109, 0.65);
}

/* ==========================================================================
   PORTFOLIO FILTER & PROJECTS GRID
   ========================================================================== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-accent);
  color: #fff;
  border-color: var(--primary-accent);
  font-weight: 600;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-glow);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 42, 109, 0.18);
}

.project-thumb-box {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #11141a;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--primary-accent);
  font-size: 11.5px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 5;
}

html[dir="ltr"] .project-badge {
  right: auto;
  left: 18px;
}

.project-video-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 42, 109, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 42, 109, 0.5);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

html[dir="ltr"] .project-video-tag {
  left: auto;
  right: 18px;
}

.project-details {
  padding: 24px 28px;
}

.project-title {
  font-size: 1.32rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-excerpt {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.project-view-link {
  color: var(--primary-accent);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.project-card:hover .project-view-link {
  gap: 12px;
}

/* ==========================================================================
   DIRECT COMMUNICATION CHANNELS SECTION
   ========================================================================== */
.connect-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 22px;
  border-radius: 40px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #34d399;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}

.status-live-ping {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: livePingPulse 1.8s infinite;
}

@keyframes livePingPulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); opacity: 0.8; box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.connect-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 34px;
}

.connect-card {
  position: relative;
  background: linear-gradient(155deg, rgba(20, 22, 30, 0.88) 0%, rgba(10, 11, 16, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

html[dir="ltr"] .connect-card-glow {
  right: auto;
  left: -40px;
}

.card-whatsapp .connect-card-glow { background: #25d366; }
.card-telegram .connect-card-glow { background: #229ed9; }
.card-phone .connect-card-glow { background: #ff2a6d; }
.card-email .connect-card-glow { background: #ffd700; }

.connect-card:hover .connect-card-glow {
  opacity: 0.38;
}

/* Card Specific Hover Glows */
.connect-card.card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 211, 102, 0.22);
}

.connect-card.card-telegram:hover {
  border-color: rgba(34, 158, 217, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 158, 217, 0.22);
}

.connect-card.card-phone:hover {
  border-color: rgba(255, 42, 109, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 42, 109, 0.22);
}

.connect-card.card-email:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 215, 0, 0.22);
}

.connect-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.connect-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.card-whatsapp .connect-icon-box {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}

.card-telegram .connect-icon-box {
  background: rgba(34, 158, 217, 0.12);
  color: #229ed9;
  border: 1px solid rgba(34, 158, 217, 0.25);
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.15);
}

.card-phone .connect-icon-box {
  background: rgba(255, 42, 109, 0.12);
  color: #ff2a6d;
  border: 1px solid rgba(255, 42, 109, 0.25);
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.15);
}

.card-email .connect-icon-box {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.connect-card:hover .connect-icon-box {
  transform: scale(1.12) rotate(-3deg);
}

.connect-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
}

.card-telegram .chip-dot { background: #229ed9; }
.card-phone .chip-dot { background: #ff2a6d; }
.card-email .chip-dot { background: #ffd700; }

.connect-card-body {
  margin-top: 4px;
}

.connect-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.connect-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 48px;
}

.connect-number {
  font-family: var(--font-en-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f8fafc;
  direction: ltr;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.connect-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.connect-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.connect-btn i:first-child {
  font-size: 17px;
}

.btn-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.connect-btn:hover .btn-arrow {
  transform: translateX(-5px);
}

html[dir="ltr"] .btn-arrow {
  transform: rotate(180deg);
}

html[dir="ltr"] .connect-btn:hover .btn-arrow {
  transform: rotate(180deg) translateX(-5px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #229ed9, #0088cc);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.35);
}

.btn-telegram:hover {
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.55);
  transform: translateY(-2px);
}

.btn-phone {
  background: linear-gradient(135deg, #ff2a6d, #d1124d);
  box-shadow: 0 8px 24px rgba(255, 42, 109, 0.35);
}

.btn-phone:hover {
  box-shadow: 0 12px 32px rgba(255, 42, 109, 0.55);
  transform: translateY(-2px);
}

.btn-email {
  background: linear-gradient(135deg, #ffd700, #d97706);
  color: #0b0c10;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35);
}

.btn-email:hover {
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.55);
  transform: translateY(-2px);
}

.connect-copy-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.connect-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.connect-copy-btn.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
  transform: scale(1.08);
}

/* Studio Trust & Location Banner */
.connect-trust-banner {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 32px;
  background: rgba(18, 20, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 26px 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.connect-trust-banner:hover {
  border-color: rgba(255, 42, 109, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 42, 109, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 42, 109, 0.12);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 42, 109, 0.15);
}

.trust-icon-gold {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.15);
}

.trust-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.trust-value {
  font-size: 13.5px;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.6;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
}

/* Floating Toast Notification on Copy */
.copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(14, 16, 22, 0.94);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 999999;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(37, 211, 102, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   MODAL THEATER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 42, 109, 0.15);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 24px;
}

.modal-close-btn:hover {
  background: #ff4757;
  transform: rotate(90deg);
}

.modal-media-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #000;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.modal-video {
  width: 100%;
  max-height: 420px;
  background: #000;
  display: none;
}

.modal-gallery-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 16px;
  margin-bottom: 14px;
}

.modal-thumb-btn {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #111;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: var(--transition-smooth);
}

.modal-thumb-btn img,
.modal-thumb-btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.modal-thumb-btn.active,
.modal-thumb-btn:hover {
  border-color: var(--primary-accent);
  transform: scale(1.05);
  box-shadow: 0 0 14px var(--primary-glow);
}

.modal-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 14px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
  white-space: pre-line;
}

/* ==========================================================================
   SECTION 8: BRAND CREATION METHODOLOGY PIPELINE (Interactive Stepper)
   ========================================================================== */
.methodology-section {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(255, 42, 109, 0.08) 0%, rgba(255, 215, 0, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pipeline-wrapper {
  position: relative;
  margin-top: 55px;
}

/* Connecting Neon Laser Pipeline Track */
.pipeline-track {
  position: absolute;
  top: 62px;
  left: 6%;
  right: 6%;
  height: 3px;
  z-index: 1;
  pointer-events: none;
}

.pipeline-line-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.pipeline-line-progress {
  position: absolute;
  top: 0;
  right: 0; /* In RTL, progress grows from right */
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ff2a6d, #00f2fe);
  box-shadow: 0 0 16px rgba(255, 42, 109, 0.85), 0 0 32px rgba(255, 42, 109, 0.45);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="ltr"] .pipeline-line-progress {
  right: auto;
  left: 0; /* In LTR, progress grows from left */
}

/* Laser Energy Pulse traveling across pipeline */
.pipeline-pulse-node {
  position: absolute;
  top: -4px;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 4px #ff2a6d, 0 0 28px 8px rgba(255, 215, 0, 0.6);
  animation: laserTravel 6s infinite ease-in-out;
}

html[dir="ltr"] .pipeline-pulse-node {
  animation: laserTravelLTR 6s infinite ease-in-out;
}

@keyframes laserTravel {
  0% { right: 0%; opacity: 0; transform: scale(0.6); }
  10% { opacity: 1; transform: scale(1.2); }
  90% { opacity: 1; transform: scale(1.2); }
  100% { right: 100%; opacity: 0; transform: scale(0.6); }
}

@keyframes laserTravelLTR {
  0% { left: 0%; opacity: 0; transform: scale(0.6); }
  10% { opacity: 1; transform: scale(1.2); }
  90% { opacity: 1; transform: scale(1.2); }
  100% { left: 100%; opacity: 0; transform: scale(0.6); }
}

/* Methodology Grid */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Methodology Card */
.methodology-card {
  position: relative;
  background: rgba(14, 16, 23, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 34px 24px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

.methodology-card:hover,
.methodology-card.active {
  opacity: 1;
  transform: translateY(-8px);
  border-color: rgba(255, 42, 109, 0.45);
  background: rgba(18, 20, 30, 0.94);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 42, 109, 0.22);
}

.methodology-card.active {
  border-color: rgba(255, 42, 109, 0.65);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 42, 109, 0.3);
}

/* Specular Mouse Spotlight inside card */
.card-ambient-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 42, 109, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.methodology-card:hover .card-ambient-spot,
.methodology-card.active .card-ambient-spot {
  opacity: 1;
}

/* Edge Shimmer Glow on Active Card */
.card-edge-glow {
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.4) 0%, transparent 40%, rgba(255, 215, 0, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.methodology-card:hover .card-edge-glow,
.methodology-card.active .card-edge-glow {
  opacity: 1;
}

/* Step Card Header */
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Step Icon Node */
.step-icon-node {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.18) 0%, rgba(20, 24, 34, 0.95) 100%);
  border: 1px solid rgba(255, 42, 109, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(255, 42, 109, 0.2);
  transition: var(--transition-smooth);
}

.step-icon-node.node-gold {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(20, 24, 34, 0.95) 100%);
  border-color: rgba(255, 215, 0, 0.35);
  color: #ffd700;
  box-shadow: 0 10px 24px rgba(255, 215, 0, 0.18);
}

.step-icon-node.node-cyan {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18) 0%, rgba(20, 24, 34, 0.95) 100%);
  border-color: rgba(0, 242, 254, 0.35);
  color: #00f2fe;
  box-shadow: 0 10px 24px rgba(0, 242, 254, 0.18);
}

.step-icon-node.node-emerald {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.18) 0%, rgba(20, 24, 34, 0.95) 100%);
  border-color: rgba(0, 245, 160, 0.35);
  color: #00f5a0;
  box-shadow: 0 10px 24px rgba(0, 245, 160, 0.18);
}

.methodology-card:hover .step-icon-node,
.methodology-card.active .step-icon-node {
  transform: scale(1.08) rotate(3deg);
}

/* Pulsing radar ring around the node */
.step-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px solid var(--primary-accent);
  opacity: 0;
  pointer-events: none;
  animation: pulseNodeRing 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.step-icon-node.node-gold .step-pulse-ring { border-color: #ffd700; }
.step-icon-node.node-cyan .step-pulse-ring { border-color: #00f2fe; }
.step-icon-node.node-emerald .step-pulse-ring { border-color: #00f5a0; }

.methodology-card.active .step-pulse-ring,
.methodology-card:hover .step-pulse-ring {
  opacity: 0.6;
}

@keyframes pulseNodeRing {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* Step Number & Badge Wrap */
.step-number-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

html[dir="ltr"] .step-number-wrap {
  align-items: flex-start;
}

.step-phase-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 42, 109, 0.12);
  border: 1px solid rgba(255, 42, 109, 0.3);
  color: var(--secondary-accent);
  margin-bottom: 2px;
}

.step-phase-badge.badge-gold {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
  color: #ffd700;
}

.step-phase-badge.badge-cyan {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
  color: #00f2fe;
}

.step-phase-badge.badge-emerald {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.3);
  color: #00f5a0;
}

.step-giant-num {
  font-family: var(--font-en-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-smooth);
}

.methodology-card:hover .step-giant-num,
.methodology-card.active .step-giant-num {
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.05);
}

/* Card Typography */
.methodology-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.methodology-card:hover .methodology-title,
.methodology-card.active .methodology-title {
  color: #fff;
}

.methodology-desc {
  font-size: 0.91rem;
  line-height: 1.82;
  color: #a6adbe;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

/* Output Deliverables Pills */
.step-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.step-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #c0c6d4;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.methodology-card:hover .step-pill,
.methodology-card.active .step-pill {
  background: rgba(255, 42, 109, 0.08);
  border-color: rgba(255, 42, 109, 0.25);
  color: #fff;
}

/* ==========================================================================
   FOOTER & FARTAK CREDIT WITH BEATING HEART
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 42px 0;
  text-align: center;
  background: #050608;
  position: relative;
}

.footer-center-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
  margin: 0;
}

.footer-center-credit:hover {
  background: rgba(255, 42, 109, 0.06);
  border-color: rgba(255, 42, 109, 0.4);
  box-shadow: 0 8px 30px rgba(255, 42, 109, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Fartak Website Clickable Link */
.fartak-link {
  color: #ffd700;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0 4px;
  margin: 0 2px;
  letter-spacing: -0.2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fartak-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: linear-gradient(90deg, #ffd700, #ff2a6d);
  transform: scaleX(0.7);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.fartak-link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.8), 0 0 22px rgba(255, 42, 109, 0.5);
  transform: translateY(-1px);
}

.fartak-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
  box-shadow: 0 0 10px #ffd700;
}

/* Beating Pulsing Red Heart Animation */
.beating-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff2a6d;
  margin: 0 7px;
  font-size: 1.25em;
  filter: drop-shadow(0 0 8px rgba(255, 42, 109, 0.8));
  animation: heartbeatPulse 1.25s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center center;
  vertical-align: middle;
}

@keyframes heartbeatPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 42, 109, 0.6));
  }
  14% {
    transform: scale(1.36);
    filter: drop-shadow(0 0 16px rgba(255, 42, 109, 1)) drop-shadow(0 0 28px rgba(255, 42, 109, 0.7));
  }
  28% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 7px rgba(255, 42, 109, 0.7));
  }
  42% {
    transform: scale(1.30);
    filter: drop-shadow(0 0 14px rgba(255, 42, 109, 0.95));
  }
  70% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 42, 109, 0.5));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 42, 109, 0.5));
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .showcase-left-capabilities {
    left: 20px;
    top: auto;
    bottom: 24px;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
    max-width: 90%;
    justify-content: center;
  }
  html[dir="ltr"] .showcase-left-capabilities {
    left: 20px;
    right: auto;
  }
  .cap-header {
    width: 100%;
    margin-bottom: 2px;
  }
  .cap-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-creative-wrapper {
    grid-template-columns: 1fr;
  }
  .career-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flagship-card {
    grid-template-columns: 1fr;
  }
  .flagship-media-container {
    height: 320px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .pipeline-track {
    display: none;
  }
}

@media (max-width: 768px) {
  .floating-dock {
    bottom: 16px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, 40px);
    flex-direction: row;
    background: rgba(15, 18, 24, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    gap: 8px;
    max-width: calc(100vw - 24px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }
  .floating-dock.visible,
  html[dir="ltr"] .floating-dock.visible {
    transform: translate(-50%, 0);
  }
  .dock-item {
    width: 38px;
    height: 38px;
    font-size: 14px;
    flex-shrink: 0;
  }
  .dock-top-btn {
    display: none;
  }
  .dock-item .tooltip {
    display: none;
  }
  .showcase-left-capabilities {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 25px auto 0;
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .methodology-card {
    padding: 26px 20px;
  }
  .footer-center-credit {
    font-size: 13px;
    padding: 10px 18px;
    flex-wrap: wrap;
    line-height: 1.8;
  }
  .bento-specialized-grid {
    grid-template-columns: 1fr;
  }
  .recognition-stage-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .recognition-trophy-orb {
    margin: 0 auto;
  }
  .recognition-subtitle,
  .recognition-meta {
    justify-content: center;
  }
  .career-timeline-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .connect-channels-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }
  .connect-trust-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  .trust-divider {
    width: 100%;
    height: 1px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .floating-dock {
    gap: 4px;
    padding: 5px 8px;
  }
  .dock-item {
    width: 33px;
    height: 33px;
    font-size: 12px;
  }
  .holo-badge-1 {
    right: 8px;
  }
  .holo-badge-2 {
    left: 8px;
  }
  .connect-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .connect-title {
    font-size: 1.2rem;
  }
  .connect-desc {
    font-size: 0.88rem;
    min-height: auto;
    margin-bottom: 14px;
  }
  .connect-number {
    font-size: 1.22rem;
    padding: 5px 12px;
  }
  .connect-card-footer {
    gap: 8px;
  }
  .connect-btn {
    padding: 12px 14px;
    font-size: 12.5px;
    border-radius: 14px;
  }
  .connect-copy-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .connect-trust-banner {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .trust-item {
    gap: 14px;
  }
  .trust-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 12px;
  }
  .trust-value {
    font-size: 12.5px;
  }
  .modal-box {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .modal-media-wrap {
    max-height: 280px;
  }
  .flagship-media-container {
    height: 260px;
  }
  .lang-toggle-wrap {
    top: 16px;
    left: 16px;
    padding: 4px 10px;
  }
  html[dir="ltr"] .lang-toggle-wrap {
    left: auto;
    right: 16px;
  }
}

/* ==========================================================================
   CUSTOM AMBIENT CURSOR (Active exclusively below the Hero section)
   ========================================================================== */
body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input,
body.custom-cursor-active textarea,
body.custom-cursor-active select,
body.custom-cursor-active [role="button"],
body.custom-cursor-active .project-card,
body.custom-cursor-active .dock-item,
body.custom-cursor-active .service-card,
body.custom-cursor-active .bento-field-card,
body.custom-cursor-active .flagship-card {
  cursor: none !important;
}

/* The hero section strictly keeps its own unique difference square cursor */
.hero, .hero * {
  cursor: none !important;
}

.custom-cursor-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s;
}

.custom-cursor-wrap.active {
  opacity: 1;
  visibility: visible;
}

/* 1. Precision Core Dot */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--primary-accent);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px var(--primary-accent), 0 0 18px var(--primary-glow);
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease;
  will-change: transform;
  z-index: 3;
}

/* 2. Fluid Magnetic Aura Ring */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 42, 109, 0.55);
  background: radial-gradient(circle, rgba(255, 42, 109, 0.16) 0%, rgba(255, 42, 109, 0.03) 65%, transparent 85%);
  box-shadow: 0 0 18px rgba(255, 42, 109, 0.28);
  pointer-events: none;
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s ease;
  will-change: transform;
  z-index: 2;
}

/* 3. Interactive State: Hovering Clickable Elements */
.custom-cursor-wrap.hovered .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 42, 109, 0.95);
  background: radial-gradient(circle, rgba(255, 42, 109, 0.28) 0%, rgba(255, 42, 109, 0.08) 60%, transparent 85%);
  box-shadow: 0 0 28px rgba(255, 42, 109, 0.55), inset 0 0 12px rgba(255, 42, 109, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.custom-cursor-wrap.hovered .cursor-dot {
  width: 4px;
  height: 4px;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff, 0 0 16px var(--primary-accent);
}

/* 4. Active Press State (Clicking) */
.custom-cursor-wrap.pressed .cursor-ring {
  width: 28px;
  height: 28px;
  border-color: #ffffff;
  box-shadow: 0 0 35px var(--primary-accent);
}

.custom-cursor-wrap.pressed .cursor-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
}

/* 5. Custom Label (Hints on project cards) */
.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  color: #ffffff;
  font-family: var(--font-en-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.custom-cursor-wrap.has-label .cursor-label {
  opacity: 1;
}

.custom-cursor-wrap.has-label .cursor-ring {
  width: 72px;
  height: 72px;
  border-color: rgba(255, 42, 109, 0.9);
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.custom-cursor-wrap.has-label .cursor-dot {
  opacity: 0;
}

/* Disabled on touch screens */
@media (hover: none), (pointer: coarse) {
  .custom-cursor-wrap {
    display: none !important;
  }
}

