﻿:root {
        --app-primary: #e67e22;
        --app-primary-dark: #b95600;
        --app-bg: #080a0d;
        --app-text: #d3d9df;
        --app-muted: #aeb6bd;
        --app-border: rgba(230, 126, 34, 0.28);
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        background: var(--app-bg);
        color: #fff;
    }

    .app-facelift {
        position: relative;
        isolation: isolate;
        background: var(--app-bg);
        min-height: 100vh;
        overflow: hidden;
    }

    .app-facelift::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.5;
        background-image:
            radial-gradient(2px 2px at 8% 14%, rgba(255, 255, 255, 0.88) 0, transparent 58%),
            radial-gradient(1.6px 1.6px at 18% 42%, rgba(255, 255, 255, 0.74) 0, transparent 62%),
            radial-gradient(1.8px 1.8px at 32% 68%, rgba(255, 255, 255, 0.8) 0, transparent 60%),
            radial-gradient(2px 2px at 47% 22%, rgba(255, 255, 255, 0.84) 0, transparent 58%),
            radial-gradient(1.6px 1.6px at 62% 54%, rgba(255, 255, 255, 0.74) 0, transparent 62%),
            radial-gradient(1.8px 1.8px at 80% 26%, rgba(255, 255, 255, 0.78) 0, transparent 60%),
            radial-gradient(2px 2px at 92% 72%, rgba(255, 255, 255, 0.82) 0, transparent 58%);
    }

    .app-facelift > * {
        position: relative;
        z-index: 2;
    }

    .app-topbar {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 4;
        padding: 24px 0;
    }

    .app-logo {
        width: clamp(180px, 24vw, 300px);
        max-width: 100%;
        height: auto;
    }

    .app-hero {
        position: relative;
        isolation: isolate;
        padding: 160px 0 112px;
        background-image: url('./assets/images/btfm_app_wallpaper.png');
        background-size: cover;
        background-position: center;
        border-bottom: 1px solid var(--app-border);
    }

    .app-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(120deg, rgba(8, 10, 13, 0.86) 0%, rgba(8, 10, 13, 0.65) 44%, rgba(230, 126, 34, 0.14) 100%);
    }

    .app-hero .container {
        position: relative;
        z-index: 1;
    }

    .hero-kicker {
        display: inline-block;
        margin-bottom: 14px;
        color: var(--app-primary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .app-hero h1 {
        margin: 0 0 14px;
        font-size: clamp(36px, 6vw, 68px);
        line-height: 1.05;
        color: #fff;
    }

    .hero-text {
        max-width: 720px;
        margin: 0;
        color: var(--app-text);
        font-size: 18px;
        line-height: 1.62;
    }

    .hero-actions {
        margin-top: 28px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-app {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 22px;
        border-radius: 999px;
        border: 1px solid transparent;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
    }

    .btn-app-primary {
        background: linear-gradient(130deg, var(--app-primary) 0%, var(--app-primary-dark) 100%);
        color: #fff;
        box-shadow: 0 12px 26px rgba(185, 86, 0, 0.34);
    }

    .btn-app-primary:hover,
    .btn-app-primary:focus {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(185, 86, 0, 0.44);
    }

    .btn-app-ghost {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.22);
        color: #fff;
    }

    .btn-app-ghost:hover,
    .btn-app-ghost:focus {
        color: #fff;
        background: rgba(255, 255, 255, 0.14);
    }

    .hero-meta {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-meta span {
        color: #d7dde3;
        font-size: 14px;
        letter-spacing: 0.04em;
    }

    .hero-meta strong {
        color: #fff;
        margin-right: 6px;
    }

    .app-section {
        padding: 90px 0 24px;
    }

    .section-kicker {
        color: var(--app-primary);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .section-title {
        margin: 0;
        color: #fff;
        font-size: clamp(30px, 4vw, 42px);
    }

    .feature-list {
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
    }

    .feature-item {
        display: flex;
        gap: 14px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(230, 126, 34, 0.2);
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(230, 126, 34, 0.18);
        color: var(--app-primary);
        font-size: 16px;
    }

    .feature-body h3 {
        margin: 0 0 8px;
        color: #fff;
        font-size: 22px;
    }

    .feature-body p {
        margin: 0;
        color: var(--app-muted);
        line-height: 1.62;
    }

    .security-note {
        margin-top: 22px;
        padding-left: 16px;
        border-left: 3px solid rgba(230, 126, 34, 0.72);
    }

    .security-note p {
        margin: 0;
        color: var(--app-muted);
        line-height: 1.66;
    }

    .security-note a {
        color: #fff;
        text-decoration: underline;
        text-decoration-color: var(--app-primary);
    }

    .install-section {
        padding: 50px 0 96px;
    }

    .install-grid {
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .install-card {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid var(--app-border);
        background: rgba(18, 20, 25, 0.8);
        cursor: pointer;
        transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
    }

    .install-card:hover,
    .install-card:focus {
        transform: translateY(-4px);
        border-color: var(--app-primary);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    }

    .install-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .install-card .step-label {
        position: absolute;
        left: 10px;
        bottom: 10px;
        background: rgba(8, 10, 13, 0.78);
        border: 1px solid rgba(230, 126, 34, 0.5);
        color: #fff;
        border-radius: 999px;
        padding: 5px 10px;
        font-size: 12px;
        letter-spacing: 0.04em;
    }

    .image-overlay {
        position: fixed;
        inset: 0;
        background: rgba(5, 7, 9, 0.86);
        backdrop-filter: blur(3px);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 26px;
        z-index: 1000;
    }

    .image-overlay.open {
        display: flex;
    }

    .image-overlay img {
        max-width: min(1200px, 96vw);
        max-height: 86vh;
        width: auto;
        height: auto;
        border-radius: 14px;
        border: 1px solid rgba(230, 126, 34, 0.45);
        box-shadow: 0 22px 42px rgba(0, 0, 0, 0.4);
    }

    .overlay-close {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(230, 126, 34, 0.6);
        background: rgba(8, 10, 13, 0.84);
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    @media only screen and (max-width: 991px) {
        .app-hero {
            padding-top: 136px;
            padding-bottom: 90px;
        }

        .feature-list {
            grid-template-columns: 1fr;
        }

        .install-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media only screen and (max-width: 767px) {
        .hero-text {
            font-size: 16px;
        }

        .app-section {
            padding-top: 72px;
        }

        .install-section {
            padding-bottom: 80px;
        }

        .install-grid {
            grid-template-columns: 1fr;
        }
    }

