/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #6366f1;
  --accent-hover: #4f46e5;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --border-color: #27272a;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-padding: 0 5.5%;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 88%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  padding-left: 0;
}

.nav-logo .logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo .logo-link:hover {
  opacity: 0.8;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  padding-right: 0;
  margin-right: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.nav-cta {
  background: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4px;
  margin-left: 20px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: var(--accent-color);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
  background: #000000;
}

/* Stars Container */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.star.small {
  width: 1px;
  height: 1px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

.star.medium {
  width: 1.5px;
  height: 1.5px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.5);
}

.star.large {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 1), 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.3);
}

.star.bright {
  background: #ffffff;
  box-shadow: 
    0 0 4px rgba(255, 255, 255, 1),
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(255, 255, 255, 0.6),
    0 0 16px rgba(255, 255, 255, 0.4);
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Hero Container - Ensure content is above stars */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-width: 100%;
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 100%;
  width: 100%;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 650px;
  overflow: visible;
  background: transparent;
}

/* Compass Container */
.compass-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  cursor: pointer;
  padding: 50px;
  box-sizing: border-box;
}

.compass-container:hover .compass-needle {
  filter: brightness(1.2) saturate(1.3);
  box-shadow: 
    0 0 60px rgba(255, 0, 0, 1),
    0 0 40px rgba(255, 0, 0, 0.8),
    0 0 20px rgba(255, 0, 0, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.7);
}

.compass-container:hover .compass-center {
  transform: translate(-50%, -50%) scale(1.1) rotateX(12deg) rotateY(2.5deg);
  filter: brightness(1.3);
  box-shadow: 
    0 0 50px rgba(251, 191, 36, 1),
    0 0 30px rgba(251, 191, 36, 0.8),
    0 6px 15px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(245, 158, 11, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.6);
  transform-origin: center bottom;
}

.compass-container:hover .watch-bezel {
  transform: scale(1.02) rotateX(10deg);
  box-shadow: 
    0 0 50px rgba(99, 102, 241, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 0 30px rgba(0, 0, 0, 0.9),
    inset 0 0 50px rgba(99, 102, 241, 0.2);
  transform-origin: center bottom;
}

/* Watch Bezel - Static Outer Ring */
.watch-bezel {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(145deg, 
    #1a1a2e 0%, 
    #16213e 30%, 
    #0f1419 70%, 
    #000000 100%);
  border: 3px solid rgba(99, 102, 241, 0.4);
  box-shadow: 
    0 0 40px rgba(99, 102, 241, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.8),
    inset 0 0 40px rgba(99, 102, 241, 0.1);
  z-index: 5;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.watch-bezel::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05) 0%, 
    transparent 50%);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.bezel-markings {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Compass */
.compass {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.compass:hover {
  transform: scale(1.15) rotateX(12deg) rotateY(2.5deg);
  filter: brightness(1.1) contrast(1.05);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
  transform-origin: center bottom;
}

/* Compass Rings */
.compass-outer-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  animation: rotateClockwise 20s linear infinite;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 50%, 
    rgba(99, 102, 241, 0.1) 100%);
  box-shadow: 
    0 0 30px rgba(99, 102, 241, 0.2),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.compass-middle-ring {
  position: absolute;
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  animation: rotateCounterClockwise 15s linear infinite;
  background: radial-gradient(circle, 
    rgba(139, 92, 246, 0.05) 0%, 
    transparent 70%);
}

.compass-inner-ring {
  position: absolute;
  top: 30px;
  left: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 50%;
  animation: rotateClockwise 10s linear infinite;
  background: radial-gradient(circle, 
    rgba(6, 182, 212, 0.08) 0%, 
    transparent 60%);
}

/* Compass Directions */
.compass-directions {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Bezel Directions - Static Labels */
.direction {
  position: absolute;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.2) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
  padding: 6px 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 10;
  animation: bezelGlow 3s ease-in-out infinite;
}

.direction.north {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.direction.east {
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  animation-delay: 0.75s;
}

.direction.south {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  animation-delay: 1.5s;
}

.direction.south {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.direction.south span {
  display: inline-block;
  transform: rotate(180deg);
}

.direction.west {
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  animation-delay: 2.25s;
}

/* Bezel Marks - Small tick marks like on watch */
.bezel-mark {
  position: absolute;
  width: 2px;
  height: 15px;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(99, 102, 241, 0.6) 100%);
  border-radius: 2px;
  top: 10px;
  left: 50%;
  transform-origin: 50% 200px;
  box-shadow: 0 0 4px rgba(99, 102, 241, 0.5);
}

.bezel-mark.mark-15 { transform: translateX(-50%) rotate(15deg); }
.bezel-mark.mark-30 { transform: translateX(-50%) rotate(30deg); }
.bezel-mark.mark-45 { transform: translateX(-50%) rotate(45deg); }
.bezel-mark.mark-60 { transform: translateX(-50%) rotate(60deg); }
.bezel-mark.mark-75 { transform: translateX(-50%) rotate(75deg); }
.bezel-mark.mark-105 { transform: translateX(-50%) rotate(105deg); }
.bezel-mark.mark-120 { transform: translateX(-50%) rotate(120deg); }
.bezel-mark.mark-135 { transform: translateX(-50%) rotate(135deg); }
.bezel-mark.mark-150 { transform: translateX(-50%) rotate(150deg); }
.bezel-mark.mark-165 { transform: translateX(-50%) rotate(165deg); }
.bezel-mark.mark-195 { transform: translateX(-50%) rotate(195deg); }
.bezel-mark.mark-210 { transform: translateX(-50%) rotate(210deg); }
.bezel-mark.mark-225 { transform: translateX(-50%) rotate(225deg); }
.bezel-mark.mark-240 { transform: translateX(-50%) rotate(240deg); }
.bezel-mark.mark-255 { transform: translateX(-50%) rotate(255deg); }
.bezel-mark.mark-285 { transform: translateX(-50%) rotate(285deg); }
.bezel-mark.mark-300 { transform: translateX(-50%) rotate(300deg); }
.bezel-mark.mark-315 { transform: translateX(-50%) rotate(315deg); }
.bezel-mark.mark-330 { transform: translateX(-50%) rotate(330deg); }
.bezel-mark.mark-345 { transform: translateX(-50%) rotate(345deg); }

@keyframes bezelGlow {
  0%, 100% { 
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
  }
  50% { 
    opacity: 1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
  }
}

/* Compass Needle - МАКСИМАЛЬНО ВИДИМАЯ СТРЕЛКА */
.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 200px;
  transform: translate(-50%, -50%);
  z-index: 100;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  background: linear-gradient(180deg, #ff0000 0%, #ff0000 45%, #000000 50%, #666666 55%, #666666 100%);
  border-radius: 3px;
  box-shadow: 
    0 0 50px rgba(255, 0, 0, 1),
    0 0 30px rgba(255, 0, 0, 0.8),
    0 0 15px rgba(255, 0, 0, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff;
}

.compass-needle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 20px solid #ff0000;
  transform: translateX(-50%) translateY(-18px);
  filter: drop-shadow(0 0 10px #ff0000);
}

.compass-needle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 20px solid #666666;
  transform: translateX(-50%) translateY(18px);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.needle-north {
  display: none;
}

.needle-south {
  display: none;
}

/* Compass Center */
.compass-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 
    0 0 40px rgba(251, 191, 36, 0.9),
    0 0 20px rgba(251, 191, 36, 0.6),
    inset 0 0 25px rgba(245, 158, 11, 0.7),
    inset 0 0 10px rgba(255, 255, 255, 0.4);
  z-index: 150;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Compass Glow */
.compass-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: radial-gradient(circle, 
    rgba(99, 102, 241, 0.1) 0%, 
    rgba(99, 102, 241, 0.05) 50%, 
    transparent 70%);
  border-radius: 50%;
  animation: compassGlow 4s ease-in-out infinite;
}


/* Animations */
@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}


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


/* Responsive adjustments */
/* Compass Mobile Optimization */
@media (max-width: 768px) {
  .hero-visual {
    height: 350px;
  }
  
  .compass-container {
    padding: 20px;
  }
  
  .watch-bezel {
    width: 280px;
    height: 280px;
  }
  
  .compass {
    width: 240px;
    height: 240px;
  }
  
  .compass:hover {
    transform: scale(1.05) rotateX(8deg) rotateY(1deg);
    transform-origin: center bottom;
  }
  
  .compass-container:hover .compass-needle {
    filter: brightness(1.1) saturate(1.15);
    box-shadow: 
      0 0 30px rgba(255, 0, 0, 0.8),
      0 0 20px rgba(255, 0, 0, 0.6),
      0 0 10px rgba(255, 0, 0, 0.4),
      0 4px 12px rgba(0, 0, 0, 0.5);
  }
  
  .compass-container:hover .compass-center {
    transform: translate(-50%, -50%) scale(1.05) rotateX(8deg) rotateY(1deg);
    transform-origin: center bottom;
  }
  
  .compass-container:hover .watch-bezel {
    transform: scale(1.005) rotateX(5deg);
    transform-origin: center bottom;
  }
  
  .direction {
    font-size: 9px;
    padding: 3px 5px;
  }
  
  .direction.north {
    top: 5px;
    transform: translateX(-50%);
  }
  
  .direction.east {
    right: -5px;
    transform: translateY(-50%) rotate(90deg);
  }
  
  .direction.south {
    bottom: 5px;
    transform: translateX(-50%) rotate(180deg);
  }
  
  .direction.west {
    left: -5px;
    transform: translateY(-50%) rotate(-90deg);
  }
  
  .bezel-mark {
    width: 1px;
    height: 6px;
    top: 5px;
    transform-origin: 50% 140px;
  }
  
  .compass-needle {
    width: 3px;
    height: 140px;
  }
  
  .compass-needle::before {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 12px solid #ff0000;
    transform: translateX(-50%) translateY(-11px);
  }
  
  .compass-needle::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 12px solid #666666;
    transform: translateX(-50%) translateY(11px);
  }
  
  .compass-center {
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 280px;
  }
  
  .compass-container {
    padding: 15px;
  }
  
  .watch-bezel {
    width: 220px;
    height: 220px;
  }
  
  .compass {
    width: 190px;
    height: 190px;
  }
  
  .direction {
    font-size: 8px;
    padding: 2px 4px;
  }
  
  .compass-needle {
    width: 2.5px;
    height: 110px;
  }
  
  .compass-center {
    width: 12px;
    height: 12px;
    border: 1.5px solid #ffffff;
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent-color);
}

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

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  font-size: 15px;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
}

/* Meta warning tooltip */
.meta-warning {
  position: relative;
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.meta-warning::after {
  content: attr(data-tooltip);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-5px);
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.meta-warning::before {
  content: '';
  position: fixed;
  top: calc(50% - 20px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10001;
}

.meta-warning:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.meta-warning:hover::before {
  opacity: 1;
}

/* Work Section */
.work {
  padding: var(--section-padding);
  position: relative;
  background: #000000;
  overflow: hidden;
}

.work .stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.work .container {
  position: relative;
  z-index: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.work-item {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.work-image {
  aspect-ratio: 16/10;
  background: #000000;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Специфичный стиль для MUSEPoD, чтобы картинка заполняла контейнер */
[data-project="musepod"] .case-logo {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Специфичный фон для Markswebb */
[data-project="markswebb"] .work-image {
  background: #333;
}

.work-image:hover .case-logo {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(4px);
}

.work-image:hover .work-overlay {
  opacity: 1;
}

.work-overlay span {
  color: white;
  font-weight: 600;
  font-size: 18px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.work-image:hover .work-overlay span {
  transform: translateY(0);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  padding: 60px;
  animation: modalIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.modal-body h3 {
  font-size: 20px;
  color: var(--accent-color);
  margin-top: 32px;
  margin-bottom: 16px;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-body .results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  background: var(--bg-tertiary);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.modal-body .result-item {
  text-align: center;
}

.modal-body .result-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.modal-body .result-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Project Links in Modal */
.project-links {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.links-title {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-label {
  color: var(--text-secondary);
  font-size: 15px;
}

.project-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.project-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 40px 20px;
  }
  .modal-body h2 {
    font-size: 24px;
  }
}

.work-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 500;
}

.work-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.work-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tags span {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  margin-top: 20px;
  line-height: 1.2;
}

.about-why {
  margin-bottom: 40px;
  padding: 32px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
}

.about-why-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.about-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-why-list li {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.about-why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.about-visual {
  border-radius: 10px;
}

.team-gallery {
  aspect-ratio: 4/3;
  display: flex;
  gap: 2px;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.team-item {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 0px;
  transition: flex 1s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  cursor: pointer;
  position: relative;
}

.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
  pointer-events: none;
}

.team-name {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: white;
  margin-bottom: 4px;
  white-space: nowrap;
}

.team-role {
  display: block;
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 500;
  white-space: nowrap;
}

.team-item:hover .team-info {
  opacity: 1;
  transform: translateY(0);
}

.team-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.team-item:hover {
  flex: 3;
}

.team-item:hover img {
  transform: scale(1.05);
}

.team-gallery:hover .team-item:not(:hover) {
  filter: grayscale(0.5) brightness(0.7);
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  position: relative;
  background: #000000;
  overflow: hidden;
}

.contact .stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  margin-top: 40px;
  line-height: 1.1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 24%;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.contact-item span,
.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo .logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-logo .logo-link:hover {
  opacity: 0.8;
}

.footer-logo .logo {
  height: 40px;
  width: auto;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Design */
/* Tablet Optimization (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-container {
    max-width: 95%;
  }

  .hero-container {
    gap: 60px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    gap: 60px;
  }

  .contact-content {
    gap: 60px;
  }

  .contact-details {
    width: 35%;
  }
}

/* Mobile Optimization (up to 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 100px 0;
    --container-padding: 0 5%;
  }

  .nav-container {
    max-width: 100%;
    padding: 0 5%;
  }

  .nav-logo {
    padding-left: 0;
  }

  .nav-logo .logo {
    height: 32px;
  }

  .nav-menu {
    display: flex;
    padding-right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-visual {
    display: none;
  }
  
  .language-switcher {
    margin-left: 0;
    margin-top: 20px;
  }

  .hero {
    padding: 160px 0 40px 0;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
    padding: 0 5%;
  }

  .hero-badge {
    margin-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 50px;
  }

  .hero-description {
    font-size: 18px;
    margin-bottom: 70px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-content h3 {
    font-size: 18px;
  }

  .work-content p {
    font-size: 14px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-description {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .about-why {
    padding: 24px;
  }

  .about-why-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .team-gallery {
    aspect-ratio: 16/9;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-description {
    font-size: 16px;
    margin-top: 20px;
  }

  .contact-details {
    width: 100%;
  }

  .contact-form {
    width: 100%;
  }

  .modal-content {
    padding: 30px 20px;
    max-height: 95vh;
  }

  .modal-body h2 {
    font-size: 24px;
  }

  .modal-body h3 {
    font-size: 18px;
  }

  .modal-body p {
    font-size: 14px;
  }

  .modal-body .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
}

/* Small Mobile Optimization (up to 480px) */
@media (max-width: 480px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 4%;
  }

  .nav-container {
    padding: 0 4%;
    height: 70px;
  }

  .nav-logo .logo {
    height: 28px;
  }

  .hero {
    padding: 150px 0 30px 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-container {
    padding: 0 4%;
    gap: 70px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 45px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-features li {
    font-size: 14px;
  }

  .work-grid {
    gap: 24px;
  }

  .work-content h3 {
    font-size: 16px;
  }

  .work-content p {
    font-size: 13px;
  }

  .work-tags span {
    font-size: 11px;
    padding: 3px 10px;
  }

  .about-description {
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .about-why {
    padding: 20px;
  }

  .about-why-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .about-why-list li {
    font-size: 14px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 12px;
  }

  .team-gallery {
    aspect-ratio: 4/3;
  }

  .team-info {
    padding: 16px;
  }

  .team-name {
    font-size: 14px;
  }

  .team-role {
    font-size: 11px;
  }

  .contact-description {
    font-size: 15px;
    margin-top: 16px;
  }

  .contact-item strong {
    font-size: 14px;
  }

  .contact-item a,
  .contact-item span {
    font-size: 14px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 15px;
  }

  .modal-content {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .modal-body h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .modal-body h3 {
    font-size: 16px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .modal-body p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .modal-body .results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .modal-body .result-value {
    font-size: 24px;
  }

  .modal-body .result-label {
    font-size: 12px;
  }

  .project-links {
    padding: 16px;
  }

  .links-title {
    font-size: 12px;
  }

  .link-label {
    font-size: 13px;
  }

  .project-link {
    font-size: 13px;
  }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .work-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }

  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  .service-card:nth-child(5) { animation-delay: 0.5s; }

  .work-item:nth-child(1) { animation-delay: 0.1s; }
  .work-item:nth-child(2) { animation-delay: 0.2s; }
  .work-item:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #66f;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #000;
  border-radius: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
}


.modal-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #66f;
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 10px;
  margin-top: 18px;
  margin-bottom: 18px;
}
