* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --blue: #51AAF2;
    --text: #DEEEFF;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--blue);
    color: var(--white);
}

section[id] {
    scroll-margin-top: 110px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-page {
    position: relative;
    overflow: hidden;
}

.seo-text {
    position: absolute;
    left: -99999px;
    opacity: 0;
    pointer-events: none;
}

/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 1000;
    background: rgba(81,170,242,.1);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
}

.logo__text {
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    position: relative;
    font-size: 17px;
    font-weight: 500;
}

    .nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background: #fff;
        transition: .3s;
    }

    .nav__link:hover::after {
        width: 100%;
    }

/* =========================
   BURGER
========================= */

.burger {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1100;
}

    .burger span {
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 10px;
        transition: .3s;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

/* =========================
   HERO
========================= */

.hero {
    padding-top: 140px;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: 72px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 36px;
    color: var(--text);
}

.hero-images {
    position: relative;
    width: 470px;
    height: 580px;
    flex-shrink: 0;
}

.phone-back {
    position: absolute;
    width: 280px;
    left: 0;
    top: 20px;
}

.phone-front {
    position: absolute;
    width: 310px;
    right: 0;
    top: 0;
}

/* =========================
   STORE BUTTONS
========================= */

.store-buttons,
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.store-button {
    width: 205px;
    height: 76px;
    background: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    transition: .25s;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

    .store-button:hover {
        transform: translateY(-2px);
    }

.store-icon {
    width: 34px;
    height: 34px;
}

.store-text-small {
    color: #000;
    font-size: 13px;
    text-align: left;
}

.store-text-big {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 56px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 46px;
}

/* =========================
   FEATURES
========================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
}

.feature-image {
    max-width: 320px;
    margin: 0 auto 24px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-description {
    max-width: 320px;
    margin: 0 auto;
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
}

/* =========================
   PEEK INSIDE
========================= */

.peek-inside .container {
    max-width: 1050px;
}

.peek-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 56px;
}

.peek-content {
    max-width: 420px;
}

.peek-title {
    font-size: 38px;
    margin-bottom: 20px;
}

.peek-description {
    color: var(--text);
    line-height: 1.7;
    font-size: 18px;
}

.peek-visual {
    flex-shrink: 0;
}

.phone-main {
    width: 340px;
    height: auto;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
    overflow: hidden;
    padding: 60px 0;
}

.testimonials-slider {
    position: relative;
    width: 100%;
}

.testimonials-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* STARS */

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

    .testimonial-rating img {
        width: 20px;
        height: 20px;
    }

/* CARD */
.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: rgba(57, 144, 216, 0.6);
    border-radius: 36px;
    padding: 30px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* BUTTONS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(12px);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.prev {
    left: -20px;
}

.next {
    right: -20px;
}

/* TABLET */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .prev {
        left: -10px;
    }

    .next {
        right: -10px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        padding: 24px;
        border-radius: 28px;
        min-height: auto;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }

    .testimonials-track {
        gap: 16px;
    }
}

/* =========================
   DOWNLOAD
========================= */

.download {
    text-align: center;
}

.download-title {
    font-size: 62px;
    margin-bottom: 20px;
}

.download-text {
    max-width: 700px;
    margin: 0 auto 28px;
    font-size: 26px;
    line-height: 1.4;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 44px 0 28px;
}

.footer-line {
    width: 100%;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.footer-title {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-link,
.footer-text {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
}

/* =========================
   SVG BLURS
========================= */

.bg-blur {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: .78;
}

    .bg-blur svg {
        width: 100%;
        height: 100%;
        display: block;
    }

/* LEFT */

.blur-1 {
    width: 760px;
    height: 760px;
    left: -250px;
    top: 160px;
}

/* RIGHT */

.blur-2 {
    width: 860px;
    height: 860px;
    right: -10px;
    top: -40px;
}

/* =========================
   DOWNLOAD BLURS
========================= */

.download-blur-left {
    width: 760px;
    height: 760px;
    left: -260px;
    top: 4300px;
    opacity: .72;
}

.download-blur-right {
    width: 860px;
    height: 860px;
    right: -120px;
    top: 4450px;
    opacity: .72;
}


/* MOBILE */
@media (max-width: 768px) {
    .blur-1 {
        width: 420px;
        height: 420px;
        left: -300px;
        top: 80px;
    }

    .blur-2 {
        width: 500px;
        height: 500px;
        right: -300px;
        top: 0;
    }

    .download-blur-left {
        width: 420px;
        height: 420px;
        left: -260px;
        top: 6100px;
        opacity: .55;
    }

    .download-blur-right {
        width: 500px;
        height: 500px;
        right: -260px;
        top: 6400px;
        opacity: .55;
    }
}

@media (max-width: 992px) {

    .blur-1 {
        width: 520px;
        height: 520px;
        left: -150px;
        top: 200px;    
    }

    .blur-2 {
        width: 600px;
        height: 600px;
        right: -100px;
        top: 0px;
    }

    .download-blur-left {
        width: 520px;
        height: 520px;
        left: -180px;
        top: 6900px;
    }

    .download-blur-right {
        width: 620px;
        height: 620px;
        right: -180px;
        top: 7000px;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(111, 184, 244, 0.9);
        flex-direction: column;
        justify-content: center;
        transition: .35s;
    }

        .nav.active {
            right: 0;
        }

    .hero-wrapper,
    .peek-item,
    .peek-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons,
    .store-buttons {
        justify-content: center;
    }


    .peek-item,
    .peek-item.reverse {
        flex-direction: column;
        text-align: center;
    }

        .peek-item .peek-visual {
            order: 1;
        }

        .peek-item .peek-content {
            order: 2;
        }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
    }

    .logo__text {
        font-size: 18px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.05;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 0;
    }

    .hero-images {
        width: 300px;
        height: 360px;
    }

    .phone-back {
        width: 180px;
    }

    .phone-front {
        width: 210px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 36px;
    }

    .peek-title,
    .download-title {
        font-size: 32px;
    }

    .peek-description,
    .download-text,
    .feature-description {
        font-size: 16px;
    }

    .phone-main {
        width: 240px;
    }

    .peek-item {
        margin-bottom: 50px;
        gap: 24px;
    }

    .store-buttons {
        display: none;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
    }

    .testimonial {
        padding: 22px;
    }
}
