@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   02. VAZIRMATN FD — PERSIAN DIGITS
   ============================================================ */

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn FD";
  src: url("/fonts/Vazirmatn-FD-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   03. DESIGN SYSTEM
   ============================================================ */

:root {
  /* Background */
  --bg-main: #070b14;
  --bg-secondary: #0b1120;
  --bg-tertiary: #0f172a;

  /* Surface */
  --surface-1: #101827;
  --surface-2: #121d30;
  --surface-3: #162238;
  --surface-hover: #17263f;

  /* Blue */
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* Cyan */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Borders */
  --border: rgba(148, 163, 184, 0.09);
  --border-light: rgba(148, 163, 184, 0.14);
  --border-blue: rgba(59, 130, 246, 0.25);
  --border-blue-strong: rgba(59, 130, 246, 0.42);

  /* Glow */
  --blue-glow: rgba(59, 130, 246, 0.18);
  --cyan-glow: rgba(34, 211, 238, 0.12);

  /* Shadows */
  --shadow-xs:
    0 2px 8px rgba(0, 0, 0, 0.15);

  --shadow-sm:
    0 6px 18px rgba(0, 0, 0, 0.18);

  --shadow-md:
    0 12px 30px rgba(0, 0, 0, 0.22);

  --shadow-lg:
    0 18px 42px rgba(0, 0, 0, 0.28);

  --shadow-blue:
    0 10px 30px rgba(37, 99, 235, 0.20);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 160ms var(--ease-out);
  --transition-normal: 220ms var(--ease-out);
}


/* ============================================================
   04. RESET
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--text-primary);

  font-family:
    "Vazirmatn FD",
    "Vazirmatn",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.8;

  background:
    radial-gradient(
      850px 430px at 92% -8%,
      rgba(37, 99, 235, 0.13),
      transparent 68%
    ),
    radial-gradient(
      650px 360px at 3% 5%,
      rgba(34, 211, 238, 0.055),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      var(--bg-secondary) 0%,
      var(--bg-main) 100%
    );

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   05. SELECTION
   ============================================================ */

::selection {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.75);
}


/* ============================================================
   06. GLOBAL
   ============================================================ */

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

button,
input,
select,
textarea {
  font: inherit;
}

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

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}


/* ============================================================
   07. BACKGROUND GRID
   ============================================================ */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  pointer-events: none;
  z-index: 0;

  opacity: 0.16;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px
    );

  background-size: 44px 44px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55),
      transparent 72%
    );
}


/* ============================================================
   08. OPTIONAL TEXTURE
   ============================================================ */

body::after {
  content: "";
  position: fixed;
  inset: 0;

  pointer-events: none;
  z-index: 0;

  background-image:
    url("/backgrounds/scroll-bg.webp");

  background-size: 280px;
  background-repeat: repeat;

  opacity: 0.012;
}


/* ============================================================
   09. MAIN STACK
   ============================================================ */

header,
main,
footer {
  position: relative;
  z-index: 1;
}


/* ============================================================
   10. GLASS / HEADER
   ============================================================ */

.glass {
  background:
    rgba(8, 14, 27, 0.84);

  border:
    1px solid var(--border);

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.14);

  -webkit-backdrop-filter:
    blur(9px);

  backdrop-filter:
    blur(9px);
}

.glass-strong {
  background:
    rgba(8, 14, 27, 0.93);

  border:
    1px solid var(--border-light);

  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.20);

  -webkit-backdrop-filter:
    blur(12px);

  backdrop-filter:
    blur(12px);
}


/* ============================================================
   11. MODERN CARD
   ============================================================ */

.neu-card,
.modern-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(19, 31, 52, 0.98),
      rgba(12, 21, 37, 0.98)
    );

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-sm);

  overflow: hidden;

  /*
   * مهم:
   * کارت در Hover جابه‌جا نمی‌شود.
   */
  transform: none !important;

  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background var(--transition-normal);
}


/* Top highlight */

.neu-card::before,
.modern-card::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 1px;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(96, 165, 250, 0.24) 50%,
      transparent 100%
    );
}


/* Card hover:
   فقط کمی سایه + border
   بدون translate
*/

.neu-card:hover,
.modern-card:hover {
  transform: none !important;

  background:
    linear-gradient(
      145deg,
      rgba(21, 35, 59, 0.98),
      rgba(13, 23, 40, 0.98)
    );

  border-color:
    rgba(59, 130, 246, 0.18);

  box-shadow:
    var(--shadow-md);
}


/* ============================================================
   12. CLEAN SURFACE
   ============================================================ */

.surface {
  background:
    rgba(16, 24, 39, 0.86);

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-xs);
}

.surface:hover {
  border-color:
    rgba(59, 130, 246, 0.14);

  box-shadow:
    var(--shadow-sm);
}


/* ============================================================
   13. INNER SURFACE
   ============================================================ */

.neu-pressed {
  background:
    rgba(7, 13, 25, 0.72);

  border:
    1px solid rgba(148, 163, 184, 0.07);

  border-radius:
    var(--radius-md);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.015);
}


/* ============================================================
   14. BUTTON
   ============================================================ */

.neu-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  min-height: 42px;

  padding:
    0.65rem
    1rem;

  color:
    var(--text-secondary);

  background:
    rgba(20, 32, 53, 0.92);

  border:
    1px solid rgba(148, 163, 184, 0.10);

  border-radius:
    var(--radius-md);

  box-shadow:
    var(--shadow-xs);

  cursor: pointer;

  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);

  /*
   * هیچ حرکت در Hover
   */
  transform: none !important;
}

.neu-button:hover {
  color: #ffffff;

  background:
    rgba(30, 48, 80, 0.98);

  border-color:
    rgba(96, 165, 250, 0.25);

  box-shadow:
    var(--shadow-sm);
}

.neu-button:active {
  background:
    rgba(24, 39, 64, 0.98);

  box-shadow:
    var(--shadow-xs);
}


/* ============================================================
   15. PRIMARY BUTTON
   ============================================================ */

.btn-primary {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  min-height: 44px;

  padding:
    0.7rem
    1.15rem;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #3b82f6,
      #2563eb
    );

  border:
    1px solid rgba(147, 197, 253, 0.18);

  border-radius:
    var(--radius-md);

  box-shadow:
    var(--shadow-blue);

  cursor: pointer;

  transform: none !important;

  transition:
    filter var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-primary:hover {
  filter: brightness(1.06);

  border-color:
    rgba(191, 219, 254, 0.32);

  box-shadow:
    0 12px 32px rgba(37, 99, 235, 0.28);
}

.btn-primary:active {
  filter:
    brightness(0.98);

  box-shadow:
    0 7px 20px rgba(37, 99, 235, 0.20);
}


/* ============================================================
   16. SECONDARY BUTTON
   ============================================================ */

.btn-secondary {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  min-height: 44px;

  padding:
    0.7rem
    1.15rem;

  color:
    var(--text-secondary);

  background:
    rgba(15, 23, 42, 0.82);

  border:
    1px solid var(--border-light);

  border-radius:
    var(--radius-md);

  transform: none !important;

  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  background:
    rgba(24, 39, 64, 0.96);

  border-color:
    rgba(96, 165, 250, 0.22);

  box-shadow:
    var(--shadow-xs);
}


/* ============================================================
   17. GRADIENT TEXT
   ============================================================ */

.text-gradient {
  background:
    linear-gradient(
      120deg,
      #93c5fd 0%,
      #60a5fa 45%,
      #22d3ee 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* ============================================================
   18. BLUE GLOW
   ============================================================ */

.blue-glow {
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06),
    0 10px 30px var(--blue-glow);
}

.cyan-glow {
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.05),
    0 10px 30px var(--cyan-glow);
}


/* ============================================================
   19. HERO
   ============================================================ */

.hero-wash {
  position: relative;

  overflow: hidden;

  border-radius:
    var(--radius-xl);

  background:
    radial-gradient(
      500px 230px at 88% 10%,
      rgba(37, 99, 235, 0.16),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      #14213a,
      #0b1323
    );

  border:
    1px solid rgba(96, 165, 250, 0.11);

  box-shadow:
    var(--shadow-md);
}

.hero-wash::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.035),
      transparent 30%
    );
}

.hero-wash::after {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  left: -120px;
  bottom: -190px;

  pointer-events: none;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(34, 211, 238, 0.08),
      transparent 68%
    );
}

.hero-wash > * {
  position: relative;
  z-index: 1;
}


/* ============================================================
   20. BADGE
   ============================================================ */

.badge-blue {
  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  min-height: 30px;

  padding:
    0.25rem
    0.72rem;

  color:
    #bfdbfe;

  background:
    rgba(37, 99, 235, 0.10);

  border:
    1px solid rgba(59, 130, 246, 0.20);

  border-radius:
    var(--radius-pill);

  font-size:
    0.78rem;

  font-weight:
    600;
}


/* ============================================================
   21. STATUS
   ============================================================ */

.status-dot {
  width: 8px;
  height: 8px;

  flex: 0 0 auto;

  border-radius: 50%;

  background:
    #38bdf8;

  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.07),
    0 0 10px rgba(56, 189, 248, 0.35);
}


/* ============================================================
   22. ICON BOX
   ============================================================ */

.icon-box {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  color:
    #93c5fd;

  background:
    linear-gradient(
      145deg,
      rgba(59, 130, 246, 0.15),
      rgba(37, 99, 235, 0.06)
    );

  border:
    1px solid rgba(59, 130, 246, 0.14);

  border-radius:
    12px;
}


/* ============================================================
   23. DIVIDER
   ============================================================ */

.divider {
  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(148, 163, 184, 0.13),
      transparent
    );
}


/* ============================================================
   24. INPUT
   ============================================================ */

.input-modern {
  width: 100%;

  min-height: 46px;

  padding:
    0.72rem
    0.9rem;

  color:
    var(--text-primary);

  background:
    rgba(10, 17, 31, 0.86);

  border:
    1px solid rgba(148, 163, 184, 0.10);

  border-radius:
    var(--radius-md);

  outline: none;

  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.input-modern::placeholder {
  color:
    var(--text-subtle);
}

.input-modern:hover {
  border-color:
    rgba(148, 163, 184, 0.16);
}

.input-modern:focus {
  background:
    rgba(10, 18, 34, 0.96);

  border-color:
    rgba(59, 130, 246, 0.46);

  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.09);
}


/* ============================================================
   25. TABLE
   ============================================================ */

.table-modern {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  background:
    rgba(12, 20, 35, 0.68);

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  overflow: hidden;
}

.table-modern th,
.table-modern td {
  padding:
    0.85rem 1rem;

  border-bottom:
    1px solid rgba(148, 163, 184, 0.055);
}

.table-modern th {
  color:
    #bfdbfe;

  background:
    rgba(37, 99, 235, 0.09);

  font-weight:
    700;
}

.table-modern tbody tr {
  transition:
    background var(--transition-fast);
}

.table-modern tbody tr:hover {
  background:
    rgba(59, 130, 246, 0.035);
}

.table-modern tbody tr:last-child td {
  border-bottom: 0;
}


/* ============================================================
   26. PROGRESS
   ============================================================ */

.progress-modern {
  width: 100%;
  height: 8px;

  overflow: hidden;

  background:
    rgba(30, 41, 59, 0.90);

  border-radius:
    999px;
}

.progress-modern > span {
  display: block;

  width: 0;
  height: 100%;

  border-radius:
    inherit;

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #38bdf8
    );

  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.18);

  transition:
    width 300ms var(--ease-out);
}


/* ============================================================
   27. ALERTS
   ============================================================ */

.alert-blue,
.alert-success,
.alert-danger {
  padding:
    0.85rem 1rem;

  border-radius:
    var(--radius-md);
}

.alert-blue {
  color:
    #bfdbfe;

  background:
    rgba(37, 99, 235, 0.08);

  border:
    1px solid rgba(59, 130, 246, 0.18);
}

.alert-success {
  color:
    #a7f3d0;

  background:
    rgba(16, 185, 129, 0.07);

  border:
    1px solid rgba(16, 185, 129, 0.16);
}

.alert-danger {
  color:
    #fecaca;

  background:
    rgba(239, 68, 68, 0.07);

  border:
    1px solid rgba(239, 68, 68, 0.16);
}


/* ============================================================
   28. NAVIGATION LINKS
   ============================================================ */

.nav-link {
  position: relative;

  color:
    #cbd5e1;

  transition:
    color var(--transition-fast);
}

.nav-link::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  border-radius:
    2px;

  background:
    linear-gradient(
      90deg,
      #3b82f6,
      #22d3ee
    );

  transition:
    width var(--transition-normal);
}

.nav-link:hover {
  color:
    #ffffff;
}

.nav-link:hover::after {
  width:
    100%;
}


/* ============================================================
   29. MOBILE MENU
   ============================================================ */

.mobile-menu {
  background:
    rgba(8, 14, 27, 0.96);

  border:
    1px solid var(--border);

  border-radius:
    0 0 var(--radius-lg) var(--radius-lg);

  box-shadow:
    var(--shadow-md);
}


/* ============================================================
   30. MATHJAX
   ============================================================ */

mjx-container {
  direction: ltr;
  text-align: center;

  max-width: 100%;

  overflow-x: auto;
  overflow-y: hidden;
}


/* ============================================================
   31. NUMBERS / TECHNICAL
   ============================================================ */

.digits-fa,
.tabular-nums,
.font-mono {
  font-variant-numeric:
    tabular-nums;
}

.font-latin {
  font-family:
    "Vazirmatn",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
}

code,
pre,
kbd,
.font-code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}


/* ============================================================
   32. TOOLTIP
   ============================================================ */

.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);

  position: absolute;

  right: 50%;
  bottom: calc(100% + 8px);

  transform:
    translateX(50%);

  padding:
    0.32rem 0.58rem;

  white-space: nowrap;

  color:
    #e2e8f0;

  background:
    #111827;

  border:
    1px solid rgba(148, 163, 184, 0.10);

  border-radius:
    8px;

  font-size:
    0.74rem;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}


/* ============================================================
   33. FADE IN
   ============================================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation:
    fadeUp 320ms var(--ease-out) both;
}


/* ============================================================
   34. FLOAT IN
   ============================================================ */

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-in {
  animation:
    floatIn 360ms var(--ease-out) both;
}


/* ============================================================
   35. SOFT PULSE
   ============================================================ */

@keyframes softPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.soft-pulse {
  animation:
    softPulse 2.3s ease-in-out infinite;
}


/* ============================================================
   36. SKELETON
   ============================================================ */

.skeleton {
  position: relative;

  overflow: hidden;

  background:
    #111a2b;

  border-radius:
    var(--radius-md);
}

.skeleton::after {
  content: "";

  position: absolute;

  inset: 0;

  transform:
    translateX(-100%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.035),
      transparent
    );

  animation:
    skeletonLoading 1.4s infinite;
}

@keyframes skeletonLoading {
  100% {
    transform:
      translateX(100%);
  }
}


/* ============================================================
   37. ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline:
    2px solid rgba(96, 165, 250, 0.9);

  outline-offset:
    3px;
}


/* ============================================================
   38. ALPINE
   ============================================================ */

[x-cloak] {
  display: none !important;
}


/* ============================================================
   39. SCROLLBAR
   ============================================================ */

html {
  scrollbar-width: thin;

  scrollbar-color:
    #2563eb
    #070b14;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background:
    #070b14;
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #2563eb,
      #0891b2
    );

  border:
    2px solid #070b14;

  border-radius:
    999px;
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #3b82f6,
      #06b6d4
    );
}


/* ============================================================
   40. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .glass {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .neu-card,
  .modern-card,
  .hero-wash {
    border-radius:
      var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .neu-button,
  .btn-primary,
  .btn-secondary {
    min-height: 40px;
  }

  .icon-box {
    width: 38px;
    height: 38px;
  }
}


/* ============================================================
   41. TOUCH DEVICES
   ============================================================ */

@media (hover: none) {
  .neu-card:hover,
  .modern-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm);
  }

  .neu-button:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none !important;
  }
}


/* ============================================================
   42. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior:
      auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.001ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.001ms !important;
  }
}
