*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050b18;
  --bg-card: #0a1428;
  --bg-card-hover: #0f1e3a;
  --text: #e8edf5;
  --text-muted: #6b7a99;
  --text-dim: #3d4f6e;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.3);
  --gold: #f0a500;
  --gold-dim: rgba(240, 165, 0, 0.12);
  --telegram: #29b6f6;
  --whatsapp: #25d366;
  --email: #ea4335;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);
  --radius: 10px;
  --radius-lg: 18px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --transition: 0.22s ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grad-accent: linear-gradient(120deg, #00d4ff 0%, #6ad7ff 30%, #f0a500 70%, #ffd166 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* page-wide animated gradient mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 45% at 12% 8%, rgba(0, 212, 255, 0.10), transparent 60%),
    radial-gradient(35% 40% at 88% 22%, rgba(240, 165, 0, 0.07), transparent 60%),
    radial-gradient(45% 50% at 70% 90%, rgba(0, 212, 255, 0.08), transparent 60%);
  animation: meshDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ambient glow that follows the cursor (set via JS) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--cursor-x, 50%) var(--cursor-y, 30%), rgba(0, 212, 255, 0.06), transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 11, 24, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo--sm { font-size: 1rem; }

.logo__icon {
  color: var(--accent);
  font-size: 1.1em;
  filter: drop-shadow(0 0 8px var(--accent));
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── LANGUAGE SWITCHER ─────────────────────────────── */
.lang-switcher { position: relative; }

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color var(--transition), color var(--transition);
}

.lang-switcher__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switcher__arrow { transition: transform var(--transition); }
.lang-switcher__btn[aria-expanded="true"] .lang-switcher__arrow { transform: rotate(180deg); }

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.05);
  z-index: 200;
}

.lang-switcher__dropdown[hidden] { display: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.87rem;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.lang-option:hover { background: var(--bg-card-hover); }
.lang-option.active { background: var(--accent-dim); color: var(--accent); }

.lang-option__flag { font-size: 1.15rem; }
.lang-option__name { flex: 1; }
.lang-option__code { color: var(--text-dim); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

/* shine sweep */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after { left: 140%; }

.btn:hover { transform: translateY(-2px); }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn--sm  { padding: 7px 14px; font-size: 0.82rem; }
.btn--lg  { padding: 13px 30px; font-size: 0.95rem; }
.btn--xl  { padding: 16px 34px; font-size: 1.05rem; }

.btn--primary {
  background: linear-gradient(135deg, #0098cc, #00d4ff 60%, #00ffea);
  color: #020d1a;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 36px rgba(0, 212, 255, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ─── BURGER ─────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* dot-grid background — signature element */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(0, 212, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 35% at 85% 55%, rgba(240, 165, 0, 0.08), transparent),
    radial-gradient(circle at 50% 50%, transparent 0, transparent 100%);
  pointer-events: none;
}

/* drifting aurora blobs behind hero */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.10), transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(240, 165, 0, 0.07), transparent 40%);
  filter: blur(40px);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4%, -3%) scale(1.08); }
  100% { transform: translate(-3%, 4%) scale(1.04); }
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 212, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  opacity: 0.35;
  pointer-events: none;
}

/* glowing orb floating behind hero content */
.hero__orb {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(560px, 80vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, rgba(0, 212, 255, 0.35), rgba(0, 212, 255, 0.05) 45%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.9; }
  50%      { transform: translateX(-50%) translateY(-26px) scale(1.06); opacity: 1; }
}

.hero__inner {
  position: relative;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gold-dim);
  border: 1px solid rgba(240, 165, 0, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  position: relative;
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.6);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(240, 165, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin: 0 auto 22px;
  background: linear-gradient(120deg, #ffffff 0%, #cfe9ff 35%, #00d4ff 55%, #ffd166 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleShimmer 8s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* cyan highlight on last word cluster */
.hero__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  background: rgba(0, 212, 255, 0.04);
  backdrop-filter: blur(8px);
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-accent);
}

.stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ─── SECTION BASE ───────────────────────────────────── */
.section { padding: 100px 0; }

.section--dark {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--cta { padding: 80px 0 100px; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 52px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* eyebrow line above section title */
.section__title::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 18px;
  box-shadow: 0 0 12px var(--accent);
}

/* ─── CARDS ──────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: rgba(12, 22, 44, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow var(--transition);
  transform-style: preserve-3d;
}

/* rotating conic glow border (revealed on hover) */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(from var(--angle, 0deg),
      transparent 0%,
      rgba(0, 212, 255, 0.7) 12%,
      transparent 28%,
      rgba(240, 165, 0, 0.5) 55%,
      transparent 72%,
      rgba(0, 212, 255, 0.7) 92%,
      transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.25;
  transition: opacity var(--transition);
  pointer-events: none;
  animation: spinBorder 6s linear infinite;
}

.card:hover::before { opacity: 1; }

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spinBorder {
  to { --angle: 360deg; }
}

.section:not(.section--dark) .card { background: rgba(10, 20, 40, 0.5); }

/* cursor-following spotlight */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 212, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.card > * { position: relative; z-index: 1; }

.card__icon {
  font-size: 1.9rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.3));
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── PROFESSIONS ─────────────────────────────────────── */
.professions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.profession {
  padding: 18px 14px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.profession:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text);
  transform: scale(1.04);
}

/* ─── PORTFOLIO / WORKS ──────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work__frame {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow var(--transition), border-color var(--transition);
}

.work__frame:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.15);
}

/* fake browser chrome bar */
.work__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.work__dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.work__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3a5a;
}

.work__dots i:nth-child(1) { background: #ff5f57; }
.work__dots i:nth-child(2) { background: #febc2e; }
.work__dots i:nth-child(3) { background: #28c840; }

.work__url {
  flex: 1;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* live preview window */
.work__shot {
  display: block;
  position: relative;
  height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,212,255,0.08), transparent 60%),
    var(--bg);
}

.work__shot iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 960px;
  border: 0;
  transform: scale(0.46);
  transform-origin: top left;
  pointer-events: none;
}

/* hover overlay with CTA */
.work__open {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 11, 24, 0.55);
  backdrop-filter: blur(2px);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity var(--transition);
}

.work__frame:hover .work__open { opacity: 1; }

.work__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
}

.work__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.work__tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--accent-dim);
  white-space: nowrap;
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* ─── LANGUAGES SHOWCASE (marquee) ──────────────────── */
.languages-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 9px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}

.marquee--reverse { animation-direction: reverse; animation-duration: 72s; }

.languages-showcase:hover .marquee { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* fallback flex-wrap if JS builds a single static row */
.languages-showcase--static {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  -webkit-mask-image: none;
  mask-image: none;
}

.lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: default;
}

.lang-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ─── FOCUS / ACCESSIBILITY ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── CTA BLOCK ──────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 64px 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,212,255,0.07) 0%, rgba(5,11,24,0) 50%, rgba(240,165,0,0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-lg);
}

/* ambient glow behind cta */
.cta-block::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12), transparent 70%);
  pointer-events: none;
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  color: #fff;
}

.cta-block__text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.telegram-btn {
  background: linear-gradient(135deg, #0277bd, #29b6f6) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(41, 182, 246, 0.35) !important;
}

.telegram-btn:hover {
  box-shadow: 0 8px 36px rgba(41, 182, 246, 0.5) !important;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #1a6b40, #25d366) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.45) !important;
}

.email-btn-solid {
  background: linear-gradient(135deg, #b71c1c, #ea4335) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(234, 67, 53, 0.3) !important;
}

.email-btn-solid:hover {
  box-shadow: 0 8px 36px rgba(234, 67, 53, 0.45) !important;
}

.cta-block__contacts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}

.cta-block__phone,
.cta-block__email {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-block__phone a,
.cta-block__email a {
  text-decoration: none;
  font-weight: 700;
  margin-left: 6px;
  transition: opacity var(--transition);
}

.cta-block__phone a { color: var(--whatsapp); }
.cta-block__email a { color: #f87171; }

.cta-block__phone a:hover,
.cta-block__email a:hover { opacity: 0.8; text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: opacity var(--transition);
}

.footer__link:hover { opacity: 0.75; }
.footer__link--telegram { color: var(--telegram); }
.footer__link--whatsapp { color: var(--whatsapp); }
.footer__link--email    { color: #f87171; }

/* ─── SCROLLBAR ──────────────────────────────────────── */
.lang-switcher__dropdown::-webkit-scrollbar { width: 5px; }
.lang-switcher__dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-switcher__dropdown::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ─── MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 11, 24, 0.97);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
    backdrop-filter: blur(16px);
  }

  .nav.open { display: flex; }
  .burger { display: flex; }

  .hero__stats { max-width: 100%; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .lang-switcher__dropdown {
    width: calc(100vw - 48px);
    right: -56px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
