/* ================================================================
   DARK THEME - БАЗОВЫЕ НАСТРОЙКИ И СБРОС
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #e4e4e7;
  background: #0a0a0f;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   HEADER - НОВАЯ СТРУКТУРА С ВЕРТИКАЛЬНОЙ ОРИЕНТАЦИЕЙ
   ================================================================ */
header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16161f 100%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.25rem 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
}

/* Логотип слева */
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.3);
}

.site-tagline {
  font-size: 0.75rem;
  color: #71717a;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Навигация по центру - горизонтальная */
#top_menus {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#top_menus .nav-link {
  font-family: 'Space Grotesk', sans-serif;
  color: #a1a1aa;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.3px;
}

#top_menus .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  transition: width 0.3s ease;
}

#top_menus .nav-link:hover,
#top_menus .current-menu-item .nav-link {
  color: #e4e4e7;
}

#top_menus .nav-link:hover::after,
#top_menus .current-menu-item .nav-link::after {
  width: 100%;
}

/* Контактная информация справа */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-phone,
.header-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a1a1aa;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.header-phone svg,
.header-email svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.header-phone:hover,
.header-email:hover {
  color: #c084fc;
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

/* ================================================================
   HERO SECTION - С ФОНОВЫМ ИЗОБРАЖЕНИЕМ
   ================================================================ */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 3rem 6rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(22, 22, 31, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #fafafa;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.5rem;
  color: #e4e4e7;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ================================================================
   POST LIST - СТРОГО 3 КОЛОНКИ НА ДЕСКТОПЕ
   ================================================================ */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1600px;
  margin: 4rem auto;
  padding: 0 3rem;
}

/* Карточка поста с новым дизайном */
.post-item {
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.post-item:hover::before {
  opacity: 1;
}

.post-item:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

.post-featured-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #0a0a0f;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) contrast(1.1);
}

.post-item:hover .post-featured-image img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.post-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin: 1.75rem 1.75rem 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.post-item h3 a {
  color: #fafafa;
  background: linear-gradient(135deg, #fafafa 0%, #fafafa 100%);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}

.post-item h3 a:hover {
  color: #c084fc;
  background-size: 100% 2px;
}

.post-item p {
  margin: 0 1.75rem 1.75rem;
  color: #a1a1aa;
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
}

.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 1.75rem 1.75rem;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fafafa;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  letter-spacing: 0.3px;
}

.post-item > a:last-of-type:hover {
  background: transparent;
  border-color: #7c3aed;
  color: #c084fc;
  transform: translateX(4px);
}

/* ================================================================
   PAGINATION
   ================================================================ */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 4rem auto 6rem;
  font-weight: 600;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 1rem;
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 8px;
  color: #a1a1aa;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fafafa;
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.next.page-numbers,
.prev.page-numbers {
  background: transparent;
  border-color: transparent;
  color: #c084fc;
  font-weight: 700;
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
  color: #fafafa;
  background: rgba(124, 58, 237, 0.1);
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */
.breadcrumbs {
  max-width: 1600px;
  margin: 2rem auto 0;
  padding: 0 3rem;
  font-size: 0.9rem;
  color: #71717a;
}

.breadcrumbs a {
  color: #c084fc;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: #fafafa;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #52525b;
}

/* ================================================================
   PAGE CONTENT - НОВАЯ ШИРИНА И СТИЛИ
   ================================================================ */
.page-content {
  max-width: 1100px;
  margin: 3rem auto 6rem;
  padding: 0;
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page-content .post-featured-image {
  height: auto;
  margin: 0;
  max-height: 550px;
}

.page-content .post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.page-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  margin: 3rem 3rem 2rem;
  line-height: 1.2;
  color: #fafafa;
  font-weight: 800;
}

.page-content .content {
  padding: 0 3rem 3rem;
  font-size: 1.125rem;
  line-height: 1.9;
  color: #d4d4d8;
}

.page-content .content p {
  margin-bottom: 1.75rem;
}

.page-content .content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin: 3rem 0 1.25rem;
  color: #fafafa;
  font-weight: 700;
}

.page-content .content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #e4e4e7;
  font-weight: 600;
}

.page-content .content ul,
.page-content .content ol {
  margin: 1.5rem 0 1.75rem 2.5rem;
  line-height: 1.9;
}

.page-content .content li {
  margin-bottom: 0.75rem;
  color: #d4d4d8;
}

.page-content .content a {
  color: #c084fc;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(192, 132, 252, 0.3);
  text-underline-offset: 3px;
}

.page-content .content a:hover {
  color: #fafafa;
  text-decoration-color: #fafafa;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404-content {
  max-width: 800px;
  margin: 8rem auto;
  padding: 5rem 3rem;
  text-align: center;
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.error-404-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10rem;
  color: transparent;
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1;
  text-shadow: 0 0 80px rgba(124, 58, 237, 0.5);
}

.error-404-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: #fafafa;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.error-404-content p {
  font-size: 1.125rem;
  color: #a1a1aa;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.error-404-content a {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fafafa;
  padding: 1rem 3rem;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  letter-spacing: 0.5px;
}

.error-404-content a:hover {
  background: transparent;
  border-color: #7c3aed;
  color: #c084fc;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

/* ================================================================
   FOOTER - НОВАЯ СТРУКТУРА С КОЛОНКАМИ
   ================================================================ */
footer {
  background: linear-gradient(135deg, #16161f 0%, #0a0a0f 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  padding: 4rem 3rem 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #7c3aed 50%, transparent 100%);
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: -0.5px;
}

.footer-description {
  color: #71717a;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

/* Контакты в футере */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #a1a1aa;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-contact-item svg {
  flex-shrink: 0;
  stroke: #71717a;
  transition: stroke 0.3s ease;
}

.footer-contact-item:hover {
  color: #c084fc;
  transform: translateX(4px);
}

.footer-contact-item:hover svg {
  stroke: #c084fc;
}

.footer-contact-item.footer-address {
  cursor: default;
}

.footer-contact-item.footer-address:hover {
  color: #a1a1aa;
  transform: none;
}

.footer-contact-item.footer-address:hover svg {
  stroke: #71717a;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Меню в футере справа */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  align-items: flex-end;
}

.footer-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: #a1a1aa;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #c084fc;
  text-decoration: none;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  color: #52525b;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #71717a;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #c084fc;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

/* Планшеты */
@media (max-width: 1024px) {
  .header-container {
    padding: 1rem 2rem;
    gap: 2rem;
  }

  #top_menus {
    gap: 1.75rem;
  }

  .hero-section {
    padding: 6rem 2rem 4rem;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.25rem;
  }

  .post-list {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem;
    gap: 1.75rem;
  }

  .page-content {
    margin: 2.5rem auto 5rem;
  }

  .page-content h1 {
    font-size: 2.5rem;
    margin: 2.5rem 2.5rem 1.75rem;
  }

  .page-content .content {
    padding: 0 2.5rem 2.5rem;
    font-size: 1.0625rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-menu {
    align-items: flex-start;
  }

  .categories-section,
  .analytics-section,
  .stats-section {
    padding: 4rem 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .analytics-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Смартфоны */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .site-brand {
    align-items: center;
  }

  #top_menus {
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    gap: 1rem;
  }
  
  .header-phone span,
  .header-email span {
    display: none;
  }
  
  .header-phone,
  .header-email {
    padding: 0.75rem;
    min-width: 48px;
    justify-content: center;
  }

  .hero-section {
    padding: 5rem 1.5rem 3rem;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.125rem;
  }

  .post-list {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    gap: 1.5rem;
    margin: 3rem auto;
  }

  .post-featured-image {
    height: 240px;
  }

  .post-item h3 {
    font-size: 1.25rem;
    margin: 1.5rem 1.5rem 0.875rem;
  }

  .page-content {
    margin: 2rem auto 4rem;
    border-radius: 12px;
  }

  .page-content h1 {
    font-size: 2rem;
    margin: 2rem 1.5rem 1.5rem;
  }

  .page-content .content {
    padding: 0 1.5rem 2rem;
    font-size: 1rem;
  }

  .breadcrumbs {
    padding: 0 1.5rem;
    font-size: 0.85rem;
  }

  .error-404-content {
    margin: 6rem auto;
    padding: 3rem 1.5rem;
  }

  .error-404-content h1 {
    font-size: 6rem;
  }

  .error-404-content h2 {
    font-size: 1.75rem;
  }

  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-container {
    gap: 2rem;
  }

  .footer-menu {
    margin-bottom: 1.5rem;
  }
  
  .footer-contacts {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }
  
  .footer-contact-item {
    font-size: 0.85rem;
  }

  .categories-section,
  .analytics-section,
  .stats-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }


  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 1.5rem;
  }

  #top_menus .nav-link {
    font-size: 0.875rem;
  }

  .hero-section {
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .post-featured-image {
    height: 200px;
  }

  .page-content h1 {
    font-size: 1.75rem;
  }

  .error-404-content h1 {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .analytics-content {
    padding: 1.5rem;
  }


  .stat-item {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CATEGORIES SECTION
   ================================================================ */
.categories-section {
  padding: 5rem 3rem;
  background: linear-gradient(180deg, #0a0a0f 0%, #16161f 100%);
  position: relative;
}

.categories-section .container {
  max-width: 1600px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fafafa;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fafafa 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, #16161f 100%);
}

.category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafafa;
  margin-bottom: 0.5rem;
}

.category-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fafafa;
  margin: 0;
}

.category-card p {
  color: #71717a;
  font-size: 0.9rem;
  margin: 0;
}

/* ================================================================
   ANALYTICS SECTION
   ================================================================ */
.analytics-section {
  padding: 5rem 3rem;
  background: #0a0a0f;
}

.analytics-section .container {
  max-width: 1600px;
  margin: 0 auto;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.analytics-card {
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

.analytics-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #0a0a0f;
}

.analytics-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-card:hover .analytics-image img {
  transform: scale(1.1);
}

.analytics-content {
  padding: 1.75rem;
}

.analytics-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #71717a;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.analytics-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.analytics-content h3 a {
  color: #fafafa;
  transition: color 0.3s ease;
}

.analytics-content h3 a:hover {
  color: #c084fc;
}

.analytics-content p {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.analytics-link {
  display: inline-flex;
  align-items: center;
  color: #c084fc;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.analytics-link:hover {
  color: #fafafa;
  transform: translateX(4px);
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
  padding: 5rem 3rem;
  background: #0a0a0f;
}

.stats-section .container {
  max-width: 1600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #16161f;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, #16161f 100%);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #a1a1aa;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================================================
   УТИЛИТЫ
   ================================================================ */

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Отступ для якорных ссылок */
:target {
  scroll-margin-top: 120px;
}

/* Scrollbar styling для темной темы */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}
