:root {
    --bg-dark: #0E1117;
    --bg-light: #1A1F27;
    --primary: #274C77;
    --primary-hover: #6096BA;
    --text-main: #E5E5E5;
    --text-muted: #9BA4B5;
    --accent: #00C2CB;
  }
  
  /* ===== Reset ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
  }
  
  /* ===== Navbar ===== */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(26, 31, 39, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(6px);
  }
  
  .navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .navbar .logo img {
    width: 40px;
  }
  
  .navbar .logo span {
    font-weight: 700;
    color: var(--text-main);
    font-size: 20px;
  }
  
  .navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
  }
  
  .navbar a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
  }
  
  .navbar a:hover {
    color: var(--primary-hover);
  }
  
/* === HERO BLOCK === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0f1a, #111a25);
  color: #e5e7eb;
  padding: 0 10%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  gap: 100px;
}

/* === LOGO === */
.hero-logo img {
  width: 380px; /* увеличено */
  height: auto;
  animation: pulseGlow 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(76, 201, 240, 0.4));
}

/* === TEXT === */
.hero-text {
  max-width: 600px;
  text-align: left;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #4cc9f0;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.5rem;
  color: #cdd7e0;
  line-height: 1.6;
}

/* === ANIMATION (Breathing Logo) === */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(76, 201, 240, 0.25));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.5));
  }
}

/* === ADAPTIVE === */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .hero-logo img {
    width: 280px;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
}
  
  /* ===== Sections ===== */
  .section {
    padding: 100px 10%;
    text-align: center;
  }
  
  .section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-main);
  }
  
 /* ===== Services Section ===== */
.services {
  background: linear-gradient(180deg, #0a0f1a 0%, #0d141f 100%);
  padding: 100px 10%;
  color: #e5e7eb;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: #4cc9f0;
  margin-bottom: 60px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 40px 25px;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}

.service-item h3 {
  color: #4cc9f0;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-item p {
  color: #cfd6de;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hover animation */
.service-item:hover {
  background: rgba(76, 201, 240, 0.1);
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.25);
  transform: translateY(-6px);
  border-color: rgba(76, 201, 240, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .services {
    padding: 80px 5%;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
}
  
/* ===== Benefits Section ===== */
.benefits {
  background: radial-gradient(circle at top left, #0b111c, #0d141f 60%, #0a0f1a);
  padding: 100px 10%;
  text-align: center;
  color: #e5e7eb;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 40px 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.benefit-item:hover {
  background: rgba(76, 201, 240, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
  border-color: rgba(76, 201, 240, 0.5);
}

.benefit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
}

.benefit-item h3 {
  color: #4cc9f0;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.benefit-item p {
  color: #cfd6de;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .benefits {
    padding: 80px 5%;
  }

  .benefit-item {
    padding: 30px 20px;
  }

  .benefit-item h3 {
    font-size: 1.2rem;
  }
}

/* ===== Scroll reveal (benefits/services) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Небольшая “ступенька” по задержке для сеток */
  .benefit-grid .benefit-item:nth-child(1) { transition-delay: .05s; }
  .benefit-grid .benefit-item:nth-child(2) { transition-delay: .12s; }
  .benefit-grid .benefit-item:nth-child(3) { transition-delay: .19s; }
  .benefit-grid .benefit-item:nth-child(4) { transition-delay: .26s; }

  /* Если хочешь — то же можно применить к .service-item */
  .service-grid .service-item:nth-child(1) { transition-delay: .05s; }
  .service-grid .service-item:nth-child(2) { transition-delay: .12s; }
  .service-grid .service-item:nth-child(3) { transition-delay: .19s; }
  .service-grid .service-item:nth-child(4) { transition-delay: .26s; }
}
  
/* ===== About Section ===== */
.about {
  background: linear-gradient(180deg, #0d141f 0%, #0a0f1a 100%);
  color: #e5e7eb;
  padding: 120px 10%;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-text {
  flex: 1 1 480px;
  max-width: 600px;
}

.about-text .section-title {
  color: #4cc9f0;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cfd6de;
  margin-bottom: 16px;
}

.about-text .accent {
  color: #4cc9f0;
  font-weight: 600;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(76, 201, 240, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(76, 201, 240, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about-text {
    max-width: 100%;
  }
  .about-image img {
    max-width: 80%;
  }
}
  
  /* ===== Contact ===== */
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 40px;
  }
  
  .contact input, .contact textarea {
    background: var(--bg-light);
    border: 1px solid #2a2f36;
    color: var(--text-main);
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
  }
  
  .contact button {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
  }
  
  .contact button:hover {
    background-color: var(--primary-hover);
  }
  
  /* ===== Footer ===== */
  footer {
    background-color: var(--bg-light);
    padding: 30px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
  }
  
  footer a {
    color: var(--primary-hover);
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }