/* Фон в клеточку для ValShare */
:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #00d4aa;
  --accent: #ffd23f;
  --background: #ffffff;
  --surface: #f8f9fa;
  --text: #1a1a2e;
  --text-secondary: #6c757d;
  --border: #dee2e6;
  --success: #4ade80;
  --warning: #fbbf24;
  --error: #f87171;
  --gradient-1: linear-gradient(135deg, #ff6b35, #f7931e);
  --gradient-2: linear-gradient(135deg, #00d4aa, #00b4d8);
  --gradient-3: linear-gradient(135deg, #ffd23f, #ff9f1c);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 0 0;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Убираем старый космический фон */
body::before {
  display: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  border-bottom: 3px solid var(--primary);
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 10px 50px rgba(255, 107, 53, 0.2);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
  background-color: #ffffff;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
}

/* Убираем старый космический фон из hero */
.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Альтернативные варианты фона */
body.grid-thin {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
}

body.grid-large {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

body.grid-gray {
  background-image: 
    linear-gradient(rgba(128, 128, 128, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 128, 128, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Обновляем цвета текста для лучшей читаемости на белом фоне */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

p {
  color: var(--text-secondary);
}

/* Обновляем карточки и секции */
.card, .section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
} 