/* ─── DESIGN TOKENS ─── */
:root {
  /* Background & Surface */
  --bg: #06060c;
  --bg-subtle: #0a0a14;
  --surface-1: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover: rgba(255, 255, 255, 0.09);

  /* Borders */
  --border-1: rgba(255, 255, 255, 0.05);
  --border-2: rgba(255, 255, 255, 0.08);
  --border-3: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(129, 140, 248, 0.3);

  /* Text */
  --text-1: #f0f0f5;
  --text-2: #8e8ea0;
  --text-3: #55556a;
  --text-4: #3a3a50;

  /* Accent — dynamic per entity */
  --accent: #818cf8;
  --accent-soft: rgba(129, 140, 248, 0.12);
  --accent-glow: rgba(129, 140, 248, 0.2);
  --entity-color: var(--accent);
  --entity-glow: var(--accent-glow);
  --entity-soft: var(--accent-soft);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* Font */
  --font: "Vazirmatn", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: var(--font);
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

/* Custom Text Selection */
::selection {
  background: var(--entity-glow, rgba(129, 140, 248, 0.3));
  color: inherit;
}
::-moz-selection {
  background: var(--entity-glow, rgba(129, 140, 248, 0.3));
  color: inherit;
}

/* Prevent drag for media and links */
img,
i,
svg,
a,
article,
.entity-card,
.link-card,
.svc-card,
.container {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}
img,
i,
svg {
  user-select: none;
}

/* ═══════════════════════════════════════
   BACKGROUND CANVAS
   ═══════════════════════════════════════ */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
}

/* Noise texture overlay */
.bg-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.015;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.3;
  will-change: transform;
}

.bg-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(129, 140, 248, 0.15);
  top: -25%;
  right: -15%;
  animation: orbit1 35s infinite ease-in-out;
}

.bg-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.1);
  bottom: -20%;
  left: -10%;
  animation: orbit2 28s infinite ease-in-out;
}

@keyframes orbit1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

@keyframes orbit2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

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

/* ═══════════════════════════════════════
   SPLASH SCREEN
   ═══════════════════════════════════════ */
.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.splash.leaving {
  opacity: 0;
  transform: scale(0.96) translateY(-10px);
  pointer-events: none;
}

.splash.gone {
  display: none;
}

.splash__inner {
  width: 100%;
  max-width: 480px;
}

/* ── Brand Header ── */
.splash__brand {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeUp 0.7s var(--ease) both;
}

.splash__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #818cf8, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  box-shadow: 0 8px 32px rgba(129, 140, 248, 0.3);
}

.splash__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Animated glow ring around logo */
.splash__logo::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(129, 140, 248, 0.4),
    rgba(168, 85, 247, 0.4)
  );
  z-index: -1;
  animation: logoGlow 3s ease-in-out infinite;
}

.splash__logo::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.15);
  animation: logoRing 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes logoRing {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.splash__title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.splash__sub {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* Status Badge */
.splash__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ── Entity Selection Cards ── */
.entity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entity-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s var(--ease) both;
}

.entity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
}

.entity-card:hover::before {
  opacity: 1;
}

.entity-card:nth-child(1) {
  animation-delay: 0.1s;
}
.entity-card:nth-child(2) {
  animation-delay: 0.18s;
}
.entity-card:nth-child(3) {
  animation-delay: 0.26s;
}

.entity-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.entity-card:active {
  transform: translateY(-1px) scale(0.99);
}

.entity-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.entity-card__img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid;
  transition: transform 0.3s var(--ease);
}

.entity-card:hover .entity-card__img {
  transform: scale(1.05);
}

.entity-card__status {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34d399;
  border: 2.5px solid var(--bg);
}

.entity-card__info {
  flex: 1;
  min-width: 0;
}

.entity-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.entity-card__verified {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: #fff;
  flex-shrink: 0;
}

.entity-card__role {
  font-size: 0.78rem;
  color: var(--text-2);
}

.entity-card__badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.entity-card__arrow {
  color: var(--text-4);
  font-size: 0.8rem;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}

.entity-card:hover .entity-card__arrow {
  transform: translateX(-5px);
  color: var(--text-2);
}

/* ═══════════════════════════════════════
   ENTITY VIEW
   ═══════════════════════════════════════ */
.entity-view {
  min-height: 100vh;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.entity-view.entering {
  opacity: 1;
  transform: translateY(0);
}

.entity-view.gone {
  display: none;
}

/* ── Floating Top Bar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(6, 6, 12, 0.75);
  border-bottom: 1px solid var(--border-1);
  width: 95%;
  margin: 0 auto;
  border-radius: 20px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  top: 10px;
  justify-content: space-between;
  transition: border-color 0.3s var(--ease);
}

.topbar__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
}

.topbar__back:hover {
  background: var(--surface-2);
  color: var(--text-1);
}

.topbar__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ── Profile Hero ── */
.profile {
  text-align: center;
  padding: 36px 0 28px;
}

.profile__img-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  position: relative;
}

/* Animated ring around avatar */
.profile__img-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--entity-color), transparent 60%)
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.profile__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--entity-color);
  position: relative;
  z-index: 1;
}

.profile__verified {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--entity-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  border: 3px solid var(--bg);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile__name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.profile__bio {
  color: var(--text-2);
  font-size: 0.88rem;
  max-width: 380px;
  margin: 0 auto 12px;
  line-height: 1.8;
}

/* Role Badge */
.profile__role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--entity-soft);
  border: 1px solid rgba(var(--entity-color), 0.2);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--entity-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.profile__role-badge i {
  font-size: 0.6rem;
}

/* ── CTA Buttons ── */
.cta-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

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

.btn--primary {
  background: var(--entity-color);
  color: #fff;
  box-shadow: 0 4px 16px var(--entity-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--entity-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-3);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--entity-color);
}

/* ── Tab Navigation ── */
.tabs-container {
  position: relative;
  margin-bottom: 24px;
}

.tabs {
  display: flex;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 4px;
  position: relative;
}

.tabs__slider {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--surface-3);
  border-radius: var(--r-md);
  transition: all 0.35s var(--ease-spring);
  z-index: 0;
  border: 1px solid var(--border-2);
}

.tabs__item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  position: relative;
  z-index: 1;
  transition: color 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-md);
}

.tabs__item:hover {
  color: var(--text-2);
}

.tabs__item.active {
  color: var(--text-1);
}

.tabs__item i {
  font-size: 0.8rem;
}

/* ── Tab Panels ── */
.panel {
  display: none;
  animation: panelIn 0.35s var(--ease);
}
.panel.active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════
   LINKS TAB
   ═══════════════════════════════════════ */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  color: var(--text-1);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.link-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--entity-color);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: 0 0 3px 3px;
}

.link-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-3);
  transform: translateX(-4px);
}

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

.link-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.link-card:hover .link-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.link-card__text {
  flex: 1;
  min-width: 0;
}

.link-card__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.link-card__sub {
  font-size: 0.73rem;
  color: var(--text-3);
  margin-top: 2px;
}

.link-card__badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.link-card__go {
  color: var(--text-4);
  font-size: 0.75rem;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.link-card:hover .link-card__go {
  color: var(--entity-color);
  transform: translateX(-5px);
}

/* ═══════════════════════════════════════
   ABOUT TAB
   ═══════════════════════════════════════ */
.about-timeline {
  position: relative;
  padding-right: 24px;
}

/* Vertical timeline line */
.about-timeline::before {
  content: "";
  position: absolute;
  right: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--entity-color), transparent);
  border-radius: 2px;
  opacity: 0.2;
}

.about-section {
  margin-bottom: 28px;
  position: relative;
}

/* Timeline dot */
.about-section::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 14px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--entity-color);
  border: 2px solid var(--bg);
  z-index: 1;
  box-shadow: 0 0 12px var(--entity-glow);
}

.about-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-section__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--entity-soft);
  color: var(--entity-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-section__title {
  font-size: 1rem;
  font-weight: 700;
}

.about-section__text {
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.9;
  padding-right: 52px;
}

/* ═══════════════════════════════════════
   SERVICES TAB
   ═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.svc-card {
  position: relative;
  padding: 20px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  transition: all 0.35s var(--ease);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Featured card spans full width */
.svc-card--featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.svc-card--featured .svc-card__icon {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.svc-card--featured .svc-card__content {
  flex: 1;
}

.svc-card:hover {
  border-color: var(--border-3);
  background: var(--glass-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Glow on hover */
.svc-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--entity-glow),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.svc-card:hover::before {
  opacity: 0.3;
}

.svc-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--entity-color), #55c4f727);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}

.svc-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--entity-soft);
  color: var(--entity-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.3s var(--ease-spring);
}

.svc-card:hover .svc-card__icon {
  transform: scale(1.1);
}

.svc-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.svc-card__desc {
  font-size: 0.76rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   FOOTER — Premionix (Nozhin-style)
   ═══════════════════════════════════════ */
.footer {
  margin-top: 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 20px 28px;
}

.footer__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer__label {
  font-size: 0.65rem;
  color: var(--text-4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
}

.footer__brand {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: flex;
  align-items: center;
  transition: color 0.3s var(--ease);
}

.footer__link:hover .footer__brand {
  color: var(--entity-color);
}

.footer__sep {
  margin: 0 8px;
  opacity: 0.3;
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays via JS data attribute */
.reveal[data-delay="1"] {
  transition-delay: 0.05s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.15s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.25s;
}
.reveal[data-delay="6"] {
  transition-delay: 0.3s;
}

/* ═══════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  .container {
    max-width: 540px;
  }
  .splash__title {
    font-size: 2.5rem;
  }
  .entity-card {
    padding: 20px 22px;
    gap: 18px;
  }
  .entity-card__img {
    width: 58px;
    height: 58px;
  }
  .entity-card__name {
    font-size: 1.05rem;
  }
  .profile__img-wrap {
    width: 110px;
    height: 110px;
  }
  .profile__name {
    font-size: 1.7rem;
  }
  .link-card {
    padding: 16px 18px;
  }
  .services-grid {
    gap: 14px;
  }
  .svc-card {
    padding: 24px 20px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 560px;
  }
}

@media (max-width: 400px) {
  .splash {
    padding: 30px 16px;
  }
  .splash__title {
    font-size: 1.7rem;
  }
  .entity-card {
    padding: 14px 14px;
    gap: 12px;
  }
  .entity-card__img {
    width: 44px;
    height: 44px;
  }
  .profile__img-wrap {
    width: 84px;
    height: 84px;
  }
  .profile__name {
    font-size: 1.3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .svc-card--featured {
    flex-direction: column;
    text-align: center;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.82rem;
  }
  .about-section__text {
    padding-right: 0;
  }
  .about-timeline {
    padding-right: 20px;
  }
  .about-section::before {
    right: -14px;
  }
  .tabs__item {
    font-size: 0.78rem;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════
   CUSTOM CONTEXT MENU
   ═══════════════════════════════════════ */
.custom-context-menu {
  position: fixed;
  z-index: 9999;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-md);
  padding: 8px 0;
  min-width: 180px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transform-origin: top right;
  transition:
    opacity 0.15s var(--ease),
    transform 0.15s var(--ease);
}

.custom-context-menu.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.context-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: none;
  width: 100%;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.context-menu__item:hover {
  background: var(--surface-hover);
  color: var(--entity-color, #fff);
  padding-right: 22px;
}

.context-menu__item i {
  font-size: 1.1rem;
  color: var(--text-3);
  transition: color 0.2s var(--ease);
}

.context-menu__item:hover i {
  color: var(--entity-color, #fff);
}

/* ═══════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════ */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast i {
  color: var(--entity-color, var(--accent));
  font-size: 1rem;
}

/* Dynamic Ambient Glow */
.app::before {
  content: "";
  position: fixed;
  top: -15vh;
  right: 15vw;
  width: 50vh;
  height: 50vh;
  background: var(--entity-color, var(--accent));
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  animation: orbit1 25s infinite ease-in-out reverse;
  transition: background 0.8s var(--ease);
}
