/* =========================================================
   تیم سُل وب — style.css v3 "Liquid Glass"
   بر پایه Bootstrap 5.3 RTL | jQuery 3.7.1
   ========================================================= */

/* ─── 1. Import Fonts ─────────────────────────────────── */
@font-face {
  font-family: YekanBakh;
  src: url("Fonts/YekanBakh-VF.ttf");
  font-display: swap;
}

/* ─── 2. Design Tokens ────────────────────────────────── */
:root {
  /* ── Fonts ── */
  --font-primary : 'YekanBakh', 'Tahoma', sans-serif;
  --font-mono    : 'Courier New', monospace;

  /* ── Brand: Main (بنفش) ── */
  --main-50   : #f0eeff;
  --main-100  : #ddd9fe;
  --main-200  : #c4bcfd;
  --main-300  : #a394fb;
  --main-400  : #836af8;
  --main-500  : #6447f4;
  --main-600  : #5236d6;
  --main-700  : #4028b8;
  --main-800  : #2f1d95;
  --main-900  : #1e1274;

  /* ── Brand: Accent (آبی) ── */
  --accent-50  : #e8f8ff;
  --accent-100 : #c4edff;
  --accent-200 : #8dd9ff;
  --accent-300 : #4dc3ff;
  --accent-400 : #17aaff;
  --accent-500 : #0090e8;
  --accent-600 : #0073bf;
  --accent-700 : #005896;
  --accent-800 : #003f6e;
  --accent-900 : #002848;

  /* ── Neutral ── */
  --neutral-0   : #ffffff;
  --neutral-50  : #f7f7fb;
  --neutral-100 : #eeeff7;
  --neutral-200 : #dcddf0;
  --neutral-300 : #c3c4de;
  --neutral-400 : #9899bc;
  --neutral-500 : #6d6e94;
  --neutral-600 : #505175;
  --neutral-700 : #393a5c;
  --neutral-800 : #232441;
  --neutral-900 : #10102a;

  /* ── Semantic ── */
  --color-bg           : var(--neutral-0);
  --color-bg-soft      : var(--neutral-50);
  --color-bg-muted     : var(--neutral-100);
  --color-surface      : var(--neutral-0);
  --color-surface-alt  : var(--neutral-50);
  --color-border       : var(--neutral-200);
  --color-text-primary : var(--neutral-900);
  --color-text-muted   : var(--neutral-500);
  --color-text-light   : var(--neutral-400);

  /* ── Gradients ── */
  --grad-main   : linear-gradient(135deg, var(--main-500) 0%, var(--accent-500) 100%);
  --grad-soft   : linear-gradient(135deg, var(--main-50)  0%, var(--accent-50)  100%);
  --grad-hero   : linear-gradient(145deg, #1e1274 0%, #4028b8 40%, #0073bf 100%);
  --grad-card   : linear-gradient(160deg, rgba(100,71,244,.08) 0%, rgba(0,144,232,.04) 100%);
  --grad-glass  : linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.06) 100%);

  /* ── Liquid Glass ── */
  --glass-bg        : rgba(255,255,255,.55);
  --glass-bg-strong : rgba(255,255,255,.78);
  --glass-border    : rgba(255,255,255,.6);
  --glass-blur      : 22px;
  --glass-shadow    : 0 8px 32px rgba(30,18,116,.12), inset 0 1px 0 rgba(255,255,255,.55);
  --glass-sheen     : rgba(255,255,255,.9);

  /* ── Shadows ── */
  --shadow-xs    : 0 1px 3px  rgba(16,16,42,.06);
  --shadow-sm    : 0 2px 8px  rgba(16,16,42,.08);
  --shadow-md    : 0 4px 20px rgba(16,16,42,.10);
  --shadow-lg    : 0 8px 40px rgba(16,16,42,.12);
  --shadow-xl    : 0 16px 64px rgba(16,16,42,.14);
  --shadow-main  : 0 8px 32px  rgba(100,71,244,.30);
  --shadow-accent: 0 8px 32px  rgba(0,144,232,.25);
  --shadow-glow  : 0 0 0 4px   rgba(100,71,244,.18);

  /* ── Radius ── */
  --radius-sm  : .75rem;
  --radius-md  : 1.25rem;
  --radius-lg  : 1.75rem;
  --radius-xl  : 2.5rem;
  --radius-2xl : 3.5rem;
  --radius-full: 9999px;

  /* ── Spacing ── */
  --section-py : 6rem;
  --card-p     : 2rem;
  --header-h   : 5.25rem;

  /* ── Transitions ── */
  --ease-smooth : cubic-bezier(.4, 0, .2, 1);
  --ease-spring : cubic-bezier(.34, 1.56, .64, 1);
  --ease-out    : cubic-bezier(.0, 0, .2, 1);
  --dur-fast    : 150ms;
  --dur-normal  : 280ms;
  --dur-slow    : 500ms;

  /* ── Bootstrap Token Overrides ── */
  --bs-body-font-family   : var(--font-primary);
  --bs-body-color         : var(--color-text-primary);
  --bs-body-bg            : var(--color-bg);
  --bs-border-radius      : var(--radius-md);
  --bs-border-radius-sm   : var(--radius-sm);
  --bs-border-radius-lg   : var(--radius-lg);
  --bs-border-radius-xl   : var(--radius-xl);
  --bs-border-radius-pill : var(--radius-full);
  --bs-border-color       : var(--color-border);
  --bs-box-shadow         : var(--shadow-md);
}

/* Dark Theme */
[data-bs-theme="dark"] {
  --color-bg           : var(--neutral-900);
  --color-bg-soft      : var(--neutral-800);
  --color-bg-muted     : #1a1a36;
  --color-surface      : #171730;
  --color-surface-alt  : #1c1c3a;
  --color-border       : rgba(255,255,255,.1);
  --color-text-primary : #e8e9f5;
  --color-text-muted   : var(--neutral-400);
  --color-text-light   : var(--neutral-500);
  --grad-card          : linear-gradient(160deg, rgba(100,71,244,.15) 0%, rgba(0,144,232,.08) 100%);
  --grad-glass         : linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 100%);
  --glass-bg           : rgba(23,23,48,.55);
  --glass-bg-strong    : rgba(23,23,48,.8);
  --glass-border       : rgba(255,255,255,.1);
  --glass-shadow       : 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  --glass-sheen        : rgba(255,255,255,.25);
  --bs-body-color      : var(--color-text-primary);
  --bs-body-bg         : var(--color-bg);
  --bs-border-color    : var(--color-border);
}

/* ─── 3. Base & Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family : var(--font-primary);
  font-size   : 1rem;
  line-height : 1.7;
  color       : var(--color-text-primary);
  background  : var(--color-bg);
  overflow-x  : hidden;
  direction   : rtl;
  transition  : background var(--dur-normal) var(--ease-smooth),
                color var(--dur-normal) var(--ease-smooth);
  position: relative;
}

/* بافت نویز بسیار ملایم (Noise Texture) — تصویر ثابت، بدون هزینهٔ اجرا */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-bs-theme="dark"] body::before { opacity: .035; }

::selection {
  background : rgba(100,71,244,.25);
  color      : var(--main-900);
}

/* ─── 4. Typography ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family    : var(--font-primary);
  font-weight    : 800;
  line-height    : 1.25;
  color          : var(--color-text-primary);
  letter-spacing : -.01em;
}

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

.text-main   { color: var(--main-500)         !important; }
.text-accent { color: var(--accent-500)       !important; }
.text-muted  { color: var(--color-text-muted) !important; }

/* ─── 5. Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background    : var(--main-300);
  border-radius : var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--main-500); }

/* ─── 6. کرسر اختصاصی مایع (Liquid Cursor) ────────────── */
@media (hover: hover) and (pointer: fine) {
  html.cursor-ready,
  html.cursor-ready * { cursor: none !important; }
}

.cursor-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 10000; }

.cursor-dot, .cursor-ring {
  position   : fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform  : translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
}
html.cursor-ready .cursor-dot,
html.cursor-ready .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 8px; height: 8px;
  background: var(--main-500);
  z-index: 10001;
  transition: opacity .2s, width .25s var(--ease-spring), height .25s var(--ease-spring);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(100,71,244,.55);
  background: rgba(100,71,244,.07);
  backdrop-filter: blur(3px);
  z-index: 10000;
  transition: opacity .2s, width .35s var(--ease-spring), height .35s var(--ease-spring),
              border-color .3s var(--ease-smooth), background .3s var(--ease-smooth);
}

html.cursor-hover .cursor-ring {
  width: 74px; height: 74px;
  background: transparent;
  border-color: var(--main-400);
  box-shadow: 0 0 0 1px rgba(100,71,244,.12), 0 0 26px rgba(100,71,244,.4);
  mix-blend-mode: difference;
}
html.cursor-hover .cursor-dot { width: 0; height: 0; }

.cursor-ripple {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--main-400);
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: 9999;
  animation: cursorRipple .65s var(--ease-out) forwards;
}
@keyframes cursorRipple {
  to { width: 72px; height: 72px; opacity: 0; border-width: 1px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-wrap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { transition: none; }
}

/* ─── 7. Segmented Liquid Glass Header ────────────────── */
.site-header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 1040;
  padding: 1.15rem 0;
  transition: padding var(--dur-normal) var(--ease-smooth);
}
.site-header.scrolled { padding: .65rem 0; }

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.glass-segment {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.glass-segment::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, var(--glass-sheen) 50%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  opacity: .35;
  mix-blend-mode: overlay;
  animation: sheenMove 7s linear infinite;
  pointer-events: none;
}
@keyframes sheenMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 220% 220%; }
}

.seg-brand { padding: .55rem 1.4rem; }
.seg-nav   { padding: .35rem; }
.seg-actions { padding: .5rem .6rem; display: flex; align-items: center; gap: .6rem; }

.navbar-brand {
  font-weight    : 900;
  font-size      : 1.4rem;
  letter-spacing : -.02em;
  background     : var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-pills-liquid { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-pills-liquid a {
  display: block;
  padding: .55rem 1.15rem;
  border-radius: var(--radius-lg);
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
  white-space: nowrap;
  transition: background 360ms var(--ease-smooth), color 360ms var(--ease-smooth),
              transform 360ms var(--ease-spring), box-shadow 360ms var(--ease-smooth);
}
.nav-pills-liquid a:hover {
  background: rgba(100,71,244,.10);
  backdrop-filter: blur(6px);
  color: var(--main-600);
  transform: scale(1.04);
}
[data-bs-theme="dark"] .nav-pills-liquid a:hover {
  background: rgba(100,71,244,.22);
  color: #fff;
}
.nav-pills-liquid a.active {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-main);
}
.nav-pills-liquid a.active:hover { transform: scale(1.04); }

.btn-theme-toggle {
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--dur-fast) var(--ease-smooth);
  flex-shrink: 0;
  transform: rotate(20deg);
}
.btn-theme-toggle:hover {
  background: var(--main-50);
  border-color: var(--main-300);
  color: var(--main-500);
  transform: rotate(40deg);
}
[data-bs-theme="dark"] .btn-theme-toggle:hover { background: rgba(100,71,244,.15); }

.navbar-toggler {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .35rem .6rem;
  color: var(--color-text-primary);
  background: var(--color-surface);
  transition: all var(--dur-fast) var(--ease-smooth);
}
.navbar-toggler:hover { background: var(--main-50); border-color: var(--main-300); }
.navbar-toggler:focus { box-shadow: none; }

.mobile-nav-panel {
  margin: .6rem 1rem 0;
  padding: 1rem;
}
.mobile-nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.mobile-nav-links a {
  display: block; padding: .65rem .9rem; border-radius: var(--radius-md);
  color: var(--color-text-primary); text-decoration: none; font-weight: 600; font-size: .925rem;
  transition: background 360ms var(--ease-smooth), color 360ms var(--ease-smooth), transform 360ms var(--ease-spring);
}
.mobile-nav-links a.active,
.mobile-nav-links a:hover { background: var(--main-50); color: var(--main-600); }
[data-bs-theme="dark"] .mobile-nav-links a:hover { background: rgba(100,71,244,.15); }

/* ─── 8. Buttons ──────────────────────────────────────── */
.btn {
  font-family   : var(--font-primary);
  font-weight   : 600;
  border-radius : var(--radius-md);
  transition    : all var(--dur-normal) var(--ease-spring);
  letter-spacing: -.01em;
  display       : inline-flex;
  align-items   : center;
  justify-content: center;
  gap           : .4rem;
}

.btn-main {
  background  : var(--grad-main);
  color       : #fff !important;
  border      : none;
  box-shadow  : var(--shadow-main);
}
.btn-main:hover {
  transform  : translateY(-3px);
  box-shadow : 0 12px 40px rgba(100,71,244,.45);
  color      : #fff !important;
}
.btn-main:active { transform: translateY(0); }

.btn-ghost {
  background   : transparent;
  color        : var(--main-500) !important;
  border       : 1.5px solid var(--main-200);
}
.btn-ghost:hover {
  background   : var(--main-50);
  border-color : var(--main-400);
  transform    : translateY(-2px);
  color        : var(--main-600) !important;
}

.btn-outline-main {
  background   : transparent;
  color        : var(--main-500) !important;
  border       : 2px solid var(--main-400);
  font-weight  : 700;
}
.btn-outline-main:hover {
  background   : var(--main-500);
  color        : #fff !important;
  border-color : var(--main-500);
  transform    : translateY(-3px);
  box-shadow   : var(--shadow-main);
}

.btn-hero-primary {
  display      : inline-flex;
  align-items  : center;
  gap          : .5rem;
  background   : var(--grad-main);
  color        : #fff;
  padding      : .85rem 2rem;
  border-radius: var(--radius-lg);
  font-weight  : 700;
  font-family  : var(--font-primary);
  text-decoration: none;
  box-shadow   : var(--shadow-main);
  transition   : all var(--dur-normal) var(--ease-spring);
  border       : none;
  cursor       : pointer;
  white-space  : nowrap;
}
.btn-hero-primary:hover {
  transform    : translateY(-4px);
  box-shadow   : 0 16px 48px rgba(100,71,244,.50);
  color        : #fff;
}

.btn-hero-secondary {
  display      : inline-flex;
  align-items  : center;
  gap          : .5rem;
  background   : rgba(255,255,255,.15);
  color        : #fff;
  padding      : .85rem 2rem;
  border-radius: var(--radius-lg);
  font-weight  : 600;
  font-family  : var(--font-primary);
  text-decoration: none;
  border       : 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  transition   : all var(--dur-normal) var(--ease-spring);
  white-space  : nowrap;
}
.btn-hero-secondary:hover {
  background   : rgba(255,255,255,.25);
  transform    : translateY(-3px);
  color        : #fff;
}

.btn-sm  { padding: .45rem 1.1rem; font-size: .875rem; }
.btn-lg  { padding: .9rem 2.2rem;  font-size: 1.05rem; }

/* ─── 9. Section Utilities ────────────────────────────── */
.section-tag {
  display      : inline-flex;
  align-items  : center;
  gap          : .4rem;
  background   : var(--main-50);
  color        : var(--main-600);
  border       : 1px solid var(--main-200);
  border-radius: var(--radius-full);
  padding      : .35rem 1rem;
  font-size    : .8rem;
  font-weight  : 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
[data-bs-theme="dark"] .section-tag {
  background  : rgba(100,71,244,.15);
  border-color: rgba(100,71,244,.3);
  color       : var(--main-300);
}

.section-title {
  font-size  : clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size  : 1.05rem;
  color      : var(--color-text-muted);
  max-width  : 560px;
  line-height: 1.8;
}

/* تایپوگرافی پس‌زمینهٔ عنوان بخش‌ها (Watermark) */
.section-heading { position: relative; overflow: hidden; }
.section-heading > * { position: relative; z-index: 1; }
.section-title-bg {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.25rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--main-500);
  opacity: .06;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
[data-bs-theme="dark"] .section-title-bg { opacity: .09; color: var(--main-300); }

/* ─── 10. Cards ───────────────────────────────────────── */
.card-sol {
  background    : var(--color-surface);
  border        : 1px solid var(--color-border);
  border-radius : var(--radius-lg);
  padding       : var(--card-p);
  box-shadow    : var(--shadow-sm);
  transition    : all var(--dur-normal) var(--ease-spring);
}
.card-sol:hover {
  box-shadow : var(--shadow-lg);
  transform  : translateY(-4px);
  border-color: var(--main-200);
}
[data-bs-theme="dark"] .card-sol:hover { border-color: rgba(100,71,244,.25); }

/* بازتاب نور ملایم روی کارت‌ها هنگام هاور */
.card-sol { position: relative; }
.card-sol::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  background-size: 220% 220%;
  background-position: 130% 0%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ease-smooth), background-position 700ms var(--ease-smooth);
}
.card-sol:hover::after { opacity: 1; background-position: -30% 100%; }
[data-bs-theme="dark"] .card-sol::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.08) 48%, transparent 66%); }

/* کارت‌های کج و معلق (Tilt Utility) — کلاس صریح چون هر کارت تک‌فرزند ستون خودش است */
.card-tilt.tilt-1 { transform: rotate(-1.1deg); }
.card-tilt.tilt-2 { transform: rotate(.9deg); }
.card-tilt.tilt-3 { transform: rotate(-.6deg); }
.card-tilt.tilt-4 { transform: rotate(1.2deg); }
.card-tilt.tilt-5 { transform: rotate(-1.3deg); }
.card-tilt.tilt-6 { transform: rotate(.7deg); }
.card-tilt:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.015) !important;
}
@media (max-width: 767.98px) {
  .card-tilt { transform: none !important; }
  .card-tilt:hover { transform: translateY(-4px) !important; }
}

/* Service Cards */
.card-service { position: relative; overflow: hidden; }
.card-service::before {
  content      : '';
  position     : absolute;
  inset        : 0;
  background   : var(--grad-card);
  border-radius: inherit;
  opacity      : 0;
  transition   : opacity var(--dur-normal) var(--ease-smooth);
}
.card-service:hover::before { opacity: 1; }

.service-icon {
  width         : 3.5rem;
  height        : 3.5rem;
  border-radius : var(--radius-md);
  background    : var(--grad-main);
  color         : #fff;
  display       : flex;
  align-items   : center;
  justify-content: center;
  font-size     : 1.5rem;
  margin-bottom : 1.1rem;
  box-shadow    : var(--shadow-main);
  transition    : transform var(--dur-normal) var(--ease-spring);
  position: relative; z-index: 1;
}
.card-service:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.card-service h5, .card-service p, .card-service a { position: relative; z-index: 1; }

/* ─── 11. Floating Parallax عناصر معلق پس‌زمینه ────────── */
.floating-parallax {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.float-soft {
  filter: blur(70px);
  opacity: .35;
  z-index: 0;
}
.float-a { width: 260px; height: 260px; background: var(--main-300); top: 10%; right: 4%; }
.float-b { width: 200px; height: 200px; background: var(--accent-300); bottom: 5%; left: 8%; }
.float-c { width: 220px; height: 220px; background: var(--main-300); top: 15%; left: 6%; }
.float-d { width: 240px; height: 240px; background: var(--accent-300); top: 8%; right: 8%; }
.float-e { width: 200px; height: 200px; background: var(--main-300); bottom: 8%; right: 10%; }
[data-bs-theme="dark"] .float-soft { opacity: .18; }

/* ─── 12. Hero Section ────────────────────────────────── */
.hero-section {
  min-height     : 100vh;
  background     : var(--grad-hero);
  padding-top    : calc(var(--header-h) + 3rem);
  padding-bottom : calc(var(--section-py) + 3.5vw);
  position       : relative;
  overflow       : hidden;
  display        : flex;
  align-items    : center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
}

.hero-blob {
  border-radius : var(--radius-full);
  filter        : blur(80px);
  opacity       : .4;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: rgba(100,71,244,.5);
  top: -200px; right: -150px;
  animation: blobFloat 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: rgba(0,144,232,.4);
  bottom: -100px; left: -100px;
  animation: blobFloat 14s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 300px; height: 300px;
  background: rgba(163,148,251,.35);
  top: 50%; left: 40%;
  animation: blobFloat 8s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(30px,-20px) scale(1.05); }
  66%     { transform: translate(-20px,10px) scale(.97); }
}

.hero-dots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-dots span {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.5);
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity:.3; transform:scale(1); }
  50%     { opacity:1;  transform:scale(1.5); }
}

.hero-content { position: relative; z-index: 2; color: #fff; text-align: right; }

.hero-badge {
  display      : inline-flex;
  align-items  : center;
  gap          : .5rem;
  background   : rgba(255,255,255,.15);
  border       : 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding      : .4rem 1rem;
  font-size    : .85rem;
  font-weight  : 600;
  color        : #fff;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); }
  50%     { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero-title {
  font-size    : clamp(2.2rem, 5vw, 3.5rem);
  font-weight  : 900;
  line-height  : 1.15;
  color        : #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, #a394fb, #4dc3ff, #a394fb);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroAccentShift 5s linear infinite;
}
@keyframes heroAccentShift {
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size    : 1.1rem;
  color        : rgba(255,255,255,.8);
  max-width    : 520px;
  line-height  : 1.8;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; align-items: flex-start; }
.hero-stat strong { font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1.1; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .2rem; }

.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }

/* روح سیال — Soul Orb (المان امضای برند) */
.soul-orb-wrap { position: relative; width: 340px; height: 340px; flex-shrink: 0; }

.soul-orb {
  position: relative;
  width: 260px; height: 260px;
  margin: 40px auto 0;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .35s var(--ease-smooth);
}
.soul-layer {
  position: absolute; inset: 0;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: soulMorph 9s var(--ease-smooth) infinite;
}
.soul-layer-1 {
  background: linear-gradient(135deg, rgba(163,148,251,.55), rgba(0,144,232,.35));
  filter: blur(6px);
  animation-duration: 10s;
}
.soul-layer-2 {
  inset: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(100,71,244,.28));
  mix-blend-mode: screen;
  animation-duration: 7s;
  animation-direction: reverse;
}
.soul-layer-3 {
  inset: 34px;
  background: rgba(255,255,255,.32);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.4);
  animation-duration: 12s;
}
@keyframes soulMorph {
  0%,100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
  25%     { border-radius: 58% 42% 35% 65% / 60% 55% 45% 40%; }
  50%     { border-radius: 65% 35% 42% 58% / 40% 60% 55% 45%; }
  75%     { border-radius: 35% 65% 58% 42% / 55% 45% 40% 60%; }
}
.soul-core {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; color: rgba(255,255,255,.95);
  animation: ghostFloat 4s ease-in-out infinite;
}
.soul-particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.28); filter: blur(1px);
  animation: ghostFloat 5s ease-in-out infinite;
}
.p1 { width: 26px; height: 26px; bottom: 40px; left: 30px; animation-delay: .3s; }
.p2 { width: 16px; height: 16px; top: 30px; right: 40px; animation-delay: .9s; }
.p3 { width: 12px; height: 12px; bottom: 90px; right: 0; animation-delay: 1.4s; }

@keyframes ghostFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-16px); }
}

.hero-glass-card {
  position       : absolute;
  background     : rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  border         : 1px solid rgba(255,255,255,.3);
  border-radius  : var(--radius-lg);
  padding        : .7rem 1.1rem;
  color          : #fff;
  animation      : ghostFloat 5s ease-in-out infinite;
  white-space    : nowrap;
}
.card-tl { right: -10px; top: 10px; animation-delay: .5s; }
.card-br { left: -10px; bottom: 10px; animation-delay: 1.2s; }

/* ─── 13. Services Section ────────────────────────────── */
.services-section {
  padding: calc(var(--section-py) + 3.5vw) 0 var(--section-py);
  background: var(--color-bg-soft);
  position: relative;
  margin-top: -3.5vw;
}
[data-bs-theme="dark"] .services-section { background: var(--color-bg-muted); }

/* ─── 14. How Section ──────────────────────────────────── */
.how-section { padding: var(--section-py) 0; background: var(--color-bg); position: relative; overflow: hidden; }

.step-num {
  width          : 3rem;
  height         : 3rem;
  border-radius  : var(--radius-md);
  background     : var(--grad-main);
  color          : #fff;
  font-weight    : 900;
  font-size      : 1.1rem;
  display        : flex;
  align-items    : center;
  justify-content: center;
  margin-bottom  : .85rem;
  box-shadow     : var(--shadow-main);
  flex-shrink: 0;
}

.workflow-wrap { position: relative; padding-top: 1.75rem; }
.workflow-svg-desktop {
  position: absolute;
  top: 0; right: 0; left: 0;
  width: 100%; height: 95px;
  z-index: 0;
  pointer-events: none;
}
.workflow-steps-desktop { position: relative; z-index: 1; }
.workflow-step h6 { font-weight: 700; }
.workflow-step p { font-size: .82rem; line-height: 1.7; }

.workflow-track {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  opacity: .8;
}
.workflow-progress {
  fill: none;
  stroke: url(#workflowGradient);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.workflow-svg-mobile .workflow-progress { stroke: url(#workflowGradientV); }
.workflow-pulse {
  fill: #fff;
  filter: drop-shadow(0 0 6px var(--main-400)) drop-shadow(0 0 12px var(--accent-400));
  opacity: 0;
  transition: opacity .5s ease 1.6s;
}
.workflow-wrap.in-view .workflow-pulse,
.workflow-wrap-mobile.in-view .workflow-pulse { opacity: 1; }

.workflow-wrap-mobile { position: relative; }
.workflow-svg-mobile {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56px; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.workflow-steps-mobile { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.65rem; }
.workflow-step-mobile { display: flex; align-items: flex-start; gap: 1rem; }
.workflow-step-mobile .step-num { margin-bottom: 0; }
.workflow-step-mobile h6 { font-weight: 700; margin-bottom: .2rem; }
.workflow-step-mobile p { font-size: .82rem; line-height: 1.7; margin: 0; }

/* ─── 15. Stats Section — نوار کج معلق ─────────────────── */
.stats-section {
  padding    : 5rem 0;
  background : var(--grad-hero);
  position   : relative;
  overflow   : hidden;
  clip-path: polygon(0 3.5vw, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
  margin: -1px 0;
}
.stats-section::before {
  content  : '';
  position : absolute;
  inset    : 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display         : flex;
  align-items     : stretch;
  justify-content : center;
  gap             : 0;
  border-radius   : var(--radius-xl);
  background      : rgba(255,255,255,.08);
  backdrop-filter : blur(16px);
  border          : 1px solid rgba(255,255,255,.15);
  overflow        : hidden;
}

.stat-card {
  flex           : 1;
  display        : flex;
  flex-direction : column;
  align-items    : center;
  justify-content: center;
  padding        : 2.5rem 1.5rem;
  text-align     : center;
  transition     : background var(--dur-normal) var(--ease-smooth);
  position       : relative;
}
.stat-card:hover { background: rgba(255,255,255,.06); }

.stat-icon {
  width          : 3rem;
  height         : 3rem;
  border-radius  : var(--radius-md);
  background     : rgba(255,255,255,.15);
  display        : flex;
  align-items    : center;
  justify-content: center;
  font-size      : 1.3rem;
  color          : #fff;
  margin-bottom  : .85rem;
}

.stat-number { display: block; font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: .35rem; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.stat-divider-v { width: 1px; background: rgba(255,255,255,.15); align-self: stretch; }

/* ─── 16. Portfolio Section ────────────────────────────── */
.portfolio-section { padding: var(--section-py) 0; background: var(--color-bg-soft); position: relative; }
.portfolio-section .row.g-4 { --bs-gutter-x: 2.5rem; --bs-gutter-y: 2.5rem; }
[data-bs-theme="dark"] .portfolio-section { background: var(--color-bg-muted); }

.portfolio-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.filter-btn {
  background   : var(--color-surface);
  border       : 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding      : .5rem 1.25rem;
  font-family  : var(--font-primary);
  font-size    : .875rem;
  font-weight  : 600;
  color        : var(--color-text-muted);
  cursor       : pointer;
  transition   : all var(--dur-fast) var(--ease-smooth);
}
.filter-btn:hover, .filter-btn.active {
  background   : var(--main-500);
  border-color : var(--main-500);
  color        : #fff;
  box-shadow   : var(--shadow-main);
  transform    : translateY(-2px);
}

.card-portfolio { padding: 0; overflow: visible; position: relative; }

.portfolio-img { position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.portfolio-media {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-slow) var(--ease-smooth);
}
.portfolio-media i { font-size: 4rem; color: rgba(255,255,255,.7); }
.card-portfolio:hover .portfolio-media { transform: scale(1.08); }

.portfolio-body { padding: 1.25rem 1.5rem 1.5rem; }
.portfolio-body .tag {
  font-size    : .75rem;
  font-weight  : 700;
  color        : var(--main-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.portfolio-body h5 { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }

/* دکمهٔ عمودی گوشهٔ کارت — نیمی بیرون، نیمی داخل، ارتفاع نصف کارت */
.portfolio-edge-btn {
  position: absolute;
  top: 50%; left: -1.45rem;
  height: 52%;
  width: 2.9rem;
  transform: translateY(-50%) translateX(0);
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-main);
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px rgba(100,71,244,.35), 0 0 0 5px var(--color-surface);
  transition: transform var(--dur-normal) var(--ease-spring), box-shadow var(--dur-normal) var(--ease-smooth);
  z-index: 3;
  overflow: hidden;
}
/* ردیف افقی معمولی (متن + آیکون درست کنار هم) که یک‌جا می‌چرخد؛
   دیگر به writing-mode متکی نیست تا ترتیب آیتم‌ها به‌هم نریزد */
.portfolio-edge-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  white-space: nowrap;
  transform: rotate(-90deg);
  color: #fff;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .03em;
  transition: transform var(--dur-normal) var(--ease-spring);
}
.portfolio-edge-btn-inner i { font-size: .82rem; line-height: 1; }
.portfolio-edge-btn:hover,
.card-portfolio:hover .portfolio-edge-btn {
  transform: translateY(-50%) translateX(-5px);
  box-shadow: 0 16px 38px rgba(100,71,244,.5), 0 0 0 5px var(--color-surface);
}
.card-portfolio:hover .portfolio-edge-btn-inner { transform: rotate(-90deg) translateX(-3px); }

@media (max-width: 575.98px) {
  .portfolio-edge-btn { left: -1.1rem; width: 2.5rem; }
  .portfolio-edge-btn:hover, .card-portfolio:hover .portfolio-edge-btn { transform: translateY(-50%) translateX(-3px); }
}

/* ─── 17. Packages Section ─────────────────────────────── */
.packages-section { padding: var(--section-py) 0; background: var(--color-bg); }

.card-package {
  display: flex; flex-direction: column; padding: 2rem; position: relative; overflow: hidden;
  transition: transform 450ms var(--ease-spring), box-shadow 450ms var(--ease-smooth),
              filter 450ms var(--ease-smooth), opacity 450ms var(--ease-smooth), background 450ms var(--ease-smooth);
}
@supports selector(:has(a)) {
  .packages-section .row:has(.card-package:hover) .card-package:not(:hover) {
    filter: blur(3px) saturate(.85);
    opacity: .55;
    transform: scale(.955) !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(calc(var(--glass-blur) / 2));
  }
  .packages-section .row:has(.card-package:hover) .card-package:not(.card-package-featured):hover {
    transform: scale(1.045) translateY(-6px) !important;
    box-shadow: var(--shadow-xl);
    z-index: 5;
  }
  .packages-section .row:has(.card-package-featured:hover) .card-package-featured:hover {
    box-shadow: 0 22px 70px rgba(100,71,244,.55) !important;
    z-index: 5;
  }
}

.package-badge {
  display       : inline-block;
  font-size     : .72rem;
  font-weight   : 800;
  color         : var(--main-600);
  background    : var(--main-50);
  border        : 1px solid var(--main-200);
  border-radius : var(--radius-full);
  padding       : .25rem .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom : 1.25rem;
  align-self    : flex-start;
}
.package-badge-featured { background: var(--grad-main); color: #fff; border-color: transparent; }

.card-package-featured {
  background   : var(--grad-main);
  border-color : transparent;
  box-shadow   : var(--shadow-main);
  transform: rotate(0deg) !important;
}
.card-package-featured:hover { box-shadow: 0 16px 56px rgba(100,71,244,.5); transform: translateY(-6px) !important; }
.card-package-featured .package-name,
.card-package-featured .package-desc,
.card-package-featured .package-features li { color: rgba(255,255,255,.95) !important; }
.card-package-featured .package-features li.disabled { color: rgba(255,255,255,.4) !important; }
.card-package-featured .package-features li i { color: rgba(255,255,255,.9) !important; }

.package-icon {
  width          : 3.5rem; height: 3.5rem;
  border-radius  : var(--radius-md);
  background     : var(--main-50);
  color          : var(--main-500);
  display        : flex; align-items: center; justify-content: center;
  font-size      : 1.6rem;
  margin-bottom  : 1rem;
}
.card-package-featured .package-icon { background: rgba(255,255,255,.2); color: #fff; }

.package-name { font-size: 1.35rem; font-weight: 900; margin-bottom: .5rem; }
.package-desc { font-size: .875rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.package-features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.package-features li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--color-text-primary); }
.package-features li i { color: var(--main-500); font-size: .9rem; flex-shrink: 0; }
.package-features li.disabled { color: var(--color-text-light); }
.package-features li.disabled i { color: var(--color-text-light); }

/* ─── 18. Testimonials — کارت‌های معلق پراکنده ─────────── */
.testimonials-section { padding: var(--section-py) 0; background: var(--color-bg-soft); position: relative; overflow: hidden; }
[data-bs-theme="dark"] .testimonials-section { background: var(--color-bg-muted); }

.testimonials-scatter {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.75rem;
  padding: 3rem 0 4.5rem;
  position: relative;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .testimonials-scatter { gap: 2.25rem; }
}

.testimonial-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .85rem;
  transition: transform 480ms var(--ease-smooth), box-shadow 420ms var(--ease-smooth);
  will-change: transform;
  transform: rotate(var(--tilt, 0deg)) translateY(calc(var(--base-y, 0px) + var(--parallax-y, 0px)));
}
.testimonial-glass:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.06) !important;
  box-shadow: var(--shadow-xl);
  z-index: 6;
}

.tg-1 { --tilt: -5deg;   --base-y: 10px;  grid-column: 1 / 4; grid-row: 1; z-index: 1; }
.tg-2 { --tilt: 4deg;    --base-y: -14px; grid-column: 4 / 7; grid-row: 1; z-index: 2; }
.tg-3 { --tilt: 3.2deg;  --base-y: -8px;  grid-column: 1 / 3; grid-row: 2; z-index: 3; }
.tg-4 { --tilt: -4.4deg; --base-y: 10px;  grid-column: 3 / 5; grid-row: 2; z-index: 2; }
.tg-5 { --tilt: 5.4deg;  --base-y: -10px; grid-column: 5 / 7; grid-row: 2; z-index: 3; }
.tg-6 { --tilt: -3.6deg; --base-y: 4px;   grid-column: 2 / 6; grid-row: 3; z-index: 1; max-width: 66%; margin: .5rem auto 0; }

.rating { color: #fbbf24; font-size: 1.1rem; letter-spacing: .1em; }

.testimonial-glass blockquote {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
  position: relative;
  padding-right: 1.2rem;
}
.testimonial-glass blockquote::before {
  content: '"';
  position: absolute; top: -.5rem; right: 0;
  font-size: 3rem;
  color: var(--main-200);
  font-family: Georgia, serif;
  line-height: 1;
}

.author { display: flex; align-items: center; gap: .85rem; }
.avatar {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: var(--grad-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: .9rem; font-weight: 700; }
.author-info span { font-size: .78rem; color: var(--color-text-muted); }

@media (min-width: 576px) and (max-width: 991.98px) {
  .testimonials-scatter { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; padding: 2rem 0 2.5rem; }
  .testimonial-glass {
    grid-column: auto !important; grid-row: auto !important;
    max-width: 100% !important; margin: 0 !important;
  }
}
@media (max-width: 575.98px) {
  .testimonials-scatter { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 0 2rem; }
  .testimonial-glass {
    grid-column: 1 !important; grid-row: auto !important;
    max-width: 100% !important; margin: 0 !important;
    --tilt: 0deg; --base-y: 0px;
  }
}

/* ─── 19. Footer ──────────────────────────────────────── */
.footer-sol { padding: 1rem .75rem; }

.footer-inner {
  background    : var(--neutral-900);
  padding       : calc(4rem + 3vw) 0 2rem;
  position      : relative;
  overflow      : hidden;
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.footer-sol .footer-inner { border-radius: var(--radius-xl); }
.footer-inner::before {
  content  : '';
  position : absolute;
  top      : 0; right: 0;
  width    : 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,71,244,.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-brand {
  font-size    : 1.6rem;
  font-weight  : 900;
  background   : var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display      : block;
  margin-bottom: .85rem;
}

.footer-sol p { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.8; }
.footer-sol h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: .95rem; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: .875rem;
  display: flex; align-items: center; gap: .4rem;
  transition: color var(--dur-fast) var(--ease-smooth);
}
.footer-links a:hover { color: var(--main-300); }
.footer-links a i { font-size: .75rem; color: var(--main-400); }

.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-link {
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  transition: all var(--dur-fast) var(--ease-smooth);
}
.social-link:hover {
  background: var(--main-500); border-color: var(--main-500); color: #fff;
  transform: translateY(-3px); box-shadow: var(--shadow-main);
}

.footer-trust { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .75rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); padding: .45rem .9rem;
  color: rgba(255,255,255,.6); font-size: .78rem; font-weight: 600;
  transition: all var(--dur-fast) var(--ease-smooth);
}
.trust-badge:hover { background: rgba(100,71,244,.2); border-color: rgba(100,71,244,.4); color: var(--main-300); }
.trust-badge i { font-size: .9rem; color: var(--main-400); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 2.5rem 0 1.5rem; }

/* ─── 20. Floating Icons ──────────────────────────────── */
.float-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.float-icon-main   { background: var(--main-50);   color: var(--main-500); }
.float-icon-accent { background: var(--accent-50); color: var(--accent-500); }
[data-bs-theme="dark"] .float-icon-main   { background: rgba(100,71,244,.15); }
[data-bs-theme="dark"] .float-icon-accent { background: rgba(0,144,232,.12); }

/* ─── 21. Preloader ───────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--grad-hero);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 1.25rem;
  transition: opacity .5s var(--ease-smooth), visibility .5s var(--ease-smooth);
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo { font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -.03em; }
.preloader-orb {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #fff, rgba(163,148,251,.5));
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  animation: soulMorph 2.4s ease-in-out infinite, ghostFloat 1.6s ease-in-out infinite;
}

/* ─── 22. حباب مایع تغییر تم (Theme Bubble) ───────────── */
.theme-bubble-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 9997; filter: url(#goo-filter); }
.theme-bubble {
  position: absolute;
  top: var(--y); left: var(--x);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bubble-color, var(--main-500));
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1s cubic-bezier(.7,0,.3,1);
}
.theme-bubble.drop { width: 22px; height: 22px; }
.theme-bubble-wrap.expand .main { transform: translate(-50%, -50%) scale(var(--scale-main)); }
.theme-bubble-wrap.expand .d1 { transform: translate(calc(-50% - 70px), calc(-50% - 45px)) scale(calc(var(--scale-main) * .5)); transition-delay: .05s; }
.theme-bubble-wrap.expand .d2 { transform: translate(calc(-50% + 80px), calc(-50% + 35px)) scale(calc(var(--scale-main) * .45)); transition-delay: .08s; }
.theme-bubble-wrap.expand .d3 { transform: translate(calc(-50% + 15px), calc(-50% - 90px)) scale(calc(var(--scale-main) * .4)); transition-delay: .03s; }
.theme-bubble-wrap:not(.expand) .theme-bubble { transition: transform 1s var(--ease-spring); }

/* ─── 23. Forms ───────────────────────────────────────── */
.form-control, .form-select {
  font-family   : var(--font-primary);
  background    : var(--color-surface);
  border        : 1.5px solid var(--color-border);
  border-radius : var(--radius-md);
  color         : var(--color-text-primary);
  padding       : .7rem 1rem;
  font-size     : .925rem;
  transition    : all var(--dur-fast) var(--ease-smooth);
}
.form-control:focus, .form-select:focus {
  border-color : var(--main-400);
  box-shadow   : 0 0 0 3px rgba(100,71,244,.15);
  outline      : none;
  background   : var(--color-surface);
  color        : var(--color-text-primary);
}
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: var(--color-text-primary);
}
[data-bs-theme="dark"] .form-control::placeholder { color: rgba(255,255,255,.25); }
[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus { background: rgba(255,255,255,.07); }
.form-label { font-weight: 600; font-size: .875rem; margin-bottom: .4rem; color: var(--color-text-primary); }

/* ─── 24. Back To Top ─────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: var(--grad-main);
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-main);
  opacity: 0; transform: translateY(20px);
  transition: all var(--dur-normal) var(--ease-spring);
  z-index: 1039;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(100,71,244,.45); }

/* ─── 25. Scroll Reveal Animations ────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

.reveal-scale { opacity: 0; transform: scale(.9); transition: opacity .6s var(--ease-out), transform .6s var(--ease-spring); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-blur { opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity .7s var(--ease-out), filter .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* ─── 26. Misc ────────────────────────────────────────── */
.hover-lift { transition: transform var(--dur-normal) var(--ease-spring); }
.hover-lift:hover { transform: translateY(-6px); }

/* ─── 27. Responsive ──────────────────────────────────── */
@media (max-width: 991.98px) {
  :root { --section-py: 4rem; --card-p: 1.5rem; --header-h: 4.5rem; }

  .hero-section { padding-top: calc(var(--header-h) + 2rem); text-align: center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%); }
  .hero-subtitle, .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-glass-card { display: none; }

  .services-section { margin-top: -5vw; padding-top: calc(4rem + 5vw); }
  .stats-section { clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); }
  .footer-inner { clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(4rem + 5vw); }

  .stats-grid { flex-wrap: wrap; border-radius: var(--radius-xl); }
  .stat-card { flex: 1 1 45%; }
  .stat-divider-v { display: none; }

  .seg-nav { display: none !important; }
}

@media (max-width: 575.98px) {
  :root { --section-py: 3rem; }
  .hero-title { font-size: 2rem; }
  .btn-lg { padding: .75rem 1.75rem; font-size: .925rem; }
  .stat-card { flex: 1 1 100%; }
  .footer-inner { border-radius: var(--radius-lg); }
  .header-flex { gap: .4rem; }
  .seg-brand { padding: .5rem 1rem; }
  .navbar-brand { font-size: 1.2rem; }
  .seg-actions { gap: .4rem; padding: .4rem .5rem; }
  .section-title-bg { font-size: clamp(2.5rem, 16vw, 4.5rem); top: 40%; }
}

@media (max-width: 359.98px) {
  .seg-brand { padding: .45rem .8rem; }
  .navbar-brand { font-size: 1.05rem; }
  .btn-theme-toggle { width: 2.15rem; height: 2.15rem; }
  .navbar-toggler { padding: .3rem .5rem; }
}

/* ─── 28. Print ───────────────────────────────────────── */
@media print {
  .site-header, #backToTop, #preloader, .hero-blob, .hero-dots,
  .cursor-wrap, .theme-bubble-wrap, .floating-parallax { display: none !important; }
  .hero-section { min-height: auto; padding: 2rem 0; background: #fff; clip-path: none; }
  .hero-title, .hero-subtitle { color: #000; }
}

/* ─── 29. حرکت کاهش‌یافته (Reduced Motion) ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}