* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a14;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #e0e0f0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  --deep-bg: #0a0a14;
  --card-bg: rgba(20, 20, 40, 0.7);
  --border-subtle: rgba(75, 130, 240, 0.2);
  --violet: #8b3ffc;
  --blue: #2a6df4;
  --cyan: #4cc9f0;
  --text-dim: #b0b0d0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Анимации */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 8px rgba(100, 50, 180, 0.6)); }
  50% { filter: drop-shadow(0 0 18px rgba(80, 60, 200, 0.85)); }
  100% { filter: drop-shadow(0 0 8px rgba(100, 50, 180, 0.6)); }
}

@keyframes floatNode {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes dashMove {
  to { stroke-dashoffset: -24; }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.15, 0.85, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 130, 240, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  animation: glowPulse 5s infinite ease-in-out;
  width: 128px;
  height: 128px;
  object-fit: contain;  /* добавить, чтобы картинка не искажалась */
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #c084fc, #4cc9f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: #c8c8e8;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.25s, text-shadow 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: #4cc9f0;
  text-shadow: 0 0 12px rgba(76, 201, 240, 0.5);
}

.btn-outline {
  border: 1px solid #4cc9f0;
  color: #4cc9f0;
  padding: 10px 22px;
  border-radius: 40px;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #4cc9f0;
  color: #0a0a14;
  box-shadow: 0 0 24px rgba(76, 201, 240, 0.7);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 85vh;
  padding: 40px 0;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-badge {
  display: inline-block;
  background: rgba(42, 109, 244, 0.2);
  border: 1px solid #2a6df4;
  color: #aad4ff;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, #e0d9ff, #9fc9ff, #4cc9f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: #b0b0d0;
  max-width: 550px;
  margin-bottom: 36px;
}

.hero-graphic {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #7b2ff7;
  border: none;
  color: white;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(123, 47, 247, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #9250ff;
  box-shadow: 0 12px 32px rgba(138, 63, 252, 0.7);
  transform: translateY(-2px);
}

/* Карточки услуг */
.section-title {
  font-size: 2.6rem;
  font-weight: 650;
  margin: 80px 0 24px;
  background: linear-gradient(135deg, #c8b6ff, #64b9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 32px 26px;
  transition: transform 0.3s, box-shadow 0.4s, border-color 0.2s;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5);
}

.card:hover {
  transform: translateY(-8px);
  border-color: #4cc9f0;
  box-shadow: 0 24px 40px -12px rgba(42, 109, 244, 0.45);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #f0f0ff;
}

.card p {
  color: #b8b8d8;
  margin-bottom: 20px;
}

.price {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(to right, #4cc9f0, #a277ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* VPN highlight */
.vpn-highlight {
  background: linear-gradient(120deg, rgba(42, 109, 244, 0.15), rgba(138, 63, 252, 0.2));
  border-left: 4px solid #4cc9f0;
}

.animated-border {
  position: relative;
}

.node-float {
  animation: floatNode 3s infinite ease-in-out;
}

footer {
  margin-top: 90px;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(75, 130, 240, 0.2);
  color: #7a7aa0;
}

/* Декоративная сетка */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(75, 130, 240, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* Технологии */
.tech-section {
  margin: 80px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.tech-title {
  font-size: 2.3rem;
  color: #e2dcff;
}

.tech-desc {
  color: #b0b0d0;
  margin-top: 16px;
}

.tech-tags {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-tag {
  background: #1e1e3a;
  padding: 12px 24px;
  border-radius: 40px;
}

.tech-tag.go { color: #4cc9f0; }
.tech-tag.rust { color: #8b3ffc; }
.tech-tag.python { color: #4cc9f0; }
.tech-tag.k8s { color: #2a6df4; }

@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  header {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    gap: 20px;
  }
}