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

body {
    background-color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: white
}

.container {
    padding: 0 20px;
}

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;  /* три равные части, средняя под контент */
    align-items: center;                  /* вертикальное выравнивание */
    gap: 1rem;                            /* отступы между колонками */
    height: 60px;
}

.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: flex-end;
    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;
}

.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%;
}

.first-screen {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    align-items: center;
    height: 75vh;
    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.png');
    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:250px;
    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: 150px;
}

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

.opacity-text {
    opacity: 0.5;
}

.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.png');
    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: 10px;             /* расстояние между карточками */
}

.fifth-screen .card {
    /* стили карточки – ширина автоматически 100% от правой колонки */
    background: #f5f5f5;
    padding: 1.5rem;
    height: 500px;
    justify-content: flex-end;
    color: black;
    gap:12px;
}

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

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

.arrow-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    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: black;
}

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

.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.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.seventh-screen .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    gap: 30px;
    margin-top: 120px;
}

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

.seventh-screen .card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f5f5f5;
    padding: 1.5rem;
    height: 550px;
    justify-content: flex-end;
    color: black;
}

.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 {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* две равные колонки по 50% */
    gap: 22rem;                       /* отступ между колонками (по желанию) */
    align-items: start;              /* выравнивание по верхнему краю */
}

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

.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%;
}

/* Стили для самих карточек (можно оформить по вкусу) */
.tenth-screen .card {
    background: #f8f9fa;
    padding: 24px;
    height: 550px;
    justify-content: flex-end;
    color: black;
}

/* Пояснения под карточками: тоже три в строку */
.tenth-screen .outcards-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: left;
    
}

.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;
}

.etap {
position: relative;
    width: 450px;
    height: 350px;
    display: flex;
    align-items: flex-end;
}

.big-number {
    font-size: 300px;
    font-weight: 900;
    letter-spacing: -6%;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
}

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

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

.attention {
    position: absolute;
    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-left: 200px;
    margin-top: -100px;
}

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

.final-screen {
    background-image: url('./assets/background.png');
    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;
}

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

.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;
}
.cell a:hover {
    text-decoration: underline;
}

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

/* Адаптивность для планшетов и телефонов */
@media (max-width: 768px) {
    .info {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .info {
        grid-template-columns: 1fr; /* 1 колонка на телефонах */
        gap: 1rem;
    }
}