/* ===== Базовые настройки ===== */
* { box-sizing: border-box; }

body {
    background-color: #0d0d10; /* фон страницы */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container{
    width: min(96%, 1400px);
    margin: 0 auto;
}
/* ===== Основной контейнер ===== */
.rectangle {
    margin-bottom: 50px;
    margin-top: 50px;
    background-color: #0d1219; /* цвет прямоугольника */
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); /* лёгкая мягкая тень */
    border: 1px solid #000000;  /* тонкая чёрная рамка */
    overflow: hidden;           /* чтобы ничего не вылезало за края */
}

/* ===== Верхняя жёлтая полоса ===== */
.top-bar {
    position: relative;
    height: 60px;               /* высота полосы */
    background-color: #ffd000;  /* жёлтый цвет */
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

/* ===== Логотип ===== */
.logo {
    position: absolute;
    bottom: -34px;                 /* чуть ближе к верху */
    margin-left: 42px;                /* немного левее */
    width: 54px;
    height: 54px;
    background-color: #ffd000;
    border: 4px solid #000000;
    border-radius: 10px;
    color: #000000;
    font-size: 38px;
    font-weight: 700;
    font-family: "Segoe UI", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
                    /* поверх всего */
}

/* ===== Центральный текст ===== */
.center-text {
    padding-top: 20px;
    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif;

}

.center-text h1 {
    font-size: 56px;      /* крупный заголовок */
    margin: 0;
    font-weight: 700;
}

.center-text h2 {
    font-size: 46px;      /* второй заголовок */
    margin: 0;
    font-weight: 700;
}

.center-text h3 {
    font-size: 16px;      /* описание */
    margin: 10px 0 0 0;
    font-weight: 400;
    color: #cfcfcf;       /* сероватый оттенок */
}

/* ===== Кнопка DOWNLOAD ===== */
.download-section {
    display: flex;
    align-items: center;
    padding-top: 30px;
    flex-direction: column;
}

.download-btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: #f5c800;
    color: #000;
    font-weight: 800;
    font-size: 22px;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: "Segoe UI", sans-serif;
    letter-spacing: 1px;
    border: 4px solid #000000;
}

.download-btn:hover {
    background-color: #ffe94d;
    box-shadow: 0 0 14px rgba(255, 208, 0, 0.6);
}

.video-parent{
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.video-box {
    width: min(96%, 900px);
    padding: 30px;
    background-color: #0d0d10;
    border: 1px solid #000;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);

}
.demo-video {
    width: 100%;
    height: auto;
}


.requirements {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
  opacity: 0.85;
  word-wrap: break-word;
}

.requirements strong {
    color: #ffd000;
}



/* Планшеты */
@media (max-width: 1400px) {
    .center-text h1 { font-size: 44px; }
    .center-text h2 { font-size: 34px; }
    .center-text h3 { font-size: 15px; }
    .download-btn   { font-size: 20px; padding: 10px 26px; }
    
}


/* ===== Планшеты и меньше ===== */
@media (max-width: 900px) {
    .center-text h1 { font-size: 42px; }
    .center-text h2 { font-size: 32px; }
    .center-text h3 { font-size: 15px; }
    .download-btn   { font-size: 20px; }
}

/* ===== Мобилки ===== */
@media (max-width: 500px) {
    .logo {
        margin-left: 20px;
    }
    .center-text h1 { font-size: 34px; }
    .center-text h2 { font-size: 26px; }
    .download-btn   { font-size: 18px; padding: 10px 22px; }
}

.contact-section {
    text-align: center;
    padding: 30px 0 40px 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #cfcfcf;
}

.contact-section a {
    color: #ffd000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: #fff36b;
}


