/* ===== CSS Variables ===== */
:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(15, 15, 35, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --neon-blue: #00d4ff;
  --neon-purple: #b026ff;
  --neon-pink: #ff2d95;
  --neon-cyan: #00f5d4;
  --neon-orange: #ff6b35;

  --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  --gradient-shimmer: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink), var(--neon-cyan), var(--neon-blue));

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);

  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.15);
  --glow-purple: 0 0 20px rgba(176, 38, 255, 0.4), 0 0 60px rgba(176, 38, 255, 0.15);
  --glow-pink: 0 0 20px rgba(255, 45, 149, 0.4), 0 0 60px rgba(255, 45, 149, 0.15);

  --border-glass: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* ===== Background Effects ===== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(176, 38, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 45, 149, 0.05) 0%, transparent 60%),
    var(--bg-primary);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-text {
  background: var(--gradient-shimmer);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gradient {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--glow-blue);
  animation: btnGlow 3s ease-in-out infinite;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 80px rgba(176, 38, 255, 0.3);
  color: #fff;
}

@keyframes btnGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-outline-neon {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline-neon:hover {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1110;
  min-height: var(--header-height);
  height: auto;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header.scrolled,
.header.menu-open {
  background: rgba(5, 5, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
  background: rgba(5, 5, 16, 0.85);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  gap: 12px;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-arsovia,
.logo-web {
  display: inline;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.logo-arsovia {
  color: var(--text-primary);
}

.logo-web.gradient-text {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.lang-switch--mobile {
  margin: 0;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch--header .lang-switch__btn {
  min-width: 36px;
  padding: 6px 10px;
}

.lang-switch__btn {
  min-width: 40px;
  padding: 6px 12px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch__btn:hover {
  color: var(--text-primary);
}

.lang-switch__btn.active {
  background: var(--gradient-primary);
  color: #0a0a12;
  box-shadow: var(--glow-blue);
}

.currency-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.currency-switch__btn {
  min-width: 36px;
  padding: 6px 10px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.currency-switch__btn:hover {
  color: var(--text-primary);
}

.currency-switch__btn.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(176, 38, 255, 0.25));
  color: var(--text-primary);
  border: 1px solid rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.currency-switch--header .currency-switch__btn {
  min-width: 32px;
  padding: 6px 8px;
  font-size: 0.8rem;
}

.currency-switch--section .currency-switch__btn {
  min-width: 52px;
  padding: 8px 14px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  position: relative;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(5, 5, 16, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 24px) 24px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobile-menu ul {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.mobile-menu li {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--neon-blue);
}

.mobile-cta {
  width: 100%;
  margin-top: 0;
  justify-content: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.02);
  will-change: transform;
  animation: heroBgZoom 20s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.06); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(5, 5, 16, 0.97) 0%,
      rgba(5, 5, 16, 0.88) 35%,
      rgba(5, 5, 16, 0.55) 60%,
      rgba(5, 5, 16, 0.25) 100%
    ),
    linear-gradient(to top, rgba(5, 5, 16, 0.9) 0%, transparent 40%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-bottom: 40px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--neon-purple);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-arsovia {
  display: block;
  color: var(--text-primary);
}

.hero-web {
  display: block;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 8px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--bg-glass);
}

.social-icon:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-3px);
}

.social-icon[aria-label="WhatsApp"]:hover {
  border-color: #25d366;
  color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4), 0 0 60px rgba(37, 211, 102, 0.15);
}

.social-icon[aria-label="Telegram"]:hover {
  border-color: #2aabee;
  color: #2aabee;
  box-shadow: 0 0 20px rgba(42, 171, 238, 0.4), 0 0 60px rgba(42, 171, 238, 0.15);
}

/* Hero Visual / Background glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow--blue {
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  background: rgba(0, 212, 255, 0.18);
  top: 15%;
  right: 10%;
  animation: floatGlow 6s ease-in-out infinite;
}

.hero-glow--purple {
  width: 50vw;
  height: 50vw;
  max-width: 550px;
  max-height: 550px;
  background: rgba(176, 38, 255, 0.15);
  bottom: 5%;
  right: 5%;
  animation: floatGlow 6s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-float-icon {
  position: absolute;
  bottom: 12%;
  right: 8%;
  z-index: 3;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 16px;
  background: rgba(15, 15, 35, 0.75);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  backdrop-filter: blur(12px);
  animation: iconPulse 3s ease-in-out infinite, heroFloat 5s ease-in-out infinite;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: var(--glow-blue); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(176, 38, 255, 0.3); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.section-header {
  margin-bottom: 60px;
}

.section-header--flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--neon-purple);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: -40px 0 48px;
  line-height: 1.7;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.view-all:hover {
  color: var(--neon-blue);
  gap: 12px;
}

/* ===== About ===== */
.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Stat Cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -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: xor;
  mask-composite: exclude;
  transition: var(--transition);
}

.stat-card[data-color="blue"]::before { background: linear-gradient(135deg, var(--neon-blue), transparent); }
.stat-card[data-color="purple"]::before { background: linear-gradient(135deg, var(--neon-purple), transparent); }
.stat-card[data-color="pink"]::before { background: linear-gradient(135deg, var(--neon-pink), transparent); }
.stat-card[data-color="cyan"]::before { background: linear-gradient(135deg, var(--neon-cyan), transparent); }

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-card[data-color="blue"]:hover { box-shadow: var(--glow-blue); }
.stat-card[data-color="purple"]:hover { box-shadow: var(--glow-purple); }
.stat-card[data-color="pink"]:hover { box-shadow: var(--glow-pink); }
.stat-card[data-color="cyan"]:hover { box-shadow: 0 0 20px rgba(0, 245, 212, 0.4), 0 0 60px rgba(0, 245, 212, 0.15); }

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.stat-card[data-color="blue"] .stat-icon { color: var(--neon-blue); filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5)); }
.stat-card[data-color="purple"] .stat-icon { color: var(--neon-purple); filter: drop-shadow(0 0 8px rgba(176, 38, 255, 0.5)); }
.stat-card[data-color="pink"] .stat-icon { color: var(--neon-pink); filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.5)); }
.stat-card[data-color="cyan"] .stat-icon { color: var(--neon-cyan); filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.5)); }

.stat-number {
  display: inline;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  display: inline;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-purple);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ===== Service Cards ===== */
#services {
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 420px;
  background: radial-gradient(ellipse, rgba(176, 38, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.services-grid > [class*="col-"] {
  display: flex;
}

.service-card {
  opacity: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    rgba(12, 12, 28, 0.72);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -80px;
  right: -50px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(50px);
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.service-card[data-color="blue"]::before { background: var(--neon-blue); }
.service-card[data-color="purple"]::before { background: var(--neon-purple); }
.service-card[data-color="orange"]::before { background: var(--neon-orange); }
.service-card[data-color="cyan"]::before { background: var(--neon-cyan); }
.service-card[data-color="pink"]::before { background: var(--neon-pink); }

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.45s ease, left 0.45s ease, right 0.45s ease;
}

.service-card[data-color="blue"]::after { background: linear-gradient(90deg, transparent, var(--neon-blue), transparent); }
.service-card[data-color="purple"]::after { background: linear-gradient(90deg, transparent, var(--neon-purple), transparent); }
.service-card[data-color="orange"]::after { background: linear-gradient(90deg, transparent, var(--neon-orange), transparent); }
.service-card[data-color="cyan"]::after { background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent); }
.service-card[data-color="pink"]::after { background: linear-gradient(90deg, transparent, var(--neon-pink), transparent); }

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
}

.service-card.is-open {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-card[data-color="blue"]:hover,
.service-card[data-color="blue"].is-open { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow-blue); }
.service-card[data-color="purple"]:hover,
.service-card[data-color="purple"].is-open { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow-purple); }
.service-card[data-color="orange"]:hover,
.service-card[data-color="orange"].is-open { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 28px rgba(255, 107, 53, 0.35); }
.service-card[data-color="cyan"]:hover,
.service-card[data-color="cyan"].is-open { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 28px rgba(0, 245, 212, 0.35); }
.service-card[data-color="pink"]:hover,
.service-card[data-color="pink"].is-open { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow-pink); }

.service-card:hover::before,
.service-card.is-open::before {
  opacity: 0.35;
}

.service-card:hover::after,
.service-card.is-open::after {
  opacity: 1;
  left: 16px;
  right: 16px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon,
.service-card.is-open .service-icon {
  transform: scale(1.06);
}

.service-card[data-color="blue"] .service-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.04));
  color: var(--neon-blue);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card[data-color="purple"] .service-icon {
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.18), rgba(176, 38, 255, 0.04));
  color: var(--neon-purple);
  box-shadow: 0 0 24px rgba(176, 38, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card[data-color="orange"] .service-icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 107, 53, 0.04));
  color: var(--neon-orange);
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card[data-color="cyan"] .service-icon {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.18), rgba(0, 245, 212, 0.04));
  color: var(--neon-cyan);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card[data-color="pink"] .service-icon {
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.18), rgba(255, 45, 149, 0.04));
  color: var(--neon-pink);
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-right: 48px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
  flex: 1;
}

.service-card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.service-card__reveal-inner {
  overflow: hidden;
  min-height: 0;
  padding-top: 0;
  transition: padding-top 0.45s ease;
}

.service-card.is-open .service-card__reveal {
  grid-template-rows: 1fr;
  pointer-events: auto;
}

.service-card.is-open .service-card__reveal-inner {
  padding-top: 20px;
}

.service-card.is-open .service-card__price {
  animation: serviceReveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.06s both;
}

.service-card.is-open .service-card__cta {
  animation: serviceReveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.12s both;
}

@keyframes serviceReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.service-card__price span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.service-card__price strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card__cta {
  width: 100%;
  padding: 13px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.service-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(176, 38, 255, 0.35);
}

.service-card__cta:hover::before {
  transform: translateX(120%);
}

.service-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.service-card:hover .service-arrow {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-blue);
}

.service-card.is-open .service-arrow,
.service-card.is-open:hover .service-arrow {
  transform: rotate(180deg);
}

.service-card[data-color="blue"].is-open .service-arrow,
.service-card[data-color="blue"].is-open:hover .service-arrow {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.service-card[data-color="purple"].is-open .service-arrow,
.service-card[data-color="purple"].is-open:hover .service-arrow {
  background: rgba(176, 38, 255, 0.15);
  border-color: rgba(176, 38, 255, 0.35);
  color: var(--neon-purple);
  box-shadow: 0 0 16px rgba(176, 38, 255, 0.25);
}

.service-card[data-color="orange"].is-open .service-arrow,
.service-card[data-color="orange"].is-open:hover .service-arrow {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.35);
  color: var(--neon-orange);
  box-shadow: none;
}

.service-card[data-color="cyan"].is-open .service-arrow,
.service-card[data-color="cyan"].is-open:hover .service-arrow {
  background: rgba(0, 245, 212, 0.15);
  border-color: rgba(0, 245, 212, 0.35);
  color: var(--neon-cyan);
  box-shadow: none;
}

.service-card[data-color="pink"].is-open .service-arrow,
.service-card[data-color="pink"].is-open:hover .service-arrow {
  background: rgba(255, 45, 149, 0.15);
  border-color: rgba(255, 45, 149, 0.35);
  color: var(--neon-pink);
  box-shadow: none;
}

/* ===== Project Cards ===== */
.projects-grid {
  margin-top: 8px;
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 18px;
  border: 1px solid var(--border-glass);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(9, 9, 24, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  opacity: 1;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.16), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(176, 38, 255, 0.14), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.project-card-link:hover .project-card {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(10, 10, 28, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 50px rgba(0, 212, 255, 0.09);
}

.project-card-link:hover .project-card::before {
  opacity: 1;
}

.project-card-link:hover .project-overlay {
  opacity: 1;
}

.project-card-link:hover .project-link {
  transform: scale(1);
}

.project-card-link:focus-visible .project-card {
  outline: 2px solid var(--neon-blue);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.project-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  position: relative;
  margin-bottom: 18px;
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.project-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-link:hover .project-img-photo {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 5, 16, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-img--1 {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a3e 50%, #0a2840 100%);
  position: relative;
}

.project-img--1::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent 70%);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(2px);
  animation: spherePulse 4s ease-in-out infinite;
}

.project-img--2 {
  background: linear-gradient(135deg, #f5f0eb 0%, #e8ddd0 50%, #d4c5b0 100%);
}

.project-img--2::before {
  content: 'МЕБЕЛЬ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.15);
  letter-spacing: 8px;
}

.project-img--3 {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1520 100%);
}

.project-img--3::before {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.3) 0%, transparent 100%) 0 0 / 60% 3px no-repeat,
    linear-gradient(90deg, rgba(176, 38, 255, 0.3) 0%, transparent 100%) 0 30% / 80% 3px no-repeat,
    linear-gradient(90deg, rgba(255, 45, 149, 0.3) 0%, transparent 100%) 0 60% / 45% 3px no-repeat,
    linear-gradient(90deg, rgba(0, 245, 212, 0.3) 0%, transparent 100%) 0 90% / 70% 3px no-repeat;
}

.project-img--4 {
  background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a1008 100%);
}

.project-img--4::before {
  content: '🍽';
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

.project-img--4::after {
  content: 'ВКУС';
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: rgba(255, 107, 53, 0.4);
}

.project-img--5 {
  background: linear-gradient(135deg, #0a1a0f 0%, #0f2818 50%, #061510 100%);
}

.project-img--5::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(0, 245, 212, 0.4);
  border-radius: 50%;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.2);
}

.project-img--5::after {
  content: 'POWERGYM';
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: rgba(0, 245, 212, 0.35);
}

.project-img--6 {
  background: linear-gradient(135deg, #0a0a20 0%, #12102a 50%, #0a1525 100%);
}

.project-img--6::before {
  content: '';
  position: absolute;
  inset: 25% 15%;
  border-left: 2px solid rgba(0, 212, 255, 0.3);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  background:
    linear-gradient(135deg, transparent 40%, rgba(176, 38, 255, 0.2) 40%, rgba(176, 38, 255, 0.2) 45%, transparent 45%),
    linear-gradient(135deg, transparent 55%, rgba(0, 212, 255, 0.3) 55%, rgba(0, 212, 255, 0.3) 60%, transparent 60%),
    linear-gradient(135deg, transparent 70%, rgba(255, 45, 149, 0.25) 70%, rgba(255, 45, 149, 0.25) 75%, transparent 75%);
}

.project-img--6::after {
  content: '₿ ETH';
  position: absolute;
  top: 18%;
  right: 18%;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.5);
  letter-spacing: 2px;
}

@keyframes spherePulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transform: scale(0.5);
  transition: var(--transition);
  box-shadow: var(--glow-blue);
}


.project-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-desc {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 14px;
}

.project-highlights span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.project-tech {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tech span {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
}

.project-lang-note {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.project-lang-note i {
  color: var(--neon-blue);
  font-size: 0.85rem;
  line-height: 1;
}

.project-lang-note--en {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.06);
}

.project-lang-note--en i {
  color: var(--neon-purple);
}

.project-lang-note--rukz {
  border-color: rgba(176, 38, 255, 0.22);
  background: rgba(176, 38, 255, 0.08);
}

.project-lang-note--rukz i {
  color: var(--neon-purple);
}

.project-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--neon-blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.project-cta::after {
  content: '\F144';
  font-family: "bootstrap-icons";
  font-size: 0.95rem;
  transition: transform var(--transition);
}

.project-card-link:hover .project-cta::after {
  transform: translate(4px, -4px);
}

/* Placeholder project cards */
.project-card--placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(9, 9, 24, 0.55);
  cursor: default;
}

.project-card--placeholder::before {
  display: none;
}

.project-img-wrap--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.06), rgba(176, 38, 255, 0.06)),
    rgba(255, 255, 255, 0.02);
}

.project-placeholder-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
}

.project-badge--muted {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 16, 0.55);
}

.project-card--placeholder h3 {
  color: rgba(255, 255, 255, 0.55);
}

.project-card--placeholder .project-desc {
  color: rgba(255, 255, 255, 0.38);
}

.project-highlights--placeholder span,
.project-tech--placeholder span {
  opacity: 0.35;
  border-style: dashed;
}

.project-cta--muted {
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.project-cta--muted::after {
  display: none;
}

/* ===== Technologies Marquee ===== */
#technologies {
  overflow: hidden;
}

.tech-marquee {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-track {
  display: flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.tech-item i {
  font-size: 1.2rem;
  color: var(--neon-blue);
}

.tech-item:hover {
  border-color: var(--neon-purple);
  color: var(--text-primary);
  box-shadow: var(--glow-purple);
}

/* ===== FAQ (SEO) ===== */
.faq-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.faq-section__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(176, 38, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
}

.faq-section__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 3.5rem;
  align-items: start;
}

.faq-section__head {
  position: sticky;
  top: 100px;
}

.faq-section__title {
  margin-bottom: 1rem;
  line-height: 1.15;
}

.faq-section__lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 340px;
}

.faq-section__cta {
  display: inline-flex;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.35), rgba(0, 212, 255, 0.15), transparent 60%);
  -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: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.faq-item:hover {
  border-color: rgba(176, 38, 255, 0.25);
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.faq-item[open]::before {
  opacity: 1;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--neon-purple);
  background: rgba(176, 38, 255, 0.12);
  border: 1px solid rgba(176, 38, 255, 0.25);
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-item__num {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(176, 38, 255, 0.2));
  color: var(--neon-cyan);
  border-color: rgba(0, 212, 255, 0.35);
}

.faq-item__q {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-primary);
  padding-right: 0.5rem;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--neon-purple);
  font-size: 0.9rem;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--neon-cyan);
}

.faq-item__body {
  padding: 0 1.35rem 1.35rem 4.35rem;
  animation: faqReveal 0.35s ease;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item__body p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(0, 212, 255, 0.35);
}

.hero-seo-line {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  opacity: 0.85;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

/* ===== Contact ===== */
.contact-section {
  padding-bottom: 60px;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.contact-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(40px);
  animation: floatGlow 8s ease-in-out infinite;
}

.contact-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-desc {
  color: var(--text-secondary);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ===== Lead form ===== */
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form__group {
  margin-bottom: 16px;
}

.lead-form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.lead-form__group input,
.lead-form__group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.lead-form__group input:focus,
.lead-form__group textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.lead-form__group input.is-invalid,
.lead-form__group textarea.is-invalid {
  border-color: #ff6b8a;
}

.lead-form__error {
  display: block;
  min-height: 1.2em;
  font-size: 0.8rem;
  color: #ff6b8a;
  margin-top: 6px;
}

.lead-form__msg {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

.lead-form__msg.success {
  color: #3fb950;
}

.lead-form__msg.error {
  color: #ff6b8a;
}

.lead-form__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-form__lang-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.lang-switch--form {
  padding: 3px;
}

.lang-switch--form .lang-switch__btn {
  min-width: 44px;
  padding: 7px 14px;
}

/* ===== Lead modal ===== */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(8px);
}

.lead-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0f0f22, #12102a);
  border: 1px solid rgba(176, 38, 255, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), var(--glow-purple);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}

.lead-modal.open .lead-modal__dialog {
  transform: translateY(0) scale(1);
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: var(--transition);
}

.lead-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lead-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lead-modal__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

body.lead-open {
  overflow: hidden;
}

.contact-btn {
  margin-left: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid transparent;
  text-decoration: none;
}

.contact-item i {
  font-size: 1.1rem;
}

.contact-item .bi-whatsapp { color: #25d366; }
.contact-item .bi-telephone { color: var(--neon-cyan); }

.contact-item:hover {
  color: var(--text-primary);
  border-color: var(--border-glass);
  background: var(--bg-glass);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-glass);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social .social-icon {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.social-icon--whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.social-icon--telegram {
  border-color: rgba(42, 171, 238, 0.35);
  color: #2aabee;
}

/* ===== Reveal Animation (initial state) ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  :root {
    --header-height: 56px;
  }

  .header {
    height: var(--header-height);
    min-height: var(--header-height);
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
  }

  .header .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .logo {
    font-size: clamp(0.68rem, 2.8vw, 0.9rem);
    letter-spacing: 0.2px;
    gap: 4px;
    max-width: none;
  }

  .nav-links {
    display: none;
  }

  .navbar-actions {
    gap: 3px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .navbar-actions .lang-switch__btn.active {
    box-shadow: none;
  }

  .currency-switch--header {
    padding: 2px;
  }

  .currency-switch--header .currency-switch__btn {
    min-width: 24px;
    padding: 4px 5px;
    font-size: 0.65rem;
  }

  .lang-switch--header {
    padding: 2px;
  }

  .lang-switch--header .lang-switch__btn {
    min-width: 28px;
    padding: 4px 7px;
    font-size: 0.65rem;
  }

  .burger {
    display: flex;
    width: 36px;
    height: 36px;
    margin-left: 2px;
  }

  .hero-bg-img {
    object-position: 70% center;
    animation: none;
    transform: none;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(5, 5, 16, 0.92) 0%,
        rgba(5, 5, 16, 0.85) 50%,
        rgba(5, 5, 16, 0.7) 100%
      );
  }

  .hero-float-icon {
    bottom: 8%;
    right: 6%;
  }

  .contact-box {
    padding: 32px 24px;
  }

  .contact-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .faq-section__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-section__head {
    position: static;
    text-align: center;
  }

  .faq-section__lead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 70px 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .btn {
    max-width: 100%;
  }

  .hero-subtitle {
    letter-spacing: 1.5px;
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-float-icon {
    display: none;
  }

  .contact-item span {
    word-break: break-word;
    text-align: center;
  }

  .section-header--flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .currency-switch--section {
    width: 100%;
    justify-content: center;
  }

  .section-lead {
    margin: -24px 0 36px;
    font-size: 0.95rem;
  }

  .lead-form__row {
    grid-template-columns: 1fr;
  }

  .contact-links {
    margin-bottom: 8px;
  }

  .project-card {
    padding: 10px 10px 16px;
  }

  .project-highlights {
    grid-template-columns: 1fr;
  }

  .project-highlights span {
    min-height: auto;
    justify-content: flex-start;
    text-align: left;
  }

  .lead-modal__dialog {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-height: 52px;
  }

  .logo {
    font-size: 0.72rem;
    gap: 3px;
  }

  .currency-switch--header .currency-switch__btn {
    min-width: 22px;
    padding: 3px 4px;
    font-size: 0.62rem;
  }

  .lang-switch--header .lang-switch__btn {
    min-width: 26px;
    padding: 3px 6px;
    font-size: 0.62rem;
  }

  .burger {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .hero-bg-img {
    object-position: center;
  }

  .hero-container {
    padding-bottom: 32px;
  }

  .mobile-link {
    font-size: 1.25rem;
  }

  .service-card {
    padding: 26px 20px 22px;
  }

  .service-card__price {
    flex-wrap: wrap;
    gap: 8px;
  }

  .service-card__price strong {
    font-size: 1.05rem;
    white-space: normal;
  }

  .contact-box {
    padding: 24px 16px;
  }

  .footer-copy {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .faq-section {
    padding: 70px 0;
  }

  .faq-item summary {
    padding: 1rem 1rem;
    gap: 0.75rem;
  }

  .faq-item__num {
    width: 30px;
    height: 30px;
    font-size: 0.65rem;
  }

  .faq-item__q {
    font-size: 0.92rem;
  }

  .faq-item__body {
    padding: 0 1rem 1rem 1rem;
  }
}

/* ===== Page Loader ===== */
.page-loader {
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.page-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-loader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.page-loader__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: loaderGlow 5s ease-in-out infinite alternate;
}

.page-loader__glow--cyan {
  width: 280px;
  height: 280px;
  top: 20%;
  left: 15%;
  background: rgba(0, 212, 255, 0.22);
}

.page-loader__glow--purple {
  width: 320px;
  height: 320px;
  bottom: 15%;
  right: 10%;
  background: rgba(176, 38, 255, 0.2);
  animation-delay: -2.5s;
}

@keyframes loaderGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, -15px) scale(1.08); }
}

.page-loader__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(320px, 86vw);
  text-align: center;
}

.page-loader__ring {
  position: relative;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader__ring-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--neon-cyan) 25%, var(--neon-purple) 55%, var(--neon-pink) 80%, transparent 100%);
  animation: loaderSpin 1.4s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

.page-loader__ring-orbit::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 16, 0.85);
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

.page-loader__logo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 2px;
}

.page-loader__arsovia {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.page-loader__web {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-loader__bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-loader__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--gradient-primary);
  background-size: 200% 100%;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
  transition: width 0.35s ease;
  animation: loaderBarShimmer 2s ease-in-out infinite;
}

@keyframes loaderBarShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.page-loader__text {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.page-loader__dots span {
  animation: loaderDot 1.2s ease-in-out infinite;
}

.page-loader__dots span:nth-child(2) { animation-delay: 0.15s; }
.page-loader__dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes loaderDot {
  0%, 60%, 100% { opacity: 0.2; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* ===== Performance (mobile / lite mode) ===== */
.perf-lite #particles {
  display: none;
}

.perf-lite .hero-bg-img {
  animation: none;
  transform: none;
  will-change: auto;
}

.perf-lite .hero-glow,
.perf-lite .hero-float-icon {
  display: none;
}

.perf-lite .btn-gradient {
  animation: none;
}

.perf-lite .shimmer-text {
  animation: none;
  background-position: 0% 50%;
}

.perf-lite .service-card,
.perf-lite .stat-card,
.perf-lite .project-card,
.perf-lite .faq-item,
.perf-lite .contact-box,
.perf-lite .lead-modal__dialog,
.perf-lite .header,
.perf-lite .header.scrolled,
.perf-lite .header.menu-open,
.perf-lite .mobile-menu {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.perf-lite .tech-sphere {
  animation: none;
}

.perf-lite .tech-marquee {
  animation-duration: 45s;
}

.perf-lite .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.perf-lite .hero {
  content-visibility: visible;
}

@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;
  }
}
