/* Основные стили для сайта "Академия инноваций" */
:root {
  --primary-color: #2E3AE8; /* Основной синий оттенок */
  --secondary-color: #6CDFEF; /* Светло-голубой оттенок */
  --accent-color: #FB5B7F; /* Акцентный розовый */
  --dark-color: #1D1F2F; /* Тёмный фон */
  --light-color: #F8FAFF; /* Светлый фон */
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --text-gradient: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --glow-effect: 0 0 20px rgba(108, 223, 239, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Неоморфизм 2025 - фишка сайта */
.neomorph {
  border-radius: 24px;
  background: var(--light-color);
  box-shadow: 8px 8px 16px rgba(166, 180, 200, 0.2),
              -8px -8px 16px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.neomorph:hover {
  box-shadow: 12px 12px 20px rgba(166, 180, 200, 0.3),
              -12px -12px 20px rgba(255, 255, 255, 0.8);
  transform: translateY(-5px);
}

/* Эффект текста с градиентом */
.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* Анимированный фон с градиентом */
.animated-bg {
  position: relative;
  overflow: hidden;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
  animation: float 15s ease-in-out infinite;
  z-index: -1;
}

.animated-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, 30px) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Контейнер */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Хедер */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background: rgba(248, 250, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.8rem;
}

/* Навигация */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Герой-секция */
.hero {
  padding: 6rem 0;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(29, 31, 47, 0.8);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--box-shadow);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-effect), var(--box-shadow);
}

/* Секции */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: rgba(29, 31, 47, 0.7);
}

/* Карточки */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  transition: all 0.3s;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: rgba(29, 31, 47, 0.7);
}

/* О компании */
.about-section {
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1rem;
  color: rgba(29, 31, 47, 0.7);
}

/* Контакты */
.contact-section {
  position: relative;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-text {
  font-size: 1.1rem;
}

.contact-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Подвал */
footer {
  padding: 3rem 0;
  background: var(--dark-color);
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* Адаптивность */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}