* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: white;
    overflow-x: hidden;
    padding-top: 60px;
}

img, video {
    max-width: 100%;
    display: block;
}

.app-screen {
    background-image:url(./assets/app-screen.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.container {
    padding: 0 20px;
}

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;  /* три равные части, средняя под контент */
    align-items: center;                  /* вертикальное выравнивание */
    gap: 1rem;                            /* отступы между колонками */
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.header a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    letter-spacing: -4%;
}

.header nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-buttons {
    display: flex;
    flex-direction: row;
}

.logo {
    justify-self: start;  
}

.nav {
    justify-self: center;  
}

.auth-buttons {
    justify-self: end; 
}

h1 {
    font-size: 35px;
    line-height: 40px;
    letter-spacing: -4%;
    width: 80%;
    font-weight: 500;
}

.title-h1 {
    font-size: 35px;
    line-height: 40px;
    letter-spacing: -4%;
    width: 80%;
    font-weight: 500;
}


.heading-h1 {
    font-size: 64px;
    line-height: 63px;
    letter-spacing: -6%;;
    font-weight: 600;
    width:612px;
    text-align: center;
}

p, a {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -4%;
}

a[class="comment1"] {
    color: white;
    border-bottom: solid 1px white;
    padding-bottom: 1px;
}

a[class="comment"] {
    color: white;
    border-bottom: solid 1px white;
    padding-bottom: 1px;
}

.first-screen {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    align-items: center;
    height: 58vh;
    justify-content: center;
    background-size: cover;
}

.first-second-transition-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/background.webp');
    background-size: cover;
    z-index: -1;
}

.first-screen p {
    max-width: 670px;
    text-align: center;
}

.download-btn {
    width: 300px;
    height: 70px;
    background-color: #144BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: white;
    text-decoration: none;
}

.buttons {
    display: flex;
    flex-direction: row;
}

.apple-btn {
    width: 70px;
    height: 70px;
    background-color: #144BFF;
    background-image: url('./assets/apple.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.windows-btn {
    width: 70px;
    height: 70px;
    background-color: #144BFF;
    background-image: url('./assets/win.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.windows-btn.active, .apple-btn.active, .download-btn.active {
    background-color: #2C5DFF;
}

.windows-btn:hover, .apple-btn:hover, .download-btn:hover {
    background-color: #2C5DFF;
}

.comment {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -4%;
}

.video-wrapper {
    display: flex;
    justify-content: center;
}

video {
    width: 100%;
    margin: 0 20px;
    aspect-ratio: 16 / 9; 
    object-fit: cover;   
}

.docs-btn {
    width:200px;
    height: 60px;
    background-color: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.signup-btn {
    width:100px;
    height: 60px;
    background-color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black !important;
    text-decoration: none;
}

.first-screen-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    align-items: center;
}

    .third-screen {
        margin-top: 40px;
    }

    .fifth-screen,
    .sixth-screen .container,
    .seventh-screen .content,
    .eighth-screen .container .content,
    .ninth-screen,
    .tenth-screen,
    .eleventh-screen,
    .thirteen-screen,
    .final-screen .container:not(.two),
    .deep-footer .attention {
        margin-top: 40px;
    }

    .twelveth-screen {
        margin-top: 40px;
        height: auto;
        min-height: 0;
    }

    .separator {
        margin-top: 30px;
    }

    body .separator:not(.sepnot) {
        margin-top: 30px;
    }

.separator {
    height: 1px;
    background-color: #333;
    margin-top: 40px;
}

.opacity-text {
    opacity: 0.5;
}

ul {
    list-style-type: none;
}

.cards {
display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 130px;
}

.card {
    display: flex;
    padding: 10px;
    height: 240px;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    border-top:#ffffff3e 1px solid;
    border-left:#ffffff3e 1px solid;
    text-align: left;
}

.card:first-child {
    border-left: none;
}

.card:last-child {
    border-right: none;
}

.fourth-screen {
    height: 400px;
    background-image: url('./assets/background.webp');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fourth-screen h1 {
    width: 55%;
}

h4 {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -4%;
    white-space: nowrap;
}

.fifth-screen {
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.fifth-screen .container {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* две равные колонки по 50% */
    gap: 2rem;                       /* отступ между колонками */
    align-items: start;              /* выравнивание по верхнему краю */
}

.fifth-screen .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.fifth-screen .content p {
    width: 550px;
}


.fifth-screen .cards-wrapper {
    display: flex;
    flex-direction: column;  /* карточки идут вертикально вниз */
    gap: 30px;             /* расстояние между карточками */
}

.seventh-screen .card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0px;
    background: white;
    height: auto;
    justify-content: flex-end;
    color: black;
    padding: 0px;
}

.card-s-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.seventh-screen .card video {
    width: 100%;
    background: #000;
    margin: 0px;
    top: 0;
    right: 0;
    height: 450px;
}

.fifth-screen .card {
    justify-content: center;
    color: white;
    text-align: center;
    border: solid 1px #ffffff29;
}

.card-c-txt {
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.icons-container .icon {
    width: 45px;
    height: 45px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.blue-arrow {
    background-image: url('./cards/arrow.svg');
    width: 90px;
    height: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-txt {
    font-size: 11px;
    color: #ADADAD;
}

.icons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.icons-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 6px;
}

.icons-full-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.card-txt-comment {
    margin-top: 20px;
    font-size: 12px;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.i-yandex {
    background-image: url('./cards/i-yandex.svg');
}

.i-google {
    background-image: url('./cards/i-google.svg');
}

.i-dropbox {
    background-image: url('./cards/i-dropbox.svg');
}

.i-nextcloud {
    background-image: url('./cards/i-nextcloud.svg');
}

.i-filebrowser {
    background-image: url('./cards/i-filebrowser.svg');
}

.i-supa {
    background-image: url('./cards/i-supa.svg');
}

.i-fire {
    background-image: url('./cards/i-fire.svg');
}

.i-pma {
    background-image: url('./cards/i-pma.svg');
}

.i-wilmo {
    background-image: url('./cards/i-wilmo.svg');
}   

.i-n8n {
    background-image: url('./cards/i-n8n.svg');
}

.i-zapier {
    background-image: url('./cards/i-zapier.svg');
}

.i-n8n-self {
    background-image: url('./cards/i-n8n-self.svg');
}

.i-wix {
    background-image: url('./cards/i-wix.svg');
}

.i-tilda {
    background-image: url('./cards/i-tilda.svg');
}

.i-wp {
    background-image: url('./cards/i-wp.svg');
}

.i-oc {
    background-image: url('./cards/i-oc.svg');
}

.i-hermes {
    background-image: url('./cards/i-hermes.svg');
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.adaptive-arrow {
  width: 90%;
  margin: 20px auto;
  display: block;
}

.arrow-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 10%;
    margin-right: 20px;
    margin-left: 20px;
}

.arrow-line-wrapper {
    height: 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.arrow-line {
    width: 100%;
    height: 2px;
    background-color: rgb(255, 255, 255);
}

.arrow-head {
    background-image: url(./assets/arrow2.svg);
    width: 11px;
    height: 16.1px;
    background-size: cover;
    position: absolute;
    right: -5px;
    filter: invert(1);
}

.sixth-screen .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 150px;
}

.sixth-screen .container h1 {
    width: 70%;
}

body .separator:not(.sepnot) {
    margin-top: 150px;
}

.seventh-screen {
    background-image: url('./assets/bigbg.webp');
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.seventh-screen .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    align-items: center;
    margin-top: 120px;
}

.seventh-screen .content .spacer {
    /* пустой блок слева */
}

.seventh-screen .content > div {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.seventh-screen .content h1,
.seventh-screen .content p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: unset;
}


.seventh-screen .gallery {
    height: 450px;
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 150px;
}

.eighth-screen .container .content  {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 150px;
}

.eighth-screen .container h1, .eighth-screen .container p {
    width: 50%;
}

.eighth-screen .container p {
    width: 60%;
}

.terminal-txt {
    border: solid 1px #ffffff30;
    padding: 20px 25px 20px 25px;
    text-align: left;
}

.terminal-error {
    color: #E23B3B;
    text-align: left;
}

.green-txt {
    color: #3BE252;
}

.terminal-presentation {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 60%;
}

.eighth-screen .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ninth-screen {
    margin-top: 150px;
}

.ninth-screen .container {
    grid-template-columns: 1fr 1fr;  /* две равные колонки по 50% */
    gap: 22rem;                       /* отступ между колонками (по желанию) */
    align-items: start;              /* выравнивание по верхнему краю */
}

.ninth-screen .content-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
}

.content-left .point-group {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    width: 100%;
}

/* Дополнительно: чтобы заголовки и описания визуально соответствовали друг другу */
.content-left h1,
.content-right p {
    margin: 0 0 4rem 0;  /* одинаковый нижний отступ для пар */
}

.content-right {
    display: block;
}

.content-left .point-group {
    
}

.tenth-screen {
    margin-top: 150px;
}

.tenth-screen .container, .tenth-screen .container .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tenth-screen .container h1 {
    width: 65%;
}

.tenth-screen .container p {
    width: 100%;
}
/* Карточки: три в строку, одинаковой ширины */
.tenth-screen .cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
    width: 100%;
}

/* Группа карточка + текст */
.card-group {
    display: flex;
    flex-direction: column;
}

/* На десктопе: карточки первыми, тексты вторыми */
.tenth-screen .cards-wrapper .card-group .card {
    order: 1;
}
.tenth-screen .cards-wrapper .card-group .outcard-info {
    order: 2;
    margin-top: 30px;
}

/* Стили для самих карточек */
.tenth-screen .card {
    padding: 24px;
    height: 550px;
    justify-content: flex-end;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    border: solid 1px rgba(255, 255, 255, 0.206);
    padding: 20px;
}

.tenth-screen .card .title-h1 {
    font-size: 26px;
}

.outcard-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding-left: 24px;
    box-sizing: border-box;
}

.outcard-info ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.outcard-info li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.eleventh-screen {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin-top: 150px;
}

.eleventh-screen h1 {
    width: 100%;
}

.etaps {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 120px;
}

.etap {
    position: relative;
    width: 450px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.big-number {
    font-size: 130px;
    font-weight: 900;
    letter-spacing: -6%;
    color: rgba(255, 255, 255, 0.1);
    position: static;
    line-height: 1;
}

/* ===== FAQ accordion ===== */
.thirteen-screen .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.thirteen-screen .faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.thirteen-screen .faq-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}
.thirteen-screen .faq-icon::before,
.thirteen-screen .faq-icon::after {
    content: "";
    position: absolute;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.thirteen-screen .faq-icon::before {
    top: 50%; left: 0;
    width: 100%; height: 2px;
    transform: translateY(-50%);
}
.thirteen-screen .faq-icon::after {
    left: 50%; top: 0;
    width: 2px; height: 100%;
    transform: translateX(-50%);
}
.thirteen-screen .faq-item.open .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
}
.thirteen-screen .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.thirteen-screen .faq-a p {
    padding: 0 0 24px 0;
    max-width: 760px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}


.attention.noabsolute {
    pointer-events: none;
}

.faqs {
    border-bottom: solid 1px;
    width: fit-content;
    padding-bottom: 10px;
}

.etap p {
        text-align: left;
    margin-bottom: 0;
}

.twelveth-screen {
    position: relative;
    overflow: hidden;
    height: 100vh;
    margin-top: 100px;
}

.attention {
    font-size: 250px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    margin-left: -15px;
    text-align: center;
    width: 100%;
    isolation: isolate;
}

.noabsolute {
    position: relative;
}

.twelveth-screen .container {
    margin-top: 150px;
}

.twelveth-screen h1 {
    width: 100%;
    text-align: center;
}

.thirteen-screen {
    margin-top: 150px;
}

.questions {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: -100px;
    margin: 0 auto;
    width: fit-content;
}

.questions h1 {
    border-bottom: solid 1px white;
    width: fit-content;    /* ширина по содержимому */
    padding-bottom: 10px;
}

.final-screen {
    background-image: url('./assets/background.webp');
    background-size: cover;
}

.final-screen .container:not(.two) {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
    text-align: center;
    width: 100%;
    margin-top: 150px;
}

.final-screen .container h1 {
    width: 700px;
}

.deep-footer, .final-screen  {
    overflow: hidden;
    position: relative;
}

.twelveth-screen .container {
    margin-top:10px;
}

.card-ws1 {
    background-image: url('./assets/ws1.webp');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.card-ws2 {
    background-image: url('./assets/ws2.webp');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.card-ws3 {
    background-image: url('./assets/ws3.webp');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.deep-footer .attention {
    font-size: 33vw;
    margin-left: -120px;
    font-weight: 900;
    letter-spacing: -4%;
    pointer-events: none;
    position: absolute;
}

.deep-footer {
    height: 55vh;
}

.info {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 равные колонки */
    gap: 2rem;                             /* отступ между колонками */
    margin: 0 auto;                        /* центрирование */
    margin-top: 200px;
}

/* Общие стили для ячеек */
.cell {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ffffff;
}

/* Стили для ссылок */
.cell a {
    color: #ffffff;
    text-decoration: none;
}
/* footer hover replaced by border */

.cell4 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Бургер меню */
.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

#burger-checkbox {
    display: none;
}

@media (max-width: 1024px) {
    .header {
        grid-template-columns: 1fr;
        height: auto;
        padding: 16px 0 0;
    }

    .logo,
    .nav,
    .auth-buttons {
        justify-self: center;
        margin-left: 0;
    }

    .header nav {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .first-screen {
        height: 55vh;
        min-height: 80vh;
        padding: 64px 0 40px;
    }

    .heading-h1,
    .first-screen p,
    .fifth-screen .content p,
    .sixth-screen .container h1,
    .eighth-screen .container h1,
    .eighth-screen .container p,
    .tenth-screen .container h1,
    .final-screen .container h1 {
        width: 100%;
    }

    .fifth-screen .container,
    .ninth-screen .container,
    .tenth-screen .cards-wrapper,
    .tenth-screen .outcards-info {
        grid-template-columns: 1fr;
    }

    .tenth-screen .outcards-info {
        display: none;
    }

    .fifth-screen .container,
    .ninth-screen .container {
        gap: 2rem;
    }

    .ninth-screen .content-right {
        display: none;
    }

    .ninth-screen .content-left .point-group {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    .ninth-screen .content-left .point-group h1 {
        margin-bottom: 0;
    }

    .fifth-screen .content {
        position: static;
    }

    .fifth-screen .cards-wrapper,
    .cards-wrapper,
    .tenth-screen .cards-wrapper,
    .tenth-screen .outcards-info {
        width: 100%;
    }

    .seventh-screen .content h1,
    .seventh-screen .content p {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .seventh-screen .content {
        align-items: flex-start;
    }

    .seventh-screen .card {
        aspect-ratio: 1 / 1;
        padding: 0;
    }

    .seventh-screen .card-overlay h4 {
        font-size: 14px;
    }

    .seventh-screen .card-overlay p {
        font-size: 12px;
    }

    .third-screen,
    .fifth-screen,
    .sixth-screen .container,
    .seventh-screen .content,
    .eighth-screen .container .content,
    .ninth-screen,
    .tenth-screen,
    .eleventh-screen,
    .thirteen-screen,
    .final-screen .container:not(.two),
    .deep-footer .attention {
        margin-top: 80px;
    }

    .questions {
        margin-top: 0px;
    }

    .cards,
    .fifth-screen .container,
    .cards-wrapper,
    .tenth-screen .cards-wrapper,
    .tenth-screen .outcards-info,
    .info,
    .ninth-screen .container {
        gap: 16px;
    }

    .cards {
        margin-top: 48px;
    }

    .cards,
    .cards-wrapper,
    .tenth-screen .cards-wrapper,
    .tenth-screen .outcards-info,
    .info,
    .ninth-screen .container,
    .fifth-screen .container {
        grid-template-columns: 1fr;
    }

    .card,
    .fifth-screen .card,
    .seventh-screen .card,
    .tenth-screen .card,
    .etap {
        height: auto;
        min-height: 0;
    }

    .etaps {
        flex-direction: column;
    }

    .etap {
        width: 100%;
        padding-top: 0;
    }

    .etap .big-number {
        margin-top: 0;
    }

    .big-number,
    .attention {
        font-size: clamp(96px, 18vw, 180px);
        line-height: 1;
    }

    .attention {
        margin-left: 0;
    }

    .twelveth-screen {
        height: auto;
        min-height: 0;
    }

    .questions {
        margin-left: 0;
        gap: 18px;
    }

    .questions h1 {
        width: 100%;
    }

    .terminal-presentation {
        width: 100%;
    }

    .download-btn {
        width: 100%;
    }

    .buttons {
        width: 100%;
        flex-wrap: nowrap;
    }

    .apple-btn,
    .windows-btn {
        flex: 0 0 70px;
    }

    .fifth-screen .card,
    .seventh-screen .card,
    .tenth-screen .card {
        padding: 20px;
    }

    /* Мобильный порядок: карточка + текст вместе */
    .tenth-screen .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    .tenth-screen .cards-wrapper .card-group {
        gap: 20px;
    }
    .tenth-screen .cards-wrapper .card-group .card {
        order: 0;
    }
    .tenth-screen .cards-wrapper .card-group .outcard-info {
        order: 1;
        display: flex;
    }
    .tenth-screen .outcards-info {
        display: none;
    }

    .docs-btn {
        width: auto;
        padding: 0 12px;
    }

    .signup-btn {
        width: 90px;
    }
    .seventh-screen .content .title-h1:first-child {
        display: none;
    }

    .seventh-screen .content p:first-child {
        display: none;
    }

    .seventh-screen .content .title-h1:nth-child(2) {
        margin: 0 !important;
    }

    .seventh-screen .content p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .seventh-screen .content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        padding-bottom: 32px;
    }

    .seventh-screen .content .title-h1:first-child {
        display: none;
    }
    .seventh-screen .content .title-h1:nth-child(2) {
        margin: 0 !important;
    }

    .seventh-screen .content p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .seventh-screen .content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        height: auto;
    }

    .burger-icon {
        display: flex;
        margin-left: 0;
    }

    .header nav,
    .auth-buttons {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0a0a0a;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .header nav a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    .auth-buttons {
        border-top: 1px solid #333;
        padding-top: 15px;
    }

    .auth-buttons .docs-btn,
    .auth-buttons .signup-btn {
        width: 80%;
        height: 45px;
        text-align: center;
        border-radius: 8px;
    }

    #burger-checkbox:checked ~ .nav,
    #burger-checkbox:checked ~ .auth-buttons {
        display: flex;
    }

    #burger-checkbox:checked ~ .burger-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #burger-checkbox:checked ~ .burger-icon span:nth-child(2) {
        opacity: 0;
    }
    #burger-checkbox:checked ~ .burger-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header {
        padding-top: 12px;
    }

    .heading-h1 {
        font-size: 42px;
        line-height: 1.05;
    }

    h1 {
        font-size: 28px;
        line-height: 1.15;
        width: 100%;
    }

    p {
        font-size: 12px;
        line-height: 14px;
        letter-spacing: -4%;
    }

    .first-screen {
        min-height: auto;
        padding: 56px 0 32px;
        gap: 18px;
    }

    .first-screen-content {
        gap: 20px;
    }

    .buttons {
        justify-content: center;
    }

    .download-btn,
    .apple-btn,
    .windows-btn {
        height: 56px;
    }

    .download-btn {
        max-width: 100%;
    }

    .third-screen {
        margin-top: 0;
        background-size: cover;
        background-position: center;
        position: relative;
        z-index: 2;
    }

    .third-screen .container {
        background-color: black;
        padding: 24px 16px;
        border-radius: 0px;
        padding-top: 80px;
    }

    .fifth-screen .container {
        padding-top: 40px;
    }

    .sixth-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .seventh-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .eighth-screen .container {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .ninth-screen .container {
        padding-top: 40px;
        padding-bottom: 35px;
    }

    .tenth-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .twelveth-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .attention {
        padding-top: 40px;
    }

    .thirteen-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .eleventh-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .thirteen-screen .questions {
        margin-bottom: 0px;
    }

    .final-screen .container {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .attention {
        font-size: 18vw !important;
        bottom: 0;
    }

    .third-screen .container h1 {
        font-size: 20px;
        line-height: 1.3;
        width: 100%;
        margin: 0;
    }

    .third-screen .cards {
        margin-top: 16px;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .third-screen .card {
        aspect-ratio: 1 / 1;
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0;
        background: transparent;
        border-color: #ffffff3e;
    }

    .third-screen .card h1 {
        font-size: 12px;
        line-height: 1.3;
        margin: 0;
    }

    .third-screen .card .comment {
        font-size: 10px;
        margin-top: 6px;
        opacity: 0.7;
    }

    .cards {
        margin-top: 12px;
    }

    /* Уменьшение гигантских отступов */
    .cards-wrapper {
        margin-bottom: 20px;
    }

    .info {
        margin-top: 20px;
    }

    .fifth-screen .content p {
        width: 100%;
    }

    .seventh-screen .content h1,
    .seventh-screen .content p {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .terminal-presentation {
        width: 100%;
    }

    .eighth-screen .container h1,
    .eighth-screen .container p {
        width: 100%;
    }

    .ninth-screen .container {
        gap: 1rem;
    }

    /* Сепараторы без отступов на мобилках */
    .separator {
        margin-top: 20px;
    }

    body .separator:not(.sepnot) {
        margin-top: 20px;
    }

    .fifth-screen,
    .sixth-screen .container,
    .seventh-screen .content,
    .eighth-screen .container .content,
    .ninth-screen,
    .tenth-screen,
    .eleventh-screen,
    .thirteen-screen,
    .final-screen .container:not(.two),
    .deep-footer .attention {
        margin-top: 40px;
    }

    .twelveth-screen {
        margin-top: 40px;
        height: auto;
        min-height: 0;
    }

    .questions {
        margin-top: 0px;
        padding: 20px;
    }

    .questions h1 {
        border-bottom: solid 1px white;
        width: fit-content;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .cards,
    .cards-wrapper,
    .tenth-screen .cards-wrapper,
    .tenth-screen .outcards-info,
    .ninth-screen .container,
    .fifth-screen .container {
        grid-template-columns: 1fr;
    }

    .info {
        grid-template-columns: 1fr 1fr;
    }

    .card,
    .fifth-screen .card,
    .seventh-screen .card,
    .tenth-screen .card {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 12px;
        overflow: hidden;
    }

    .card h1 {
        font-size: 15px;
        line-height: 1.2;
    }

    .card .comment {
        font-size: 11px;
        margin-top: 6px;
    }

    .card h4,
    .card p,
    .card h1,
    .outcard-info,
    .content-left h1,
    .content-right p,
    .questions h1 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    h4 {
        white-space: normal;
    }

    .card-content {
        flex-wrap: nowrap;
        gap: 0px;
    }

    .arrow-wrapper {
        min-width: 0;
    }

    .fifth-screen .card {
        height: auto;
        min-height: 120px;
    }

    .fourth-screen {
        height: auto;
        min-height: 550px;
        padding: 80px 0;
    }

    .fourth-screen h1 {
        width: 100%;
    }

    .terminal-presentation,
    .eighth-screen .container h1,
    .eighth-screen .container p,
    .final-screen .container h1,
    .sixth-screen .container h1 {
        width: 100%;
    }

    .terminal-txt,
    .terminal-error {
        word-break: break-word;
    }

    .tenth-screen .outcards-info,
    .info {
        text-align: left;
    }

    .tenth-screen .outcards-info {
        display: none;
    }

    .tenth-screen .card-group .outcard-info ul {
        list-style: none;
        padding-left: 0;
    }

    .outcard-info {
        padding-left: 0;
    }

    .deep-footer {
        height: auto;
        padding-bottom: 40px;
    }

    .deep-footer .attention {
        font-size: clamp(72px, 20vw, 120px);
        margin-left: 0;
    }

    /* Отступы снизу для всех контейнеров */
    .third-screen,
    .fifth-screen,
    .sixth-screen,
    .seventh-screen,
    .eighth-screen,
    .ninth-screen,
    .tenth-screen,
    .eleventh-screen,
    .twelveth-screen,
    .thirteen-screen {
        margin-bottom: 0px;
    }

    .final-screen .container:not(.two) {
        margin-bottom: 0px;
    }

    .separator {
        margin-bottom: 0px;
    }

    /* Мобильные стили для карточек */
    .arrow-head {
        transform: scale(0.7);
    }

    .card-content {
        gap: 0px;
    }

    h4 {
        font-size: 12px;
        line-height: 14px;
        letter-spacing: -4%;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .heading-h1 {
        font-size: 34px;
    }

    h1 {
        font-size: 24px;
    }

    p, a {
        font-size: 15px;
        line-height: 1.45;
    }

    .comment {
        font-size: 11px;
    }

    video {
        margin: 0;
        width: 100%;
        border-radius: 12px;
    }

    .separator {
        margin-top: 0;
    }

    .card,
    .fifth-screen .card,
    .seventh-screen .card,
    .tenth-screen .card {
        padding: 16px;
    }

    .arrow-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    .download-btn,
    .docs-btn,
    .signup-btn {
        width: auto;
    }

    .buttons {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .buttons .apple-btn,
    .buttons .windows-btn {
        width: 56px;
        flex: 0 0 56px;
    }

    .buttons .download-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .twelveth-screen .container,
    .final-screen .container:not(.two) {
        margin-top: 48px;
    }

    .etap p {
        margin-bottom: 0;
    }

    .attention {
        font-size: clamp(64px, 22vw, 96px);
    }

    .final-screen .container {
        gap: 16px;
    }
}

/* ===== Gallery slider ===== */
.seventh-screen .gallery .gallery-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.seventh-screen .gallery .gallery-track img {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
.seventh-screen .gallery .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
}
.seventh-screen .gallery:hover .gallery-arrow { opacity: 1; }
.seventh-screen .gallery .gallery-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.seventh-screen .gallery .gallery-prev { left: 12px; }
.seventh-screen .gallery .gallery-next { right: 12px; }
.seventh-screen .gallery .gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.seventh-screen .gallery .gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.seventh-screen .gallery .gallery-dot.active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 768px) {
    .seventh-screen .gallery .gallery-arrow { opacity: 1; }
}

/* ===== Remove underline on all hovers; footer uses border underline ===== */
a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}
footer a, .deep-footer a {
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    width: fit-content;
    transition: border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
footer a:hover, .deep-footer a:hover {
    border-bottom-color: currentColor;
}


/* ============================================================
   UNIFIED MOBILE STYLES (<= 1024px)
   ============================================================ */
@media (max-width: 1024px) {

    /* ---------- prevent right-edge overflow (negative margins) ---------- */
    [style*="margin-left: -150px"] {
        margin-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    .deep-footer .attention,
    .twelveth-screen .attention,
    .thirteen-screen .attention,
    .attention {
        margin-left: 0 !important;
    }
    section, .container { max-width: 100%; }

    /* ---------- TYPOGRAPHY ---------- */
    .heading-h1 { font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.05 !important; width: 100% !important; }
    .title-h1 { font-size: clamp(22px, 6vw, 30px) !important; line-height: 1.2 !important; width: 100% !important; }
    section h1 { font-size: clamp(26px, 7.5vw, 42px) !important; line-height: 1.1 !important; }
    p { font-size: clamp(14px, 4vw, 16px) !important; line-height: 1.55 !important; }
    h4 { font-size: clamp(18px, 5vw, 22px) !important; white-space: normal !important; }
    h5 { font-size: clamp(12px, 4.2vw, 12px) !important; white-space: nowrap !important; }

    /* ---------- 5TH SCREEN: single column, balanced icon cards ---------- */
    .fifth-screen { flex-direction: column !important; margin-top: 80px !important; }
    .fifth-screen .container { grid-template-columns: 1fr !important; gap: 24px !important; }
    .fifth-screen .content { position: static !important; }
    .fifth-screen .card { padding: 20px !important; }

    /* stack comparison vertically: before -> arrow -> after */
    .fifth-screen .card .card-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }
    .icons-container { width: 45% !important; }
    .icons-full-card { gap: 0px !important; justify-content: center !important; align-items: center !important; }
    .icons-card { gap: 16px !important; align-items: center !important; justify-content: center !important; margin-bottom: 8px !important; }

    /* bump up tiny service logos — override inline widths */
    .icon { height: 40px !important; }
    /*.fifth-screen .icon[style] { width: auto !important; max-width: 70% !important; height: 38px !important; }*/

    /* rotate the dashed arrow to point downward between blocks */
    .blue-arrow { height: -webkit-fill-available; width: 100%; }
    .icon-txt { font-size: 12px !important; text-align: center !important; }

    /* ---------- 7TH SCREEN: shorter cards, media filled (slight crop ok) ---------- */
    .seventh-screen .cards-wrapper { grid-template-columns: 1fr !important; }
    .seventh-screen .card { height: auto !important; }
    .seventh-screen .gallery,
    .seventh-screen .gallery .gallery-track { height: auto !important; aspect-ratio: 16 / 10; }
    .seventh-screen .gallery .gallery-track img { height: 100% !important; object-fit: cover !important; }
    .seventh-screen .card video { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; object-fit: cover; }

    /* ---------- 10TH SCREEN (Linux): square cards ---------- */
    .card-group { flex-direction: column !important; }
    .tenth-screen .card { height: auto !important; aspect-ratio: 1 / 1 !important; width: 100% !important; padding: 20px !important; }

    /* ---------- 11TH SCREEN (3 steps): full-width square, big numbers ---------- */
    .etaps { flex-direction: column !important; gap: 16px !important; }
    .etap {
        width: 100% !important; aspect-ratio: 1 / 1 !important;
        display: flex !important; flex-direction: column !important;
        align-items: center !important; justify-content: center !important;
        text-align: center !important; gap: 18px !important;
    }
    .etap .big-number, .big-number { font-size: clamp(80px, 26vw, 150px) !important; line-height: 1 !important; }
    .etap p { font-size: clamp(16px, 5vw, 20px) !important; text-align: center !important; }

    /* ---------- ATTENTION (ВНИМАНИЕ / FAQ) ---------- */
    .twelveth-screen .attention, .thirteen-screen .attention {
        font-size: clamp(48px, 15vw, 110px) !important;
    }

    /* ---------- FOOTER: WILMO bottom, full width ---------- */
    .deep-footer { display: flex !important; flex-direction: column !important; }
    .deep-footer .container.two { order: 1; }
    .deep-footer .attention {
        order: 2; width: 100% !important; margin: 24px 0 0 0 !important;
        font-size: 23vw !important; line-height: 0.9 !important;
        text-align: center !important; white-space: nowrap !important;
    }
}

/* ============================================================
   TARIFFS SECTION
   ============================================================ */
.tariffs-screen {
    padding: 60px 0 100px;
}

.tariffs-screen .tariffs-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.tariff-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 28px 20px;
    position: relative;
    transition: border-color 0.3s ease, transform 0.25s ease;
}

.tariff-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

/* Active (default selected) card */
.tariff-card.tariff-active {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* Business card — dashed border */
.tariff-card.tariff-business {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.2);
}

.tariff-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -2%;
    margin-bottom: 8px;
    color: white;
}

.tariff-price {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -3%;
    color: white;
    line-height: 1;
}

.tariff-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.tariff-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0 20px;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tariff-features li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    padding-left: 18px;
    position: relative;
}

.tariff-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 12px;
}

.tariff-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    margin-top: 24px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -1%;
    border-radius: 0;
    transition: background 0.25s ease, transform 0.15s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.tariff-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

/* Disabled buttons on non-beta tariffs */
.tariff-btn-disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* ============================================================
   BETA BADGE (fixed bottom-right)
   ============================================================ */
.beta-badge {
    position: fixed;
    bottom: 100px;
    right: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 340px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: badgeSlideIn 0.5s ease;
}

@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.beta-badge-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.beta-badge-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.beta-badge-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    letter-spacing: -1%;
}

.beta-badge-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.beta-badge-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.beta-badge-close:hover {
    color: white;
}

/* ============================================================
   DOWNLOAD DIALOG
   ============================================================ */
.wilmo-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wilmo-dialog {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px;
    max-width: 520px;
    width: 90%;
    color: #fff;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wilmo-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.wilmo-dialog-close:hover {
    color: #fff;
}

.wilmo-dialog-label {
    display: inline-block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.wilmo-dialog h2 {
    font-size: 24px;
    margin: 0 0 12px;
    line-height: 1.3;
}

.wilmo-dialog p {
    font-size: 15px;
    line-height: 1.5;
    color: #aaa;
    margin: 0 0 20px;
}

.wilmo-dialog-note {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
}

.wilmo-dialog-note strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}

.wilmo-dialog-note p {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
}

.wilmo-dialog-code {
    background: #000;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px 16px;
    overflow-x: auto;
}

.wilmo-dialog-code code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: #4ade80;
    word-break: break-all;
}

.wilmo-dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.wilmo-dialog-download-btn {
    background: #144BFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wilmo-dialog-download-btn:hover {
    background: #2C5DFF;
}

.wilmo-dialog-close-btn {
    background: transparent;
    color: #888;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.wilmo-dialog-close-btn:hover {
    color: #fff;
    border-color: #666;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1000;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: 700px;
}

.cookie-banner-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-banner-content a:hover {
    opacity: 0.7;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -1%;
}

.cookie-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.03);
}

/* Hide banner when dismissed */
.cookie-banner.hidden {
    display: none;
}

/* Hide badge when closed */
.beta-badge.hidden {
    display: none;
}

/* ============================================================
   TARIFFS — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tariffs-screen {
        margin-top: 40px;
        padding: 40px 0 60px;
    }
    .tariff-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .tariff-card {
        padding: 24px 20px;
    }
    .tariff-price {
        font-size: 26px;
    }
    .beta-badge {
        bottom: 80px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
    .cookie-banner {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        text-align: center;
    }
    .cookie-banner-content p {
        font-size: 12px;
    }
}

/* ============================================================
   HEADER SEPARATOR & TG BUTTON
   ============================================================ */
.header-separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

.tg-btns {
    border-right: solid 1px rgba(255, 255, 255, 0.2);
    border-left: solid 1px rgba(255, 255, 255, 0.2);
}

.tg-btn {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    transition: color 0.2s ease;
    position: relative;
    padding-right: 4px;
    margin: auto;
}

.tg-btn:hover {
    color: white !important;
}

.tg-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    letter-spacing: -0.02em;
}

.tg-btn:hover .tg-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   COOKIE BANNER (PREMIUM)
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.35);
    animation: cookieSlideUp 0.4s ease;
}

.cookie-banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0;
    letter-spacing: -0.02em;
    max-width: 680px;
}

.cookie-banner-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}

.cookie-banner-content a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.cookie-btn {
    padding: 10px 26px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Hide banner when dismissed */
.cookie-banner.hidden {
    display: none;
}

/* Hide badge when closed */
.beta-badge.hidden {
    display: none;
}

/* ============================================================
   TARIFFS — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tariffs-screen {
        margin-top: 40px;
        padding: 40px 0 60px;
    }
    .tariff-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .tariff-card {
        padding: 24px 20px;
    }
    .tariff-price {
        font-size: 26px;
    }
    .beta-badge {
        bottom: 80px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
    .cookie-banner {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
        text-align: center;
    }
    .cookie-banner-content p {
        font-size: 13px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

.tg-btn {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    transition: color 0.2s ease;
}

.tg-btn:hover {
    color: white !important;
}
