/**
  Нормализация блочной модели
 */
 *,
 ::before,
 ::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
 }

 
 /**
   Убираем внутренние отступы слева тегам списков,
   у которых есть атрибут class
  */
 :where(ul, ol):where([class]) {
   padding-left: 0;
 }
 
 /**
   Убираем внешние отступы body и двум другим тегам,
   у которых есть атрибут class
  */
 body,
 :where(blockquote, figure, fieldset):where([class]) {
   margin: 0;
 }
 
 /**
   Убираем внешние отступы вертикали нужным тегам,
   у которых есть атрибут class
  */
 :where(
   h1,
   h2,
   h3,
   h4,
   h5,
   h6,
   p,
   ul,
   ol,
   dl
 ):where([class]) {
   margin-block: 0;
 }
 
 :where(dd[class]) {
   margin-left: 0;
 }
 
 :where(fieldset[class]) {
   padding: 0;
   border: none;
 }
 
 /**
   Убираем стандартный маркер маркированному списку,
   у которого есть атрибут class
  */
 :where(ul[class]) {
   list-style: none;
 }
 
 :where(address[class]) {
   font-style: normal;
 }
 
 /**
   Обнуляем вертикальные внешние отступы параграфа,
   объявляем локальную переменную для внешнего отступа вниз,
   чтобы избежать взаимодействие с более сложным селектором
  */
 p {
   --paragraphMarginBottom: 24px;
 
   margin-block: 0;
 }
 
 /**
   Внешний отступ вниз для параграфа без атрибута class,
   который расположен не последним среди своих соседних элементов
  */
 p:where(:not([class]):not(:last-child)) {
   margin-bottom: var(--paragraphMarginBottom);
 }
 
 
 /**
   Упрощаем работу с изображениями и видео
  */
 img,
 video {
   display: block;
   max-width: 100%;
   height: auto;
 }
 
 /**
   Наследуем свойства шрифт для полей ввода
  */
 input,
 textarea,
 select,
 button {
   font: inherit;
 }
 
html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}
 
 body {
   /**
     Пригодится в большинстве ситуаций
     (когда, например, нужно будет "прижать" футер к низу сайта)
    */
   min-height: 100%;
   /**
     Унифицированный интерлиньяж
    */
   line-height: 1.5;
 }
 
 /**
   Нормализация высоты элемента ссылки при его инспектировании в DevTools
  */
 a:where([class]) {
   display: inline-flex;
 }
 
 /**
   Курсор-рука при наведении на элемент
  */
 button,
 label {
   cursor: pointer;
 }
 
 /**
   Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
  */
 button {
   -webkit-tap-highlight-color: transparent;
 }
 
 /**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут fill со значением 'none' или начинается с 'url')
  */
 :where([fill]:not(
   [fill="none"],
   [fill^="url"]
 )) {
   fill: currentColor;
 }
 
 /**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут stroke со значением 'none')
  */
 :where([stroke]:not(
   [stroke="none"],
   [stroke^="url"]
 )) {
   stroke: currentColor;
 }
 
 /**
   Чиним баг задержки смены цвета при взаимодействии с svg-элементами
  */
 svg * {
   transition-property: fill, stroke;
 }
 
 /**
   Приведение рамок таблиц в классический 'collapse' вид
  */
 :where(table) {
   border-collapse: collapse;
   border-color: currentColor;
 }
 
 /**
   Удаляем все анимации и переходы для людей,
   которые предпочитают их не использовать
  */
 @media (prefers-reduced-motion: reduce) {
   *,
   ::before,
   ::after {
     animation-duration: 0.01ms !important;
     animation-iteration-count: 1 !important;
     transition-duration: 0.01ms !important;
     scroll-behavior: auto !important;
   }
 }

:root {
    --color-light: #FFFFFF;
    --color-dark: #000000;
    --border-radius-header: 35px;
    --border-radius-first: 24px;

    --font-family-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-main: 0.2s ease;
    
    /* Переменные для анимаций */
    --animation-duration: 0.3s;
    --animation-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-delay: 0.1s;
}

body {
    /**
      Пригодится в большинстве ситуаций
      (когда, например, нужно будет "прижать" футер к низу сайта)
     */
    height: 100dvh;
    /**
      Унифицированный интерлиньяж
     */
    line-height: 1.5;
    font-family: var(--font-family-main);
    background-color: var(--color-dark);
    overflow-x: visible;
}

/* ===== MOBILE & TABLET RESPONSIVE STYLES ===== */

/* Мобильная навигация */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
        top: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header {
        width: 100%;
        padding: 10px 6px;
        flex-wrap: nowrap;
        gap: 5px;
        box-sizing: border-box;
    }
    
    .header-logo {
        flex-shrink: 0;
        min-width: 60px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 29px;
        height: auto;
    }
    
    .header-menu {
        display: none !important; /* Полностью скрываем меню на мобильных */
    }
    
    .header-buttons {
        display: flex;
        gap: 4px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .header-button {
        font-size: 9.5px;
        padding: 5px 7px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 14px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header {
        padding: 9px 5px;
        gap: 4px;
    }
    
    .header-logo {
        min-width: 50px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 23px;
    }
    
    .header-buttons {
        gap: 3px;
    }
    
    .header-button {
        font-size: 8.5px;
        padding: 4px 6px;
    }
}

@media (max-width: 390px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header {
        padding: 8px 4px;
        gap: 3px;
    }
    
    .header-logo {
        min-width: 45px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 27px;
    }
    
    .header-buttons {
        gap: 2px;
    }
    
    .header-button {
        font-size: 8px;
        padding: 4px 5px;
    }
}

.header {
    display: flex;
    width: 794px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10.5px);
    margin: 0 auto;
    transition: width 0.3s ease, padding 0.3s ease;
}

.header.expanded {
    width: fit-content;
    max-width: 100%;
    padding: 15px 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-link {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-button {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.background-image {
    width: 1440px;
    height: 300px;
    flex-shrink: 0;
    aspect-ratio: 24/5;
    background-image: url('./images/Background Image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.header-container {
    position: fixed;
    top: 29px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-screen {
    margin: 152px auto 0px auto;
    padding: 0px 0px 92px 0px;
    display: flex;
    width: 768px;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    overflow: visible;
}

@media (max-width: 1024px) {
    .main-screen {
        width: 90%;
        margin-top: 120px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .main-screen {
        width: 100%;
        max-width: 95%;
        margin-top: 110px;
        padding: 0 15px 50px;
        gap: 45px;
    }
}

@media (max-width: 480px) {
    .main-screen {
        margin-top: 95px;
        padding: 0 12px 40px;
        gap: 35px;
    }
}

/* Header Styles */
.header {
    display: flex;
    width: 794px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10.5px);
    margin: 0 auto;
    transition: width 0.3s ease, padding 0.3s ease;
}

.header.expanded {
    width: fit-content;
    max-width: 100%;
    padding: 15px 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu-list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-link {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-button {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.header-container {
    position: fixed;
    top: 29px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.mobile-menu-link {
    color: #fff;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Menu Responsive */
@media (max-width: 768px) {
    .header-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}
.main-screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}
/* Footer Styles */
.footer {
    width: 100%;
    position: relative;
    font-family: var(--font-family-main);
    padding: 0 80px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 1227px;
    padding: 80px 80px 100px 80px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 24px 24px 0 0;
    background: rgba(0, 0, 0, 0.80);
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    border: none;
}

.footer-content::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.17) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}

.footer-logo-section {
    display: flex;
    width: 121px;
    height: 55px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 120px;
    flex: 1 0 0;
    aspect-ratio: 40/7;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.footer-telegram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-telegram-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.footer-telegram-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-telegram-text {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-family-main);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.footer-navigation {
    display: flex;
    gap: 90px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0;
    line-height: normal;
    margin: 0 0 15px 0;
    font-family: var(--font-family-main);
}

.footer-section-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section-link {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0;
    line-height: normal;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-family-main);
}

.footer-section-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-copyright {
    margin-top: 20px;
}

.footer-copyright-text {
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0;
    line-height: normal;
    margin: 0;
    font-family: var(--font-family-main);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer {
        padding: 0 40px;
    }
    
    .footer-content {
        max-width: 100%;
        padding: 60px 40px 80px;
    }
    
    .footer-navigation {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 40px 25px 60px;
        gap: 25px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 35px;
        align-items: flex-start;
    }
    
    .footer-logo-section {
        width: 100%;
        align-items: flex-start;
    }
    
    .footer-logo {
        width: 110px;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-section-title {
        font-size: 14px;
        margin-bottom: 13px;
    }
    
    .footer-section-link {
        font-size: 13px;
    }
    
    .footer-copyright {
        margin-top: 15px;
    }
    
    .footer-copyright-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 30px 20px 50px;
        border-radius: 16px 16px 0 0;
    }
    
    .footer-navigation {
        gap: 20px;
    }
    
    .footer-section-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-section-link,
    .footer-telegram-text {
        font-size: 12px;
    }
    
    .footer-copyright-text {
        font-size: 11px;
    }
}

/* ===== ABOUT US PAGE STYLES ===== */
.about-main {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    /* Оптимизация для GPU */
    transform: translateZ(0);
    will-change: transform;
}

.about-container {
    margin-top: 150px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding: 0 20px;
}

.about-page-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-width: 600px;
}

.about-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.about-section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-section:nth-child(1) { transition-delay: 0.1s; }
.about-section:nth-child(2) { transition-delay: 0.2s; }
.about-section:nth-child(3) { transition-delay: 0.3s; }
.about-section:nth-child(4) { transition-delay: 0.4s; }

.about-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.about-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-section-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family-main);
    font-size: 16px;
    line-height: 1.7;
}

.about-text p {
    margin: 0 0 20px 0;
}

.about-text strong {
    color: #ffffff;
    font-weight: 600;
}

.mission-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: var(--font-family-main);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-family-main);
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-main {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    /* Оптимизация для GPU */
    transform: translateZ(0);
    will-change: transform;
}

.legal-container {
    margin-top: 150px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding: 0 20px;
}

.legal-page-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-width: 600px;
}

.legal-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

/* Навигация по разделам */
.legal-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legal-nav-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.legal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.legal-nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Секции документов */
.legal-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.legal-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.legal-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-section-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family-main);
    font-size: 16px;
    line-height: 1.7;
}

.legal-text p {
    margin: 0 0 20px 0;
}

.legal-text h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-text li {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.legal-text strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ===== NEWS PAGE STYLES ===== */
.news-main {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    /* Оптимизация для GPU */
    transform: translateZ(0);
    will-change: transform;
}

.news-container {
    margin-top: 150px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding: 0 20px;
}

.news-page-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-main);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-width: 600px;
}

.news-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.container-news {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 800px;
}

.news-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.date-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.left-line,
.right-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.date-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.news-content-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.news-img {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Оптимизация для GPU */
    transform: translateZ(0);
    will-change: transform;
}

.news-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-img:hover img {
    transform: scale(1.05);
}

.news-title-container {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.news-title-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.news-title {
    color: #FFF;
    font-family: var(--font-family-main);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.news-title-container:hover .news-title {
    color: #ffffff;
}

.news-description {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family-main);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

.news-read-more {
    color: #ffffff;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-read-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.news-read-more:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet styles */
@media (max-width: 1024px) {
    .news-container {
        margin-top: 120px;
        margin-bottom: 50px;
    }
    
    .news-page-title {
        font-size: 42px;
    }
    
    .news-subtitle {
        font-size: 16px;
    }
    
    .news-wrapper {
        padding: 0 30px;
    }
    
    .container-news {
        gap: 35px;
    }
    
    .news-img {
        height: 220px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-description {
        font-size: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .news-container {
        margin-top: 100px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .news-page-title {
        font-size: 36px;
    }
    
    .news-subtitle {
        font-size: 15px;
    }
    
    .news-wrapper {
        padding: 0 15px;
    }
    
    .container-news {
        gap: 30px;
    }
    
    .news-item {
        gap: 15px;
    }
    
    .date-container {
        gap: 15px;
    }
    
    .date-text {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .news-img {
        height: 200px;
        border-radius: 12px;
    }
    
    .news-title-container {
        padding: 20px;
        gap: 12px;
        border-radius: 12px;
    }
    
    .news-title {
        font-size: 20px;
    }
    
    .news-description {
        font-size: 14px;
    }
    
    .news-read-more {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .news-container {
        margin-top: 90px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .news-page-title {
        font-size: 28px;
    }
    
    .news-subtitle {
        font-size: 14px;
    }
    
    .news-wrapper {
        padding: 0 10px;
    }
    
    .container-news {
        gap: 25px;
    }
    
    .news-item {
        gap: 12px;
    }
    
    .date-container {
        gap: 10px;
    }
    
    .date-text {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .news-img {
        height: 180px;
        border-radius: 10px;
    }
    
    .news-title-container {
        padding: 16px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-description {
        font-size: 13px;
    }
    
    .news-read-more {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* Extra small mobile styles */
@media (max-width: 390px) {
    .news-page-title {
        font-size: 24px;
    }
    
    .news-subtitle {
        font-size: 13px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-description {
        font-size: 12px;
    }
}

/* ===== ABOUT US RESPONSIVE STYLES ===== */

/* Tablet styles */
@media (max-width: 1024px) {
    .about-container {
        margin-top: 120px;
        margin-bottom: 50px;
    }
    
    .about-page-title {
        font-size: 42px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .about-wrapper {
        padding: 0 30px;
    }
    
    .about-content {
        padding: 30px;
    }
    
    .about-section-title {
        font-size: 28px;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .mission-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .about-container {
        margin-top: 100px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .about-page-title {
        font-size: 36px;
    }
    
    .about-subtitle {
        font-size: 15px;
    }
    
    .about-wrapper {
        padding: 0 15px;
    }
    
    .about-content {
        padding: 20px;
        border-radius: 16px;
    }
    
    .about-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .about-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .mission-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item h3 {
        font-size: 18px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .about-container {
        margin-top: 90px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .about-page-title {
        font-size: 28px;
    }
    
    .about-subtitle {
        font-size: 14px;
    }
    
    .about-wrapper {
        padding: 0 10px;
    }
    
    .about-content {
        padding: 16px;
        border-radius: 12px;
    }
    
    .about-section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .about-text p {
        margin: 0 0 15px 0;
    }
    
    .mission-features {
        margin-top: 25px;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .feature-item h3 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 12px;
    }
}

/* Extra small mobile styles */
@media (max-width: 390px) {
    .about-page-title {
        font-size: 24px;
    }
    
    .about-subtitle {
        font-size: 13px;
    }
    
    .about-section-title {
        font-size: 18px;
    }
    
    .about-text {
        font-size: 12px;
    }
    
    .feature-item h3 {
        font-size: 15px;
    }
    
    .feature-item p {
        font-size: 11px;
    }
}

/* ===== LEGAL PAGES RESPONSIVE STYLES ===== */

/* Tablet styles */
@media (max-width: 1024px) {
    .legal-container {
        margin-top: 120px;
        margin-bottom: 50px;
    }
    
    .legal-page-title {
        font-size: 42px;
    }
    
    .legal-subtitle {
        font-size: 16px;
    }
    
    .legal-wrapper {
        padding: 0 30px;
    }
    
    .legal-content {
        padding: 30px;
    }
    
    .legal-section-title {
        font-size: 28px;
    }
    
    .legal-text {
        font-size: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .legal-container {
        margin-top: 100px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .legal-page-title {
        font-size: 36px;
    }
    
    .legal-subtitle {
        font-size: 15px;
    }
    
    .legal-wrapper {
        padding: 0 15px;
    }
    
    .legal-navigation {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .legal-nav-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .legal-content {
        padding: 20px;
        border-radius: 16px;
    }
    
    .legal-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .legal-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .legal-text h3 {
        font-size: 18px;
        margin: 25px 0 12px 0;
    }
    
    .legal-text ul {
        padding-left: 15px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .legal-container {
        margin-top: 90px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .legal-page-title {
        font-size: 28px;
    }
    
    .legal-subtitle {
        font-size: 14px;
    }
    
    .legal-wrapper {
        padding: 0 10px;
    }
    
    .legal-navigation {
        margin-bottom: 30px;
    }
    
    .legal-nav-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .legal-content {
        padding: 16px;
        border-radius: 12px;
    }
    
    .legal-section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .legal-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .legal-text h3 {
        font-size: 16px;
        margin: 20px 0 10px 0;
    }
    
    .legal-text p {
        margin: 0 0 15px 0;
    }
}

/* Extra small mobile styles */
@media (max-width: 390px) {
    .legal-page-title {
        font-size: 24px;
    }
    
    .legal-subtitle {
        font-size: 13px;
    }
    
    .legal-section-title {
        font-size: 18px;
    }
    
    .legal-text {
        font-size: 12px;
    }
    
    .legal-text h3 {
        font-size: 15px;
    }
}