/* =========================================================
   LevelUp Brașov — Stylesheet
   Gaming-themed dark UI with neon accents, animated background,
   glassmorphism cards, and smooth scroll animations.
========================================================= */

:root {
  /* Palette */
  --bg: #06080f;
  --bg-2: #0a0e1a;
  --bg-3: #0f1729;
  --surface: rgba(18, 24, 40, 0.55);
  --surface-2: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #e7ecf3;
  --text-dim: #98a2b6;
  --text-mute: #6b7388;

  --primary: #00ff9d;     /* neon green */
  --primary-2: #00d4ff;   /* electric blue */
  --accent: #b388ff;      /* violet */
  --danger: #ff4d6d;
  --warn: #ffb020;

  --grad-1: linear-gradient(135deg, #00ff9d 0%, #00d4ff 50%, #b388ff 100%);
  --grad-2: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
  --grad-text: linear-gradient(135deg, #5eead4 0%, #67e8f9 35%, #c4b5fd 70%, #f0abfc 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 30px rgba(0, 255, 157, 0.25), 0 0 60px rgba(0, 212, 255, 0.15);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1240px;

  /* Fonts */
  --font-display: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-ui: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
*::selection { background: var(--primary); color: #001a12; }

html { scroll-behavior: smooth; }

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

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* =========================================================
   BACKGROUND FX
========================================================= */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #0d1530 0%, #06080f 50%, #03050b 100%);
}

.bg-fx__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.4) saturate(1.2) hue-rotate(180deg);
}
/* If the video actually loads, show it (JS adds .loaded) */
.bg-fx__video.loaded { opacity: 0.55; }

.bg-fx__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 255, 157, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(0, 212, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(179, 136, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 255, 157, 0.12) 0%, transparent 35%);
  filter: blur(40px);
  animation: meshFloat 22s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.08); }
}

.bg-fx__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 157, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.6;
}

.bg-fx__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-fx__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.bg-fx__scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.025) 3px,
    transparent 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* =========================================================
   LOADER
========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__inner { text-align: center; }
.loader__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0.18em;
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 255, 157, 0.4));
  margin-bottom: 18px;
}
.loader__bracket { color: var(--primary); -webkit-text-fill-color: var(--primary); margin: 0 0.3em; }
.loader__bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}
.loader__bar-fill {
  height: 100%;
  width: 0;
  background: var(--grad-2);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.7);
  animation: loaderFill 1.6s ease-in-out forwards;
}
@keyframes loaderFill {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}
.loader__hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-mute);
}

/* =========================================================
   NAV
========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
  padding: 12px 28px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 17px;
}
.brand__badge {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-2);
  color: #001a12;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(0, 255, 157, 0.35);
  position: relative;
}
.brand__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), transparent 40%);
  mix-blend-mode: overlay;
}
.brand__name em {
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-style: normal;
}

.nav__menu {
  display: flex;
  gap: 26px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav__menu a {
  position: relative;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__menu a:hover,
.nav__menu a.active { color: var(--text); }
.nav__menu a:hover::after,
.nav__menu a.active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn iconify-icon { font-size: 18px; }

.btn--primary {
  background: var(--grad-2);
  color: #001a12;
  box-shadow: 0 10px 28px rgba(0, 255, 157, 0.25), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 255, 157, 0.4); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 24px; font-size: 15px; }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 28px 60px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  isolation: isolate;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.3);
  color: #a8ffd5;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.hero__title-line {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(0, 255, 157, 0.3));
}
.hero__title-sub {
  display: block;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-top: 8px;
}

.char-stagger {
  display: inline-block;
  animation: glitchHero 4s ease-in-out infinite;
}
@keyframes glitchHero {
  0%, 92%, 100% { transform: none; filter: none; }
  93% { transform: translate(-1px, 1px); }
  95% { transform: translate(1px, -1px); filter: hue-rotate(60deg); }
  97% { transform: translate(-1px, 0); }
}

.hero__tagline {
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  margin: 0 0 32px;
}
.hero__tagline .accent { color: var(--primary); font-weight: 600; }
.hero__tagline .accent2 { color: var(--primary-2); font-weight: 600; }
.hero__tagline strong { color: var(--text); font-weight: 700; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 760px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.stat {
  text-align: center;
  position: relative;
}
.stat::after {
  content: "";
  position: absolute;
  right: -9px; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line);
}
.stat:last-child::after { display: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__label {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}

/* Floating phone device illustration */
.hero__device {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 26vw, 380px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: -1;
  opacity: 0.95;
}
.device-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.device-orbit::before, .device-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(179, 136, 255, 0.2);
}
.device-orbit::before { inset: 14%; animation: spin 22s linear infinite reverse; }
.device-orbit::after  { inset: 28%; }
@keyframes spin { to { transform: rotate(360deg); } }

.device-phone {
  position: absolute;
  inset: 18%;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a2240 0%, #0a0e1a 100%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(0, 255, 157, 0.2);
  animation: floatPhone 6s ease-in-out infinite;
  overflow: hidden;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}
.device-phone__screen {
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background: radial-gradient(ellipse at center, #0a2030 0%, #050810 60%);
  overflow: hidden;
}
.device-phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  width: 60px; height: 18px;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.device-phone__glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(0, 255, 157, 0.5) 25%, transparent 50%, rgba(0, 212, 255, 0.5) 75%, transparent 100%);
  animation: spin 6s linear infinite;
  filter: blur(20px);
  opacity: 0.6;
}
.device-phone__bars {
  position: absolute;
  bottom: 30%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}
.device-phone__bars span {
  width: 6px;
  background: var(--grad-2);
  border-radius: 99px;
  animation: barJump 1.2s ease-in-out infinite;
}
.device-phone__bars span:nth-child(1) { height: 30%; animation-delay: 0.0s; }
.device-phone__bars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.device-phone__bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.device-phone__bars span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.device-phone__bars span:nth-child(5) { height: 90%; animation-delay: 0.4s; }
.device-phone__bars span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
@keyframes barJump {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}
.device-phone__heal {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.15em;
  display: flex; align-items: center; gap: 6px;
}

.device-spark {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary);
}
.device-spark--1 { top: 12%; left: 10%; animation: sparkMove 4s ease-in-out infinite; }
.device-spark--2 { top: 70%; right: 8%; background: var(--primary-2); box-shadow: 0 0 16px var(--primary-2); animation: sparkMove 5s ease-in-out infinite reverse; }
.device-spark--3 { bottom: 15%; left: 20%; background: var(--accent); box-shadow: 0 0 16px var(--accent); animation: sparkMove 6s ease-in-out infinite; }
@keyframes sparkMove {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(20px, -20px) scale(1.4); opacity: 0.4; }
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__scroll span {
  width: 24px;
  height: 40px;
  border: 1.5px solid var(--text-mute);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  border-radius: 99px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* =========================================================
   MARQUEE
========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent 10%, transparent 90%, rgba(0,0,0,0.4));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 56px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 18px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}
.marquee__track iconify-icon {
  font-size: 24px;
  color: var(--primary-2);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTIONS — shared
========================================================= */
.section {
  position: relative;
  padding: 110px 28px;
  max-width: var(--container);
  margin: 0 auto;
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow__bullet { color: var(--text-mute); }

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.section__lede {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* =========================================================
   SERVICES
========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.3), transparent 50%, rgba(0, 212, 255, 0.3));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
          mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-neon); }
.service-card:hover::before { opacity: 1; }

.service-card--wide { grid-column: span 2; }

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.15), rgba(0, 212, 255, 0.15));
  border: 1px solid rgba(0, 255, 157, 0.3);
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.3), rgba(0, 212, 255, 0.3));
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.service-card p { color: var(--text-dim); margin: 0 0 14px; font-size: 14px; }

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-dim);
}
.service-card__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-bottom: 1px dashed var(--line);
}
.service-card__list li:last-child { border-bottom: 0; }
.service-card__list li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.service-card__cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.service-card__cta iconify-icon {
  transition: transform 0.3s ease;
}
.service-card__cta a:hover iconify-icon {
  transform: translateX(4px);
}

.service-card__glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 157, 0.2), transparent 40%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.service-card:hover .service-card__glow { opacity: 1; }

/* =========================================================
   PROCESS
========================================================= */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  counter-reset: step;
}
.process::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 255, 157, 0.0), rgba(0, 255, 157, 0.5) 20%, rgba(0, 212, 255, 0.5) 50%, rgba(179, 136, 255, 0.5) 80%, transparent);
  z-index: -1;
}
.process__step {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process__step:hover { transform: translateY(-6px); border-color: var(--primary); }
.process__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.process__icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.process__step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* =========================================================
   ABOUT
========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__frame {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.about__frame-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--primary);
}
.about__frame-corner--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.about__frame-corner--tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.about__frame-corner--bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.about__frame-corner--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.about__monitor {
  background: #050810;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.about__monitor-bar {
  height: 28px;
  background: linear-gradient(180deg, #0e1428, #070a14);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.about__monitor-bar::before {
  content: "";
  position: absolute;
  top: 50%; left: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 22px 0 0 var(--warn), 44px 0 0 var(--primary);
  transform: translateY(-50%);
}

.about__monitor-screen {
  padding: 24px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  min-height: 360px;
}
.code-line { white-space: pre-wrap; opacity: 0; animation: typeIn 0.5s ease forwards; }
.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.7s; }
.code-line:nth-child(3) { animation-delay: 0.9s; }
.code-line:nth-child(4) { animation-delay: 1.1s; }
.code-line:nth-child(5) { animation-delay: 1.3s; }
.code-line:nth-child(6) { animation-delay: 1.5s; }
.code-line:nth-child(7) { animation-delay: 1.7s; }
.code-line:nth-child(8) { animation-delay: 1.9s; }
.code-line:nth-child(9) { animation-delay: 2.4s; }
.code-line:nth-child(10) { animation-delay: 2.7s; }
.code-line:nth-child(11) { animation-delay: 3.0s; }
.code-line:nth-child(12) { animation-delay: 3.3s; }
.code-line:nth-child(13) { animation-delay: 3.5s; }
@keyframes typeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.code-cmd { color: var(--primary-2); }
.code-line--ok { color: var(--primary); }
.code-line--warn { color: var(--warn); }
.code-blink {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--primary);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.about__copy .section__title { margin-bottom: 18px; }
.about__copy p { color: var(--text-dim); margin: 0 0 16px; }

.badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.badge:hover { border-color: var(--primary); transform: translateY(-2px); }
.badge iconify-icon { font-size: 22px; color: var(--primary); }

.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   LOCATIONS
========================================================= */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.location {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.location:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-neon); }

.location__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.location__head iconify-icon {
  font-size: 32px;
  color: var(--primary);
}
.location__head h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 22px;
  flex: 1;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0, 255, 157, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 255, 157, 0.3);
}
.tag--alt { background: rgba(0, 212, 255, 0.15); color: var(--primary-2); border-color: rgba(0, 212, 255, 0.3); }

.location__addr {
  color: var(--text-dim);
  margin: 0 0 14px;
}
.location__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 14px;
}
.location__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-dim);
}
.location__meta iconify-icon { font-size: 18px; color: var(--primary); }
.location__meta a { color: var(--text); font-weight: 600; }
.location__meta a:hover { color: var(--primary); }

.location__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #0a0e1a;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(170deg) saturate(0.6);
}

/* =========================================================
   REVIEWS
========================================================= */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.review:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.review__stars {
  display: flex;
  gap: 4px;
  font-size: 18px;
  color: #ffcc4d;
  margin-bottom: 14px;
}
.review p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-2);
  color: #001a12;
  font-weight: 700;
  font-family: var(--font-display);
}
.review__author strong { display: block; font-size: 14px; }
.review__author em { font-style: normal; font-size: 12px; color: var(--text-mute); }

/* =========================================================
   CONTACT
========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__copy .section__title { margin-bottom: 18px; }
.contact__copy .section__lede { margin-bottom: 28px; text-align: left; }

.contact__channels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.channel:hover { transform: translateX(6px); border-color: var(--primary); background: rgba(0, 255, 157, 0.05); }
.channel iconify-icon { font-size: 28px; color: var(--primary); }
.channel strong { display: block; font-size: 15px; }
.channel em { font-style: normal; font-size: 13px; color: var(--text-dim); }

/* Form */
.contact__form {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: block;
  margin-bottom: 14px;
}
.field > span {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 255, 157, 0.15);
}
.field--check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 20px;
}
.field--check input { width: auto; margin-top: 4px; accent-color: var(--primary); }
.field--check span {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: none;
}

.form__status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 22px;
}
.form__status.success { color: var(--primary); }
.form__status.error { color: var(--danger); }

/* =========================================================
   FOOTER
========================================================= */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 60px 28px 30px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 16px 0;
  max-width: 380px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer__social a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  background: rgba(0, 255, 157, 0.08);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer__col a:hover { color: var(--primary); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-mute);
}
.footer__credit { display: inline-flex; align-items: center; gap: 6px; }
.footer__credit iconify-icon { color: var(--danger); animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.25); }
  20%      { transform: scale(0.95); }
}

/* =========================================================
   FLOATING ACTION BUTTON (mobile)
========================================================= */
.fab {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--grad-2);
  color: #001a12;
  font-weight: 700;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  box-shadow: 0 12px 32px rgba(0, 255, 157, 0.4);
  animation: fabPulse 2s ease-in-out infinite;
}
.fab iconify-icon { font-size: 22px; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(0, 255, 157, 0.4); }
  50%      { box-shadow: 0 12px 32px rgba(0, 255, 157, 0.7), 0 0 0 8px rgba(0, 255, 157, 0.1); }
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .locations { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .hero__device { opacity: 0.45; right: -120px; }
}

@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .nav__menu {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: rgba(6, 8, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    font-size: 22px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__burger { display: block; }
  .nav__actions .btn--sm { display: none; }
  .nav__actions .btn--sm.btn--primary { display: inline-flex; }

  .hero { padding: 120px 20px 100px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2)::after { display: none; }
  .hero__device { display: none; }

  .section { padding: 70px 20px; }
  .section__head { margin-bottom: 40px; }

  .services { grid-template-columns: 1fr; gap: 16px; }
  .service-card--wide { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .fab { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-fx__mesh, .device-orbit, .device-phone, .marquee__track { animation: none !important; }
}
