/* ==========================================================================
   SAHAR.DEV — CINEMATIC AI & WEB PORTFOLIO
   Inspired by Reference Video (Folioblox & Cyber Crimson Aesthetics)
   ========================================================================== */

/* Motiva Sans Font Definitions */
@font-face {
  font-family: 'Motiva Sans';
  src: local('Motiva Sans'), local('MotivaSans-Regular'), local('Motiva Sans Regular');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Motiva Sans';
  src: local('Motiva Sans Medium'), local('MotivaSans-Medium');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Motiva Sans';
  src: local('Motiva Sans Bold'), local('MotivaSans-Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Motiva Sans';
  src: local('Motiva Sans Extra Bold'), local('MotivaSans-ExtraBold'), local('MotivaSans-Black');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* User Specified Color Palette: Pure Black, #520102, #740107 */
  --bg-deep: #000000;
  --bg-dark: #040507;
  --bg-glass: rgba(15, 4, 7, 0.58);
  --bg-glass-hover: rgba(30, 6, 10, 0.78);
  
  --crimson-dark: #520102;
  --crimson-core: #740107;
  --crimson-bright: #99030b;
  --crimson-glow: rgba(116, 1, 7, 0.5);
  --crimson-subtle: rgba(116, 1, 7, 0.18);
  --crimson-border: rgba(116, 1, 7, 0.45);

  /* Slate Graphite (نوک مدادی مایل به طوسی) */
  --slate-graphite: #2a2e39;
  --slate-graphite-dark: #1c2027;
  --slate-graphite-mid: #3d4350;
  --slate-graphite-light: #5f687a;
  --slate-graphite-border: rgba(95, 105, 125, 0.35);
  --slate-graphite-glass: rgba(32, 36, 46, 0.68);

  --text-pure: #ffffff;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(116, 1, 7, 0.6);

  --font-heading: 'Motiva Sans', 'Plus Jakarta Sans', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Motiva Sans', 'Plus Jakarta Sans', 'Space Grotesk', system-ui, sans-serif;
  --font-persian: 'Vazirmatn', 'Motiva Sans', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-code: 'Motiva Sans', 'Space Grotesk', 'Fira Code', monospace;

  --header-height: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease-out);
}

/* ==========================================================================
   RESET & GLOBAL SETUP
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-pure);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-pure);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

/* RTL Persian Mode */
body[dir="rtl"] {
  font-family: var(--font-persian);
  text-align: right;
}

body[dir="rtl"] .hero-headline,
body[dir="rtl"] .section-headline,
body[dir="rtl"] .contact-headline {
  font-family: var(--font-persian);
  letter-spacing: 0;
}

::selection {
  background: var(--crimson-core);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #040507;
}
::-webkit-scrollbar-thumb {
  background: #1c202d;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--crimson-core);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   CANVAS & VIDEO BACKGROUND ENGINE
   ========================================================================== */
.canvas-container {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #06070a;
  direction: ltr !important;
  transition: opacity 0.6s ease;
}

#scroll-canvas {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.15) brightness(1.05) saturate(1.2);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  direction: ltr !important;
}

#scroll-video {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #06070a;
  display: none;
  filter: contrast(1.18) brightness(1.06) saturate(1.24);
  transform: translateZ(0);
  direction: ltr !important;
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}

/* Ambient Crimson Glow (Left & Right - Pushed to Periphery to Keep Face Clear) */
.ambient-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  opacity: 0.25;
  z-index: 1;
}

.ambient-glow-left {
  top: 25%;
  left: -200px;
  background: #520102;
}

.ambient-glow-right {
  bottom: 25%;
  right: -200px;
  background: #740107;
}

/* ==========================================================================
   GLASSMORPHISM PILLS & CARDS (Folioblox Style with Slate Graphite Base)
   ========================================================================== */
.glass-pill {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.28) 0%, rgba(12, 3, 6, 0.34) 100%);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  transition: var(--transition);
}

.glass-pill:hover {
  background: linear-gradient(135deg, rgba(35, 42, 58, 0.42) 0%, rgba(42, 6, 10, 0.50) 100%);
  border-color: #ff334b;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 42, 75, 0.25);
}

.glass-card {
  background: linear-gradient(145deg, rgba(18, 22, 32, 0.24) 0%, rgba(10, 3, 6, 0.30) 100%);
  backdrop-filter: blur(7px) saturate(1.2);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.glass-card:hover {
  background: linear-gradient(145deg, rgba(32, 38, 52, 0.40) 0%, rgba(45, 6, 12, 0.48) 100%);
  border-color: #ff334b;
  border-top-color: #ff8597;
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 42, 75, 0.3);
}

/* Tag dots & badges */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--crimson-core);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-core);
  box-shadow: 0 0 10px var(--crimson-core);
  display: inline-block;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 24px;
}

.max-w-800 {
  max-width: 820px;
}

.highlight-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ff8597 50%, var(--crimson-core) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   TOP FLOATING HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: #740107;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

.site-header.scrolled {
  background: #620104;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px 0;
  transition: transform 0.3s var(--ease-out);
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.05);
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 4px 18px rgba(255, 42, 75, 0.5)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.55));
}

.accent-dot {
  color: var(--crimson-core);
  text-shadow: 0 0 12px var(--crimson-core);
}

.site-header .accent-dot {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* Center Nav Pill */
.main-nav {
  background: rgba(22, 26, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(95, 105, 125, 0.35);
  border-radius: 40px;
  padding: 4px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  width: max-content;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content !important;
    max-width: none !important;
    display: block;
    margin: 0;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .main-nav {
    padding: 3px 5px !important;
  }
  .nav-list {
    gap: 2px !important;
  }
  .nav-link {
    font-size: 0.80rem !important;
    padding: 5px 8px !important;
  }
  .header-actions {
    gap: 8px !important;
  }
  .btn-cta-capsule {
    padding: 7px 13px !important;
    font-size: 0.80rem !important;
  }
}

@media (min-width: 1300px) {
  .main-nav {
    padding: 4px 8px;
  }
  .nav-list {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 6px 12px;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Bilingual Language Toggle */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(36, 41, 52, 0.65);
  border: 1px solid rgba(95, 105, 125, 0.35);
  color: #fff;
  padding: 6px 12px;
  border-radius: 30px;
  font-family: var(--font-code);
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: rgba(52, 59, 74, 0.85);
  border-color: #ff334b;
  color: #ff334b;
}

/* CTA Capsule Button */
.btn-cta-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.btn-cta-capsule:hover {
  background: linear-gradient(135deg, var(--crimson-bright), #b80028);
  border-color: var(--crimson-core);
  box-shadow: 0 4px 20px var(--crimson-glow);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  width: 26px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ==========================================================================
   FLOATING MEDIA CONTROLLER (From Reference Video: ◀ || ▶)
   ========================================================================== */
.floating-media-controller {
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(26, 30, 40, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(95, 105, 125, 0.38);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 42, 75, 0.2);
  transition: var(--transition);
}

.floating-media-controller:hover {
  border-color: var(--crimson-border);
}

.ctrl-btn {
  background: transparent;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--crimson-core);
  transform: scale(1.12);
}

.ctrl-play {
  background: rgba(255, 42, 75, 0.2);
  border: 1px solid var(--crimson-border);
  color: var(--crimson-core);
}

.ctrl-play:hover {
  background: var(--crimson-core);
  color: #fff;
  box-shadow: 0 0 16px var(--crimson-glow);
}

/* ==========================================================================
   BOTTOM HUD PANEL
   ========================================================================== */
/* Main Scrollable Experience */

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.page-main {
  position: relative;
  z-index: 10;
}

.section {
  padding: 140px 0;
  position: relative;
}

/* ==========================================================================
   01: HERO SECTION (Exact Reference Video)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
}

.hero-container {
  max-width: 1720px;
  width: 100%;
  padding-left: clamp(24px, 5.5vw, 85px);
  padding-right: clamp(24px, 5.5vw, 85px);
}

.hero-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  direction: ltr !important;
}

.hero-left-col {
  width: 100%;
  max-width: 345px;
  flex-shrink: 0;
  z-index: 2;
  direction: ltr;
  text-align: left;
}

body[dir="rtl"] .hero-left-col {
  direction: rtl;
  text-align: right;
}

.hero-right-col {
  width: 100%;
  max-width: 345px;
  flex-shrink: 0;
  z-index: 2;
  direction: ltr;
  text-align: left;
}

body[dir="rtl"] .hero-right-col {
  direction: rtl;
  text-align: right;
}

@media (min-width: 1025px) {
  .hero-right-col {
    padding-left: 0;
    padding-right: 0;
    transform: none;
  }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.9vw, 2.0rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  max-width: 345px;
  text-align: left;
}

body[dir="rtl"] .hero-headline {
  font-family: var(--font-persian);
  font-size: clamp(1.32rem, 1.7vw, 1.80rem);
  line-height: 1.30;
  letter-spacing: 0;
  text-align: right;
}

.headline-block {
  display: block;
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #fff;
  max-width: 345px;
  text-align: left;
}

body[dir="rtl"] .hero-quote {
  font-family: var(--font-persian);
  font-size: clamp(1.05rem, 1.35vw, 1.30rem);
  line-height: 1.45;
  text-align: right;
}

.hero-subtext {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 22px;
  max-width: 345px;
  text-align: left;
}

body[dir="rtl"] .hero-subtext {
  text-align: right;
}

.btn-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--crimson-core), #b80028);
  color: #fff;
  border: 1px solid var(--crimson-core);
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--crimson-glow);
  transition: var(--transition);
}

.btn-hero-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 42, 75, 0.6);
}

body[dir="rtl"] .btn-hero-action i {
  transform: rotate(180deg);
}

/* Bottom Hero Horizontal Ticker (6 Pillars in ONE Row) */
.hero-bottom-ticker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  align-items: center;
  width: 100%;
}

@media (max-width: 1200px) {
  .hero-bottom-ticker {
    gap: 8px;
  }
  .ticker-num {
    font-size: 0.78rem;
  }
  .ticker-name {
    font-size: 0.82rem;
  }
}

.ticker-col {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.ticker-num {
  font-family: var(--font-code);
  font-size: 0.82rem;
  color: var(--crimson-core);
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Persian Ticker Typography: Compact font size so all 6 pillars fit completely in one row */
body[dir="rtl"] .hero-bottom-ticker {
  gap: 8px;
}

body[dir="rtl"] .ticker-col {
  gap: 5px;
}

body[dir="rtl"] .ticker-num {
  font-size: 0.75rem;
}

body[dir="rtl"] .ticker-name {
  font-size: 0.73rem;
  letter-spacing: -0.2px;
}

@media (max-width: 1366px) {
  body[dir="rtl"] .ticker-name {
    font-size: 0.69rem;
  }
  body[dir="rtl"] .ticker-num {
    font-size: 0.70rem;
  }
  body[dir="rtl"] .hero-bottom-ticker {
    gap: 6px;
  }
}

/* ==========================================================================
   02: FLAGSHIP SERVICES & SPECIALIZATIONS (خدمات ما — 5 Core Pillars)
   ========================================================================== */
.services-section {
  padding: 80px 0;
}

.services-header-row {
  margin-bottom: 32px;
}

.services-intro-text {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-sub);
  max-width: 860px;
  margin-top: 14px;
  text-align: justify;
  text-justify: inter-word;
}

body[dir="rtl"] .services-intro-text {
  font-family: var(--font-persian);
  text-align: justify;
  text-justify: inter-word;
}

/* 6-Pillar Grid: 3 Cards on Row 1, 3 Cards on Row 2 (Balanced Symmetry) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.service-card {
  grid-column: span 2;
}

@media (max-width: 1080px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .service-card {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    grid-column: span 1;
  }
}

/* Service Card Styling - Sleek, Compact & Translucent Glass */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 22, 32, 0.22) 0%, rgba(10, 3, 6, 0.28) 100%);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  transition: all 0.35s var(--ease-out);
}

.service-card:hover {
  background: linear-gradient(145deg, rgba(32, 38, 52, 0.36) 0%, rgba(45, 6, 12, 0.42) 100%);
  border-color: rgba(255, 51, 75, 0.60);
  border-top-color: #ff8597;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 42, 75, 0.24);
  transform: translateY(-4px);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.service-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(116, 1, 7, 0.25);
  border: 1px solid var(--crimson-border);
  color: #ff334b;
  box-shadow: 0 0 12px rgba(255, 42, 75, 0.20);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon-badge {
  background: var(--crimson-core);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 42, 75, 0.55);
  transform: scale(1.05);
}

.service-title-wrap {
  flex-grow: 1;
}

.service-pillar-tag {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.65rem;
  color: var(--crimson-core);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.service-title-wrap h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.service-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

/* Sub-Services List */
.service-sublist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sub-service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sub-service-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 51, 75, 0.30);
}

.sub-service-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}

.sub-service-check {
  color: #ff334b;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.sub-service-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.sub-service-desc {
  font-size: 0.76rem;
  color: #d1d5db;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  line-height: 1.5;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

body[dir="rtl"] .sub-service-desc {
  font-family: var(--font-persian);
  text-align: justify;
  text-justify: inter-word;
}

/* Service Pills */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.service-pills span {
  font-family: var(--font-code);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #cbd5e1;
  transition: var(--transition);
}

.service-pills span:hover {
  background: rgba(60, 68, 84, 0.9);
  border-color: #ff334b;
  color: #ffffff;
}

/* Card Action Footer */
.service-card-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.service-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(95, 105, 125, 0.35);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-card-btn:hover {
  background: linear-gradient(135deg, var(--crimson-core), #b80028);
  border-color: var(--crimson-core);
  box-shadow: 0 4px 16px var(--crimson-glow);
  transform: translateY(-2px);
}

body[dir="rtl"] .service-card-btn i {
  transform: rotate(180deg);
}

/* Service Card Dedicated Detail Links */
.service-sublinks-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(116, 1, 7, 0.22);
  border: 1px solid rgba(116, 1, 7, 0.45);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-detail-link:hover {
  background: rgba(116, 1, 7, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Consultation Banner */
.services-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32, 36, 46, 0.85) 0%, rgba(22, 5, 9, 0.88) 100%);
  border: 1px solid rgba(95, 105, 125, 0.45);
}

@media (max-width: 900px) {
  .services-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 16px;
  }
}

.banner-content {
  max-width: 760px;
}

.banner-badge {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: #ff334b;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.banner-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

body[dir="rtl"] .banner-sub {
  font-family: var(--font-persian);
  text-align: justify;
  text-justify: inter-word;
}

/* ==========================================================================
   04: WORKFLOW PLAN (Sprint Timeline)
   ========================================================================== */
.workflow-header-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  margin-bottom: 32px;
}

.workflow-headline-compact {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.35;
}

body[dir="rtl"] .workflow-headline-compact {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.45;
}

.workflow-desc {
  font-size: 0.90rem;
  line-height: 1.68;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

.workflow-steps-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 40px;
}

.step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-core);
  box-shadow: 0 0 8px var(--crimson-core);
}

.step-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

body[dir="rtl"] .step-title {
  font-family: var(--font-persian);
  font-size: 0.82rem;
}

/* ==========================================================================
   05: COLOR PALETTE
   ========================================================================== */
.palette-header {
  margin-bottom: 48px;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.palette-card {
  display: flex;
  flex-direction: column;
}

.swatch-header, .solution-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.solution-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(116, 1, 7, 0.22);
  border: 1px solid var(--crimson-border);
  color: #ff334b;
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.2);
  flex-shrink: 0;
  transition: var(--transition);
}

.palette-card:hover .solution-icon-badge {
  background: var(--crimson-core);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 42, 75, 0.55);
  transform: scale(1.06);
}

.color-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.color-crimson { background: #ff2a4b; box-shadow: 0 0 15px #ff2a4b; }
.color-slate-graphite { background: #2a2e39; border-color: rgba(140, 150, 175, 0.6); box-shadow: 0 0 12px rgba(85, 95, 115, 0.6); }
.color-dark-accents { background: #151822; }
.color-deep-bg { background: #06070a; border-color: rgba(255, 255, 255, 0.4); }

.palette-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.swatch-desc {
  font-size: 0.92rem;
  color: #d1d5db;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.swatch-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-family: var(--font-code);
  font-size: 0.78rem;
}

.meta-label {
  color: var(--text-muted);
  display: block;
}

.meta-val {
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   06: FEATURED PROJECTS
   ========================================================================== */
.projects-header-row {
  margin-bottom: 28px;
}

.projects-slider-wrapper {
  position: relative;
  width: 100%;
}

.projects-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 24px 4px;
  cursor: grab;
}

.projects-grid.grabbing {
  cursor: grabbing !important;
  user-select: none !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

.projects-grid::-webkit-scrollbar {
  display: none;
}

.project-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  max-width: 420px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--crimson-core);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.project-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.project-item p {
  font-size: 0.92rem;
  color: #d1d5db;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.project-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tech-pills span {
  font-family: var(--font-code);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  transition: var(--transition);
}

.project-tech-pills span:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ff334b;
  color: #ffffff;
}

/* Floating Edge Arrows */
.projects-edge-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 0, 4, 0.90);
  border: 1px solid rgba(255, 51, 75, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 51, 75, 0.25);
}

.projects-edge-arrow.edge-right {
  right: -16px;
}

.projects-edge-arrow.edge-left {
  left: -16px;
}

.projects-edge-arrow:hover {
  background: #ff334b;
  border-color: #ff334b;
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 51, 75, 0.65);
  transform: translateY(-50%) scale(1.1);
}

.projects-edge-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* ==========================================================================
   07: CONTACT SECTION (Minimal Underline Form)
   ========================================================================== */
.client-testimonials-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.client-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
}

.client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--crimson-subtle);
  border: 1px solid var(--crimson-border);
  color: var(--crimson-core);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.client-meta {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.client-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.contact-sub-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 20px;
  border-radius: 14px;
}

.contact-sub-badge strong {
  display: block;
  color: var(--crimson-core);
  font-family: var(--font-code);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.contact-sub-badge p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

/* Minimal Underline Form */
.minimal-contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.minimal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
  transition: var(--transition);
}

.minimal-field:focus-within {
  border-bottom-color: var(--crimson-core);
  box-shadow: 0 4px 15px rgba(255, 42, 75, 0.2);
}

.minimal-field label {
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.minimal-field input, .minimal-field select {
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

.minimal-field select option {
  background: #0a0b12;
  color: #fff;
}

.btn-submit-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--crimson-core), #b80028);
  color: #fff;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--crimson-glow);
  transition: var(--transition);
  margin-top: 10px;
}

.btn-submit-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 42, 75, 0.6);
}

.contact-action-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 10px 0;
}

body[dir="rtl"] .contact-action-wrapper {
  align-items: center;
}

.contact-action-wrapper .btn-submit-action {
  font-size: 0.96rem;
  padding: 15px 36px;
  text-decoration: none;
  border: 1px solid #ff4d67;
  white-space: nowrap;
  box-shadow: 0 8px 30px var(--crimson-glow);
}

/* Direct Contact Channels Strip */
.direct-contact-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-top: 14px;
}

.direct-contact-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.3px;
  text-align: center;
}

.contact-channels-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.contact-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.contact-channel-pill i {
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.contact-channel-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-channel-pill.channel-phone:hover {
  border-color: rgba(39, 201, 63, 0.6);
  box-shadow: 0 8px 24px rgba(39, 201, 63, 0.25);
  color: #79f296;
}

.contact-channel-pill.channel-phone:hover i {
  color: #27c93f;
  transform: rotate(15deg) scale(1.1);
}

.contact-channel-pill.channel-telegram:hover {
  border-color: rgba(41, 169, 234, 0.6);
  box-shadow: 0 8px 24px rgba(41, 169, 234, 0.25);
  color: #6ed0ff;
}

.contact-channel-pill.channel-telegram:hover i {
  color: #29a9ea;
  transform: scale(1.15);
}

.contact-channel-pill.channel-instagram:hover {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.25);
  color: #ff759f;
}

.contact-channel-pill.channel-instagram:hover i {
  color: #e1306c;
  transform: scale(1.15);
}

.contact-channel-pill.channel-github:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.contact-channel-pill.channel-github:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.contact-channel-pill.channel-linkedin:hover {
  border-color: rgba(10, 102, 194, 0.6);
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.25);
  color: #70b5f9;
}

.contact-channel-pill.channel-linkedin:hover i {
  color: #0a66c2;
  transform: scale(1.15);
}

body[dir="rtl"] .btn-submit-action i.fa-arrow-right {
  transform: rotate(180deg);
}

.form-feedback {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(39, 201, 63, 0.15);
  border: 1px solid #27c93f;
  color: #98f5a8;
}

/* ==========================================================================
   FOOTER (Completely Removed as Contact Info is Directly Above)
   ========================================================================== */
.site-footer,
.inquiry-footer {
  display: none !important;
}

.contact-section {
  padding-bottom: 70px;
}

/* Contact Bottom Footer (Visually Displayed Brand Meta & Copyright) */
.contact-bottom-footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  direction: rtl;
}

.footer-brand-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-brand-name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.footer-dot-divider {
  color: rgba(255, 80, 100, 0.6);
}

.footer-copy-text {
  color: rgba(255, 255, 255, 0.5);
}


/* 3D Perspective Tilt Card Shift & Crimson Specular Glare */
.project-item, .project-card, .workflow-card, .about-card, .glass-card, .contact-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.project-item::before, .project-card::before, .workflow-card::before, .glass-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 42, 75, 0.45) 0%, rgba(116, 1, 7, 0.18) 55%, transparent 75%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-item:hover::before, .project-card:hover::before, .workflow-card:hover::before, .glass-card:hover::before {
  opacity: 1;
}



/* Desktop Torch Spotlight Mode: Dimmer text by default (14%), intense bright illumination under mouse beam */
@media (pointer: fine) and (min-width: 768px) {
  body.torch-active #hero {
    -webkit-mask-image: radial-gradient(
      circle 380px at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 42%,
      rgba(0, 0, 0, 0.76) 65%,
      rgba(0, 0, 0, 0.32) 82%,
      rgba(0, 0, 0, 0.14) 100%
    );
    mask-image: radial-gradient(
      circle 380px at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 42%,
      rgba(0, 0, 0, 0.76) 65%,
      rgba(0, 0, 0, 0.32) 82%,
      rgba(0, 0, 0, 0.14) 100%
    );
  }
}

.hud-mode-btn.active {
  background: var(--crimson-core);
  color: #ffffff;
  border-color: #ff334b;
  box-shadow: 0 0 12px var(--crimson-glow);
}

/* ==========================================================================
   INSTANT SMOOTH CIRCULAR GLOW CURSOR
   ========================================================================== */
.cursor-dot, .cursor-glow {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  z-index: 99999;
  transform: translate(-50%, -50%);
  display: none;
}

@media (pointer: fine) {
  .cursor-dot {
    display: block;
    width: 8px;
    height: 8px;
    background: #ff2a4b;
    border-radius: 50%;
    box-shadow: 0 0 12px #ff2a4b, 0 0 24px rgba(255, 42, 75, 0.8);
    transition: transform 0.1s ease-out;
  }

  .cursor-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 42, 75, 0.6);
    background: radial-gradient(circle, rgba(255, 42, 75, 0.22) 0%, rgba(116, 1, 7, 0.12) 55%, transparent 80%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 25px rgba(255, 42, 75, 0.35), inset 0 0 15px rgba(255, 42, 75, 0.15);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.1s ease-out;
  }

  .cursor-glow.hover-active {
    width: 84px;
    height: 84px;
    background: radial-gradient(circle, rgba(116, 1, 7, 0.94) 0%, rgba(40, 0, 3, 0.96) 100%);
    border-color: #ff334b;
    box-shadow: 0 0 38px rgba(255, 51, 75, 0.75), 0 0 75px rgba(116, 1, 7, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .cursor-text {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 42, 75, 0.8);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  }

  .cursor-glow.hover-active .cursor-text {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS & TABLET OPTIMIZATION)
   ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-right-col, .hero-left-col {
    transform: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section {
    padding: 28px 0 !important;
  }

  .services-section {
    padding: 36px 0 !important;
  }

  .services-header-row {
    margin-bottom: 20px !important;
  }

  .service-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .service-header {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .service-icon-badge {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.88rem !important;
  }

  .service-title-wrap h3 {
    font-size: 1.05rem !important;
  }

  .service-sublist {
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .sub-service-item {
    padding: 7px 10px !important;
    border-radius: 8px !important;
  }

  .sub-service-title {
    font-size: 0.80rem !important;
  }

  .sub-service-desc {
    font-size: 0.73rem !important;
    line-height: 1.45 !important;
  }

  /* Completely eliminate ambient red light over the face on mobile & tablet devices */
  .ambient-glow,
  .ambient-glow-left,
  .ambient-glow-right {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 24px;
  }

  .hero-main-row {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px !important;
    margin-bottom: 30px;
    width: 100%;
  }

  .hero-left-col {
    width: 100% !important;
    max-width: 290px !important;
    flex-shrink: 0 !important;
  }

  .hero-right-col {
    width: 100% !important;
    max-width: 275px !important;
    flex-shrink: 0 !important;
  }

  .hero-headline {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
    line-height: 1.20 !important;
    max-width: 290px !important;
    text-align: left;
  }

  body[dir="rtl"] .hero-headline {
    font-size: clamp(1.18rem, 2.0vw, 1.45rem) !important;
    line-height: 1.30 !important;
    max-width: 290px !important;
    text-align: right;
  }

  .hero-quote {
    font-size: clamp(1.0rem, 1.3vw, 1.15rem) !important;
    max-width: 275px !important;
    text-align: left;
  }

  body[dir="rtl"] .hero-quote {
    text-align: right;
  }

  .hero-subtext {
    font-size: 0.80rem !important;
    max-width: 275px !important;
    margin-bottom: 14px !important;
    text-align: left;
  }

  body[dir="rtl"] .hero-subtext {
    text-align: right;
  }

  .section-headline { font-size: clamp(1.6rem, 4.0vw, 2.1rem); }
  .contact-headline { font-size: clamp(1.25rem, 3.8vw, 1.6rem); }

  .about-content-row, .workflow-header-row, .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px !important;
  }

  .palette-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-item {
    flex: 0 0 calc(50% - 12px) !important;
    min-width: 290px !important;
    max-width: 380px !important;
  }

  .hero-bottom-ticker {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
  }

  .hero-bottom-ticker::-webkit-scrollbar {
    display: none;
  }

  .hero-torch-hint {
    display: none !important;
  }

  /* Tablet & Mobile Drawer Navigation Pill */
  .mobile-toggle { 
    display: flex; 
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(8, 10, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 0;
    padding: 30px;
    transition: var(--transition);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
  }

  body[dir="rtl"] .main-nav {
    right: auto;
    left: -100%;
  }

  .main-nav.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  body[dir="rtl"] .main-nav.active {
    left: 0;
    right: auto;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .floating-media-controller {
    top: auto;
    bottom: 24px;
    right: 24px;
    z-index: 90;
  }

  .hud-panel {
    bottom: 12px;
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Disable custom cursor completely on mobile & touch devices */
@media (max-width: 1024px), (pointer: coarse) {
  .cursor-dot,
  .cursor-glow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Mobile Header: Sleek, compact & zero overflow */
  .site-header {
    height: 64px !important;
  }

  .site-header .brand-logo {
    padding: 2px 0;
  }

  .site-header .brand-logo-img {
    height: 44px !important;
    max-width: 100px !important;
  }

  /* Hide header CTA button on mobile to prevent navbar overflow */
  .site-header .btn-cta-capsule {
    display: none !important;
  }

  .header-actions {
    gap: 8px;
  }

  .section {
    padding: 36px 0;
  }

  /* Compact Mobile Hero with Ticker Directly Under Photo */
  .hero-section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: calc(var(--header-height, 64px) + 46px) !important;
    padding-bottom: 24px;
    position: relative;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center !important;
    min-height: auto;
    flex-grow: 1;
    width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .hero-main-row {
    display: contents; /* Flattens row so .hero-bottom-ticker sits directly below face */
  }

  /* Top Section: Greeting & Main Headline (Perfect True Center with Generous Header Gap) */
  .hero-left-col,
  body[dir="rtl"] .hero-left-col {
    order: 1;
    max-width: 100% !important;
    width: 100% !important;
    z-index: 5;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-headline,
  body[dir="rtl"] .hero-headline {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.20rem, 3.8vw, 1.48rem);
    line-height: 1.25;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
  }

  body[dir="rtl"] .hero-headline {
    font-size: clamp(1.14rem, 3.6vw, 1.40rem);
    line-height: 1.34;
    text-align: center !important;
  }

  .hero-headline .headline-block {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Specialties Ticker (#01 to #06): Positioned Completely UNDER the Photo (Zero Overlap) */
  .hero-bottom-ticker {
    order: 2;
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    margin-top: clamp(290px, 38vh, 380px); /* Sits safely and cleanly BELOW the face & shoulders */
    margin-bottom: 12px;
    flex-shrink: 0;
    z-index: 5;
  }

  .hero-bottom-ticker::-webkit-scrollbar {
    display: none;
  }

  /* Bottom Section: Quote & CTA Button: Sits Snugly Right Below Ticker (Centered on Mobile) */
  .hero-right-col,
  body[dir="rtl"] .hero-right-col {
    order: 3;
    max-width: 100% !important;
    width: 100% !important;
    z-index: 5;
    margin-top: 0;
    padding-top: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-quote,
  body[dir="rtl"] .hero-quote {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 12px;
    color: #f1f5f9;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  body[dir="rtl"] .hero-quote {
    font-size: 0.90rem;
    line-height: 1.5;
    text-align: center !important;
  }

  .hero-subtext {
    display: none !important; /* Hide long subtext in mobile hero to maximize face clearance */
  }

  .hero-cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .btn-hero-action {
    padding: 12px 24px;
    font-size: 0.88rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
  }

  .ticker-col {
    flex-shrink: 0;
    background: rgba(20, 24, 34, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 8px 14px;
    gap: 8px;
  }

  .ticker-num {
    font-size: 0.78rem;
  }

  .ticker-name {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  body[dir="rtl"] .ticker-name {
    font-size: 0.74rem !important;
  }

  body[dir="rtl"] .ticker-col {
    padding: 7px 11px !important;
    gap: 6px !important;
  }

  .palette-header, .workflow-header-row {
    margin-bottom: 24px;
  }

  .main-nav {
    width: 85%;
  }

  /* ==========================================================================
     MOBILE CARDS: OPTIMIZED SPACING & CRYSTAL SHEER TRANSLUCENCY
     Ensures the animated cyberpunk background face is vividly visible and moving in motion!
     ========================================================================== */
  .section {
    padding: 56px 0 !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 28px !important;
  }

  .palette-grid,
  .about-content-row,
  .workflow-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 28px !important;
  }

  .project-item {
    flex: 0 0 85vw !important;
    min-width: 270px !important;
    max-width: 340px !important;
  }

  .projects-edge-arrow {
    display: none !important;
  }

  /* Ultra-Clear Liquid Glass for Mobile Cards: Low blur & high translucency so background face motion is fully visible */
  .service-card,
  .project-item,
  .project-card,
  .palette-card,
  .workflow-card,
  .about-card,
  .glass-card {
    background: linear-gradient(145deg, rgba(12, 16, 24, 0.08) 0%, rgba(6, 2, 4, 0.12) 100%) !important;
    backdrop-filter: blur(1.5px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(1.5px) saturate(1.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 1px solid rgba(255, 120, 140, 0.50) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.20), 0 0 15px rgba(255, 42, 75, 0.10) !important;
    padding: 20px 18px !important;
    border-radius: 18px !important;
    margin-bottom: 8px;
  }

  /* Sub-elements inside cards: Zero blur to avoid double-fogging */
  .sub-service-item {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
  }

  /* High contrast text shadow so typography is crystal sharp on sheer glass */
  .service-card p,
  .project-item p,
  .palette-card p,
  .workflow-card p,
  .about-card p,
  .sub-service-desc {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.9) !important;
  }

  /* Subtle canvas overlay reduction on mobile so face brightness is max crisp */
  .canvas-overlay {
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.30) 75%, rgba(0, 0, 0, 0.80) 100%) !important;
  }

  /* Hide floating desktop player on mobile to keep viewport clean & spacious */
  .floating-media-controller {
    display: none !important;
  }

  /* Clear natural skin tones without harsh red oversaturation on mobile */
  #scroll-canvas {
    filter: contrast(1.08) brightness(1.04) saturate(1.04) !important;
  }

  #scroll-video {
    filter: contrast(1.08) brightness(1.04) saturate(1.04) !important;
    object-fit: cover !important;
  }

  /* Compact Contact Section on Mobile */
  .contact-section {
    padding: 24px 0 !important;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-headline {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem) !important;
    line-height: 1.35;
    margin-bottom: 10px;
    text-align: right;
  }

  .contact-sub-badge {
    padding: 10px 14px;
    gap: 10px;
  }

  .contact-sub-badge strong {
    font-size: 0.74rem;
  }

  .contact-sub-badge p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .contact-action-wrapper {
    align-items: center !important;
    text-align: center;
    width: 100%;
    padding: 6px 0 0 0;
  }

  .contact-action-wrapper .btn-submit-action {
    width: 100%;
    max-width: 320px;
    font-size: 0.90rem;
    padding: 13px 22px;
    justify-content: center;
  }

  /* Compact Mobile Contact Section */
  .contact-section {
    padding-bottom: 40px !important;
  }
}

@media (max-width: 600px) {
  .hud-panel .hud-controls {
    display: none;
  }
}

/* RTL Arrow Mirroring for Persian Mode */
body[dir="rtl"] .fa-arrow-right,
body[dir="rtl"] .btn-hero-action i,
body[dir="rtl"] .btn-cta-capsule i,
body[dir="rtl"] .btn-submit-action i {
  transform: scaleX(-1);
}

/* Top Preloader Progress Bar */
.preloader-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson-dark), #ff334b);
  box-shadow: 0 0 10px #ff334b;
  z-index: 100000;
  transition: width 0.3s ease, opacity 0.4s ease;
}

/* Hero Torch Hint Capsule Badge */
.hero-torch-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(116, 1, 7, 0.3);
  border: 1px solid var(--crimson-border);
  color: #ff8597;
  font-size: 0.76rem;
  font-weight: 600;
  margin-left: 14px;
  opacity: 0.9;
  animation: pulseTorchHint 2.4s infinite alternate;
}

body[dir="rtl"] .hero-torch-hint {
  margin-left: 0;
  margin-right: 14px;
}

@keyframes pulseTorchHint {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 51, 75, 0); }
  100% { transform: scale(1.04); box-shadow: 0 0 12px rgba(255, 51, 75, 0.4); }
}

/* Crimson Zone Transition (#contact, footer) — Solid Bold Matte Crimson */
#contact, .site-footer {
  position: relative;
  z-index: 10;
  transition: background 0.7s var(--ease-out);
}

#contact,
.contact-section,
body.crimson-zone-active #contact {
  background: linear-gradient(180deg, #500103 0%, #740107 35%, #520102 70%, #220002 100%) !important;
  border-top: 1px solid rgba(255, 80, 100, 0.45);
  padding: 40px 0 !important;
}

body.crimson-zone-active .site-footer {
  background: #181b22;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

#contact .contact-headline,
body.crimson-zone-active #contact .contact-headline,
#contact h3,
body.crimson-zone-active #contact h3,
#contact p,
body.crimson-zone-active #contact p {
  color: #ffffff !important;
}

#contact .client-pill {
  background: #340104 !important;
  border: 1px solid rgba(255, 90, 110, 0.35) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#contact .client-pill:hover {
  background: #4a0207 !important;
  border-color: #ff334b !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 42, 75, 0.3);
}

#contact .contact-sub-badge {
  background: #340104 !important;
  border: 1px solid rgba(255, 90, 110, 0.35) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#contact .contact-sub-badge strong {
  color: #ffccd3 !important;
}

#contact .contact-sub-badge p {
  color: #f1f5f9 !important;
}

#contact .minimal-field {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#contact .minimal-field:focus-within {
  border-bottom-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

#contact label,
body.crimson-zone-active #contact label {
  color: #ff99a8 !important;
  font-weight: 600;
}

#contact .minimal-field input,
#contact .minimal-field select,
body.crimson-zone-active #contact .minimal-field input,
body.crimson-zone-active #contact .minimal-field select {
  color: #ffffff !important;
  background: transparent;
}

#contact .minimal-field input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}


/* Contact Section Direct Instant Visibility (Zero Delay, Never Hidden by Animations) */
#contact,
.contact-section,
#contact .contact-main-grid,
#contact .contact-left,
#contact .contact-right,
#contact .contact-action-wrapper,
#contact .direct-contact-channels,
#contact .contact-channels-grid,
#contact .btn-submit-action,
#contact .contact-channel-pill {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Canvas hidden state when user scrolls to/past projects section */
.canvas-container.canvas-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   07: FAQ SECTION (Rich Glassmorphism Accordion for Google Rich Snippets & UX)
   ========================================================================== */
.faq-section {
  padding: 100px 0 60px;
  position: relative;
  z-index: 10;
  background-color: #06070a !important;
}

.faq-header-row {
  margin-bottom: 45px;
}

.faq-subtext {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
  max-width: 780px;
}

.faq-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-card {
  background: rgba(18, 5, 8, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-card:hover {
  border-color: rgba(255, 42, 75, 0.45) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 42, 75, 0.12);
}

.faq-card[open] {
  border-color: rgba(255, 42, 75, 0.6) !important;
  background: rgba(28, 6, 12, 0.85) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 42, 75, 0.18);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 0.90rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  gap: 12px;
  transition: color 0.25s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-card:hover .faq-question {
  color: #ffccd3;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ff99a8;
  font-size: 0.70rem;
  transition: all 0.3s ease;
}

.faq-card[open] .faq-icon {
  transform: rotate(45deg);
  background: #ff2a4b;
  color: #ffffff;
  border-color: #ff2a4b;
  box-shadow: 0 0 10px rgba(255, 42, 75, 0.5);
}

.faq-answer {
  padding: 0 18px 12px 18px;
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

/* ==========================================================================
   08: SITE FOOTER (SEO Semantic Footer, Local Business & Navigation Links)
   ========================================================================== */
.site-footer {
  background: rgba(6, 1, 3, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 0 35px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.footer-brand-fa {
  font-size: 0.95rem;
  color: #ff4a68;
  margin-right: 6px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.footer-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 42, 75, 0.1);
  border: 1px solid rgba(255, 42, 75, 0.3);
  color: #ff99a8;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-geo-badge i {
  color: #ff2a4b;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: #ff2a4b;
}

body[dir="ltr"] .footer-heading::after {
  right: auto;
  left: 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a,
.footer-links-list span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-links-list a:hover {
  color: #ff4a68;
  transform: translateX(-4px);
}

body[dir="ltr"] .footer-links-list a:hover {
  transform: translateX(4px);
}

.footer-links-list .footer-service-link {
  display: inline-block;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.88rem;
  font-weight: 400;
  text-align: right;
  cursor: pointer;
}
.footer-links-list .footer-service-link:hover {
  background: none !important;
  color: #ff4a68 !important;
  transform: translateX(-4px) !important;
}
body[dir="ltr"] .footer-links-list .footer-service-link {
  text-align: left;
}
body[dir="ltr"] .footer-links-list .footer-service-link:hover {
  transform: translateX(4px) !important;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-contact-item i {
  width: 18px;
  color: #ff4a68;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copyright {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-keywords-strip {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-keywords-strip span {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-question {
    padding: 6px 14px;
    font-size: 0.84rem;
    line-height: 1.4;
  }
  .faq-answer {
    padding: 0 14px 10px;
    font-size: 0.80rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================================================
   UI/UX UPGRADES & REFINEMENTS (Hick's Law & Conversion Optimization)
   ========================================================================== */

/* 1. Disable Distracting Floating Video Controls & Custom Cursor */
.floating-media-controller {
  display: none !important;
}

.cursor-dot,
.cursor-glow {
  display: none !important;
}

/* 2. Service Cards Clean Hierarchy (Hick's Law) */
.service-pills {
  display: none !important;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 42, 75, 0.22) 0%, rgba(116, 1, 7, 0.45) 100%);
  border: 1px solid rgba(255, 51, 75, 0.45);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.service-card-btn:hover {
  background: linear-gradient(135deg, var(--crimson-core), #b80028);
  border-color: #ff334b;
  box-shadow: 0 4px 20px rgba(255, 42, 75, 0.4);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.service-sublinks-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  padding: 2px 6px;
}

.service-detail-link:hover {
  color: #ff8597;
  transform: translateX(-3px);
  background: transparent;
}

/* 3. Fast Inline Inquiry Form (Zero Friction Lead Capture) */
.inline-inquiry-form {
  width: 100%;
  max-width: 520px;
  background: rgba(18, 22, 32, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 42, 75, 0.15);
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: right;
}

body[dir="rtl"] .inline-inquiry-form {
  text-align: right;
}

.form-title-wrap {
  margin-bottom: 2px;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.form-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ff334b;
  box-shadow: 0 0 0 3px rgba(255, 42, 75, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 14px;
  padding-left: 32px;
  cursor: pointer;
}

body[dir="ltr"] .form-select {
  background-position: right 12px center;
  padding-right: 32px;
  padding-left: 14px;
}

.form-select option {
  background: #181b22;
  color: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 56px;
}

.contact-action-wrapper .btn-submit-action {
  width: 100%;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 0.90rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--crimson-core), #b80028);
  color: #ffffff;
  border: 1px solid #ff4d67;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(255, 42, 75, 0.35);
  margin-top: 4px;
}

.contact-action-wrapper .btn-submit-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 42, 75, 0.55);
}

.form-feedback {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-detailed-inquiry-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.73rem;
  color: #94a3b8;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-detailed-inquiry-link a {
  color: #ff8597;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.form-detailed-inquiry-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* ======================================================================
   WEB DESIGN TOPICAL AUTHORITY, COMPARISON & PRICING FACTORS
   ====================================================================== */
.web-design-pillar-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.web-design-intro-row {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 36px;
}
.web-design-intro-row .section-headline {
  margin: 14px auto;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.45;
}
.web-design-intro-row .services-intro-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.8;
}
.web-design-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.wd-feature-card {
  padding: 26px 22px;
  border-radius: 16px;
  background: rgba(18, 18, 24, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.wd-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 75, 100, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.wd-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(116, 1, 7, 0.45), rgba(255, 75, 100, 0.25));
  border: 1px solid rgba(255, 75, 100, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ff8597;
  margin-bottom: 16px;
}
.wd-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.wd-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}
.wd-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.wd-card-tags span {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* Comparison Container & Table */
.comparison-container {
  margin: 45px 0;
  padding: 32px 28px;
  border-radius: 20px;
  background: rgba(15, 15, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.comparison-header-wrap {
  text-align: center;
  margin-bottom: 24px;
}
.comparison-header-wrap h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 8px;
}
.comparison-header-wrap p {
  font-size: 0.88rem;
  color: #94a3b8;
}
.comparison-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.9rem;
  min-width: 580px;
}
.comparison-table th, .comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.comparison-table th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}
.comparison-table th.highlight-devvein {
  color: #ff8597;
  background: rgba(116, 1, 7, 0.25);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.comparison-table td.highlight-devvein {
  background: rgba(116, 1, 7, 0.12);
  color: #f1f5f9;
  font-weight: 600;
}
.comparison-table td.text-muted {
  color: #64748b;
}

/* Pricing Factors */
.pricing-factors-wrap {
  margin: 45px 0 30px;
}
.pricing-factors-wrap .comparison-header-wrap {
  margin-bottom: 20px;
}
.pricing-factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.pricing-factor-box {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease;
}
.pricing-factor-box:hover {
  border-color: rgba(255, 75, 100, 0.3);
}
.pricing-factor-box h4 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-factor-box h4 i {
  color: #ff8597;
  font-size: 0.9rem;
}
.pricing-factor-box p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .comparison-container {
    padding: 20px 14px;
  }
  .comparison-table th, .comparison-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  .web-design-cards-grid {
    grid-template-columns: 1fr;
  }
  .pricing-factors-grid {
    grid-template-columns: 1fr;
  }
}
