/* ================================ АДАПТИВ ================================ */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
    gap: 12px;
  }
  .skills-container, .projects-container, .pricing-container, .stats-container {
    flex-direction: column;
    align-items: center;
  }
  .skill-card, .project-card, .pricing-card, .stat-card {
    width: 100%;
    max-width: 400px;
  }
  .project-image {
    height: 200px;
  }
}

@keyframes rotate {
    0% { rotate: 0deg; }
    100% { rotate: 360deg; }
}
@keyframes rotateReverse {
    0% { rotate: 0deg; }
    100% { rotate: -360deg; }
}
@media (max-width: 600px) {
  .logo {
    font-size: 24px;
  }
  .sub-logo {
    font-size: 18px;
  }
  .logo-center {
    font-size: 36px;
  }
  .sub-center {
    font-size: 28px;
  }
  nav ul {
    gap: 16px;
  }
  .language {
    padding: 4px 10px;
    font-size: 12px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .button-container {
    flex-direction: column;
    align-items: center;
  }
  .button {
    width: 120px;
    height: 38px;
    font-size: 12px;
  }
  .about-text {
    font-size: 16px;
  }
  .about-text p:nth-child(1) {
    font-size: 18px;
  }
  .scroll-down {
    bottom: 10px;
  }
}



/* ================================ АКЦЕНТНЫЕ ЛИНИИ ================================ */
.accent-lines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.accent-lines > div {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.accent-lines > div:nth-child(1) > div:nth-child(2)::before,
.accent-lines > div:nth-child(1) > div:nth-child(2)::after{ 
    display: none;
}