/* 
  SUPERAGENT — Design System
  Palette: Dark theme with holographic accents
  Primary: #0a0514 (near-black), Secondary: #1a0d2e (deep purple), Tertiary: #2a1a3f (mid purple)
  Accents: #00f5ff (cyan), #b347ff (purple), #ff00d4 (pink)
  Text: #f0e8ff (light purple-tint), #c4a5e8 (mid purple-tint)
*/

:root {
  /* Colors */
  --hlgr-bg-primary: #0a0514;
  --hlgr-bg-secondary: #1a0d2e;
  --hlgr-bg-tertiary: #2a1a3f;
  --hlgr-text-primary: #f0e8ff;
  --hlgr-text-secondary: #c4a5e8;
  --hlgr-text-muted: #8b6fa8;
  --hlgr-accent-cyan: #00f5ff;
  --hlgr-accent-purple: #b347ff;
  --hlgr-accent-pink: #ff00d4;
  --hlgr-border: rgba(179, 71, 255, 0.2);
  --hlgr-border-bright: rgba(0, 245, 255, 0.4);
  --hlgr-glow-cyan: rgba(0, 245, 255, 0.4);
  --hlgr-glow-purple: rgba(179, 71, 255, 0.3);
  --hlgr-glow-pink: rgba(255, 0, 212, 0.3);
  
  /* Typography */
  --hlgr-font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --hlgr-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --hlgr-scale-display: clamp(2rem, 5vw + 1rem, 4.5rem);
  --hlgr-scale-h1: clamp(1.75rem, 4vw + 1rem, 3.5rem);
  --hlgr-scale-h2: clamp(1.5rem, 3vw + 1rem, 2.5rem);
  --hlgr-scale-h3: clamp(1.25rem, 2.5vw + 1rem, 2rem);
  --hlgr-scale-body: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --hlgr-scale-small: clamp(0.875rem, 0.5vw + 0.75rem, 1rem);
  
  /* Spacing */
  --hlgr-space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --hlgr-space-sm: clamp(0.75rem, 1.5vw, 1.25rem);
  --hlgr-space-md: clamp(1.5rem, 3vw, 2.5rem);
  --hlgr-space-lg: clamp(2.5rem, 5vw, 4rem);
  --hlgr-space-xl: clamp(4rem, 8vw, 8rem);
  --hlgr-space-xxl: clamp(6rem, 12vw, 12rem);
  
  /* Layout */
  --hlgr-container-max: 1280px;
  --hlgr-container-padding: clamp(1rem, 4vw, 2rem);
  --hlgr-radius-sm: 0.5rem;
  --hlgr-radius-md: 1rem;
  --hlgr-radius-lg: 1.5rem;
  --hlgr-radius-xl: 2rem;
  
  /* Effects */
  --hlgr-shadow-glow: 0 0 20px var(--hlgr-glow-cyan), 0 0 40px var(--hlgr-glow-purple);
  --hlgr-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --hlgr-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Normalize */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: var(--hlgr-font-body);
  font-size: var(--hlgr-scale-body);
  line-height: 1.6;
  color: var(--hlgr-text-primary);
  background-color: var(--hlgr-bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--hlgr-transition);
}

a:focus-visible {
  outline: 2px solid var(--hlgr-accent-cyan);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid var(--hlgr-accent-cyan);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--hlgr-accent-cyan);
  color: var(--hlgr-bg-primary);
  padding: var(--hlgr-space-xs) var(--hlgr-space-sm);
  text-decoration: none;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.hlgr-container {
  width: 100%;
  max-width: var(--hlgr-container-max);
  margin: 0 auto;
  padding: 0 var(--hlgr-container-padding);
}

/* Header */
.hlgr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hlgr-border);
  padding: var(--hlgr-space-sm) 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .hlgr-header {
    z-index: 100;
  }
  
  body.menu-open .hlgr-header {
    z-index: 100;
  }
}

.hlgr-header .hlgr-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hlgr-space-md);
}

.hlgr-logo {
  display: flex;
  align-items: center;
  gap: var(--hlgr-space-xs);
  font-weight: 700;
  font-size: var(--hlgr-scale-body);
  letter-spacing: 0.05em;
  color: var(--hlgr-text-primary);
  transition: all var(--hlgr-transition);
  text-decoration: none;
}

.hlgr-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hlgr-logo svg {
  filter: drop-shadow(0 0 8px var(--hlgr-glow-cyan));
  animation: hlgr-pulse 3s ease-in-out infinite;
  transition: transform var(--hlgr-transition);
  flex-shrink: 0;
}

.hlgr-logo:hover svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px var(--hlgr-glow-cyan)) drop-shadow(0 0 20px var(--hlgr-glow-purple));
}

@keyframes hlgr-pulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px var(--hlgr-glow-cyan)); }
  50% { opacity: 0.8; filter: drop-shadow(0 0 12px var(--hlgr-glow-purple)); }
}

/* Navigation */
.hlgr-nav {
  position: relative;
}

.hlgr-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--hlgr-radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 101;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hlgr-nav__toggle:hover,
.hlgr-nav__toggle:focus-visible {
  border-color: var(--hlgr-accent-cyan);
  background: rgba(0, 245, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.hlgr-nav__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--hlgr-accent-cyan);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

.hlgr-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hlgr-nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hlgr-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: auto; /* Вимикаємо smooth scroll для мобільного */
  }
  
  html.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  body {
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
  }
  
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .hlgr-header .hlgr-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  
  .hlgr-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  
  .hlgr-nav__toggle {
    display: flex;
    order: 2;
    flex-shrink: 0;
  }
  
  .hlgr-logo {
    order: 1;
    flex-shrink: 0;
    margin-right: auto;
  }
  
  /* Оверлей для затемнення фону */
  .hlgr-nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  body.menu-open .hlgr-nav__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Оверлей показується коли меню відкрите */
  .hlgr-nav__list--open ~ .hlgr-nav__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Бічна панель меню - відкривається зліва */
  .hlgr-nav__list {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(10, 5, 20, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: none !important;
    border-right: 1px solid rgba(179, 71, 255, 0.2) !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    list-style: none !important;
    -webkit-overflow-scrolling: touch;
    pointer-events: none !important;
  }
  
  .hlgr-nav__list--open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }
  
  /* Пункти меню */
  .hlgr-nav__list > li {
    border-bottom: 1px solid rgba(179, 71, 255, 0.1);
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .hlgr-nav__list > li:last-of-type {
    border-bottom: none;
  }
  
  .hlgr-nav__list a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: var(--hlgr-scale-body);
    font-weight: 500;
    text-align: left;
    background: transparent !important;
    border: none;
    border-radius: 0;
    color: var(--hlgr-text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: rgba(0, 245, 255, 0.2);
    touch-action: manipulation;
    position: relative;
    flex-shrink: 0;
  }
  
  .hlgr-nav__list a:hover,
  .hlgr-nav__list a:focus-visible,
  .hlgr-nav__list a:active {
    background: rgba(179, 71, 255, 0.1) !important;
    color: var(--hlgr-accent-cyan);
    padding-left: 2rem;
  }
  
  /* Кнопка Contact у меню */
  .hlgr-nav__list .hlgr-btn {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    justify-content: center;
    margin: 1rem 1.5rem !important;
    padding: 0.875rem 1.5rem;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 245, 255, 0.2);
    touch-action: manipulation;
    font-weight: 600;
    font-size: var(--hlgr-scale-body);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
    flex-shrink: 0;
    border-radius: var(--hlgr-radius-md);
  }
  
  .hlgr-nav__list .hlgr-btn:hover,
  .hlgr-nav__list .hlgr-btn:focus-visible,
  .hlgr-nav__list .hlgr-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 245, 255, 0.4);
  }
  
  /* Загальні стилі для li */
  .hlgr-nav__list li {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
  }
}

.hlgr-nav__list {
  display: flex;
  align-items: center;
  gap: var(--hlgr-space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hlgr-nav__list li {
  background: transparent !important;
  position: relative;
}

.hlgr-nav__list li a {
  background: transparent !important;
}

/* Перевизначення для мобільного меню */
@media (max-width: 768px) {
  .hlgr-nav__list {
    align-items: stretch;
  }
}

@media (min-width: 769px) {
  .hlgr-nav__toggle {
    display: none !important;
  }
  
  .hlgr-nav__overlay {
    display: none !important;
  }
  
  .hlgr-nav__list {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    align-items: center !important;
    gap: var(--hlgr-space-md) !important;
    display: flex !important;
    pointer-events: auto !important;
  }
  
  .hlgr-nav__list::before,
  .hlgr-nav__list::after {
    display: none !important;
  }
}

.hlgr-nav__list a {
  padding: var(--hlgr-space-xs) var(--hlgr-space-sm);
  border-radius: var(--hlgr-radius-sm);
  transition: var(--hlgr-transition);
  position: relative;
  background: transparent !important;
  font-weight: 500;
  color: var(--hlgr-text-primary);
  text-decoration: none;
  display: inline-block;
}

.hlgr-nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--hlgr-accent-cyan);
  transition: transform var(--hlgr-transition);
}

.hlgr-nav__list a:hover::after,
.hlgr-nav__list a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.hlgr-nav__list a:hover,
.hlgr-nav__list a:focus-visible {
  color: var(--hlgr-accent-cyan);
  transform: translateY(-1px);
}

.hlgr-nav__list a:active,
.hlgr-nav__list a.active,
.hlgr-nav__list a.current,
.hlgr-nav__list a.selected {
  background: transparent !important;
  color: var(--hlgr-accent-cyan);
}

.hlgr-nav__list a.active::after,
.hlgr-nav__list a.current::after,
.hlgr-nav__list a.selected::after {
  transform: translateX(-50%) scaleX(1);
}

/* Buttons */
.hlgr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--hlgr-space-xs) var(--hlgr-space-md);
  font-weight: 600;
  font-size: var(--hlgr-scale-body);
  border-radius: var(--hlgr-radius-md);
  transition: var(--hlgr-transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.hlgr-btn--large {
  padding: var(--hlgr-space-sm) var(--hlgr-space-lg);
  font-size: var(--hlgr-scale-body);
}

.hlgr-btn--primary {
  background: linear-gradient(135deg, var(--hlgr-accent-purple), var(--hlgr-accent-cyan));
  color: var(--hlgr-bg-primary);
  border-color: transparent;
  box-shadow: 0 0 20px var(--hlgr-glow-cyan);
}

.hlgr-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.hlgr-btn--primary:hover::before {
  left: 100%;
}

.hlgr-btn--primary:hover,
.hlgr-btn--primary:focus-visible {
  box-shadow: 0 0 30px var(--hlgr-glow-cyan), 0 0 50px var(--hlgr-glow-purple);
  transform: translateY(-2px);
}

.hlgr-btn--secondary {
  background: transparent;
  color: var(--hlgr-text-primary);
  border-color: var(--hlgr-border-bright);
}

.hlgr-btn--secondary:hover,
.hlgr-btn--secondary:focus-visible {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 15px var(--hlgr-glow-cyan);
}

/* Hero Section */
.hlgr-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--hlgr-space-xxl) 0;
  overflow: hidden;
}

.hlgr-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.hlgr-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
  will-change: transform;
}

.hlgr-hero__hologram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: hlgr-hologram-rotate 20s linear infinite;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.5;
}

@keyframes hlgr-hologram-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hlgr-hero__grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: hlgr-grid-shift 20s linear infinite;
  z-index: 2;
  mix-blend-mode: screen;
}

@keyframes hlgr-grid-shift {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}

.hlgr-hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hlgr-hero__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--hlgr-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--hlgr-accent-cyan);
  animation: hlgr-particle-float 8s ease-in-out infinite;
}

.hlgr-hero__particles span:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.hlgr-hero__particles span:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.hlgr-hero__particles span:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 4s;
}

.hlgr-hero__particles span:nth-child(4) {
  top: 40%;
  left: 70%;
  animation-delay: 6s;
}

.hlgr-hero__particles span:nth-child(5) {
  top: 10%;
  left: 50%;
  animation-delay: 1s;
}

@keyframes hlgr-particle-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-30px) translateX(20px); opacity: 1; }
}

.hlgr-hero__glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 245, 255, 0.15) 25%,
    rgba(179, 71, 255, 0.15) 50%,
    rgba(255, 0, 212, 0.15) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

@keyframes hlgr-glitch-scan {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 0.8;
    transform: translateX(0%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Покращення продуктивності */
.hlgr-hero__canvas,
.hlgr-hero__grid-overlay,
.hlgr-hero__hologram {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Підтримка reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hlgr-hero__canvas {
    display: none;
  }
  
  .hlgr-hero__hologram,
  .hlgr-hero__grid-overlay {
    animation: none;
  }
  
  .hlgr-hero__particles span {
    animation: none;
    opacity: 0.5;
  }
}

.hlgr-hero__content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  transform: translateY(-130px) translateZ(0);
  will-change: transform;
}

.hlgr-hero__eyebrow {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--hlgr-space-md);
}

.hlgr-hero__title {
  font-size: var(--hlgr-scale-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--hlgr-space-md);
  color: var(--hlgr-text-primary);
}

.hlgr-hero__title-line {
  display: block;
}

.hlgr-hero__title-line--accent {
  background: linear-gradient(135deg, var(--hlgr-accent-cyan), var(--hlgr-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hlgr-text-glow 3s ease-in-out infinite;
}

@keyframes hlgr-text-glow {
  0%, 100% { filter: drop-shadow(0 0 10px var(--hlgr-glow-cyan)); }
  50% { filter: drop-shadow(0 0 20px var(--hlgr-glow-purple)); }
}

.hlgr-hero__description {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  margin-bottom: var(--hlgr-space-lg);
  line-height: 1.7;
}

.hlgr-hero__cta {
  display: flex;
  gap: var(--hlgr-space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--hlgr-space-xl);
}

.hlgr-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--hlgr-space-md);
}

.hlgr-stat {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-xs);
}

.hlgr-stat__number {
  font-size: var(--hlgr-scale-h2);
  font-weight: 700;
  color: var(--hlgr-accent-cyan);
  line-height: 1;
}

.hlgr-stat__label {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-secondary);
}

/* Sections */
.hlgr-section {
  padding: var(--hlgr-space-xl) 0;
}

.hlgr-section--alt {
  background: var(--hlgr-bg-secondary);
}

.hlgr-section--contact {
  background: linear-gradient(180deg, var(--hlgr-bg-secondary) 0%, var(--hlgr-bg-primary) 100%);
}

.hlgr-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--hlgr-space-xl);
}

.hlgr-section__title {
  font-size: var(--hlgr-scale-h1);
  font-weight: 700;
  margin-bottom: var(--hlgr-space-sm);
  color: var(--hlgr-text-primary);
}

.hlgr-section__subtitle {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  line-height: 1.7;
}

/* Services */
.hlgr-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hlgr-space-xl);
  margin-top: var(--hlgr-space-xl);
}

@media (max-width: 1200px) {
  .hlgr-services {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hlgr-space-lg);
  }
}

@media (max-width: 768px) {
  .hlgr-services {
    grid-template-columns: 1fr;
    gap: var(--hlgr-space-lg);
  }
}

.hlgr-service-card {
  background: linear-gradient(135deg, rgba(26, 13, 46, 0.9), rgba(10, 5, 20, 0.95));
  border: 1px solid rgba(179, 71, 255, 0.2);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: hlgr-service-fade-in 0.6s ease-out forwards;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hlgr-service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.hlgr-service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.hlgr-service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.hlgr-service-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes hlgr-service-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hlgr-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(179, 71, 255, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.hlgr-service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.hlgr-service-card:hover {
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 
    0 8px 40px rgba(0, 245, 255, 0.3),
    0 0 60px rgba(179, 71, 255, 0.2),
    inset 0 0 30px rgba(0, 245, 255, 0.05);
  transform: translateY(-8px);
}

.hlgr-service-card:hover::before {
  opacity: 1;
}

.hlgr-service-card:hover::after {
  opacity: 1;
}

.hlgr-service-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--hlgr-space-lg);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hlgr-service-card:hover .hlgr-service-card__icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 40px rgba(179, 71, 255, 0.6));
  animation: hlgr-icon-pulse 2s ease-in-out infinite;
}

@keyframes hlgr-icon-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 40px rgba(179, 71, 255, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(0, 245, 255, 1)) drop-shadow(0 0 60px rgba(179, 71, 255, 0.9));
  }
}

.hlgr-service-card__icon svg {
  width: 100%;
  height: 100%;
}

.hlgr-service-card__title {
  font-size: var(--hlgr-scale-h3);
  font-weight: 700;
  margin-bottom: var(--hlgr-space-md);
  color: var(--hlgr-text-primary);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.hlgr-service-card:hover .hlgr-service-card__title {
  color: var(--hlgr-accent-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.hlgr-service-card__description {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  margin-bottom: var(--hlgr-space-lg);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hlgr-service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-sm);
  position: relative;
  z-index: 1;
}

.hlgr-service-card__features li {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-muted);
  padding-left: var(--hlgr-space-lg);
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.hlgr-service-card:hover .hlgr-service-card__features li {
  color: var(--hlgr-text-secondary);
}

.hlgr-service-card__features li:hover {
  color: var(--hlgr-accent-cyan);
  transform: translateX(5px);
}

.hlgr-service-card__features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--hlgr-accent-purple);
  transition: all 0.3s ease;
  font-size: 1.2em;
}

.hlgr-service-card:hover .hlgr-service-card__features li::before {
  color: var(--hlgr-accent-cyan);
  transform: translateX(3px);
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.8);
}

/* Підтримка reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hlgr-service-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .hlgr-service-card:hover .hlgr-service-card__icon {
    animation: none;
    transform: scale(1.05);
  }
  
  .hlgr-service-card:hover {
    transform: translateY(-4px);
  }
}

/* Portfolio */
.hlgr-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--hlgr-space-md);
  margin-top: var(--hlgr-space-xl);
  perspective: 1000px;
}

.hlgr-portfolio-item--large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .hlgr-portfolio-item--large {
    grid-column: span 1;
  }
}

.hlgr-portfolio-item {
  background: linear-gradient(135deg, rgba(26, 13, 46, 0.95), rgba(10, 5, 20, 0.98));
  border: 1px solid rgba(179, 71, 255, 0.3);
  border-radius: var(--hlgr-radius-md);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: translateY(50px) rotateX(10deg);
  animation: hlgr-portfolio-fade-in 0.8s ease-out forwards;
  animation-play-state: paused;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hlgr-portfolio-item:nth-child(1) {
  animation-delay: 0.1s;
}

.hlgr-portfolio-item:nth-child(2) {
  animation-delay: 0.2s;
}

.hlgr-portfolio-item:nth-child(3) {
  animation-delay: 0.3s;
}

.hlgr-portfolio-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes hlgr-portfolio-fade-in {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Голографічна рамка */
.hlgr-portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--hlgr-radius-md);
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.3), rgba(179, 71, 255, 0.3), rgba(255, 0, 212, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.hlgr-portfolio-item:hover::before {
  opacity: 1;
}

.hlgr-portfolio-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.hlgr-portfolio-item:hover {
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 
    0 15px 45px rgba(0, 245, 255, 0.4),
    0 0 60px rgba(179, 71, 255, 0.3),
    inset 0 0 30px rgba(0, 245, 255, 0.1);
  transform: translateY(-8px) rotateX(-5deg) scale(1.02);
}

.hlgr-portfolio-item:hover::after {
  opacity: 1;
}

/* Іконка проєкту */
.hlgr-portfolio-item__icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  z-index: 2;
  opacity: 0.4;
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
  animation: hlgr-icon-float 4s ease-in-out infinite;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hlgr-portfolio-item:not(.hlgr-portfolio-item--large) .hlgr-portfolio-item__icon {
  width: 50px;
  height: 50px;
}

@keyframes hlgr-icon-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.hlgr-portfolio-item:hover .hlgr-portfolio-item__icon {
  opacity: 0.8;
  transform: translateY(-15px) rotate(10deg) scale(1.1);
  filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 50px rgba(179, 71, 255, 0.6));
  animation: hlgr-icon-pulse-fast 1.5s ease-in-out infinite;
}

@keyframes hlgr-icon-pulse-fast {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 50px rgba(179, 71, 255, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 245, 255, 1)) drop-shadow(0 0 70px rgba(179, 71, 255, 0.9));
  }
}

.hlgr-portfolio-item__icon svg {
  width: 100%;
  height: 100%;
}

.hlgr-portfolio-item__image {
  aspect-ratio: 16 / 10;
  background: var(--hlgr-bg-tertiary);
  position: relative;
  overflow: hidden;
  z-index: 1;
  max-height: 180px;
}

.hlgr-portfolio-item__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(179, 71, 255, 0.15), rgba(0, 245, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.hlgr-portfolio-item:hover .hlgr-portfolio-item__placeholder {
  transform: scale(1.05);
}

.hlgr-portfolio-item__placeholder::after {
  content: 'Preview';
  color: var(--hlgr-text-muted);
  font-size: var(--hlgr-scale-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hlgr-portfolio-item__content {
  padding: var(--hlgr-space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-xs);
  position: relative;
  z-index: 2;
}

.hlgr-portfolio-item__category {
  font-size: calc(var(--hlgr-scale-small) * 0.9);
  color: var(--hlgr-accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  position: relative;
  z-index: 3;
  margin-bottom: 2px;
}

.hlgr-portfolio-item__title {
  font-size: calc(var(--hlgr-scale-h4) * 0.95);
  font-weight: 700;
  color: var(--hlgr-text-primary);
  position: relative;
  z-index: 3;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hlgr-portfolio-item:hover .hlgr-portfolio-item__title {
  color: var(--hlgr-accent-cyan);
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
}

.hlgr-portfolio-item__description {
  font-size: calc(var(--hlgr-scale-small) * 0.95);
  color: var(--hlgr-text-secondary);
  line-height: 1.5;
  flex: 1;
  position: relative;
  z-index: 3;
  margin-bottom: 4px;
}

.hlgr-portfolio-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hlgr-space-xs);
  list-style: none;
  margin-top: auto;
  position: relative;
  z-index: 3;
}

.hlgr-portfolio-item__tags li {
  font-size: calc(var(--hlgr-scale-small) * 0.85);
  padding: 0.25rem 0.65rem;
  background: rgba(42, 26, 63, 0.6);
  border: 1px solid rgba(179, 71, 255, 0.3);
  border-radius: var(--hlgr-radius-sm);
  color: var(--hlgr-text-secondary);
  transition: all 0.3s ease;
}

.hlgr-portfolio-item:hover .hlgr-portfolio-item__tags li {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.5);
  color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.hlgr-portfolio-item__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  margin-top: var(--hlgr-space-sm);
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(179, 71, 255, 0.1));
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--hlgr-radius-md);
  color: var(--hlgr-accent-cyan);
  font-size: calc(var(--hlgr-scale-small) * 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.hlgr-portfolio-item__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hlgr-portfolio-item__cta:hover {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(179, 71, 255, 0.2));
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  transform: translateX(5px);
}

.hlgr-portfolio-item__cta:hover::before {
  left: 100%;
}

/* Підтримка reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hlgr-portfolio-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .hlgr-portfolio-item__icon {
    animation: none;
  }
  
  .hlgr-portfolio-item:hover {
    transform: translateY(-6px);
  }
  
  .hlgr-portfolio-item:hover .hlgr-portfolio-item__icon {
    animation: none;
    transform: scale(1.05);
  }
}

/* Process */
.hlgr-process {
  max-width: 900px;
  margin: 0 auto;
}

.hlgr-process__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-lg);
  position: relative;
  padding-left: var(--hlgr-space-lg);
}

.hlgr-process__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--hlgr-accent-cyan), var(--hlgr-accent-purple), var(--hlgr-accent-pink));
}

.hlgr-process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--hlgr-space-md);
  align-items: start;
  position: relative;
}

.hlgr-process-step__number {
  font-size: var(--hlgr-scale-h2);
  font-weight: 700;
  color: var(--hlgr-accent-cyan);
  line-height: 1;
  min-width: 60px;
  position: relative;
  z-index: 1;
}

.hlgr-process-step__number::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--hlgr-accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--hlgr-glow-purple);
  z-index: 2;
}

.hlgr-process-step__content {
  padding-top: var(--hlgr-space-xs);
}

.hlgr-process-step__title {
  font-size: var(--hlgr-scale-h3);
  font-weight: 600;
  margin-bottom: var(--hlgr-space-xs);
  color: var(--hlgr-text-primary);
}

.hlgr-process-step__description {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  line-height: 1.7;
}

/* Tech Stack */
.hlgr-tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--hlgr-space-lg);
}

.hlgr-tech-category {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-lg);
}

.hlgr-tech-category__title {
  font-size: var(--hlgr-scale-h3);
  font-weight: 600;
  margin-bottom: var(--hlgr-space-md);
  color: var(--hlgr-accent-cyan);
}

.hlgr-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hlgr-space-xs);
}

.hlgr-tech-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--hlgr-bg-tertiary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-sm);
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-secondary);
  transition: var(--hlgr-transition);
}

.hlgr-tech-chip:hover {
  border-color: var(--hlgr-accent-cyan);
  color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 10px var(--hlgr-glow-cyan);
}

/* Metrics */
.hlgr-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--hlgr-space-lg);
}

.hlgr-metric-card {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-lg);
  text-align: center;
  transition: var(--hlgr-transition);
}

.hlgr-metric-card:hover {
  border-color: var(--hlgr-border-bright);
  box-shadow: 0 0 20px var(--hlgr-glow-purple);
  transform: translateY(-4px);
}

.hlgr-metric-card__value {
  font-size: var(--hlgr-scale-h1);
  font-weight: 700;
  color: var(--hlgr-accent-cyan);
  margin-bottom: var(--hlgr-space-xs);
  line-height: 1;
}

.hlgr-metric-card__label {
  font-size: var(--hlgr-scale-body);
  font-weight: 600;
  color: var(--hlgr-text-primary);
  margin-bottom: var(--hlgr-space-xs);
}

.hlgr-metric-card__context {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-muted);
}

/* Testimonials */
.hlgr-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--hlgr-space-lg);
}

.hlgr-testimonial {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-md);
  position: relative;
}

.hlgr-testimonial::before {
  content: '"';
  position: absolute;
  top: var(--hlgr-space-md);
  left: var(--hlgr-space-md);
  font-size: 4rem;
  color: var(--hlgr-accent-purple);
  opacity: 0.2;
  line-height: 1;
}

.hlgr-testimonial__text {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.hlgr-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
}

.hlgr-testimonial__author strong {
  color: var(--hlgr-text-primary);
  font-weight: 600;
}

.hlgr-testimonial__author span {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-muted);
}

/* FAQ */
.hlgr-faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-sm);
}

.hlgr-faq-item {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-md);
  overflow: hidden;
  transition: var(--hlgr-transition);
}

.hlgr-faq-item:hover {
  border-color: var(--hlgr-border-bright);
}

.hlgr-faq-item[open] {
  border-color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 15px var(--hlgr-glow-cyan);
}

.hlgr-faq-item__question {
  font-size: var(--hlgr-scale-body);
  font-weight: 600;
  color: var(--hlgr-text-primary);
  padding: var(--hlgr-space-md);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.hlgr-faq-item__question::-webkit-details-marker {
  display: none;
}

.hlgr-faq-item__question::after {
  content: '+';
  position: absolute;
  right: var(--hlgr-space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--hlgr-accent-cyan);
  transition: transform var(--hlgr-transition);
}

.hlgr-faq-item[open] .hlgr-faq-item__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.hlgr-faq-item__answer {
  padding: 0 var(--hlgr-space-md) var(--hlgr-space-md);
}

.hlgr-faq-item__answer p {
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  line-height: 1.7;
}

/* Contact */
.hlgr-contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--hlgr-space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .hlgr-contact {
    grid-template-columns: 1fr;
  }
}

.hlgr-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-md);
}

.hlgr-contact-card {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-lg);
}

.hlgr-contact-card__title {
  font-size: var(--hlgr-scale-h3);
  font-weight: 600;
  margin-bottom: var(--hlgr-space-md);
  color: var(--hlgr-text-primary);
}

.hlgr-contact-card__address {
  font-style: normal;
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-secondary);
  line-height: 1.8;
}

.hlgr-contact-card__address p {
  margin-bottom: var(--hlgr-space-md);
}

.hlgr-contact-card__address a {
  color: var(--hlgr-accent-cyan);
  text-decoration: underline;
}

.hlgr-contact-card__address a:hover {
  color: var(--hlgr-accent-purple);
}

.hlgr-contact-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-sm);
}

.hlgr-contact-card__details div {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--hlgr-space-xs);
  border-bottom: 1px solid var(--hlgr-border);
}

.hlgr-contact-card__details dt {
  font-weight: 600;
  color: var(--hlgr-text-primary);
}

.hlgr-contact-card__details dd {
  color: var(--hlgr-text-secondary);
}

.hlgr-contact-form {
  background: var(--hlgr-bg-secondary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-lg);
  padding: var(--hlgr-space-lg);
}

.hlgr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hlgr-space-md);
  margin-bottom: var(--hlgr-space-md);
}

.hlgr-form-field--full {
  grid-column: 1 / -1;
}

.hlgr-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-xs);
}

.hlgr-form-field__label {
  font-size: var(--hlgr-scale-small);
  font-weight: 600;
  color: var(--hlgr-text-primary);
}

.hlgr-form-field__input {
  padding: var(--hlgr-space-sm);
  background: var(--hlgr-bg-tertiary);
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-sm);
  color: var(--hlgr-text-primary);
  font-family: inherit;
  font-size: var(--hlgr-scale-body);
  transition: var(--hlgr-transition);
}

.hlgr-form-field__input:focus {
  outline: none;
  border-color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 10px var(--hlgr-glow-cyan);
}

.hlgr-form-field__input::placeholder {
  color: var(--hlgr-text-muted);
}

.hlgr-contact-form__actions {
  display: flex;
  gap: var(--hlgr-space-sm);
  flex-wrap: wrap;
}

/* Footer */
.hlgr-footer {
  background: var(--hlgr-bg-secondary);
  border-top: 1px solid var(--hlgr-border);
  padding: var(--hlgr-space-xl) 0 var(--hlgr-space-md);
  margin-top: var(--hlgr-space-xxl);
}

.hlgr-footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--hlgr-space-xl);
  margin-bottom: var(--hlgr-space-xl);
}

@media (max-width: 768px) {
  .hlgr-footer__content {
    grid-template-columns: 1fr;
    gap: var(--hlgr-space-lg);
  }
}

.hlgr-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-sm);
}

.hlgr-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--hlgr-space-xs);
  font-weight: 700;
  font-size: var(--hlgr-scale-body);
  color: var(--hlgr-text-primary);
}

.hlgr-footer__tagline {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-secondary);
}

.hlgr-footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-sm);
}

.hlgr-footer__nav-title {
  font-size: var(--hlgr-scale-body);
  font-weight: 600;
  color: var(--hlgr-text-primary);
  margin-bottom: var(--hlgr-space-xs);
}

.hlgr-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--hlgr-space-xs);
  list-style: none;
}

.hlgr-footer__nav-list a {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-secondary);
  transition: var(--hlgr-transition);
}

.hlgr-footer__nav-list a:hover {
  color: var(--hlgr-accent-cyan);
}

.hlgr-footer__social-list {
  display: flex;
  gap: var(--hlgr-space-sm);
  list-style: none;
}

.hlgr-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hlgr-border);
  border-radius: var(--hlgr-radius-sm);
  color: var(--hlgr-text-secondary);
  transition: var(--hlgr-transition);
}

.hlgr-social-link:hover {
  border-color: var(--hlgr-accent-cyan);
  color: var(--hlgr-accent-cyan);
  box-shadow: 0 0 10px var(--hlgr-glow-cyan);
}

.hlgr-footer__meta {
  padding-top: var(--hlgr-space-md);
  border-top: 1px solid var(--hlgr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--hlgr-space-sm);
}

.hlgr-footer__copyright,
.hlgr-footer__legal {
  font-size: var(--hlgr-scale-small);
  color: var(--hlgr-text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hlgr-hero {
    min-height: 80vh;
  }
  
  .hlgr-hero__hologram {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hlgr-hero {
    min-height: 70vh;
    padding: var(--hlgr-space-lg) 0;
    padding-top: calc(var(--hlgr-space-lg) + 80px);
  }
  
  .hlgr-hero__content {
    transform: translateY(0) translateZ(0);
    padding-top: 0;
    margin-top: 0;
  }
  
  .hlgr-hero__eyebrow {
    margin-top: var(--hlgr-space-md);
  }
  
  .hlgr-hero__cta {
    flex-direction: column;
  }
  
  .hlgr-hero__cta .hlgr-btn {
    width: 100%;
  }
  
  .hlgr-hero__stats {
    grid-template-columns: 1fr;
  }
  
  .hlgr-process__timeline {
    padding-left: var(--hlgr-space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --hlgr-space-xl: clamp(2rem, 6vw, 4rem);
    --hlgr-space-xxl: clamp(3rem, 8vw, 6rem);
  }
  
  .hlgr-hero__title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}
