:root {
  --bg: #04060b;
  --bg-2: #060a12;
  --bg-3: #0a101c;
  --panel: #0a111d;
  --panel-2: #0d1626;
  --panel-3: #121c2f;
  --border: rgba(150, 184, 220, 0.14);
  --border-soft: rgba(150, 184, 220, 0.08);
  --accent: #2fd6f0;
  --accent-strong: #1fb8d6;
  --accent-deep: #0e6f86;
  --accent-glow: rgba(47, 214, 240, 0.28);
  --accent-soft: rgba(47, 214, 240, 0.1);
  --text: #eaf2f9;
  --muted: #93a7bd;
  --faint: #5e7189;
  --green: #38e389;
  --red: #f2554d;
  --amber: #f2b64d;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1280px;
  --header-h: 80px;
  --font-fa: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Syne", "Vazirmatn", "Segoe UI", sans-serif;
  --font-ui: "Space Grotesk", "Vazirmatn", "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-1: 0 24px 70px -18px rgba(0, 0, 0, 0.65);
  --shadow-2: 0 10px 34px -12px rgba(0, 0, 0, 0.55);
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-fa);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(24, 88, 128, 0.2), transparent 60%),
    radial-gradient(900px 500px at -10% 18%, rgba(24, 70, 120, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.85;
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(47, 214, 240, 0.3);
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #1a2436;
  border-radius: 20px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #263350;
}

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

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

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

.ltr {
  direction: ltr;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.hidden {
  display: none !important;
}


.page {
  display: none;
  padding: calc(var(--header-h) + clamp(26px, 5vw, 60px)) 0 clamp(70px, 9vw, 130px);
}

.page.active {
  display: block;
}

.page-home.page {
  padding-top: 0;
  padding-bottom: 0;
}

main {
  position: relative;
}

section[id],
[data-anchor] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section {
  position: relative;
  padding-block: clamp(70px, 10vw, 150px);
}

.section + .section {
  padding-top: 0;
}

.section-tight {
  padding-block: clamp(46px, 7vw, 100px);
}


.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}

.section.in {
  opacity: 1;
  transform: none;
}

.section + .section {
  padding-top: clamp(40px, 6vw, 90px);
}


.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  direction: ltr;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.75;
}

.page-head {
  margin-bottom: clamp(34px, 5vw, 64px);
}

.page-head .kicker {
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.page-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 640px;
}

.page-title em,
.accent {
  font-style: normal;
  color: var(--accent);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 15px;
}

.display-num {
  font-family: var(--font-ui);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.mono {
  font-family: var(--font-mono);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}


.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-160%);
  transition: transform 0.8s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(160%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #032028;
  box-shadow: 0 10px 34px -10px var(--accent-glow), 0 0 0 1px rgba(47, 214, 240, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5fe3fa 0%, var(--accent) 100%);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px -12px var(--accent-glow), 0 0 0 1px rgba(47, 214, 240, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.985);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: rgba(47, 214, 240, 0.6);
  color: var(--accent);
  transform: translateY(-4px);
  background: rgba(47, 214, 240, 0.08);
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
  color: var(--text);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn .btn-label {
  position: relative;
  z-index: 1;
}

.t-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.t-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.t-link:hover {
  color: var(--accent);
}

.t-link:hover::after {
  transform: scaleX(1);
}

.t-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}


.progress-wrap {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.progress-wrap.active {
  opacity: 1;
}

.progress-track {
  height: 3px;
  width: 100%;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  animation: loaderShimmer 1.6s linear infinite;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #aef0ff);
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width 0.15s linear;
}

.progress-percent {
  position: absolute;
  top: 10px;
  inset-inline-end: 18px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: rgba(6, 10, 18, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  backdrop-filter: blur(8px);
  direction: ltr;
}

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


.pt-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.pt-overlay .pt-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 9vw, 120px);
  color: var(--text);
  display: flex;
  overflow: hidden;
  direction: ltr;
}

.pt-overlay .pt-word span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}

.pt-overlay .pt-word span:nth-child(2) {
  color: var(--accent);
  margin-inline-start: 0.25em;
}

.pt-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(47, 214, 240, 0.05));
}

.pt-overlay.go {
  visibility: visible;
  pointer-events: auto;
  animation: ptIn 0.7s var(--ease-out) both;
}

.pt-overlay.go .pt-word span {
  transform: translateY(0);
}

.pt-overlay.leave {
  visibility: visible;
  pointer-events: auto;
  animation: ptOut 0.75s var(--ease-io) both;
}

@keyframes ptIn {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes ptOut {
  from { clip-path: inset(0 0 0 0); }
  to { clip-path: inset(100% 0 0 0); }
}


html.fx [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

html.fx [data-reveal="left"] {
  transform: translateX(-46px);
}

html.fx [data-reveal="right"] {
  transform: translateX(46px);
}

html.fx [data-reveal="scale"] {
  transform: scale(0.92);
}

html.fx [data-reveal="clip"] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: none;
  transition: clip-path 1.1s var(--ease-io);
  transition-delay: var(--d, 0s);
}

html.fx [data-reveal].in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

html.fx .mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

html.fx .hero-title .mask-line {
  display: flex;
  padding-bottom: 0;
  margin-bottom: 0;
}

html.fx .mask-line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}

html.fx .mask-line.in > span {
  transform: translateY(0);
}


.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(24px) scale(0.97);
  background: rgba(10, 17, 29, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(47, 214, 240, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease-out);
  z-index: 6000;
  backdrop-filter: blur(14px);
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.toast.ok {
  border-color: rgba(56, 227, 137, 0.5);
}


@media (hover: hover) and (pointer: fine) {
  html.fx.cursor-on,
  html.fx.cursor-on * {
    cursor: none !important;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7000;
    pointer-events: none;
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
    opacity: 0;
    will-change: transform;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(47, 214, 240, 0.55);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
      border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
  }

  html.fx.cursor-on .cursor-dot,
  html.fx.cursor-on .cursor-ring {
    opacity: 1;
  }

  .cursor-ring.grow {
    width: 62px;
    height: 62px;
    background: rgba(47, 214, 240, 0.08);
    border-color: rgba(47, 214, 240, 0.9);
  }

  .cursor-ring.text {
    width: 90px;
    height: 90px;
    border-color: transparent;
    background: rgba(47, 214, 240, 0.92);
  }

  .cursor-ring.text::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #032028;
    font-size: 12px;
    font-weight: 800;
  }
}


body.loaded:not(.home-body) .page.active {
  animation: pageFade 0.9s var(--ease-out) both;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3000;
  height: var(--header-h);
  transition: height 0.5s var(--ease-out), background-color 0.5s ease,
    border-color 0.5s ease, transform 0.55s var(--ease-out), box-shadow 0.5s ease;
  border-bottom: 1px solid transparent;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 11, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.header .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  height: 100%;
}

.header.is-solid {
  height: 70px;
  border-bottom-color: var(--border-soft);
  box-shadow: 0 16px 40px -22px rgba(0, 0, 0, 0.8);
}

.header.is-solid::before {
  opacity: 1;
}

.header.hide-up {
  transform: translateY(-100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(47, 214, 240, 0.35));
  transition: transform 0.6s var(--ease-out);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  direction: ltr;
  text-align: left;
}

.brand-text b span {
  color: var(--accent);
}

.brand-text small {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--faint);
  direction: ltr;
  text-align: left;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav > a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s ease, background-color 0.35s ease, transform 0.35s var(--ease-out);
  white-space: nowrap;
}

.nav > a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: 50%;
  left: 50%;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out), right 0.5s var(--ease-out), left 0.5s var(--ease-out);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav > a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.nav > a:hover::after {
  right: 16%;
  left: 16%;
  transform: scaleX(1);
  background: var(--accent-strong);
}

.nav > a.active {
  color: var(--accent);
}

.nav > a.active::after {
  right: 16%;
  left: 16%;
  transform: scaleX(1);
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.cart-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.4s var(--ease-out);
}

.cart-btn:hover {
  border-color: rgba(47, 214, 240, 0.6);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -3px;
  left: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #032028;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--bg), 0 0 16px var(--accent-glow);
  line-height: 1;
  direction: ltr;
}

.cart-count.show {
  display: inline-flex;
  animation: countPop 0.4s var(--ease-out);
}

@keyframes countPop {
  0% { transform: scale(0.4); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.menu-toggle:hover {
  border-color: var(--accent);
}

.menu-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-bars span {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease, top 0.5s var(--ease-out);
}

.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 6px; }
.menu-bars span:nth-child(3) { top: 12px; }

.menu-open .menu-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-open .menu-bars span:nth-child(2) {
  opacity: 0;
  transform: translateX(8px);
}

.menu-open .menu-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-foot {
  display: none;
}

.nav-close {
  display: none;
}

@media (max-width: 1080px) {
  .header .container {
    grid-template-columns: 1fr auto;
  }

  .header .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 96px 24px 44px;
    overflow: hidden;
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(47, 214, 240, 0.09), transparent 55%),
      rgba(3, 5, 9, 0.94);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  }

  .header .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.55s ease, visibility 0s;
  }

  .header .nav > a {
    font-size: clamp(24px, 6.4vw, 40px);
    font-weight: 700;
    font-family: var(--font-display);
    padding: 7px 18px;
    color: var(--text);
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out),
      color 0.3s ease;
  }

  .header .nav.open > a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.06s;
  }

  .header .nav.open > a:nth-child(1) { transition-delay: 0.1s; }
  .header .nav.open > a:nth-child(2) { transition-delay: 0.16s; }
  .header .nav.open > a:nth-child(3) { transition-delay: 0.22s; }
  .header .nav.open > a:nth-child(4) { transition-delay: 0.28s; }
  .header .nav.open > a:nth-child(5) { transition-delay: 0.34s; }
  .header .nav.open > a:nth-child(6) { transition-delay: 0.4s; }
  .header .nav.open > a:nth-child(7) { transition-delay: 0.46s; }
  .header .nav.open > a:nth-child(8) { transition-delay: 0.52s; }
  .header .nav.open > a:nth-child(9) { transition-delay: 0.58s; }

  .header .nav > a:hover {
    color: var(--accent);
  }

  .header .nav > a::after {
    display: none;
  }

  .header .nav-foot {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
  }

  .header .nav.open .nav-foot {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
  }

  .header .nav-foot .nf-divider {
    width: 1px;
    height: 34px;
    background: var(--border);
  }

  .header .nav-foot .nf-ip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-ui);
    direction: ltr;
  }

  .header .nav-foot .nf-ip b {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text);
  }

  .header .nav-foot .nf-ip small {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--faint);
    text-transform: uppercase;
  }

  .header .nav-socials {
    display: flex;
    gap: 10px;
  }

  .header .nav-socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.35s ease;
  }

  .header .nav-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
  }

  .header .nav-socials svg {
    width: 19px;
    height: 19px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.menu-open {
    overflow: hidden;
  }
}


.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 16px) 0 clamp(85px, 12.5vw, 155px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media .hero-bg {
  position: absolute;
  inset: -12% -8%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.08) brightness(0.8) hue-rotate(5deg);
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
  pointer-events: none;
}

.hero-media .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.2) 0%, rgba(4, 6, 11, 0.5) 50%, var(--bg) 100%);
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(780px 520px at 90% 58%, rgba(47, 214, 240, 0.1), transparent 62%),
    radial-gradient(520px 400px at 10% 6%, rgba(90, 50, 190, 0.08), transparent 58%),
    transparent;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 42% at 50% 34%, transparent 0%, rgba(4, 6, 11, 0.5) 64%, var(--bg) 100%),
    linear-gradient(180deg, rgba(4, 6, 11, 0.6) 0%, rgba(4, 6, 11, 0.12) 14%, rgba(4, 6, 11, 0.28) 50%, var(--bg) 100%);
  z-index: 1;
}

.hero-media .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 200, 240, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 200, 240, 0.03) 1px, transparent 1px);
  background-size: 66px 66px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(64% 54% at 50% 34%, #000 5%, transparent 82%);
  mask-image: radial-gradient(64% 54% at 50% 34%, #000 5%, transparent 82%);
  pointer-events: none;
  z-index: 1;
}

.hero-media .hero-glow {
  position: absolute;
  width: 56vw;
  height: 56vw;
  min-width: 440px;
  min-height: 440px;
  left: -14%;
  top: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 214, 240, 0.24), rgba(100, 60, 200, 0.1) 42%, transparent 70%);
  filter: blur(44px);
  animation: glowDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

.hero-media .hero-glow-2 {
  position: absolute;
  width: 36vw;
  height: 36vw;
  min-width: 250px;
  min-height: 250px;
  right: -6%;
  bottom: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 100, 240, 0.14), transparent 60%);
  filter: blur(54px);
  animation: glowDriftR 26s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

.hero-media .hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-media .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47, 214, 240, 0.05) 0%, transparent 42%),
    linear-gradient(225deg, rgba(220, 120, 240, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 130, 60, 0.03) 0%, transparent 52%),
    linear-gradient(90deg, transparent 0%, rgba(47, 214, 240, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-media .hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

@keyframes heroZoom {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(1vw, 0.5vh, 0) scale(1.09); }
}

@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(10vw, 8vh, 0) scale(1.18); }
}

@keyframes glowDriftR {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-8vw, -6vh, 0) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1220px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 700;
  letter-spacing: 0.64em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(16px, 3vw, 30px);
  direction: ltr;
  text-shadow: 0 0 28px rgba(47, 214, 240, 0.25);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: clamp(22px, 3.4vw, 56px);
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 11.2vw, 172px);
  line-height: 0.9;
  letter-spacing: -0.012em;
  direction: ltr;
  margin: 0 0 clamp(18px, 2.6vw, 30px);
  text-shadow: 0 0 65px rgba(47, 214, 240, 0.05);
}

.hero-title .line {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 0.03em;
  margin-bottom: -0.03em;
}

.hero-title .line > span {
  display: inline-block;
  padding: 0 0.005em;
}

.hero-title .solid {
  color: #fff;
  text-shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
}

.hero-title .ghost {
  color: rgba(47, 214, 240, 0.15);
  -webkit-text-stroke: 2px rgba(47, 214, 240, 0.95);
  text-shadow: 0 0 45px rgba(47, 214, 240, 0.14), 0 0 95px rgba(47, 214, 240, 0.07);
}

.hero-lead {
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(14.5px, 1.55vw, 17px);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(26px, 3.4vw, 42px);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.hero-actions .btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out);
}

.hero-actions .btn:hover svg {
  transform: translateX(-4px);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: clamp(28px, 3.8vw, 50px);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11.5px;
  position: relative;
}

.hero-meta::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
}

.hero-meta .hm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.hero-meta .hm b {
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.hero-meta .hm .sep {
  opacity: 0.22;
}

.hero-meta .hm .live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
  animation: livePulse 1.4s ease-in-out infinite;
}

.scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--faint);
  font-family: var(--font-ui);
  font-size: 8.5px;
  letter-spacing: 0.54em;
  text-transform: uppercase;
  direction: ltr;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-hint:hover {
  color: var(--accent);
}

.scroll-hint .sh-line {
  width: 1px;
  height: 52px;
  position: relative;
  overflow: hidden;
  background: rgba(150, 190, 230, 0.1);
}

.scroll-hint .sh-line::after {
  content: "";
  position: absolute;
  top: -44%;
  left: 0;
  width: 100%;
  height: 44%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: shScroll 2.8s var(--ease-io) infinite;
  box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes shScroll {
  0% { top: -44%; opacity: 0; }
  16% { opacity: 1; }
  84% { opacity: 1; }
  100% { top: 120%; opacity: 0; }
}


.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border-soft);
  background: rgba(7, 11, 18, 0.6);
  padding: 16px 0;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding-inline: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 24px);
  letter-spacing: 0.32em;
  color: rgba(234, 242, 249, 0.55);
  white-space: nowrap;
}

.ticker-item::after {
  content: "◆";
  font-size: 0.4em;
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: 0;
  margin-inline-start: 42px;
}

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


.section-head {
  margin-bottom: clamp(36px, 5vw, 68px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.section-head .kicker {
  margin-bottom: 16px;
}

.section-head .sh-note {
  color: var(--faint);
  font-size: 14px;
  max-width: 340px;
  line-height: 1.7;
}


.features {
  counter-reset: feat;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature {
  counter-increment: feat;
  position: relative;
  grid-column: span 4;
  padding: clamp(28px, 2.8vw, 44px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.006));
  border: 1px solid var(--border-soft);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--ease-out), border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
  isolation: isolate;
  opacity: 0;
  transform: translateY(30px);
}

.feature.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.feature::before {
  content: "0" counter(feat);
  position: absolute;
  top: 22px;
  inset-inline-end: 26px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--faint);
  direction: ltr;
  transition: color 0.5s ease, text-shadow 0.5s ease;
  z-index: 2;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140% 100% at 85% 0%, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.feature:nth-child(4) { grid-column: span 5; }
.feature:nth-child(5) { grid-column: span 3; }
.feature:nth-child(6) { grid-column: span 4; }

.feature:hover {
  transform: translateY(-7px);
  border-color: rgba(47, 214, 240, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 22px 55px -22px rgba(47, 214, 240, 0.18);
}

.feature:hover::before {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(47, 214, 240, 0.45);
}

.feature:hover::after {
  opacity: 1;
}

.feature .ico {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: clamp(24px, 2.4vw, 32px);
  transition: transform 0.7s var(--ease-out), box-shadow 0.5s ease;
  will-change: transform;
}

.feature .ico svg {
  width: 100%;
  height: 100%;
}

.feature:hover .ico {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 0 30px var(--accent-glow);
}

.feature b {
  display: block;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.feature span {
  color: var(--muted);
  font-size: 15px;
  margin-top: auto;
  padding-inline-end: 40px;
  padding-bottom: 10px;
  line-height: 1.7;
}

.feature .f-arrow {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0;
  transform: translateY(10px) rotate(45deg);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-out);
}

.feature:hover .f-arrow {
  opacity: 1;
  transform: translateY(0) rotate(0);
}


.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease;
}

.card:hover {
  border-color: rgba(47, 214, 240, 0.3);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card-head b {
  font-size: 17px;
  font-weight: 700;
}

.card-head .ico {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.ico svg {
  width: 100%;
  height: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-3 .card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.grid-3 .card-head {
  justify-content: space-between;
}

.grid-3 .card p {
  color: var(--muted);
  margin-top: auto;
  font-size: 14.5px;
}

.rule-index {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(47, 214, 240, 0.35);
  border-radius: 999px;
  padding: 3px 14px;
  direction: ltr;
}


.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005));
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 2.6vw, 38px);
  overflow: hidden;
  transition: transform 0.7s var(--ease-out), border-color 0.5s ease, box-shadow 0.6s ease;
  isolation: isolate;
}

.dash-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.dash-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.dash-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 214, 240, 0.38);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5);
}

.dash-card:hover::before {
  opacity: 0.8;
}

.dash-card:hover::after {
  opacity: 1;
}

.dash-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(20px, 2.2vw, 28px);
}

.dash-ico {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 214, 240, 0.3);
  color: var(--accent);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s ease;
}

.dash-ico svg {
  width: 23px;
  height: 23px;
}

.dash-card:hover .dash-ico {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 30px var(--accent-glow);
}

.dash-head h3 {
  font-size: 20px;
  font-weight: 700;
}

.dash-head .dash-tag {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--faint);
  direction: ltr;
  text-align: left;
  margin-bottom: 3px;
}

.dash-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.dash-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 4.8vw, 70px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.1), 0 0 60px rgba(255, 255, 255, 0.05);
}

.dash-stat .num em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.dash-stat .den {
  color: var(--faint);
  font-family: var(--font-ui);
  direction: ltr;
  font-size: 19px;
}

.dash-note {
  color: var(--faint);
  font-size: 13.5px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}


.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  color: var(--muted);
  font-size: 14px;
}

.info-row b {
  font-size: 15px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  white-space: nowrap;
  direction: rtl;
}

.badge.on {
  color: var(--green);
  background: rgba(56, 227, 137, 0.07);
  border-color: rgba(56, 227, 137, 0.32);
}

.badge.off {
  color: var(--red);
  background: rgba(242, 85, 77, 0.07);
  border-color: rgba(242, 85, 77, 0.3);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge.on .dot.green {
  background: var(--green);
  animation: livePulse 1.8s ease-in-out infinite;
}

.dot.green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(56, 227, 137, 0.7);
}

.dot.red {
  background: var(--red);
  box-shadow: 0 0 10px rgba(242, 85, 77, 0.6);
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 227, 137, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(56, 227, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 227, 137, 0); }
}

.online-orb {
  position: relative;
  width: 12px;
  height: 12px;
}

.online-orb::before,
.online-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
}

.online-orb::after {
  animation: orbPing 2s var(--ease-out) infinite;
}

@keyframes orbPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.4); opacity: 0; }
}


.ip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(5, 9, 15, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.5vw, 17px);
  margin: 18px 0;
  position: relative;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.ip-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.ip-box:hover {
  border-color: rgba(47, 214, 240, 0.5);
  background: rgba(5, 9, 15, 0.8);
  box-shadow: 0 0 40px rgba(47, 214, 240, 0.08);
}

.ip-box:hover::before {
  opacity: 0.15;
}

.ip-box button,
.ip-copy {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  position: relative;
}

.ip-box button:hover,
.ip-copy:hover {
  background: var(--accent-soft);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-glow);
}

.ip-copy svg {
  width: 18px;
  height: 18px;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}

.ip-copy .ic-copied {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}

.ip-copy.copied .ic-copy {
  opacity: 0;
  transform: scale(0.5);
}

.ip-copy.copied .ic-copied {
  opacity: 1;
  transform: scale(1);
}

.ip-copy .copy-feedback {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(6, 10, 18, 0.98);
  border: 1px solid rgba(47, 214, 240, 0.45);
  color: var(--text);
  font-family: var(--font-fa);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  box-shadow: var(--shadow-2), 0 0 20px rgba(47, 214, 240, 0.1);
}

.ip-copy.copied .copy-feedback {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.connect-ip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  height: auto;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.7vw, 19px);
  color: #fff;
  background: rgba(5, 9, 15, 0.75);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: 999px;
  direction: ltr;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.4s var(--ease-out);
  position: relative;
}

.connect-ip:hover {
  border-color: rgba(47, 214, 240, 0.55);
  box-shadow: 0 0 30px rgba(47, 214, 240, 0.1);
  transform: translateY(-2px);
}

.d-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.d-item:last-child {
  border-bottom: none;
}

.d-item .d-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  background: var(--panel-2);
  padding: 6px;
}

.d-item .d-info {
  flex: 1;
  min-width: 0;
}

.d-item .d-info b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.d-item .d-info span {
  font-size: 12px;
  color: var(--faint);
}

.d-item .d-btn {
  flex-shrink: 0;
}

.quick-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.connect-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}


.svc-hero {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(30px, 3.8vw, 52px);
  margin-bottom: clamp(24px, 3vw, 40px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background:
    radial-gradient(50% 100% at 100% 0%, rgba(47, 214, 240, 0.12), transparent 55%),
    radial-gradient(40% 80% at 0% 100%, rgba(120, 60, 200, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 214, 240, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.svc-hero .svc-title {
  position: relative;
  z-index: 1;
}

.svc-hero .svc-title .kicker {
  margin-bottom: 18px;
}

.svc-hero .svc-title h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.svc-hero .svc-state {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.svc-hero .svc-state .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green), 0 0 24px rgba(56, 227, 137, 0.3);
  animation: livePulse 1.4s ease-in-out infinite;
}

.svc-hero .svc-state .online-orb {
  width: 10px;
  height: 10px;
}

.svc-hero .svc-title .badge {
  margin-top: 8px;
}

.svc-stat {
  display: flex;
  gap: clamp(30px, 5.4vw, 76px);
  flex-wrap: wrap;
  direction: ltr;
  text-align: left;
  position: relative;
  z-index: 1;
}

.svc-stat .sv {
  display: flex;
  flex-direction: column;
  position: relative;
}

.svc-stat .sv b {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
  transition: text-shadow 0.5s ease;
}

.svc-stat .sv:hover b {
  text-shadow: 0 0 60px rgba(47, 214, 240, 0.15);
}

.svc-stat .sv small {
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  margin-top: 2px;
}

.svc-stat .sv::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svc-stat .sv:hover::before {
  opacity: 1;
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 32px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.004));
  transition: border-color 0.5s ease, transform 0.6s var(--ease-out), box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.svc-row::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}

.svc-row:hover {
  border-color: rgba(47, 214, 240, 0.38);
  transform: translateX(-6px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
}

.svc-row:hover::before {
  transform: scaleY(1);
}

.svc-row .svc-ico {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border-soft);
  color: var(--muted);
  transition: all 0.5s ease;
}

.svc-row:hover .svc-ico {
  color: var(--accent);
  border-color: rgba(47, 214, 240, 0.45);
  background: var(--accent-soft);
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--accent-glow);
}

.svc-row .svc-ico svg {
  width: 24px;
  height: 24px;
}

.svc-row .svc-name {
  flex: 1;
  min-width: 0;
}

.svc-row .svc-name b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.svc-row:hover .svc-name b {
  color: var(--accent);
}

.svc-row .svc-name span {
  color: var(--faint);
  font-size: 13.5px;
  margin-top: 2px;
}

.svc-row .svc-badge {
  min-width: 80px;
  text-align: center;
}


.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.media-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out);
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 214, 240, 0.35);
  box-shadow: var(--shadow-2);
}

.media-card:hover::after {
  transform: scaleY(1);
}

.media-card .ico {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  padding: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 214, 240, 0.18);
  transition: transform 0.5s var(--ease-out);
}

.media-card:hover .ico {
  transform: rotate(-6deg) scale(1.08);
}

.media-card b {
  display: block;
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 4px;
}

.media-card > span:last-child {
  display: block;
  min-width: 0;
}

.media-card > span:last-child > span {
  display: block;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.7;
}

.media-card .go {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  color: var(--faint);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out), color 0.3s ease;
}

.media-card:hover .go {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.gallery-grid img {
  grid-column: span 4;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.9s var(--ease-out), filter 0.5s ease, border-radius 0.5s ease;
  will-change: transform;
}

.gallery-grid img:hover {
  transform: scale(1.035);
  filter: saturate(1.1);
  border-radius: 8px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.35s ease, transform 0.45s var(--ease-out);
}

.news-item:hover {
  border-color: rgba(47, 214, 240, 0.3);
  transform: translateX(-4px);
}

.news-item b {
  font-size: 15px;
  font-weight: 600;
}

.news-item span {
  font-size: 13px;
  color: var(--faint);
  font-family: var(--font-ui);
  white-space: nowrap;
}


.dl-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dl-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease;
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 214, 240, 0.34);
}

.dl-card .dl-icon {
  width: clamp(60px, 7vw, 84px);
  height: clamp(60px, 7vw, 84px);
  flex-shrink: 0;
  border-radius: 18px;
  object-fit: contain;
  background: var(--panel-2);
  border: 1px solid var(--border-soft);
  padding: 12px;
}

.dl-card .dl-body {
  flex: 1;
  min-width: 0;
}

.dl-card .dl-body b {
  display: block;
  font-size: clamp(16px, 1.7vw, 19px);
  margin-bottom: 4px;
}

.dl-card .dl-body span {
  color: var(--muted);
  font-size: 13.5px;
}

.dl-card .dl-btn {
  flex-shrink: 0;
}

.dl-card .dl-idx {
  position: absolute;
  bottom: -14px;
  inset-inline-start: -6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 12vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 190, 230, 0.07);
  pointer-events: none;
  direction: ltr;
}

.gateway-alert {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(242, 85, 77, 0.06);
  border: 1px solid rgba(242, 85, 77, 0.26);
  color: #ffb9b5;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 14px;
}

.gateway-alert.show {
  display: flex;
}

.gateway-alert .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}


.shop-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 36px);
  justify-content: center;
}

.shop-cat-btn {
  position: relative;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.shop-cat-btn:hover {
  border-color: rgba(47, 214, 240, 0.5);
  color: var(--text);
  transform: translateY(-2px);
}

.shop-cat-btn.active {
  background: var(--accent);
  color: #032028;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 8px 26px -10px var(--accent-glow);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.004));
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}

.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 214, 240, 0.36);
  box-shadow: var(--shadow-2);
}

.shop-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--panel-2);
  overflow: hidden;
}

.shop-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 11, 0.55));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.shop-card:hover .thumb::after {
  opacity: 1;
}

.shop-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.shop-card:hover .thumb img {
  transform: scale(1.07);
}

.shop-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--accent);
  color: #032028;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px var(--accent-glow);
  letter-spacing: 0.02em;
}

.shop-card .body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.shop-card .body b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.shop-card .price {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-card .price small {
  font-size: 11.5px;
  color: var(--faint);
  font-weight: 500;
}

.shop-card .btn {
  width: 100%;
  margin-top: auto;
}

.stock-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(56, 227, 137, 0.1);
  color: var(--green);
}

.stock-badge.stock-low {
  background: rgba(242, 182, 77, 0.1);
  color: var(--amber);
}

.stock-badge.stock-out {
  background: rgba(242, 85, 77, 0.1);
  color: var(--red);
}


.cart-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border: 1px dashed var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(50px, 8vw, 90px) 24px;
}

.cart-empty svg {
  width: 54px;
  height: 54px;
  color: var(--faint);
  opacity: 0.7;
}

.cart-empty b {
  font-size: 20px;
}

.cart-empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.cart-layout {
  display: none;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent);
  transition: border-color 0.35s ease;
}

.cart-item:hover {
  border-color: rgba(47, 214, 240, 0.3);
}

.cart-item img {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--panel-2);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-info .price {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-ui);
  display: block;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.cart-item-info .price small {
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--panel-2);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-family: var(--font-ui);
}

.qty-control button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.qty-control span {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-ui);
  direction: ltr;
}

.remove-btn {
  background: transparent;
  border: none;
  color: var(--faint);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.remove-btn svg {
  width: 17px;
  height: 17px;
}

.remove-btn:hover {
  background: rgba(242, 85, 77, 0.12);
  color: var(--red);
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
}

.cart-summary h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.cart-summary .total {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.gateway-select {
  margin: 22px 0;
}

.gateway-select > label {
  display: block;
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 12px;
  font-weight: 600;
}

.gateway-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gateway-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.35s ease;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.015);
}

.gateway-option:hover {
  border-color: rgba(47, 214, 240, 0.4);
}

.gateway-option.selected {
  border-color: rgba(47, 214, 240, 0.6);
  background: var(--accent-soft);
}

.gateway-option input {
  display: none;
}

.gateway-option .radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.gateway-option.selected .radio-dot {
  border-color: var(--accent);
}

.gateway-option.selected .radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.fn-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(47, 214, 240, 0.16);
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.fn-notice svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.fn-notice b {
  color: var(--text);
}


#fn_shop_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}

.fn-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent);
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}

.fn-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 214, 240, 0.36);
  box-shadow: var(--shadow-2);
}

.fn-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  overflow: hidden;
}

.fn-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-out);
}

.fn-card:hover .thumb img {
  transform: scale(1.06);
}

.fn-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fn-card .body b {
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}

.fn-card .desc {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.fn-card .price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.fn-card .price {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.fn-card .price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
}

.fn-card .free-tag {
  background: rgba(56, 227, 137, 0.14);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.fn-card .btn-add {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #032028;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 8px 24px -10px var(--accent-glow);
  white-space: nowrap;
}

.fn-card .btn-add:hover {
  background: #5fe3fa;
  transform: translateY(-2px);
}

.fn-card .btn-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.fn-gallery-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.fn-gallery-row img {
  width: calc(33.33% - 6px);
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--border-soft);
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}

.fn-gallery-row img:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.fn-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 4, 8, 0.94);
  z-index: 6500;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fn-lightbox.open {
  display: flex;
  animation: lbIn 0.4s var(--ease-out);
}

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

.fn-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  animation: lbImg 0.55s var(--ease-out);
}

@keyframes lbImg {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.fn-lightbox .close-btn {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.fn-lightbox .close-btn:hover {
  background: rgba(242, 85, 77, 0.2);
  border-color: var(--red);
  transform: rotate(90deg);
}

.purchases-block {
  margin-top: clamp(44px, 6vw, 70px);
}

.purchases-block > h3,
.fn-purchases > h3 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.purchases-block > h3::before,
.fn-purchases > h3::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.fn-purchases {
  margin-top: clamp(44px, 6vw, 70px);
}

.fn-purchase-card,
.purchase-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 0.35s ease;
}

.fn-purchase-card:hover {
  border-color: rgba(47, 214, 240, 0.26);
}

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

.fn-purchase-card .header b {
  color: var(--faint);
  font-weight: 500;
  font-size: 13px;
}

.tx-box {
  background: rgba(6, 10, 18, 0.7);
  border: 1px solid rgba(47, 214, 240, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
}

.tx-box .label {
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 3px;
}

.tx-box .code {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 1.5px;
  user-select: all;
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.fn-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.fn-contact .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 30px 22px;
}

.fn-contact .card svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.fn-contact .card b {
  display: block;
  font-size: 16px;
}

.fn-contact .card p {
  color: var(--muted);
  font-size: 14px;
  direction: ltr;
  unicode-bidi: isolate;
}


.footer {
  position: relative;
  background: #02040a;
  border-top: 1px solid var(--border-soft);
  margin-top: clamp(50px, 7vw, 110px);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(47, 214, 240, 0.55) 50%, transparent 95%);
}

.footer-ghost {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.22em;
  direction: ltr;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 12.5vw, 230px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: clamp(26px, 5vw, 70px) 0 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-ghost span {
  background: linear-gradient(180deg, rgba(234, 242, 249, 0.09), rgba(234, 242, 249, 0.012));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-ghost span.fg-accent {
  background: linear-gradient(180deg, rgba(47, 214, 240, 0.16), rgba(47, 214, 240, 0.03));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  padding-top: clamp(20px, 3vw, 46px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand-desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 340px;
  margin-top: 18px;
  line-height: 2;
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul li {
  color: var(--muted);
  font-size: 14px;
}

.footer ul li a {
  color: var(--muted);
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease, padding-inline-start 0.4s var(--ease-out);
}

.footer ul li a::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.footer ul li a:hover {
  color: var(--accent);
  padding-inline-start: 8px;
}

.footer ul li a:hover::before {
  opacity: 1;
}

.footer .f-ltr {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}

.footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer .socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.4s var(--ease-out);
  background: rgba(255, 255, 255, 0.02);
}

.footer .socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px -10px var(--accent-glow);
}

.footer .socials svg {
  width: 18px;
  height: 18px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 50px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--border-soft);
}

.trust-slot {
  border-radius: 14px;
  padding: 8px;
  min-width: 104px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.trust-slot a {
  display: inline-flex;
}

.trust-slot img {
  max-height: 96px;
  width: auto;
}

.trust-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  color: var(--faint);
  font-size: 12px;
  text-align: center;
  padding: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: clamp(24px, 3vw, 36px);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-bottom .copyright {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-bottom .links {
  display: flex;
  gap: 24px;
}

.footer-bottom .links a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-bottom .links a:hover {
  color: var(--accent);
}

.developer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--faint);
}

.dev-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(47, 214, 240, 0.25);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-soft);
}

.dev-text b {
  color: var(--accent);
  font-weight: 700;
}

.dev-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 13px;
  direction: ltr;
  unicode-bidi: isolate;
  transition: color 0.3s ease;
}

.dev-phone:hover {
  color: var(--accent);
}


@media (max-width: 1240px) {
  .nav > a {
    padding: 10px 10px;
    font-size: 14px;
    transition: color 0.35s ease, background-color 0.35s ease;
  }
  .features .feature {
    grid-column: span 6;
  }
}

@media (max-width: 1080px) {
  .header .brand-text small {
    display: none;
  }
  .header .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #fn_shop_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid img {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .hero-meta {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }
  .features .feature,
  .features .feature:nth-child(4),
  .features .feature:nth-child(5),
  .features .feature:nth-child(6) {
    grid-column: auto;
    min-height: 0;
  }
  .hero-title {
    font-size: clamp(38px, 15.5vw, 92px);
  }
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 16px);
  }
  .scroll-hint {
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .shop-grid,
  .grid-3,
  .media-grid,
  #fn_shop_grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-ghost {
    letter-spacing: -0.01em;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom .links {
    gap: 18px;
  }
  .developer-credit {
    flex-wrap: wrap;
    justify-content: center;
  }
  .dl-card {
    flex-wrap: wrap;
  }
  .dl-card .dl-btn {
    width: 100%;
  }
  .svc-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cart-item {
    flex-wrap: wrap;
  }
  .qty-control {
    order: 2;
  }
  .remove-btn {
    order: 3;
  }
  .page-title {
    font-size: clamp(30px, 9.5vw, 44px);
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 16px;
  }
  .hero-title {
    letter-spacing: 0;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand-text b {
    font-size: 16px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.fx [data-reveal],
  html.fx [data-reveal].in {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero-media .hero-bg {
    animation: none;
  }
}

@media (max-width: 1080px) {
  html.fx [data-reveal],
  html.fx [data-reveal].in {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  html.fx .mask-line > span {
    transform: none !important;
  }
}


.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3900;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.scroll-progress.on {
  opacity: 1;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), #aef0ff);
  box-shadow: 0 0 14px var(--accent-glow);
}


.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-canvas.ready {
  opacity: 1;
}

.no-hero-fx .hero-canvas {
  display: none;
}


.intro {
  position: relative;
  padding-block: clamp(96px, 14vw, 210px);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 380px at 50% 18%, rgba(47, 214, 240, 0.06), transparent 62%),
    radial-gradient(520px 360px at 88% 82%, rgba(120, 70, 210, 0.05), transparent 60%);
  pointer-events: none;
}

.intro .container {
  position: relative;
  z-index: 1;
}

.intro-inner {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-inner .kicker {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.intro-title {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: clamp(22px, 3vw, 36px);
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
}

.intro-title .mask-line {
  padding-bottom: 0.12em;
  margin-bottom: -0.05em;
}

.intro-title .t-ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(47, 214, 240, 0.82);
  text-shadow: 0 0 60px rgba(47, 214, 240, 0.1);
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.05;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.intro-copy b {
  color: var(--text);
  font-weight: 700;
}

.intro-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3.4vw, 54px);
  width: 100%;
  max-width: 920px;
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--border-soft);
}

.intro-feat {
  text-align: right;
  position: relative;
  padding-top: clamp(18px, 2.4vw, 28px);
}

.intro-feat::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: clamp(28px, 4vw, 46px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.intro-feat b {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.intro-feat b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
}

.intro-feat span {
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.9;
}

.intro-ghost-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.intro-ghost {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(130px, 24vw, 400px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 200, 240, 0.055);
  white-space: nowrap;
  direction: ltr;
  user-select: none;
  margin-top: clamp(40px, 8vw, 140px);
}


.feature-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.7s ease;
}

.feature:hover .feature-fx {
  opacity: 1;
}

.feature-fx svg {
  width: clamp(150px, 62%, 250px);
  height: auto;
  overflow: visible;
}

.ff-net-l {
  fill: none;
  stroke: rgba(47, 214, 240, 0.22);
  stroke-width: 1;
}

.ff-net-n {
  fill: rgba(47, 214, 240, 0.06);
  stroke: rgba(47, 214, 240, 0.5);
  stroke-width: 1;
}

.ff-net-core {
  fill: rgba(47, 214, 240, 0.9);
  filter: drop-shadow(0 0 6px rgba(47, 214, 240, 0.8));
}

.ff-net-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: ffPulse 3.4s ease-out infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffPulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  60% { transform: scale(1.55); opacity: 0.25; }
  100% { transform: scale(1.7); opacity: 0; }
}

.ff-eco-grid {
  fill: none;
  stroke: rgba(150, 190, 230, 0.09);
  stroke-width: 1;
}

.ff-eco-area {
  fill: url(#ffEcoGrad);
  opacity: 0.5;
}

.ff-eco-line {
  fill: none;
  stroke: rgba(47, 214, 240, 0.75);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 5px rgba(47, 214, 240, 0.4));
}

.ff-eco-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: ffBar 2.8s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffBar {
  0%, 100% { transform: scaleY(0.3); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 0.85; }
}

.ff-sec-grid {
  fill: none;
  stroke: rgba(150, 190, 230, 0.1);
  stroke-width: 1;
}

.ff-sec-scan {
  animation: ffScan 4.2s linear infinite;
}

@keyframes ffScan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateY(116px); opacity: 0; }
}

.ff-car-dash {
  fill: none;
  stroke: rgba(47, 214, 240, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 3 16;
}

.ff-car-road {
  fill: none;
  stroke: rgba(150, 190, 230, 0.12);
  stroke-width: 1.5;
}

.ff-car-glow {
  fill: rgba(47, 214, 240, 0.5);
  filter: blur(2px);
  animation: ffGlowPulse 2.2s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffGlowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.95; }
}

.ff-car-light {
  fill: rgba(47, 214, 240, 0.95);
  filter: drop-shadow(0 0 6px rgba(47, 214, 240, 0.9));
  animation: ffCarLight 2.6s linear infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffCarLight {
  0% { transform: translateY(0); opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateY(96px); opacity: 0; }
}

.ff-prop-blk {
  fill: rgba(150, 190, 230, 0.12);
  stroke: rgba(150, 190, 230, 0.12);
  stroke-width: 1;
}

.ff-prop-lit {
  fill: rgba(47, 214, 240, 0.55);
  filter: drop-shadow(0 0 4px rgba(47, 214, 240, 0.6));
  animation: ffBlink 3.2s steps(1, end) infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffBlink {
  0%, 100% { fill: rgba(47, 214, 240, 0.14); }
  45%, 70% { fill: rgba(47, 214, 240, 0.6); }
}

.ff-upd-line {
  fill: none;
  stroke: rgba(150, 190, 230, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
}

.ff-upd-node {
  fill: rgba(47, 214, 240, 0.14);
  stroke: rgba(47, 214, 240, 0.65);
  stroke-width: 1.4;
}

.ff-upd-move {
  fill: rgba(47, 214, 240, 0.95);
  filter: drop-shadow(0 0 5px rgba(47, 214, 240, 0.85));
  animation: ffMove 3.6s linear infinite;
  animation-delay: var(--dd, 0s);
}

@keyframes ffMove {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(104px); opacity: 0; }
}


.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  padding: 3px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  margin-inline-start: 4px;
  flex-shrink: 0;
}

.signal i {
  width: 3px;
  border-radius: 3px;
  height: 20%;
  background: var(--red);
  transform-origin: bottom;
}

.signal i:nth-child(2) { height: 45%; }
.signal i:nth-child(3) { height: 70%; }
.signal i:nth-child(4) { height: 95%; }

.dash-card.is-on .signal i {
  background: var(--green);
  box-shadow: 0 0 7px rgba(56, 227, 137, 0.55);
  animation: signalBar 1.15s ease-in-out infinite;
}

.dash-card.is-on .signal i:nth-child(2) { animation-delay: 0.12s; }
.dash-card.is-on .signal i:nth-child(3) { animation-delay: 0.24s; }
.dash-card.is-on .signal i:nth-child(4) { animation-delay: 0.36s; }

@keyframes signalBar {
  0%, 100% { transform: scaleY(0.45); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}


.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px 13px;
  direction: rtl;
  white-space: nowrap;
}

.dl-chip.ltr {
  direction: ltr;
}

.dl-chip svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.dl-chip b {
  color: var(--text);
  font-weight: 600;
}

.d-item .d-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.d-item .d-meta span {
  font-size: 11px;
  color: var(--faint);
  font-family: var(--font-ui);
  direction: ltr;
  letter-spacing: 0.02em;
}

.d-item .d-meta span + span::before {
  content: "•";
  margin-inline-end: 6px;
  color: var(--accent);
  opacity: 0.6;
}


.connect-ip {
  animation: ctaPulse 3.6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 214, 240, 0.12); }
  50% { box-shadow: 0 0 0 8px rgba(47, 214, 240, 0.04); }
}

.connect-ip:hover {
  animation-play-state: paused;
}

.connect-ip .ic-copy {
  opacity: 0.75;
}

.connect-ip:hover .ic-copy {
  opacity: 1;
  transform: translateX(-2px);
}

.connect-ip .cta-arrow {
  display: inline-flex;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}

.connect-ip:hover .cta-arrow {
  opacity: 1;
  transform: translateX(-5px);
}


@media (max-width: 900px) {
  .intro-feats {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .intro-ghost {
    margin-top: 30px;
  }
  .feature-fx svg {
    width: clamp(130px, 68%, 190px);
  }
  .dash-head {
    flex-wrap: wrap;
  }
}

.dl-cell {
  display: flex;
}

.dl-cell .dl-card {
  width: 100%;
  flex: 1;
}

.dl-card {
  flex-wrap: wrap;
}

.dl-card .dl-meta {
  flex: 0 0 100%;
  margin-top: 0;
}

.dl-card .dl-btn {
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(circle, rgba(47, 214, 240, 0.075), rgba(47, 214, 240, 0.02) 34%, transparent 64%);
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: translate3d(-500px, -500px, 0);
    will-change: transform;
  }
  .cursor-glow.on {
    opacity: 1;
  }
  .feature.fx-tilt {
    transform-style: preserve-3d;
    backface-visibility: hidden;
  }
  .feature.fx-tilt:hover {
    transform: translateY(-7px) perspective(1100px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
  }
  .btn:not(:disabled):active {
    transform: translateY(1px) scale(0.97);
    transition-duration: 0.14s;
  }
  .ip-copy:active,
  .connect-ip:active {
    transform: scale(0.97);
  }
  .nav > a:active,
  .brand:active {
    opacity: 0.72;
  }
}


