

/**
  Нормализация блочной модели
 */
 *,
 ::before,
 ::after {
   box-sizing: border-box;
 }
 
 /**
   Убираем внутренние отступы слева тегам списков,
   у которых есть атрибут 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;
}

body {
    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;
    }
}

.main-screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.main-screen-content-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.low-title {
    color: rgba(255, 255, 255, 0.50);
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.big-title {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .big-title {
        font-size: 24px;
        white-space: normal;
        line-height: 1.3;
    }
    
    .low-title {
        font-size: 12px;
    }
    
    .main-screen-content-title-text {
        font-size: 13px;
    }
}

.main-screen-content-title-text {
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.main-screen-content-image {
    position: relative;
    width: 768px;
    height: 511px;
    overflow: visible;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-screen-content-image.animate {
    opacity: 1;
    transform: translateY(0);
}

.main-screen-content-image-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    max-width: none;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-screen-content-image-1 {
    position: absolute;
    top: -105px;
    left: 50%;
    transform: translateX(-50%);
    width: 1020px;
    height: 590px;
    max-width: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .main-screen-content-image {
        width: 100%;
        height: auto;
        aspect-ratio: 768/511;
    }
    
    .main-screen-content-image-1,
    .main-screen-content-image-2 {
        width: 100%;
        height: auto;
    }
    
    .main-screen-content-image-1 {
        width: 130%;
        top: -30%;
    }
}

@media (max-width: 768px) {
    .main-screen-content-image {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .main-screen-content-image-2 {
        width: 100%;
        position: relative;
    }
    
    .main-screen-content-image-1 {
        width: 140%;
        top: -30%;
    }
}

@media (max-width: 480px) {
    .main-screen-content-image {
        min-height: 250px;
    }
    
    .main-screen-content-image-1 {
        width: 125%;
        top: -15%;
    }
}

.service-futer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    width: 100%;
    max-width: 768px;
    overflow: visible;
}

.service-futer-title {
    align-self: stretch;
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.service-futer-content {
 display: flex;
 justify-content: space-between;
 align-items: center;
    align-self: stretch;
    position: relative;
    overflow: visible;
}


.service-futer-content-logos {
    display: flex;
    width: 768px;
    justify-content: space-between;
    align-items: flex-end;
}

.service-futer-content-logos-logo {
    opacity: 0;
    transform: translateX(50px) translateY(30px);
    transition: all 0.6s ease;
    transition-delay: calc(var(--i) * 0.1s);
}

.service-futer-content-logos-logo.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.service-futer-content-logos-logo:hover {
    transform: translateY(-5px) scale(1.1);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .service-futer {
        max-width: 90%;
        padding: 0 20px;
    }
    
    .service-futer-content-logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-futer {
        gap: 15px;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .service-futer-title {
        font-size: 15px;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .service-futer-content-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 25px;
        row-gap: 15px;
    }
    
    .service-futer-content-logos-logo {
        width: auto;
        max-width: 24px;
        height: auto;
        max-height: 24px;
    }
}

@media (max-width: 480px) {
    .service-futer {
        gap: 12px;
    }
    
    .service-futer-title {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .service-futer-content-logos {
        gap: 15px 20px;
    }
    
    .service-futer-content-logos-logo {
        max-width: 22px;
        max-height: 22px;
    }
}

.features-title {
    margin: 77px 0 25px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease;
}

.features-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.features-title-text {
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

@media (max-width: 768px) {
    .features-title {
        margin: 50px 0 20px 0;
    }
    
    .features-title-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .features-title {
        margin: 40px 0 15px 0;
    }
    
    .features-title-text {
        font-size: 20px;
    }
}

.features-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 32px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: none;
    margin: 25px auto 0 auto;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.features-container .feature-item {
    display: flex;
    flex-direction: column;
    width: 287px;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.features-container .feature-item.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.features-container .CPU-lock {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    overflow: hidden;
}

.features-container .vector {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.features-container .img {
    position: absolute;
    width: 78.01%;
    height: 77.96%;
    top: 10.31%;
    left: 11.00%;
}

.features-container .vector-2 {
    position: absolute;
    width: 7.22%;
    height: 4.52%;
    top: 38.43%;
    left: 46.39%;
}

.features-container .feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.features-container .feature-title {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--font-family-main);
    font-weight: 600;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0;
    line-height: normal;
}

.features-container .feature-description {
    position: relative;
    align-self: stretch;
    font-family: var(--font-family-main);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 0;
    line-height: normal;
    z-index: 2;
}

.features-container .feature-icon {
    position: relative;
    align-self: stretch;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.17);
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.6s ease;
    transition-delay: var(--delay, 0s);
    transform-origin: top;
}

.features-container .feature-icon.animate {
    opacity: 1;
    transform: scaleY(1);
}

.features-container .diamond-star {
    position: relative;
    width: 34px;
    height: 34px;
}

.features-container .artificial {
    position: relative;
    width: 76.47%;
    height: 76.47%;
    top: 11.76%;
    left: 11.76%;
    background-image: url('./icons/artificial-intelligence 1.svg');
    background-size: 100% 100%;
}

.features-container .divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 122px;
    object-fit: cover;
    opacity: 0;
    filter: blur(100px);
    transition: opacity 0.6s ease, filter 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.features-container .divider.animate {
    opacity: 1;
    filter: blur(0px);
}

.features-container::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.17) 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;
}

/* Responsive improvements */
@media (max-width: 1024px) {
    .features-container {
        flex-direction: column;
        gap: 25px;
        padding: 24px;
        width: 100%;
        max-width: 600px;
    }

    .feature-item {
        width: 100% !important;
    }

    .feature-icon {
        height: 1px;
        width: 100%;
    }

    .divider {
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 0;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .features-container {
        padding: 20px;
        gap: 25px;
    }
    
    .feature-item {
        gap: 20px;
    }
    
    .features-container .feature-title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .features-container .feature-description {
        font-size: 15px;
        line-height: 1.5;
        z-index: 2;
    }
    
    .features-container .CPU-lock,
    .features-container .diamond-star,
    .features-container .feature-item > div:first-child {
        width: 32px;
        height: 32px;
    }
    
    .divider {
        width: 100% !important;
        margin: 0 !important;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .features-container {
        padding: 18px;
        gap: 22px;
    }
    
    .features-container .feature-title {
        font-size: 18px;
    }
    
    .features-container .feature-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .divider {
        width: 100% !important;
        margin: 0 !important;
        height: 32px;
    }
}

/* Focus styles for accessibility */
.feature-item:focus-within {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-main);
    margin: 0;
    padding-top: 150px;
    padding-bottom: 105px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    overflow: hidden;
}

/* Звезды */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star.small {
    width: 2px;
    height: 2px;
    animation-duration: 2s;
}

.star.medium {
    width: 3px;
    height: 3px;
    animation-duration: 3s;
}

.star.large {
    width: 4px;
    height: 4px;
    animation-duration: 4s;
}

.star.floating {
    animation: starFloat 8s linear infinite;
}

.star.drifting {
    animation: starTwinkle 3s ease-in-out infinite, starDrift 6s ease-in-out infinite;
}

/* Анимации звезд */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes starFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(var(--move-x, 50px));
        opacity: 0;
    }
}

@keyframes starDrift {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(var(--drift-x1, 10px), var(--drift-y1, -5px));
    }
    50% {
        transform: translate(var(--drift-x2, -15px), var(--drift-y2, 8px));
    }
    75% {
        transform: translate(var(--drift-x3, 20px), var(--drift-y3, -10px));
    }
    100% {
        transform: translate(0, 0);
    }
}

.download-content {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.download-header {
    margin-bottom: 3rem;
}

.download-logo {
    width: 96px;
    height: 101px;
    aspect-ratio: 0.95;
    object-fit: contain;
}

.download-cta {
    width: 100%;
    margin-bottom: 3rem;
}

.download-title {
    font-size: 38px;
    font-family: var(--font-family-main);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.download-description {
    font-size: 18px;
    font-family: var(--font-family-main);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0;
}

.download-button-section {
    margin-bottom: auto;
}

.download-button {
    padding: 12px 24px;
    background-color: #ffffff;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    text-decoration: none;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-button:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

.download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.windows-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.windows-vector {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-button-text {
    font-size: 18px;
    font-family: var(--font-family-main);
    font-weight: 500;
    color: #000000;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Responsive Design for Download Section */
@media (max-width: 1024px) {
    .download-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .download-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .download-section {
        padding-top: 70px;
        padding-bottom: 60px;
    }
    
    .download-content {
        padding: 1.5rem;
    }
    
    .download-header {
        margin-bottom: 2.5rem;
    }
    
    .download-logo {
        width: 75px;
        height: auto;
    }
    
    .download-cta {
        margin-bottom: 2.5rem;
    }
    
    .download-title {
        font-size: 26px;
        padding: 0 15px;
        line-height: 1.3;
    }
    
    .download-description {
        font-size: 16px;
        margin-top: 8px;
    }
    
    .download-button {
        padding: 11px 22px;
    }
    
    .download-button-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .download-section {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    
    .download-logo {
        width: 60px;
    }
    
    .download-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .download-description {
        font-size: 14px;
    }
    
    .download-button {
        padding: 9px 16px;
    }
    
    .download-button-text {
        font-size: 15px;
    }
    
    .windows-icon {
        width: 20px;
        height: 20px;
    }
}

/* 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 #4a90e2;
    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;
    }
}

/* Background Image Responsive */
@media (max-width: 1440px) {
    .background-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .background-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .background-image {
        height: 150px;
    }
}

/* Специальные стили для больших мобильных устройств (iPhone 14 Pro Max и подобных) */
@media (min-width: 390px) and (max-width: 430px) and (max-height: 932px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header {
        padding: 10px 6px;
        gap: 4px;
    }
    
    .header-logo {
        min-width: 58px;
    }
    
    .header-logo-image {
        content: url('icons/Main logotype.svg');
        width: 58px;
    }
    
    .header-buttons {
        gap: 4px;
    }
    
    .header-button {
        font-size: 9.5px;
        padding: 5px 7px;
    }
    
    .big-title {
        font-size: 26px;
    }
    
    .service-futer-title {
        font-size: 15.5px;
    }
    
    .features-title-text {
        font-size: 26px;
    }
    
    .features-container .feature-title {
        font-size: 21px;
    }
    
    .features-container .feature-description {
        font-size: 15.5px;
    }
    
    .download-title {
        font-size: 28px;
    }
    
    .download-description {
        font-size: 17px;
    }
}

/* Products */
.by-frame {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    overflow: visible;
}

.plans-container {
    display: inline-flex;
justify-content: center;
align-items: center;
gap: 30px;
}
.plan-card {
    position: relative;
    width: 300px;
    height: 326px;
}
.plan-details-container {
    display: flex;
    width: 300px;
    height: 312px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20.549999237060547px);
    box-sizing: border-box;
    overflow: hidden;
}

.plan-price-container {
    display: flex;
width: 260px;
flex-direction: column;
align-items: center;
gap: 16px;
}

.plan-duration {
    align-self: stretch;
    color: #FFF;
text-align: center;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.plan-price {
    align-self: stretch;
    color: #FFF;
text-align: center;
font-family: Montserrat;
font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.plan-button {
    display: flex;
    height: 40px;
    padding: 11px 94px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 10px;
    background: #FFF;
    font-weight: 600;
    font-size: 16px;
    border: none;
    outline: none;
    cursor: pointer;
}

.divider-line {
    width: 260px;
height: 1px;
flex-shrink: 0;
background: rgba(255, 255, 255, 0.10);
}

.plan-features {
    color: rgba(255, 255, 255, 0.50);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    padding-left: 23px;
    list-style-type: none;
    flex: 1;
    overflow: hidden;
}


.plan-features li {
    margin-bottom: -2px;
    padding-left: 0;
    position: relative;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-title-container {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 34px;
    background: #FFF;
    z-index: 2;
    white-space: nowrap;
}

.plan-title{
    color: #000;
text-align: center;
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

.plan-savings {
    color: rgba(255, 255, 255, 0.50);
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.plan-title-container-2 {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    height: 27px;
    padding: 1px 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 34px;
    background: #FFF;
    z-index: 2;
    white-space: nowrap;
}

.plan-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    z-index: 0;
    pointer-events: none;
    width: auto;
    height: auto;

}

.stars-1 {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Центрирование plan-image по средней карточке (популярной) */
.by-frame {
    position: relative;
}

.by-frame .plan-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;

}

.products-title {
    margin-top: 154px;
    color: #FFF;
text-align: center;
font-family: Montserrat;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

/* Анимации для планов */
.plans-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.plans-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.plan-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.plan-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Эффекты при наведении на популярный тариф */
.plan-card:nth-child(2) {
    transition: transform 0.3s ease;
}

/* Адаптивность для by-frame */
@media (max-width: 1024px) {
    .by-frame {
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .plans-container {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .plan-image {
        width: 250px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .by-frame {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .plans-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 340px;
        height: auto;
        min-height: 326px;
    }
    
    .plan-details-container {
        width: 100%;
        height: auto;
        min-height: 312px;
        position: relative;
        top: 14px;
    }
    
    .plan-image {
        width: 200px;
        height: 250px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* Убираем hover эффекты на мобильных */
    .plan-card:nth-child(2):hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .by-frame {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .plans-container {
        gap: 30px;
    }
    
    .plan-card {
        max-width: 100%;
    }
    
    .plan-price {
        font-size: 40px;
    }
    
    .plan-button {
        padding: 11px 20px;
        font-size: 15px;
    }
    
    .plan-features {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .plan-image {
        width: 180px;
        height: 220px;
    }
}

/* Subscription Container Styles */
.subscription-container {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background: transparent;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.subscription-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.subscription-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.subscription-title {
    color: #FFF;
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.2s;
}

.subscription-container.animate .subscription-title {
    opacity: 1;
    transform: translateY(0);
}

.subscription-main-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.subscription-logo {
    width: 96px;
    height: 101px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s ease;
    transition-delay: 0.4s;
}

.subscription-container.animate .subscription-logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

.subscription-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.6s;
}

.subscription-container.animate .subscription-cta {
    opacity: 1;
    transform: translateY(0);
}

.subscription-price {
    color: #FFF;
    font-family: Montserrat;
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.subscription-description {
    color: rgba(255, 255, 255, 0.6);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    max-width: 600px;
}

.subscription-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #FFF;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.8s;
}

.subscription-container.animate .subscription-button {
    opacity: 1;
    transform: translateY(0);
}

.subscription-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subscription-button:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

.subscription-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subscription-button span {
    font-size: 18px;
    font-family: var(--font-family-main);
    font-weight: 500;
    color: #000000;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.subscription-background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1047px;
    height: 621.605px;
    opacity: 0.6;
    mix-blend-mode: lighten;
    z-index: -1;
    pointer-events: none;
}

.subscription-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.subscription-daily-limit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 1s;
}

.subscription-container.animate .subscription-daily-limit {
    opacity: 1;
    transform: translateY(0);
}

.daily-limit-title {
    color: rgba(255, 255, 255, 0.3);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    margin: 0;
}

.daily-limit-details {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    justify-content: center;
}

.limit-text {
    color: rgba(255, 255, 255, 0.3);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
}

.limit-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Адаптивность для subscription-container */
@media (max-width: 768px) {
    .subscription-container {
        padding: 40px 15px;
    }
    
    .subscription-content {
        gap: 30px;
    }
    
    .subscription-title {
        font-size: 28px;
    }
    
    .subscription-price {
        font-size: 32px;
    }
    
    .subscription-description {
        font-size: 16px;
    }
    
    .subscription-button {
        padding: 11px 22px;
    }
    
    .subscription-button span {
        font-size: 16px;
    }
    
    .subscription-background {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 800px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .subscription-container {
        padding: 30px 10px;
    }
    
    .subscription-content {
        gap: 25px;
    }
    
    .subscription-title {
        font-size: 24px;
    }
    
    .subscription-price {
        font-size: 28px;
    }
    
    .subscription-description {
        font-size: 14px;
    }
    
    .subscription-button {
        padding: 9px 16px;
    }
    
    .subscription-button span {
        font-size: 15px;
    }
    
    .daily-limit-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .limit-divider {
        display: none;
    }
}

/* Плавная прокрутка для якорных ссылок */
html {
    scroll-behavior: smooth;
}

/* Позиционирование блоков по центру экрана при переходе по якорям */
/* Используется JavaScript для точного центрирования */

/* 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: #4a90e2;
    transform: translateY(-2px);
}


/* Mobile Menu Responsive */
@media (max-width: 768px) {
    .header-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* 3D Background Effect for Download Section */
.download-section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.download-section-background #app {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.download-section {
    position: relative;
}

.download-content {
    position: relative;
    z-index: 2;
}

