/* App store badges — shared */
.app-badges__label {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.9;
}

.app-badges__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.app-badges__link {
    display: inline-flex;
    line-height: 0;
    border-radius: 8px;
    background: transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.app-badges__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(4, 93, 72, 0.18);
    opacity: 0.95;
}

.app-badges__link img {
    display: block;
    width: auto;
    height: 52px;
    object-fit: contain;
}

/* Header */
.app-badges--header .app-badges__label {
    display: none;
}

.app-badges--header .app-badges__links {
    gap: 0.45rem;
}

.app-badges--header .app-badges__link img {
    height: 44px;
}

.site-header__app-badges {
    margin-right: 0.15rem;
}

/* Footer */
.app-badges--footer .app-badges__label {
    color: #fff;
    margin-bottom: 0.75rem;
}

.app-badges--footer .app-badges__link img {
    height: 50px;
}

/* Mobile menu */
.app-badges--mobile-menu {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(4, 93, 72, 0.1);
}

.app-badges--mobile-menu .app-badges__label {
    color: #045d48;
    font-size: 0.72rem;
}

/* Home section badges */
.app-badges--section .app-badges__label {
    color: rgba(255, 255, 255, 0.88);
}

.app-badges--section .app-badges__link img {
    height: 58px;
}

.app-badges--mobile-menu .app-badges__link img {
    height: 50px;
}

/* QR codes */
.app-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
}

.app-qr-code__frame {
    padding: 0.55rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(4, 93, 72, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    line-height: 0;
}

.app-qr-code__frame svg {
    display: block;
    width: auto;
    height: auto;
}

.app-qr-code__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: inherit;
    opacity: 0.9;
}

.app-download-section__scan {
    margin-top: 0;
}

.app-download-section__scan-label {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-align: left !important;
}

.app-download-section__qr-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.app-download-section__qr-grid .app-qr-code__label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.68rem;
}

.app-download-section__qr-grid .app-qr-code__frame {
    padding: 0.45rem;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* Download CTA section */
.app-download-section {
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 24px;
    background:
        linear-gradient(145deg, #022f25 0%, #034436 28%, #045d48 58%, #056b54 100%);
    color: #fff;
    box-shadow:
        0 24px 60px rgba(2, 47, 37, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-download-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 92% 18%, rgba(201, 162, 39, 0.28), transparent 58%),
        radial-gradient(ellipse 50% 45% at 8% 88%, rgba(255, 255, 255, 0.1), transparent 52%),
        radial-gradient(ellipse 40% 35% at 55% 50%, rgba(6, 122, 95, 0.35), transparent 70%);
    pointer-events: none;
}

.app-download-section__grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 85%);
    pointer-events: none;
}

.app-download-section__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.app-download-section__orb--one {
    width: 280px;
    height: 280px;
    top: -90px;
    right: 4%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2), transparent 68%);
    filter: blur(18px);
}

.app-download-section__orb--two {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: 4%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    filter: blur(14px);
}

.app-download-section__orb--three {
    width: 120px;
    height: 120px;
    top: 42%;
    right: 38%;
    background: radial-gradient(circle, rgba(232, 201, 106, 0.16), transparent 72%);
    filter: blur(10px);
}

.app-download-section__content {
    position: relative;
    z-index: 1;
}

.app-download-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0d77a;
    background: rgba(201, 162, 39, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.28);
}

.app-download-section__eyebrow i {
    font-size: 0.82rem;
}

.app-download-section__title {
    margin: 0 0 0.9rem;
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

.app-download-section__title span {
    background: linear-gradient(135deg, #f5e08a 0%, #d4af37 48%, #c9a227 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app-download-section__lead {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    font-size: clamp(0.92rem, 1.4vw, 1.02rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    text-align: left !important;
}

.app-download-section__features {
    list-style: none;
    margin: 0 0 1.65rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.app-download-section__features li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.app-download-section__features li:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(201, 162, 39, 0.28);
    transform: translateY(-2px);
}

.app-download-section__feature-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0.08));
    border: 1px solid rgba(201, 162, 39, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f0d77a;
    font-size: 1rem;
}

.app-download-section__feature-text {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
    text-align: left !important;
}

.app-download-section__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.35rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-download-section__panel-divider {
    width: 1px;
    height: 88px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.app-download-section__panel-store .app-badges__label {
    margin-bottom: 0.7rem;
}

.app-download-section__visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0 2rem;
}

.app-download-section__stage-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 24px rgba(255, 255, 255, 0.02),
        0 0 0 48px rgba(255, 255, 255, 0.015);
    z-index: 0;
    pointer-events: none;
}

.app-download-section__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.32) 0%, rgba(201, 162, 39, 0.1) 42%, transparent 72%);
    filter: blur(16px);
    z-index: 0;
    pointer-events: none;
}

.app-download-section__platform {
    position: absolute;
    bottom: 18px;
    width: 72%;
    max-width: 280px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42) 0%, transparent 72%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}

.app-download-section__chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.app-download-section__chip i {
    color: #f0d77a;
    font-size: 0.72rem;
}

.app-download-section__chip--one {
    top: 12%;
    left: 2%;
    animation: app-download-chip-float 4s ease-in-out infinite;
}

.app-download-section__chip--two {
    bottom: 22%;
    right: 0;
    animation: app-download-chip-float 4.5s ease-in-out infinite 0.6s;
}

.app-download-section__phone {
    position: absolute;
    width: 218px;
    border-radius: 34px;
    background: linear-gradient(155deg, #3a3a3a 0%, #181818 36%, #080808 100%);
    border: 2px solid rgba(255, 255, 255, 0.24);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55),
        0 32px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    padding: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-download-section__phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05) 42%, rgba(201, 162, 39, 0.24));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.app-download-section__phone--back {
    transform: rotate(-14deg) translateX(-64px) translateY(22px);
    opacity: 0.9;
    z-index: 1;
    animation: app-download-float-back 5s ease-in-out infinite;
}

.app-download-section__phone--front {
    transform: rotate(8deg) translateX(58px) translateY(-8px);
    z-index: 2;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55),
        0 38px 72px rgba(0, 0, 0, 0.5),
        0 0 48px rgba(201, 162, 39, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    animation: app-download-float-front 4.5s ease-in-out infinite;
}

.app-download-section__phone-bezel {
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    aspect-ratio: 735 / 1600;
    line-height: 0;
}

.app-download-section__phone-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@keyframes app-download-float-front {
    0%, 100% {
        transform: rotate(8deg) translateX(58px) translateY(-8px);
    }

    50% {
        transform: rotate(8deg) translateX(58px) translateY(-16px);
    }
}

@keyframes app-download-float-back {
    0%, 100% {
        transform: rotate(-14deg) translateX(-64px) translateY(22px);
    }

    50% {
        transform: rotate(-14deg) translateX(-64px) translateY(14px);
    }
}

@keyframes app-download-chip-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (hover: hover) {
    .app-download-section__visual:hover .app-download-section__phone--front {
        animation-play-state: paused;
        transform: rotate(5deg) translateX(58px) translateY(-18px);
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.55),
            0 42px 80px rgba(0, 0, 0, 0.55),
            0 0 56px rgba(201, 162, 39, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }

    .app-download-section__visual:hover .app-download-section__phone--back {
        animation-play-state: paused;
        transform: rotate(-11deg) translateX(-60px) translateY(18px);
        opacity: 0.96;
    }
}

@media (max-width: 1199.98px) {
    .app-download-section__features {
        grid-template-columns: 1fr;
    }

    .app-download-section__features li {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .app-download-section {
        padding: 1.85rem 1.2rem 2.1rem;
    }

    .app-download-section__panel {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: 1.2rem 1.15rem;
    }

    .app-download-section__panel-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    }

    .app-download-section__visual {
        min-height: 340px;
        margin-top: 0.25rem;
        padding-bottom: 1.5rem;
    }

    .app-download-section__stage-ring {
        width: 270px;
        height: 270px;
    }

    .app-download-section__glow {
        width: 240px;
        height: 240px;
    }

    .app-download-section__phone {
        width: 182px;
    }

    .app-download-section__phone--back {
        animation: none;
        transform: rotate(-14deg) translateX(-50px) translateY(18px);
    }

    .app-download-section__phone--front {
        animation: none;
        transform: rotate(8deg) translateX(44px) translateY(-6px);
    }

    .app-download-section__chip--one,
    .app-download-section__chip--two {
        animation: none;
    }

    .app-download-section__chip--one {
        left: 6%;
    }

    .app-download-section__chip--two {
        right: 4%;
    }
}

@media (max-width: 575.98px) {
    .app-badges--section .app-badges__links,
    .app-badges--footer .app-badges__links,
    .app-badges--mobile-menu .app-badges__links {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-download-section__phone {
        width: 158px;
    }

    .app-download-section__phone--back {
        transform: rotate(-12deg) translateX(-40px) translateY(16px);
    }

    .app-download-section__phone--front {
        transform: rotate(7deg) translateX(36px) translateY(-4px);
    }

    .app-download-section__chip {
        font-size: 0.62rem;
        padding: 0.35rem 0.62rem;
    }

    .app-download-section__visual {
        min-height: 300px;
    }
}
