* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Unbounded', sans-serif;
    background-color: #151414;
    color: #fff;
}

h2 {
    font-size: 3em;
    margin: 20px 0;
    text-align: center;
    text-transform: uppercase;
}

.btn,
.btn-small {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF7BE7;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    z-index: 9;
}

.btn:hover {
    background-color: #cc48ad;
}

.btn-small {
    padding: 5px 15px;
    font-size: 1em;
    color: #FF7BE7;
    ;
    background: transparent;
    border: 2px solid #FF7BE7;
}

.btn-small:hover {
    background-color: #FF7BE7;
    color: #fff;
}

header {
    position: relative;
    color: white;
    padding: 250px 50px;
    text-align: center;
    overflow: hidden;
}

header h1 {
    color: #FF7BE7;
    font-size: 4.5em;
    margin-bottom: 20px;
}

header p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -250px;
    width: 500px;
    height: 500px;
    background-image: url('../img/decor-1-startup.webp');
    background-size: cover;
    background-position: center;
}

header::before {
    content: '';
    position: absolute;
    top: -200px;
    right: 0;
    width: 400px;
    height: 800px;
    transform: scale(-1, 1);
    background-image: url(../img/bg-gr.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

/* Terms Section */
.terms {
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.terms::before {
    content: '';
    position: absolute;
    top: 0;
    right: -150px;
    width: 420px;
    height: 400px;
    background-image: url(../img/decor-2-startup.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.terms::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 400px;
    height: 800px;
    background-image: url(../img/bg-gr.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

.terms .terms__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100% - 20px);
    padding: 20px;
    margin: 20px 0;
    background-color: rgb(32 32 32 / 20%);
    border-radius: 10px;
}

.terms .terms__item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.terms .terms__item h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    text-align: center;
}

.about {
    position: relative;
    padding-bottom: 50px;
}

.about img {
        max-width: 100%;
}

.about p {
    font-size: 1.2em;
    line-height: 1.6;
}

marquee {
    font-size: 3.2em;
    color: #FF7BE7;
    margin: 20px 10px 50px;
    padding: 10px;
    background-color: rgba(255, 123, 231, 0.1);
    border-radius: 10px;
    text-transform: uppercase;
}

.form {
    position: relative;
    padding: 0 0 50px;
    overflow: hidden;
}

.form h4 {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.form p {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
}

.form form {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}

.form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #3c3c3c;
    border-radius: 10px;
    background-color: transparent;
    color: #fff;
    font-size: 1.2em;
}

.form::after {
    content: '';
    position: absolute;
    top: 0;
    left: -250px;
    width: 500px;
    height: 500px;
    background-image: url('../img/decor-1-startup.webp');
    background-size: cover;
    background-position: center;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    right: -150px;
    width: 420px;
    height: 400px;
    background-image: url(../img/decor-2-startup.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.form .social {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 150px;
}

.form .social a img {
    width: 150px;
    height: 150px;
}

/* --- Адаптив для планшетов --- */
@media (max-width: 1024px) {
    header {
        padding: 120px 20px;
    }

    header h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .form form {
        max-width: 98%;
        margin: 30px auto;
    }

    .form .social a img {
        width: 100px;
        height: 100px;
    }

    .form .social {
        margin-top: 60px;
    }

    .form::before {
        right: -60px;
        width: 200px;
        height: 200px;
    }

    .form::after {
        left: -60px;
        width: 200px;
        height: 200px;
    }

    .terms::before {
        right: -60px;
        width: 200px;
        height: 200px;
    }

    .terms::after {
        left: -60px;
        width: 200px;
        height: 200px;
    }

    .terms .terms__item img {
        width: 70px;
        height: 70px;
    }

    marquee {
        font-size: 2em;
    }
}

/* --- Адаптив для мобильных устройств --- */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }

    header p {
        font-size: 1em;
    }

    header::after {
        width: 300px;
        height: 300px;
        left: -150px;
        z-index: -1;
        opacity: 0.5;
    }

    header::before {
        width: 350px;
        height: 100%;
        top: -100px;
        right: -100px;
    }

    h2 {
        font-size: 1.2em;
    }

    .btn,
    .btn-small {
        font-size: 0.9em;
        padding: 8px 10px;
    }

    .form {
        padding-bottom: 20px;
    }

    .form h4 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    .form p {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .form form {
        max-width: 100%;
        margin: 15px auto;
    }

    .form input {
        font-size: 0.95em;
        padding: 8px;
    }

    .form .social a img {
        width: 50px;
        height: 50px;
    }

    .form .social {
        margin-top: 20px;
    }

    .form::before,
    .form::after {
        display: none;
    }

    .terms {
        padding-bottom: 30px;
    }

    .terms .terms__item {
        padding: 10px;
        margin: 10px 0;
        gap: 20px;
    }

    .terms .terms__item a {
        margin-bottom: 10px;
    }

    .terms .terms__item img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .terms .terms__item h3 {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .terms::before,
    .terms::after {
        display: none;
    }

    .about {
        padding-bottom: 20px;
    }

    .about p {
        font-size: 0.95em;
    }

    .about img {
        max-width: 80%;
        margin: 0 auto 30px;
        display: block;
    }

    marquee {
        font-size: 1.1em;
        margin: 10px 2px 20px;
        padding: 5px;
    }
}

/* ===== Reviews Slider ===== */
.reviews-slider .review-card {
    padding: 10px;
}

.reviews-slider .media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(80% 80% at 50% 50%, #1f1f1f 0%, #0f0f10 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.reviews-slider .media-frame img,
.reviews-slider .media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопка play */
.reviews-slider .play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.reviews-slider .play-btn::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 18px solid #000;
    /* треугольник */
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 6px;
}

.reviews-slider .play-btn:hover {
    transform: scale(1.06);
    background: #fff;
}

/* когда видео играет — кнопку скрываем */
.reviews-slider .review-card.playing .play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Кастомные стрелки slick */
.reviews-slider .slick-prev,
.reviews-slider .slick-next {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.reviews-slider .slick-prev:hover,
.reviews-slider .slick-next:hover {
    background: #fff;
}

.reviews-slider .slick-prev:before,
.reviews-slider .slick-next:before {
    color: #000;
    font-size: 18px;
    opacity: 1;
}

/* точки (если включишь) */
.reviews-slider .slick-dots li button:before {
    font-size: 10px;
    opacity: .35;
    color: #fff;
}

.reviews-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}
.reviews-slider .media-frame { position: relative; }

.reviews-slider .play-overlay{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 48px; line-height: 1;
  cursor: pointer;
  background: linear-gradient(transparent, rgba(0,0,0,.25));
  opacity: 1; transition: opacity .2s ease;
  user-select: none;
}

.reviews-slider .is-video iframe{ pointer-events: none; }
.reviews-slider .is-video.playing iframe{ pointer-events: auto; }

/* Когда играем — прячем оверлей, иначе показываем */
.reviews-slider .is-video.playing .play-overlay{
  opacity: 0; pointer-events: none;
}