/* ==========================================================================
   365 HOLDING | Master Design System & Luxury Aesthetics
   "365 DAYS. ONE DIRECTION: GROWTH."
   ========================================================================== */

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

:root {
  /* Core Luxury Color Palette */
  --bg-main: #060608;
  --bg-deep: #0a0a0e;
  --bg-surface: #111218;
  --bg-surface-elevated: #161722;
  --bg-card: rgba(18, 19, 26, 0.72);
  --bg-card-hover: rgba(26, 28, 38, 0.9);
  --bg-glass: rgba(10, 10, 14, 0.75);
  
  /* Text & Accents */
  --text-pure: #ffffff;
  --text-main: #f5f5f7;
  --text-muted: #9fa3b0;
  --text-dim: #5c6070;
  
  /* Signature Brand Accent: Deep Crimson & Luxury Burgundy */
  --crimson: #d91424;
  --crimson-dark: #8b000e;
  --crimson-glow: rgba(217, 20, 36, 0.35);
  --crimson-soft: rgba(217, 20, 36, 0.12);
  
  /* Secondary Luxury Accents */
  --gold-accent: #cfa86e;
  --gold-glow: rgba(207, 168, 110, 0.25);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(217, 20, 36, 0.4);
  --border-gold: rgba(207, 168, 110, 0.3);
  
  /* Typography */
  --font-persian: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px var(--crimson-glow);
  --blur-glass: blur(16px);
  
  /* Layout Metrics */
  --max-width: 1360px;
  --header-height: 88px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  font-family: var(--font-persian);
  direction: rtl;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(217, 20, 36, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 100% 50%, rgba(207, 168, 110, 0.04) 0%, transparent 50%),
              var(--bg-main);
  min-height: 100vh;
  line-height: 1.7;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #232533;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--crimson);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography Helpers */
.en-text {
  font-family: var(--font-en);
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.display-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
}
.gold-text {
  color: var(--gold-accent);
}
.crimson-text {
  color: var(--crimson);
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.crimson-gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #ff4d5a 70%, var(--crimson) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Ambient Glows & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-glow-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 20, 36, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: pulseGlow 12s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  position: absolute;
  top: 40%;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(207, 168, 110, 0.05) 0%, transparent 70%);
  filter: blur(100px);
  animation: pulseGlow 16s ease-in-out infinite alternate-reverse;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(30px, 40px); opacity: 1; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s var(--transition-smooth);
}
.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-light);
  height: 74px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  group: pointer;
}
.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1c1d28 0%, #0d0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-pure);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}
.logo-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(217, 20, 36, 0.3), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
}
.brand-logo:hover .logo-badge {
  border-color: var(--crimson);
  box-shadow: 0 0 20px var(--crimson-glow);
  transform: translateY(-1px);
}
.brand-logo:hover .logo-badge::after {
  left: 100%;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--text-pure);
  line-height: 1.1;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  font-weight: 600;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0.25rem;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.3s var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-cta-nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--crimson) 0%, #a00d1a 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px var(--crimson-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}
.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(217, 20, 36, 0.55);
  background: linear-gradient(135deg, #eb1b2c 0%, #b80f1e 100%);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-pure);
  transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section & Convergence Experience
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}
.tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* 3-6-5 Convergence Stage */
.convergence-wrapper {
  margin-bottom: 1.5rem;
  position: relative;
}
.convergence-digits {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  direction: ltr;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.95;
  transition: all 0.8s var(--transition-smooth);
}
.digit {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.7s var(--transition-smooth);
  position: relative;
}
.digit-3 { transform: translateX(0); }
.digit-6 { 
  background: linear-gradient(180deg, #ff4d5a 20%, var(--crimson) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.digit-5 { transform: translateX(0); }

/* Converged state (triggered by script or toggle) */
.convergence-wrapper.converged .convergence-digits {
  gap: 0.2rem;
}
.convergence-wrapper.converged .digit {
  text-shadow: 0 0 35px var(--crimson-glow);
}

.hero-statement {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  display: block;
}
.hero-statement span {
  color: var(--crimson);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary-luxury {
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--crimson) 0%, #990c18 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px var(--crimson-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
}
.btn-primary-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(217, 20, 36, 0.6);
  background: linear-gradient(135deg, #ff1e32 0%, #b30d1d 100%);
}
.btn-primary-luxury svg {
  transition: transform 0.3s ease;
}
.btn-primary-luxury:hover svg {
  transform: translateX(-4px);
}

.btn-secondary-luxury {
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-pure);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
}
.btn-secondary-luxury:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* Hero Key Indicators (Social Proof & Institutional Metric Bar) */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  max-width: 580px;
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-num {
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.1;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual Card (Framed Masterpiece) */
.hero-visual-col {
  position: relative;
}
.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  background: #0f1016;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: all 0.6s var(--transition-smooth);
}
.visual-frame:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  border-color: var(--border-active);
}
.visual-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.visual-frame:hover img {
  transform: scale(1.04);
}
.visual-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 6, 8, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.glass-info-card {
  background: rgba(14, 15, 21, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glass-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}
.glass-info-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gold-accent);
  font-family: var(--font-en);
  font-weight: 600;
}

/* ==========================================================================
   Section Headers (Institutional Style)
   ========================================================================== */
.section {
  padding: 7rem 0;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 4.5rem;
}
.section-tag {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--crimson);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
}

/* ==========================================================================
   365 ECOSYSTEM (What We Do)
   ========================================================================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.eco-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.eco-card:hover::before {
  opacity: 1;
}

.eco-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}
.eco-number {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.1em;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.eco-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-pure);
  transition: all 0.3s ease;
}
.eco-card:hover .eco-icon-wrapper {
  background: var(--crimson-soft);
  color: var(--crimson);
  border-color: var(--crimson);
}

.eco-title-en {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
  direction: ltr;
  unicode-bidi: isolate;
}
.eco-title-fa {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.eco-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.eco-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
}
.eco-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
}
.eco-service-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--crimson);
}

.eco-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  transition: all 0.3s ease;
}
.eco-action-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

/* Expansion Badge for Future Nodes */
.eco-card.eco-expansion {
  border-style: dashed;
  opacity: 0.88;
}
.expansion-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(207, 168, 110, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--gold-accent);
  font-weight: 600;
}

/* ==========================================================================
   365 METHOD (The Signature Architectural Process)
   ========================================================================== */
.method-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 15, 22, 0.6) 50%, transparent 100%);
}

.method-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}
.method-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border-light) 20%, 
    var(--crimson) 50%, 
    var(--border-light) 80%, 
    transparent 100%);
  z-index: 0;
}

.method-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.8rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--transition-smooth);
}
.method-step-card:hover {
  border-color: var(--border-active);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

.step-node {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: #111218;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
  transition: all 0.3s ease;
}
.method-step-card:hover .step-node {
  border-color: var(--crimson);
  box-shadow: 0 0 25px var(--crimson-glow);
  background: #190f14;
}
.step-num {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--crimson);
  direction: ltr;
  unicode-bidi: isolate;
}

.step-title-en {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  direction: ltr;
  unicode-bidi: isolate;
}
.step-title-fa {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   OUR WORK / CASE STUDIES (Heart of the Website)
   ========================================================================== */
.case-studies-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.case-study-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2rem;
  transition: all 0.4s var(--transition-smooth);
}
.case-study-item.reversed {
  grid-template-columns: 0.85fr 1.15fr;
}
.case-study-item.reversed .case-media-box {
  order: 2;
}
.case-study-item:hover {
  border-color: var(--border-active);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.case-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 440px;
  background: #0f1016;
}
.case-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}
.case-study-item:hover .case-media-box img {
  transform: scale(1.05);
}
.case-category-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.4rem 0.9rem;
  background: rgba(8, 8, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-accent);
  direction: ltr;
  unicode-bidi: isolate;
}

.case-content-box {
  display: flex;
  flex-direction: column;
}
.case-client-badge {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--crimson);
  margin-bottom: 0.75rem;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.case-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.case-subtitle {
  font-family: var(--font-en);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Case Study Deep Dive Breakdown (Challenge -> Strategy -> Result) */
.case-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.pillar-item h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 4px;
  direction: ltr;
  unicode-bidi: isolate;
}
.pillar-item p {
  font-size: 0.84rem;
  color: var(--text-main);
  line-height: 1.5;
}

.case-metrics-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.case-metric-highlight {
  display: flex;
  flex-direction: column;
}
.case-metric-val {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.case-metric-txt {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-open-case {
  align-self: flex-start;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-pure);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.btn-open-case:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateX(-4px);
}

/* ==========================================================================
   Mid-Section Conversion Bar ("Have a project in mind?")
   ========================================================================== */
.mid-cta-banner {
  margin: 5rem auto;
  background: linear-gradient(135deg, rgba(217, 20, 36, 0.15) 0%, rgba(18, 19, 26, 0.8) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.mid-cta-text h3 {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.mid-cta-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT 365 & BRAND PHILOSOPHY
   ========================================================================== */
.about-section {
  position: relative;
}
.about-quote-box {
  max-width: 900px;
  margin: 0 auto 5rem;
  text-align: center;
  padding: 3rem 2rem;
  border-right: 3px solid var(--crimson);
  background: rgba(255, 255, 255, 0.015);
  border-radius: var(--radius-md);
}
.about-main-quote {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.35;
  margin-bottom: 1.25rem;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.about-quote-fa {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.story-text-col h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
}
.story-text-col p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.philo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.philo-card:hover {
  border-color: var(--gold-accent);
  transform: translateX(-6px);
}
.philo-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.philo-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   JOURNAL & STRATEGIC INSIGHTS
   ========================================================================== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.journal-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.journal-body {
  padding: 2rem;
}
.journal-date-tag {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--crimson);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}
.journal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.journal-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.journal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GRAND FINALE & SIGNATURE FOOTER CTA
   ========================================================================== */
.finale-section {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(217, 20, 36, 0.15) 0%, transparent 70%);
}
.signature-quote {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 1rem;
  line-height: 1.15;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  display: block;
}
.signature-quote span {
  color: var(--crimson);
}
.signature-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ==========================================================================
   SITE FOOTER (Institutional Holding Mega-Footer)
   ========================================================================== */
.site-footer {
  background: #040406;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}
.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
  position: relative;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--crimson);
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-contact-item svg {
  color: var(--crimson);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   INTERACTIVE BRIEF MODAL ("Start a Project" / "Let's Talk")
   ========================================================================== */
.brief-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
}
.brief-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.brief-modal-window {
  background: #0f1016;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: all 0.4s var(--transition-bounce);
}
.brief-modal-backdrop.active .brief-modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

.modal-header {
  margin-bottom: 2rem;
}
.modal-tag {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--crimson);
  margin-bottom: 0.5rem;
  display: block;
}
.modal-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-pure);
}

/* Multi-select Division Chips */
.form-group {
  margin-bottom: 1.8rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}
.division-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.division-chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.division-chip.selected, .division-chip:hover {
  background: var(--crimson-soft);
  border-color: var(--crimson);
  color: var(--text-pure);
}

.form-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.input-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-size: 0.9rem;
  transition: border-color 0.25s ease;
}
.input-control:focus {
  border-color: var(--crimson);
  background: rgba(255, 255, 255, 0.05);
}
textarea.input-control {
  resize: vertical;
  min-height: 110px;
}

.btn-submit-brief {
  width: 100%;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--crimson) 0%, #a00d1a 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px var(--crimson-glow);
  transition: all 0.3s var(--transition-smooth);
}
.btn-submit-brief:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(217, 20, 36, 0.6);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #111218;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--text-pure);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--transition-smooth);
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics {
    margin-inline: auto;
  }
  .convergence-digits {
    justify-content: center;
  }
  .visual-frame {
    transform: none;
    max-width: 600px;
    margin-inline: auto;
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-timeline::before {
    display: none;
  }
  .case-study-item, .case-study-item.reversed {
    grid-template-columns: 1fr;
  }
  .case-study-item.reversed .case-media-box {
    order: 0;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .btn-cta-nav {
    display: none;
  }
  .ecosystem-grid, .method-timeline, .journal-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-inputs-grid {
    grid-template-columns: 1fr;
  }
  .mid-cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   BREADCRUMBS NAVIGATION (SEO Item 1)
   ========================================================================== */
.breadcrumb-container {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--text-dim);
}
.breadcrumb-item a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
  color: var(--crimson);
}
.breadcrumb-item.active {
  color: var(--gold-accent);
  font-weight: 600;
}

/* ==========================================================================
   CLIENT TESTIMONIALS & REVIEWS SECTION (رضایت مشتریان)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.35s var(--transition-smooth);
}
.testimonial-card::after {
  content: '”';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-family: serif;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffb703;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.testimonial-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}
.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 3px;
}
.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.verified-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.75rem;
  background: rgba(207, 168, 110, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--gold-accent);
  font-weight: 600;
}

/* Local SEO Focus Tag */
.seo-location-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.seo-location-pill {
  color: var(--gold-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Mobile Ultra-Precision Responsiveness (320px - 480px)
   ========================================================================== */
@media (max-width: 576px) {
  .container {
    width: 94%;
    padding-inline: 0.75rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 3rem;
  }
  .hero-statement {
    font-size: 1.75rem;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary-luxury,
  .hero-cta-group .btn-secondary-luxury {
    width: 100%;
    justify-content: center;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .visual-frame img {
    height: 320px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .case-main-title {
    font-size: 1.35rem;
  }
  .case-pillars {
    grid-template-columns: 1fr;
  }
  .case-metrics-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .signature-quote {
    font-size: 2rem;
  }
  .brief-modal-window {
    padding: 2rem 1.25rem;
  }
}

/* ==========================================================================
   DYNAMIC LIVING SOUL & INTERACTION UPGRADE (جلوه‌های بصری زنده و پویا)
   ========================================================================== */

/* 1. Dynamic Interactive Canvas */
#ambientCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Live Capacity Header Pill */
.live-capacity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.9rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #4ade80;
  font-weight: 600;
}
.live-capacity-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
}

/* 2. Infinite Brand Marquee Ticker (نوار روان برندهای شاخص البرز و تهران) */
.marquee-ticker-section {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
  background: rgba(10, 11, 16, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-wrapper:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.marquee-item:hover {
  color: #fff;
}
.marquee-item .item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crimson);
}
.marquee-item .item-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(207, 168, 110, 0.12);
  color: var(--gold-accent);
  border: 1px solid var(--border-gold);
}

/* 3. Interactive Growth & Service Package Selector (ابزار تعاملی انتخاب پکیج) */
.package-selector-section {
  background: radial-gradient(circle at 50% 50%, rgba(217, 20, 36, 0.08) 0%, transparent 70%);
}
.pkg-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.pkg-tab-btn {
  padding: 1rem 1.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--transition-smooth);
}
.pkg-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.pkg-tab-btn.active {
  background: linear-gradient(135deg, var(--crimson) 0%, #990c18 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 25px var(--crimson-glow);
  transform: translateY(-2px);
}
.pkg-tab-btn svg {
  color: currentColor;
}

.pkg-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: none;
  animation: fadeInScale 0.45s var(--transition-bounce) forwards;
}
.pkg-content-box.active {
  display: block;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: translateY(15px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.pkg-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.pkg-title-area {
  margin-bottom: 2rem;
}
.pkg-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold-accent);
  background: rgba(207, 168, 110, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.pkg-name {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.pkg-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.pkg-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.pkg-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}
.pkg-feature-item svg {
  color: var(--crimson);
  flex-shrink: 0;
}

.pkg-highlight-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.pkg-metric-huge {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--crimson);
  line-height: 1;
}
.pkg-metric-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pkg-guarantee-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold-accent);
  font-weight: 700;
}

/* 4. Floating Quick-Contact Action Dock (ویجت شناور تماس سریع و واتساپ با پالس زنده) */
.floating-contact-dock {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  animation: slideInDock 0.8s var(--transition-bounce) 1s forwards;
}
@keyframes slideInDock {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.dock-call-btn, .dock-wa-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
  transition: all 0.3s var(--transition-smooth);
}
.dock-call-btn {
  background: linear-gradient(135deg, var(--crimson) 0%, #990c18 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dock-call-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 35px var(--crimson-glow);
}
.dock-wa-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dock-wa-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.dock-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--crimson);
  opacity: 0.8;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.dock-label-pill {
  background: #11121a;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .pkg-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pkg-content-box {
    padding: 2rem 1.5rem;
  }
  .floating-contact-dock {
    bottom: 1.25rem;
    left: 1rem;
  }
  .dock-label-pill {
    display: none;
  }
}

/* ==========================================================================
   FLOATING HERO BADGES (مدال‌های شناور و زنده‌ساز هیرو)
   ========================================================================== */
.hero-visual-col {
  position: relative;
}
.floating-hero-pill {
  position: absolute;
  padding: 0.85rem 1.4rem;
  background: rgba(18, 20, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatBadge 4.5s ease-in-out infinite alternate;
  pointer-events: auto;
}
.floating-hero-pill.float-top-right {
  top: 6%;
  right: -5%;
  border-left: 3px solid var(--crimson);
}
.floating-hero-pill.float-bottom-left {
  bottom: 8%;
  left: -5%;
  border-right: 3px solid var(--gold-accent);
  animation-delay: 2.2s;
}
@keyframes floatBadge {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
  100% { transform: translateY(-14px) rotate(-0.5deg); }
}
.floating-hero-pill .pill-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-hero-pill strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
}
.floating-hero-pill small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .floating-hero-pill {
    display: none;
  }
}

/* ==========================================================================
   INTERACTIVE ROI & BUDGET ESTIMATOR (ماشین‌حساب هوشمند رشد و بازگشت سرمایه)
   ========================================================================== */
.roi-calculator-section {
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(207, 168, 110, 0.05) 0%, transparent 70%);
}
.calc-card-container {
  background: linear-gradient(145deg, rgba(22, 24, 34, 0.85) 0%, rgba(13, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.biz-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.biz-chip {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.biz-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}
.biz-chip.active {
  background: rgba(217, 20, 36, 0.15);
  border-color: var(--crimson);
  color: #fff;
  box-shadow: 0 0 15px var(--crimson-glow);
  transform: translateY(-2px);
}
.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-val-display {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-accent);
  background: rgba(207, 168, 110, 0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}
.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--crimson) 0%, #232533 100%);
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}
.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--crimson);
  cursor: pointer;
  box-shadow: 0 0 15px var(--crimson);
  transition: transform 0.2s;
}
.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.calc-results-card {
  background: rgba(10, 11, 16, 0.75);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.calc-results-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--gold-accent) 100%);
}
.roi-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.9rem;
}
.roi-metric-item:last-of-type {
  border-bottom: none;
}
.roi-metric-lbl {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.roi-metric-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  transition: all 0.3s ease;
}
.roi-metric-val.highlight {
  color: #4ade80;
  font-size: 1.6rem;
  text-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calc-card-container {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   FAQ ACCORDION SECTION (پرسش‌های متداول صاحبان کسب‌وکار)
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 0%, rgba(217, 20, 36, 0.05) 0%, transparent 60%);
}
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s var(--transition-smooth);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.faq-item.active {
  border-color: var(--border-active);
  background: rgba(22, 24, 34, 0.95);
  box-shadow: 0 15px 35px rgba(217, 20, 36, 0.18);
}
.faq-question-btn {
  width: 100%;
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  gap: 1.25rem;
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.35s var(--transition-smooth);
}
.faq-item.active .faq-icon {
  background: var(--crimson);
  color: #fff;
  border-color: transparent;
  transform: rotate(45deg);
  box-shadow: 0 0 15px var(--crimson-glow);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.95;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 2rem 2rem;
}

/* ==========================================================================
   CARD VIBRANCY & SHIMMER ENHANCEMENTS (تقویت نورپردازی و روح کارت‌ها)
   ========================================================================== */
.eco-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}
.eco-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 20, 36, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(217, 20, 36, 0.2);
}
.eco-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at 50% 50%, rgba(217, 20, 36, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.eco-card:hover::after {
  opacity: 1;
}

.case-study-item {
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}
.case-study-item:hover {
  border-color: rgba(207, 168, 110, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.testimonial-card {
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}


