body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    /*background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    color: #fff;*/
    background: radial-gradient(circle at top, #f5f7ff, #dde3f0);
    color: #111;
}
h2 {
    margin-top: 25px;
    color: #ff3d00;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    font-size: 1.3em;
}
p {
    font-size: 14px;
    line-height: 24px;
    color: #333;
}
p.screen-caption {
    padding: 0 10px;
}
p.pad {
    padding: 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    height: 50px;
}

.lang-switcher a {
    margin: 5px 0 7px 7px;
    text-decoration: none;
    color: #666;
    font-weight: bold;
    font-size: 14px;
    padding: 2px 3px;
}

.lang-switcher a.active {
    color: #000;
    text-decoration: underline;
    background-color: #fcb74f;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff7a00, #ff3d00);
    color: white;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

/*.download-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.2s;
}*/

.hero h2 {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #fff;
    color: #ff3d00;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.features {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

/*.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}*/

.feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ff7a00;
    /* твій акцентний колір */
}

.feature-card p {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 24px;
}

.screenshots img {
    width: 45%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.footer {
    margin-top: 60px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(14, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 600;
    color: #fab727;
    opacity: 0.9;
}

.footer-right p {
    margin: 0;
    font-size: 15px;
    color: #f7f6f6;
    opacity: 0.85;
}

/* Адаптивність */
@media (max-width: 500px) {
    .footer {
        margin-top: 40px;
        padding: 20px 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* Grid of thumbnails */
.screens-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .screens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .screens-grid {
        grid-template-columns: 1fr;
    }
}

.screens-grid img {
    width: 100%;
    border-radius: 16px;
    cursor: pointer;
    transition: transform .2s;
}

.screens-grid img:hover {
    transform: scale(1.02);
}

/* Fullscreen modal */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px; /* ← важливо для маленьких екранів */
    z-index: 9999;
}

.gallery-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.gallery-caption {
    margin-top: 20px;
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
}

/* Close button */
.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Navigation arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px 7px;
    user-select: none;
}

.gallery-nav.left {
    left: 5px;
}

.gallery-nav.right {
    right: 5px;
}

/* Mobile swipe area */
@media (max-width: 600px) {
    .gallery-nav {
        font-size: 40px;
    }
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: nowrap;
}

.store-badge {
    height: 60px;
    transition: transform .2s, opacity .2s;
    cursor: pointer;
}

.store-badge:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.store-buttons a .play {
    /*transform: scale(1.0);* /* компенсує білі поля */
    transform-origin: center;
    height: 60px; /* +6px компенсує padding */
    margin-left: 0px; /* відступ зліва для кращого вигляду */
}

.store-buttons a .apple {
    height: 42px;
    /*transform: scale(1.00);*/
    margin-right: 0px;
}

@media (max-width: 600px) {
    .store-badge {
        height: 50px;
    }
    .store-buttons {
        gap: 16px;
    }
}

.qr-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: nowrap;
}

.qr-block {
    text-align: center;
}

.qr-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.qr-block p {
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.85;
}

@media (max-width: 500px) {
    .features {
        max-width: 500px;
        margin: 30px auto;
        padding: 15px;
    }

    .qr-section {
        gap: 0px;
        margin-top: 30px;
    }

    .qr-img {
        width: 120px;
        height: 120px;
        border-radius: 9px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .qr-block p {
        font-size: 12px;
    }

    .feature-card {
        gap: 12px;
        backdrop-filter: blur(12px);
        border-radius: 12px;
        padding: 15px 15px;
        margin-bottom: 15px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    }
}
.rot {
    color: #ff3d00;
    font-weight: bold;
}

.anonce {
    max-width: 900px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

.anonce p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    color: #333;
}

.longtail {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.longtail h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.longtail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.longtail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f7f7f7;
    margin: 10px 0;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1.15rem;
    line-height: 1.5;
    border-left: 4px solid #f16422;
    transition: all 0.25s ease;
}

.lt-icon {
    width: 28px;
    height: 28px;
    color: #f16422;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.25s ease;
}

.lt-icon svg {
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.longtail-list li:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-left-color: #fcb74f;
    /* трохи яскравіший зелений */
}

.longtail-list li:hover .lt-icon {
    color: #fcb74f;
}

/* Двоколонковий layout */
@media (min-width: 900px) {
    .longtail-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }

    .longtail-list li {
        margin: 0;
        /* бо тепер gap керує відступами */
    }

    h2, .longtail h2 {
        margin-top: 30px;
        font-size: 1.6em;
    }
}

.seo-text {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px 40px;
    color: #333;
    line-height: 1.7;
    font-size: 1.1rem;
}

.seo-text article p {
    margin-bottom: 18px;
}