/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8fafc;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* РЁР°РїРєР° */
header {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%);
  background-size: 60px 60px;
  transform: rotate(15deg);
  animation: parallax 30s linear infinite;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.03em;
}

#services {
  padding: 80px 20px;
}

/* РћР±С‰РёРµ СЃС‚РёР»Рё СЃРµРєС†РёР№ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8rem;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* РЎРµРєС†РёСЏ СѓСЃР»СѓРі */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  width: 340px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(224, 231, 255, 0.6);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.1);
}

.card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: rotate(15deg) scale(1.1);
}

.feature-icon {
  color: white;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

/* РЎС‚РµРє С‚РµС…РЅРѕР»РѕРіРёР№ */
#stack {
  background: linear-gradient(to bottom right, #f8fafc, #eef2ff);
  padding: 80px 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-top: 50px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 40px 25px;
  transition: all 0.3s ease;
  border: 1px solid #e0e7ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 200px;
}

.card:hover {
  background: #eff6ff;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.tech-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.card:hover .tech-logo {
  filter: none;
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

/* РљРѕРЅС‚Р°РєС‚С‹ */
#contact {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: white;
  padding: 80px 20px;
}

#contact ul {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
}

#contact li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
}

#contact li a {
  text-decoration: none;
  color: white;
}

#contact li:last-child {
  border-bottom: none;
}

#contact li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}

/* РџРѕРґРІР°Р» */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% 100%;
  animation: gradientFlow 3s linear infinite;
}

/* РђРЅРёРјР°С†РёРё */
@keyframes parallax {
  0% {
    transform: translateY(0) rotate(15deg);
  }
  100% {
    transform: translateY(-300px) rotate(15deg);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* РђРґР°РїС‚РёРІРЅРѕСЃС‚СЊ */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .tech-grid {
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .feature-card,
  .tech-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .tech-logo {
    width: 80px;
    height: 80px;
  }
}

/* Р”РѕР±Р°РІСЊС‚Рµ СЌС‚Рё СЃС‚РёР»Рё РІ РєРѕРЅРµС† С„Р°Р№Р»Р° styles.css */

/* РђРЅРёРјР°С†РёРё РїРѕСЏРІР»РµРЅРёСЏ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-15deg) scale(0.5);
    opacity: 0;
  }
  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

/* РђРЅРёРјР°С†РёСЏ Р·Р°РіРѕР»РѕРІРєР° */
header h1 {
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* РђРЅРёРјР°С†РёСЏ РєР°СЂС‚РѕС‡РµРє СѓСЃР»СѓРі */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.6s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.8s;
}
.feature-card:nth-child(5) {
  animation-delay: 1s;
}
.feature-card:nth-child(6) {
  animation-delay: 1.2s;
}
.feature-card:nth-child(7) {
  animation-delay: 1.4s;
}
.feature-card:nth-child(8) {
  animation-delay: 1.6s;
}

/* РђРЅРёРјР°С†РёСЏ РёРєРѕРЅРѕРє */
.icon-wrapper {
  animation: rotateIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

/* РђРЅРёРјР°С†РёСЏ С‚РµС…РЅРѕР»РѕРіРёР№ */
.tech-grid .card {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.tech-grid .card:nth-child(1) {
  animation-delay: 0.1s;
}
.tech-grid .card:nth-child(2) {
  animation-delay: 0.2s;
}
.tech-grid .card:nth-child(3) {
  animation-delay: 0.3s;
}
.tech-grid .card:nth-child(4) {
  animation-delay: 0.4s;
}
.tech-grid .card:nth-child(5) {
  animation-delay: 0.5s;
}
.tech-grid .card:nth-child(6) {
  animation-delay: 0.6s;
}
.tech-grid .card:nth-child(7) {
  animation-delay: 0.7s;
}
.tech-grid .card:nth-child(8) {
  animation-delay: 0.8s;
}

/* РђРЅРёРјР°С†РёСЏ РєРѕРЅС‚Р°РєС‚РЅРѕР№ СЃРµРєС†РёРё */
#contact ul {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* РђРЅРёРјР°С†РёСЏ Р»РёРЅРёРё РІ Р·Р°РіРѕР»РѕРІРєР°С… */
.section-title::after {
  animation: lineExtend 0.8s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.5s both;
}

@keyframes lineExtend {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

/* РђРЅРёРјР°С†РёСЏ РіСЂР°РґРёРµРЅС‚Р° РІ С€Р°РїРєРµ */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  background: linear-gradient(-45deg, #1d4ed8, #2563eb, #3b82f6);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

/* РЈР»СѓС‡С€РµРЅРЅР°СЏ Р°РЅРёРјР°С†РёСЏ С…РѕРІРµСЂР° РєР°СЂС‚РѕС‡РµРє */
.feature-card:hover {
  transform: translateY(-8px) rotateZ(1deg);
  box-shadow: 0 16px 32px -8px rgba(59, 130, 246, 0.2);
}

/* РђРЅРёРјР°С†РёСЏ Р·Р°РіСЂСѓР·РєРё СЃС‚СЂР°РЅРёС†С‹ */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageLoad 1s ease;
}