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

body {
    font-family: "Open Sans", sans-serif;
    background-color: #0f1020;
    color: #e8eaf7;
    line-height: 1.6;
}

a {
    color: #8f92ff;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

header {
    background-color: #17172b;
    padding: 16px 0;
}

nav > div {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
}

nav .logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav .logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

nav .logo p {
    color: #f5f6ff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: #d7daf7;
    font-weight: 600;
}

main {
    padding: 0;
}

.post-wrapper {
    max-width: 840px;
    margin: 0 auto;
    padding: 64px 16px;
}

.post {
    background-color: #17172b;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.post h1 {
    margin-bottom: 24px;
}

.post h2,
.post h3 {
    margin-top: 28px;
}

.post p,
.post ul {
    margin-bottom: 16px;
}

section {
    padding: 64px 0;
}

section .content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
}

.primary {
    background: linear-gradient(135deg, #5d63ff, #8f92ff);
    color: #0e1030;
}

.primary h1,
.primary h2,
.primary h3,
.primary p,
.primary li,
.primary .cta-note {
    color: #0e1030;
}

.secondary {
    background-color: #17172b;
}

.tertiary {
    background-color: #111324;
}

.introduction p {
    font-size: 1.2em;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.content p {
    max-width: 680px;
}

ul {
    list-style: disc;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: inherit;
}

.phone-images {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    order: 1;
}

.phone-images img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.phone-images img.active {
    opacity: 1;
    position: relative;
}

h1,
h2 {
    color: #a9acff;
    margin-bottom: 12px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.05;
}

h3 {
    color: #d7daf7;
    margin-bottom: 8px;
    font-size: 1.1em;
}

p {
    color: #c8cae0;
    font-size: 1.05em;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
}

.store-badge {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.store-badge img {
    width: 180px;
    height: auto;
    display: block;
}

.store-badge:hover {
    opacity: 0.85;
}

.store-badge[aria-disabled="true"] {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.cta-note {
    font-size: 0.92em;
    opacity: 0.85;
    margin-top: 8px;
}

.feature-list .content {
    gap: 24px;
    align-items: center;
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.feature-list .content {
    align-items: stretch;
}

.section-intro {
    max-width: 720px;
}

.feature-list .feature {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 22px;
    max-width: 340px;
    margin: 0 auto;
    text-align: left;
}

.feature-list .feature h2 {
    margin-bottom: 8px;
    font-size: 1.2em;
}

.footer .content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}

.footer h2 {
    color: #0e1030;
}

.footer p {
    color: #0e1030;
}

.footer .store-buttons {
    align-items: center;
    justify-content: center;
}

footer {
    background-color: #17172b;
    color: #a0a5cf;
    text-align: center;
    padding: 16px;
    font-size: 0.9em;
}

@media (min-width: 900px) {
    section .content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .content > div {
        flex: 1;
    }

    .phone-images {
        order: 0;
        max-width: 340px;
        margin: 0;
    }

    .introduction .content {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .feature-list .feature {
        flex: 1 1 240px;
        max-width: 260px;
    }

    .store-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

    .footer .store-buttons {
        justify-content: center;
    }

    .post {
        padding: 48px;
    }
}
