.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12vw 30px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, #0D0D10 0%, rgba(0, 0, 0, 0) 100%);
    transition: 0.3s;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo-block {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(150,150,150,0.5) 0%, rgba(150,150,150,0) 100%);
    transition: background 0.3s;
}
.logo-img {
    height: 15px;
    width: auto;
    display: block;
}
.header-title {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: 48px;
    margin-right: 48px;
}
.nav-item {
    position: relative;
    color: #C7C7C7;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
    text-decoration: none;
    display: block;
}
.nav-item:hover { color: #fff; }
.nav-item-active {
    color: #fff;
}
.nav-item-active .nav-underline {
    display: block;
}
.nav-underline {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 50%, rgba(255,255,255,0) 100%);
    border-radius: 2px;
    border: 0;
    box-shadow: none;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-dropdown {
    display: flex;
    align-items: center;
    border: 2px solid #363636;
    border-radius: 5px;
    padding: 6px 14px 6px 8px;
    background: #151515;
    color: #8f8f8f;
    font-size: 15px;
    cursor: pointer;
    gap: 8px;
}
.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 4px;
}
.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lang-text {
    color: #C7C7C7;
    font-size: 15px;
    font-weight: 500;
}
.lang-arrow {
    font-size: 12px;
    color: #363636;
    margin-left: 4px;
}
.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    border: 2px solid #363636;
    border-radius: 5px;
    background: #151515;
    cursor: pointer;
    padding: 0;
}
.profile-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.black-body{
    background-color: #0D0D10;
    min-height: 100vh;
    transition: background 0.3s;
}

html {
    background-color: transparent; /* Убираем стандартный белый фон браузера */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    background-color: #0D0D10; /* Задаем цвет пустоты для тёмной темы */
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* Clips planet rings and decorative elements that overflow horizontally */
.black-body { overflow-x: hidden; }
.first-block { overflow-x: hidden; }
.second-block { overflow-x: hidden; }

/* Offset anchor scroll so fixed header doesn't cover the section */
[id] { scroll-margin-top: 80px; }

/* Декоративные глобальные фоновые изображения */
.bg-decor {
    position: absolute;
    width: 33vw;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
}
/* 01 справа у блока тарифов */
.bg-back01 { right: -4vw; top: 0; transform: translateY(-20%); }
/* 02 справа сразу за 01 с наложением 30% */
.bg-back02 { right: -1vw; top: 5%; transform: translateY(-15%); opacity: 0.4; }
/* 03 слева, начинается на центре hero */
.bg-back03 { left: -6vw; top: 50%; transform: translateY(-50%); }
/* 04 слева, центр у начала блока Видео */
.bg-back04 { left: -5vw; transform: translateY(-30%); }
/* 05 справа у блока Поддержка */
.bg-back05 { right: -6vw; transform: translateY(-20%); bottom: 0; }

/* Корректируем позиции относительно конкретных секций */
.feature-card[data-card="pricing"] { position: relative; }
.feature-card[data-card="video"] { position: relative; }
.feature-card[data-card="support"] { position: relative; }
.hero { position: relative; }

@media (max-width: 1024px) {
  .bg-decor { width: 40vw; opacity: 0.5; }
  .bg-back01 { right: -10vw; }
  .bg-back02 { right: -6vw; }
  .bg-back03 { left: -12vw; }
  .bg-back04 { left: -10vw; }
  .bg-back05 { right: -12vw; }
}

.lang-dropdown {
    position: relative;
}
.lang-dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.lang-dropdown-list {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #23232A;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 10;
}
.lang-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
}


/* Унификация шрифта */
body, .black-body, .header-container, .header-left, .header-title, .header-nav, .nav-item, .lang-text, .profile-btn {
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
}

/* Светлая тема */
.light-mode .black-body {
    background-color: #F5F6FA !important;
}

.light-mode .features li::before{
    color: black;
}

.light-mode .header-container{
    background: linear-gradient(180deg, #F5F6FA  0%, rgba(0, 0, 0, 0) 100%);
}
.light-mode body {
    background: #F5F6FA !important;
    color: #23232A !important;
}
.light-mode .header-title,
.light-mode .nav-item,
.light-mode .nav-item-active,
.light-mode .cta-button {
    color: #23232A !important;
}
.light-mode .lang-dropdown,
.light-mode .profile-btn {
    background: #fff !important;
    border-color: #E0E0E0 !important;
    color: #23232A !important;
}
.light-mode .lang-dropdown-list {
    background: #fff !important;
}
.light-mode .nav-underline {
    background: linear-gradient(90deg, rgba(35,35,42,0) 0%, #23232A 50%, rgba(35,35,42,0) 100%) !important;
}
.light-mode .lang-text {
    color: #23232A !important;
}
.light-mode .logo-block {
    background: linear-gradient(135deg, #8B5CF6 0%, rgba(139,92,246,0) 100%) !important;
}
.light-mode .hero-title, .light-mode .feature-title, .light-mode .plan-price{
    background: linear-gradient(90deg, #474b4b 0%, #753990 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Тумблер темы */
.theme-toggle {
    width: 230px;
    height: 42px;
    background: rgba(0, 0, 0, 0);
    border-radius: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    border: solid 1px rgba(128, 128, 128, 0.186);
    outline: none;
    margin-right: 8px;
}
.theme-toggle .toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 125px;
    height: 33px;
    background: #0C0F1C;
    border-radius: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.2s;
    box-shadow: 0 1px 4px rgba(206, 206, 206, 0.213);
    border: solid 1px rgba(128, 128, 128, 0.186);

}
.theme-toggle.light .toggle-thumb {
    left: 98px;
    background: #d7e5ee;
}

.theme-toggle .toggle-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* Первый экран */
.first-block {
    padding-left: 12vw !important;
    padding-right: 12vw !important;
    padding-top: 100px;
}

.second-block{
    padding-left: 20px;
    padding-right: 20px;
}

.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    padding: 32px 0 72px;
    position: relative;
    margin-top: 100px;

}
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hero-kicker {
    color: #723CEB;
    font-size: 20px;
    font-weight: 50;
    letter-spacing: 0.1px;
}
.hero-title {
    background: linear-gradient(90deg, #EBF1FF 0%, #B3C0DE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 74px;
    line-height: 85px;
    font-weight: 900;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}
.hero-desc {
    color: #8A96B1;
    font-size: 22px;
    line-height: 1.6;
    white-space: pre-line;
    margin: 0 !important;
}
.cta-button {
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    color: white;
    border: 1px solid #723CEB;
    border-radius: 10px;
    padding: 20px 80px;
    font-size: 24px;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.cta-button:hover {
    background: rgba(114,60,235,0.08);
}

.light-mode .hero-title {
    color: #23232A;
}
.light-mode .hero-desc, .light-mode .feature-desc {
    color: #515B6C;
}

/* Карточки-блоки */
.cards {
    margin-top: 200px;
}

.last-card{
    margin-bottom: 0px !important;
    padding: 0 15vw !important
}

@media (max-width: 1024px){
    .last-card{
        padding: 50px 24px !important;
    }
}



.feature-card {
    position: relative;
    margin-bottom: 200px;
    border: 1px solid rgba(117,121,131,0.4);
    padding: 50px 24px;
    text-align: center;
}
.feature-card.no-border {
    border: none;
}

.faq-a{
    text-align: start;
}


/* FAQ финальный блок без нижнего отступа контейнера-карточки */
.faq-block { margin-bottom: 0; }

/* FAQ layout */
.faq-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.faq-left { text-align: left; }
.faq-right { color: #C2CDE7; }
.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-item { border-top: 1px solid rgba(117,121,131,0.35); }
.faq-item:last-child { border-bottom: 1px solid rgba(117,121,131,0.35); }
.faq-header { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; color: #C2CDE7; border: 0; padding: 28px 0; cursor: pointer; text-align: left; font-size: 18px; }
.faq-toggle { display: inline-block; transition: transform 0.2s ease; font-weight: 30; font-size: 2rem; margin: 0 !important; padding: 0 !important; }
.faq-body { display: none; padding: 0 0 18px; color: #C2CDE7; }
.faq-item.open .faq-body { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.light-mode .faq-right, .light-mode .faq-header, .light-mode .faq-body { color: #515B6C; }
.light-mode .faq-item { border-color: #E1E6F0; }

@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
}
.card-kicker {
    color: #723CEB;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 20px;
}
.feature-title {
    background: linear-gradient(90deg, #EBF1FF 0%, #B3C0DE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 58px;
    line-height: 68px;
    font-weight: 900;
    margin: 12px 0;
}
.feature-desc {
    color: #8A96B1;
    font-size: 22px;
    line-height: 2;
    margin: 0;
}
.corner-icon {
    position: absolute;
    width: 14px;
    height: 14px;
}
.light-mode .corner-icon {
    filter: invert(0);
}
.corner-icon.tl { top: -7px; left: -7px; }
.corner-icon.tr { top: -7px; right: -7px; }
.corner-icon.bl { bottom: -7px; left: -7px;}
.corner-icon.br { bottom: -7px; right: -7px; }

/* --- Pricing section --- */
.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}
.billing-switch {
    display: flex;
    border: 1px solid #26293B;
    border-radius: 10px;
    padding: 5px;
    gap: 5px;
    background: transparent;
    margin: 0 auto 40px;
    max-width: 100%;
}
.billing-btn {
    background: transparent;
    color: #C7D2F0;
    font-size: 1.2rem;
    border: 1px solid transparent;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in, border-color 0.3s ease-in, color 0.3s ease-in;
}
.billing-btn.is-active {
    background: #0C0F1C;
    border-color: #191B26;
    color: #FFFFFF;
}
.light-mode .billing-switch { border-color: #E0E4EF; }
.light-mode .billing-btn { color: #2B2F3A; }
.light-mode .billing-btn.is-active { background: #E7ECFA; border-color: #CCD4F0; color: #12131A; }

.plans-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}
.plan-card {
    text-align: start;
    position: relative;
    background: #0D0D10;
    border: 1px solid #26293C;
    border-radius: 14px;
    padding: 48px 24px 32px;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, z-index 0.1s;
    z-index: 1;
}
.plan-card:hover,
.plan-card.active {
    z-index: 3;
    background: linear-gradient(180deg, #161E32 0%, #04070D 100%);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.light-mode .plan-card { background: #FFFFFF; border-color: #E1E6F0; }
.light-mode .plan-card:hover,
.light-mode .plan-card.active { background: linear-gradient(180deg, #F5F8FF 0%, #EDEFF7 100%); }
.light-mode .plan-badge{ background-color: rgb(255, 255, 255);}

.plan-badge {
    position: absolute;
    left: 10%;
    top: 0;
    display: block;
    overflow: auto;
    background: #080912;
    color: #27B1FF;
    border: 1px solid #27B1FF;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 100000;
}

.plan-name {
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 100;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.plan-sub {
    color: #8A96B1;
    font-size: 14px;
    margin: 0 !important;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 5px;
}
.plan-price {
    background: linear-gradient(90deg, #EBF1FF 0%, #B3C0DE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
}
.plan-old {
    color: #8A96B1;
    font-size: 14px;
    text-decoration: line-through;
}
.plan-sep {
    margin: 24px 0 18px;
    border-top: 3px dashed #26293C;
}
.features {
    list-style: none;
    padding: 0;
    margin: 30px 0 122px 0;
}
.features li {
    position: relative;
    padding-left: 26px;
    font-weight: 50;
    margin: 20px 0;
    color: #FFFFFF;
}
.features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: white;
}
.features li.neg { color: #8A96B1; }
.features li.neg::before { content: '✖'; color: #8A96B1; }

.plan-cta {
    width: calc(100% - 40px);
    background: linear-gradient(135deg, #26B1FF 0%, #1557FF 100%);
    border: none;
    color: #fff;
    border-radius: 5px;
    padding: 16px 16px;
    font-weight: 200;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    margin: 0 20px;
}
.plan-cta:hover { box-shadow: 0 8px 24px rgba(21,87,255,0.35); transform: translateY(-1px); }

.light-mode .plan-name { color: #12131A; }
.light-mode .features li { color: #12131A; }
.light-mode .plan-old, .light-mode .plan-sub, .light-mode .features li.neg { color: #515B6C; }
.light-mode .about-title{ color: #12131A;}

/* Наложение карточек (крайние под центральную) */
.plans-row .plan-card:nth-child(1) { transform: translateX(45px); }
.plans-row .plan-card:nth-child(3) { transform: translateX(-45px); }

.about-blocks{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 50px;
    padding: 0 5vw;
}

.about-block{
    text-align: start;
    width: 25%;
    max-width: 350px;
    margin: 10px 20px;
}

.about-title{
    color: white;
    font-size: 22px;
    font-weight: 200;
}

.about-desc{
    color: #8A96B1;
}

.video-container{
    width: calc(100% - 20vw);
    padding: 40px 10vw;
}

@media (max-width: 1024px){
    .video-container{
        padding: 40px 0 !important;
        width: 100%;
    }
}

.video-container video {
    width: 100%;
}

.about-icon{
    transform: scale(0.55);
}
.about-icon-container{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(86, 92, 134, 0.385)
}

.about-icon-container.cont1 { background: radial-gradient(#401a1a, #080811, #080811) }
.about-icon-container.cont2 { background: radial-gradient(#1a3740, #080811, #080811) }
.about-icon-container.cont3 { background: radial-gradient(#391a40, #080811, #080811) }
.about-icon-container.cont4 { background: radial-gradient(#402e1a, #080811, #080811) }
.about-icon-container.cont5 { background: radial-gradient(#40351a, #080811, #080811) }
.about-icon-container.cont6 { background: radial-gradient(#1a401d, #080811, #080811) }

.light-mode .about-icon-container.cont1 { background: radial-gradient(#d69999, #d9dce7, #d9dce7) }
.light-mode .about-icon-container.cont2 { background: radial-gradient(#99c7d6, #d9dce7, #d9dce7) }
.light-mode .about-icon-container.cont3 { background: radial-gradient(#c999d6, #d9dce7, #d9dce7) }
.light-mode .about-icon-container.cont4 { background: radial-gradient(#d6b099, #d9dce7, #d9dce7) }
.light-mode .about-icon-container.cont5 { background: radial-gradient(#dcd4c2, #d9dce7, #d9dce7) }
.light-mode .about-icon-container.cont6 { background: radial-gradient(#c7dcd2, #d9dce7, #d9dce7) }

/* --- Перки (Фишки) --- */
.perks-columns {
    display: flex;
    gap: 28px;
    margin: auto;
    margin-top: 40px;
    max-width: 1050px;
    justify-content: center;
}
.perks-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.perks-columns .col-right { margin-top: 100px; }
.perk-card {
    background: #0E0C15;
    border: 1px solid rgba(117, 121, 131, 0.4);
    border-radius: 10px;
    text-align: start;
    max-width: 500px;
    height: fit-content;
    padding-bottom: 50px;
}
.perk-card .perk-visual {
    position: relative;
}
.perk-card .grid {
    width: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.perk-card .img-main {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
.perk-card.perk-1 .img-overlay {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 70%;
    height: auto;
}
.perk-title {
    margin: 18px 18px 6px;
    color: #FFFFFF;
    font-size: 25px;
    font-weight: 50;
}
.perk-sub {
    margin: 0 18px;
    color: #757185;
    min-height: 30%;
}

.perk-card .perk-text{
    padding: 0 10px;
}

.perk-card .grid{
    min-height: 400px;
}

.perk-2 .perk-text, .perk-3 .perk-text{
    padding-top: 100px;
}

.perk-card.perk-1 .img-main{
    top: 70%;
}

.perk-card.perk-1 .grid, .perk-card.perk-4 .grid{
    min-height: 300px;
    max-height: 300px;
    margin-bottom: 0px !important;
}


.perk-1 {
    border: 1px solid transparent;
    border-radius: 10px;
    background-image: linear-gradient(#0E0C15, #0E0C15), conic-gradient(from 180deg at 50% 50%, #FF98E2 0deg, #FFC876 35.77deg, #79FFF7 153.75deg, #9F53FF 258.75deg, #FF98E2 360deg);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    overflow: hidden;
}

/* Блок 4 — плашка */
.perk-4 .share-pill {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 70%;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #0E0C15;
    border: 1px solid rgba(117, 121, 131, 0.4);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.perk-4 .share-icon { width: 24px; height: 24px; }
.perk-4 .share-text { color: #C7D2F0; }
.perk-4 .img-below {
    position: absolute;
    left: 50%;
    top: calc(50px + 100px);
    transform: translateX(-50%);
    width: 80%;
}

/* Светлая тема для перков */
.light-mode .perk-1, .light-mode .perk-4 { background: #efefef; border-color: #E1E6F0; }
.light-mode .perk-2, .light-mode .perk-3 { background: #e7e7e7; border-color: #E1E6F0; }
.light-mode .grid{ background-color: white;}
.light-mode .perk-title { color: #12131A; }
.light-mode .perk-sub { color: #4B5569; }
.light-mode .perk-4 .share-pill { background: #FFFFFF; border-color: #D8DFEF; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

@media (max-width: 1200px) {
  .perk-card .grid { height: 200px; }
}

@media (max-width: 1024px) {
  .perks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .perks-columns { flex-direction: column; }
  .perks-columns .col-right { margin-top: 0; }
}

.support-block{
    text-align: start;
    width: calc(100% - 150px);
    padding-left: 150px;
    position: relative;
}

.support-item{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.support-item-text:hover {
    text-decoration: underline;
}

.support-item img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.support-item-text{
    color: white;
    font-size: 20px;
}


.support-main-image{
    width: 80%;
    position: absolute;
    right: 0;
    top: 0
}
.light-mode .support-item-text{
    color: black;
}

.support-block .feature-title{
    max-width: 60%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

@media (max-width: 1024px){
    .support-block{
        padding-left: 10px;
        width: 100%;
    }

    .support-block .feature-title{
        max-width: 100%;
    }

    .support-main-image{
        display: none;
    }

}

.light-mode .support-main-image{ opacity: 0.7 }

.hero-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.earth {
    width: 390px;
    height: 390px;
    z-index: 2;
}
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #757983;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}
.ring.r1 {
    width: 470px;
    height: 470px;
    opacity: 0.4;
}
.ring.r2 {
    width: 630px;
    height: 630px;
    opacity: 0.3;
}
.ring.r3 {
    width: 760px;
    height: 760px;
    opacity: 0.1;
}

@media (max-width: 750px){
    .about-block{
        width: 90%;
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 6px 7.5vw 20px;
    }
    .first-block {
        padding-left: 7.5vw !important;
        padding-right: 7.5vw !important;
    }
    .hero-title {
        font-size: 34px;
        line-height: 40px;
    }
    .hero {
        padding-right: 0;
    }
    .cta-button{
        font-size: 18px;
        padding: 10px 50px;
    }
    .hero-right {
        top: 55%;
        right: -300px;
        transform: translateY(-50%);
        overflow: hidden;
        pointer-events: none;
    }
    .earth {
        width: 450px;
        height: 450px;
        opacity: 0.5;
    }
    .ring {
        display: none;
    }
    .cards {
        margin-top: 100px;
    }

    .about-title{
        font-size: 20px;
    }

    .feature-card { margin-bottom: 100px; }
    .feature-title { font-size: 42px; line-height: 50px; }
    .feature-desc { font-size: 18px; }
    /* Сильнее сдвигаем крайние карточки под центральную */
    .plans-row { grid-template-columns: 1fr; }
    .plans-row .plan-card { margin: 0 auto; width: min(560px, 92%); }
    .plans-row .plan-card:nth-child(1) { transform: translateX(0); }
    .plans-row .plan-card:nth-child(3) { transform: translateX(0); }
}

@media (max-width: 1440px) and (min-width: 1025px) {
    /* На ноутбуках усиливаем сдвиг */
    .plans-row .plan-card:nth-child(1) { transform: translateX(40px); }
    .plans-row .plan-card:nth-child(3) { transform: translateX(-40px); }
}

/* =====================================================
   БУРГЕР-МЕНЮ (скрыт по умолчанию на десктопе)
   ===================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #C7C7C7;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.light-mode .hamburger span { background: #23232A; }

/* =====================================================
   ПЛАНШЕТ / МОБИЛЬНЫЙ: ≤ 768px
   ===================================================== */
@media (max-width: 768px) {

    /* --- Хедер --- */
    .header-container {
        padding: 12px 20px;
        /* width: 100% и box-sizing: border-box уже заданы глобально */
    }
    .hamburger { display: flex; }

    /* Nav скрывается и становится выдвижным меню */
    .header-nav {
        display: none;
        position: fixed;
        top: 60px;        /* = высота хедера на мобиле */
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 8px 0 16px;
        background: #0D0D10;
        border-bottom: 1px solid rgba(117, 121, 131, 0.3);
        z-index: 1050;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    }
    .header-nav.is-open { display: flex; }
    .header-nav .nav-item {
        padding: 16px 24px;
        font-size: 17px;
        border-bottom: 1px solid rgba(117, 121, 131, 0.15);
    }
    .header-nav .nav-item:last-child { border-bottom: none; }
    .header-nav .nav-underline { display: none; }
    .light-mode .header-nav {
        background: #F5F6FA;
        border-bottom-color: #E0E4EF;
    }

    /* Тумблер темы — компактный */
    .theme-toggle { width: 80px; height: 36px; }
    .theme-toggle .toggle-thumb { width: 32px; height: 26px; }
    .theme-toggle.light .toggle-thumb { left: 42px; }
    .theme-toggle .toggle-icon { width: 20px; height: 20px; }

    /* --- First block --- */
    .first-block {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 80px;
    }

    /* --- Hero — одна колонка, без глобуса --- */
    .hero {
        grid-template-columns: 1fr;
        margin-top: 30px;
        padding-bottom: 40px;
    }
    .hero-right { display: none; }
    .hero-title { font-size: 44px; line-height: 52px; }
    .hero-desc { font-size: 19px; }
    .cta-button { padding: 16px 40px; font-size: 19px; }

    /* --- Секции --- */
    .cards { margin-top: 60px; }
    .feature-card { margin-bottom: 60px; padding: 40px 20px; }
    .feature-title { font-size: 38px; line-height: 46px; }
    .feature-desc { font-size: 18px; }

    /* --- Биллинг: кнопки не вылезают --- */
    .billing-switch {
        width: 100%;
        box-sizing: border-box;
    }
    .billing-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 8px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    /* --- Тарифы: одна колонка, не выходит за края --- */
    .pricing { padding-top: 48px; }
    .plans-row {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    .plans-row .plan-card {
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
        box-sizing: border-box;
    }
    .plans-row .plan-card:nth-child(1) { transform: translateX(0); }
    .plans-row .plan-card:nth-child(3) { transform: translateX(0); }
    .plan-cta { width: calc(100% - 32px); margin: 0 16px; }

    /* --- О нас: 2 блока в ряд --- */
    .about-blocks {
        padding: 0;
        gap: 12px;
        justify-content: flex-start;
    }
    .about-block { width: calc(50% - 16px); max-width: none; }

    /* --- Перки --- */
    .perks-columns { flex-direction: column; gap: 20px; }
    .perks-columns .col-right { margin-top: 0; }
    .perk-card {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .perk-card .grid { min-height: 260px; }
    .perk-card.perk-1 .grid,
    .perk-card.perk-4 .grid { min-height: 200px; max-height: 200px; }

    /* --- Поддержка --- */
    .support-block {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .support-block .feature-title { max-width: 100%; }
    .support-main-image { display: none; }

    /* --- FAQ --- */
    .last-card { padding: 40px 20px !important; }
    .faq-layout { grid-template-columns: 1fr; gap: 16px; }
    .faq-header { font-size: 16px; padding: 20px 0; }
}

/* =====================================================
   ТОЛЬКО МОБИЛЬНЫЙ: ≤ 480px
   ===================================================== */
@media (max-width: 480px) {

    /* Хедер */
    .header-container { padding: 10px 16px; }
    .header-title { font-size: 14px; }
    .lang-text { display: none; }  /* скрываем "Русский", оставляем флаг */

    /* First block */
    .first-block {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Hero */
    .hero { margin-top: 20px; }
    .hero-kicker { font-size: 16px; }
    .hero-title { font-size: 32px; line-height: 40px; }
    .hero-desc { font-size: 16px; }
    .cta-button {
        padding: 14px 24px;
        font-size: 17px;
        align-self: stretch;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Секции */
    .feature-card { padding: 28px 16px; margin-bottom: 40px; }
    .feature-title { font-size: 26px; line-height: 34px; }
    .feature-desc { font-size: 15px; }
    .card-kicker { font-size: 15px; }

    /* Биллинг */
    .billing-switch { gap: 4px; padding: 4px; }
    .billing-btn { padding: 10px 6px; font-size: 0.85rem; }

    /* Тарифы */
    .plan-price { font-size: 34px; }

    /* О нас: 1 блок в колонку */
    .about-blocks { margin-top: 24px; }
    .about-block { width: 100%; max-width: 100%; margin: 6px 0; }
    .about-title { font-size: 17px; }
    .about-desc { font-size: 14px; }

    /* Перки */
    .perk-title { font-size: 19px; }
    .perk-sub { font-size: 13px; }
    .perk-card .grid { min-height: 200px; }
    .perk-card.perk-1 .grid,
    .perk-card.perk-4 .grid { min-height: 160px; max-height: 160px; }

    /* Поддержка */
    .support-item-text { font-size: 16px; }

    /* FAQ */
    .last-card { padding: 28px 16px !important; }
    .faq-q { font-size: 14px; }
    .faq-toggle { font-size: 1.5rem; }
    .faq-a { font-size: 13px; }

    /* Тумблер темы */
    .theme-toggle { width: 70px; height: 32px; }
    .theme-toggle .toggle-thumb { width: 26px; height: 22px; top: 4px; left: 4px; }
    .theme-toggle.light .toggle-thumb { left: 38px; }
    .theme-toggle .toggle-icon { width: 16px; height: 16px; }
}

/* =====================================================
   ПОДВАЛ (FOOTER)
   ===================================================== */
.site-footer {
    background: #080910;
    border-top: 1px solid rgba(117, 121, 131, 0.2);
    padding: 60px 12vw 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(117, 121, 131, 0.15);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: #515B6C;
    font-size: 14px;
    margin: 0;
    max-width: 200px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 120px;
}

.footer-col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-link {
    color: #8A96B1;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.footer-link:hover { color: #fff; }

.footer-social img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.6;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
}

.footer-copy {
    color: #3D4459;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: #3D4459;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-bottom-link:hover { color: #8A96B1; }

/* Светлая тема */
.light-mode .site-footer {
    background: #ECEEF5;
    border-top-color: #D4D8E8;
}
.light-mode .footer-title { color: #12131A; }
.light-mode .footer-tagline { color: #7A849C; }
.light-mode .footer-col-title { color: #12131A; }
.light-mode .footer-link { color: #515B6C; }
.light-mode .footer-link:hover { color: #12131A; }
.light-mode .footer-copy,
.light-mode .footer-bottom-link { color: #9AA3B8; }
.light-mode .footer-bottom-link:hover { color: #515B6C; }
.light-mode .footer-bottom { border-top-color: #D4D8E8; }

/* Адаптив подвала */
@media (max-width: 1024px) {
    .site-footer { padding: 48px 7.5vw 0; }
}

@media (max-width: 768px) {
    .site-footer { padding: 40px 20px 0; }
    .footer-inner {
        flex-direction: column;
        gap: 36px;
        padding-bottom: 36px;
    }
    .footer-links { gap: 36px; }
}

@media (max-width: 480px) {
    .site-footer { padding: 32px 16px 0; }
    .footer-links {
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.plans-row .plan-card:nth-child(1) {
    transform: none !important;
}
.plans-row .plan-card:nth-child(3) {
    transform: none !important;
}

@media (max-width: 1440px) and (min-width: 1025px) {
    .plans-row .plan-card:nth-child(1) {
        transform: none !important;
    }
    .plans-row .plan-card:nth-child(3) {
        transform: none !important;
    }
}