:root {
    --bg: #000;
    --text: #fff;
    --muted: #d5d5d5;
    --soft: #9b9b9b;
    --gold: #f3c76c;
    --gold-strong: #ff9d0a;
    --line: rgba(243, 199, 108, 0.76);
    --panel: rgba(22, 22, 22, 0.82);
    --panel-border: rgba(255, 255, 255, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

body::after {
    content: "";
    position: fixed;
    inset: 0 0 auto auto;
    width: 1px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 80;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
    height: 70px;
    padding: 0 max(32px, calc((100vw - 1440px) / 2 + 32px)) 0 max(38px, calc((100vw - 1440px) / 2 + 38px));
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
}

.brand img {
    display: block;
    width: 99px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 15px;
    font-size: 24px;
    font-weight: 600;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 52px;
    padding: 10px 25px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--line);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.header-download {
    justify-self: end;
    position: relative;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #fad045 0%, #ffefcb 100%);
    color: #030303;
    font-size: 24px;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.download-popup {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, 160px);
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(14px);
}

.header-download:hover .download-popup,
.header-download:focus-within .download-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.download-popup::before {
    content: "";
    position: absolute;
    top: -18px;
    right: 0;
    width: 100%;
    height: 18px;
}

.qr-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.qr-code {
    position: relative;
    display: block;
    width: 160px;
    height: 160px;
}

.qr-image {
    display: block;
    width: 160px;
    height: 160px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
}

.qr-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qr-label img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
}

.section {
    position: relative;
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 70px 58px 48px;
    overflow: hidden;
    scroll-margin-top: 0;
}

.hero-section {
    display: flex;
    gap: 18px;
    width: 100%;
    max-width: none;
    padding-left: max(58px, calc((100vw - 1440px) / 2 + 58px));
    padding-right: max(58px, calc((100vw - 1440px) / 2 + 58px));
}

.hero-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 100vw;
    pointer-events: none;
    transform: translateX(-50%);
    background-image: url("../img/hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    margin: 0;
    font-size: 60px;
    line-height: 0.99;
    font-weight: 600;
    letter-spacing: 0;
}

.hero-copy p {
    margin: 35px 0 16px;
    color: #dadada;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 600;
}

.store-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 45px;
    padding: 5px 8px;
    border: 1px solid #a6a6a6;
    border-radius: 6px;
    background: #050505;
    color: #fff;
}

.store-badge img {
    display: block;
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.store-badge span {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.store-badge small {
    font-size: 9px;
    font-weight: 500;
}

.store-badge strong {
    font-size: 18px;
    font-weight: 400;
}

.hero-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 50vw;
    min-height: min(590px, calc(100vh - 96px));
    flex-grow: 1;
}

.visual-stage {
    position: relative;
    width: min(720px, 56vw, calc((100vh - 150px) * 1.16));
    aspect-ratio: 720 / 620;
}

.phone-image {
    position: absolute;
    left: 34%;
    top: 50%;
    width: 39.2%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.72));
    transform: translate(-50%, -50%);
}

.card-image {
    position: absolute;
    left: 39.5%;
    top: 55%;
    width: 44.7%;
    max-width: none;
    height: auto;
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.58));
}

.float-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: clamp(44px, 9%, 61px);
    padding: 9px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: rgba(54, 54, 54, 0.72);
    color: #d8d8d8;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.18;
    white-space: nowrap;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
    animation: breathe-pill 6.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes breathe-pill {
    0%, 100% {
        opacity: 0.92;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-6px) scale(1.018);
    }
}

.float-pill b {
    display: block;
    margin-top: 3px;
    color: #ff5047;
    font-weight: 400;
    white-space: nowrap;
}

.float-pill .positive {
    color: #00df66;
}

.pill-image,
.add-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: #111;
    background: #fff;
    font-size: 21px;
}

.pill-image {
    overflow: hidden;
    background: transparent;
}

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

.add-icon {
    background: #ff8a00;
    color: #fff;
}

.float-shopping {
    left: 71%;
    top: 17%;
    animation-delay: -0.4s;
}

.float-jack {
    left: 61%;
    top: 41%;
    animation-delay: -2.1s;
}

.float-topup {
    right: -10%;
    top: 76%;
    animation-delay: -3.7s;
}

.float-coffee {
    right: -15%;
    top: 90%;
    animation-delay: -5.2s;
}

.mobile-visual-float {
    display: none;
}

.features-section {
    display: grid;
    place-items: center;
}

.features-grid {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 100px;
    padding-top: 26px;
}

.feature-item,
.assurance-item {
    text-align: center;
}

.feature-icon {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto 17px;
    object-fit: contain;
}

.feature-item h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 700;
}

.feature-item p {
    margin: 10px auto 0;
    max-width: 320px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
}

.assurance-item h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 700;
}

.assurance-item p {
    margin: 10px auto 0;
    max-width: 320px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
}

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 130px;
    padding-right: 130px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: space-between;
    gap: 80px;
    width: 100%;
    margin: 0 auto;
}

.statement h2,
.assurance > h2 {
    width: max-content;
    min-width: 196px;
    margin: 0 0 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #fff;
    color: #e8c07c;
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}

.statement p {
    margin: 0;
    color: #f5f5f5;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.16;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.trust-badge {
    align-self: center;
    margin: 42px 0 43px;
    padding: 25px 10px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #e8c07c;
    font-size: 24px;
    font-weight: 700;
}

.assurance {
    width:100%;
    margin: 0 auto;
}

.assurance > h2 {
    min-width: 438px;
    margin-bottom: 26px;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 118px;
}

.assurance-icon {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 17px;
    object-fit: contain;
}

.site-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    display: flex;
    justify-content: center;
    gap: 22px;
    color: #a5a5a5;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 104px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-visual {
        min-height: min(540px, calc(100vh - 120px));
    }

    .visual-stage {
        width: min(660px, 86vw, calc((100vh - 150px) * 1.16));
    }

    .float-pill {
        gap: 16px;
        padding: 7px 20px;
        border-radius: 12px;
        font-size: 16px;
    }

    .pill-image,
    .add-icon {
        width: 48px;
        height: 48px;
    }

    .features-grid,
    .assurance-grid {
        gap: 60px;
    }

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

    .about-section {
        padding-left: 64px;
        padding-right: 64px;
    }

    .mission-grid {
        gap: 80px;
    }
}

@media (max-width: 820px) {
    body::after {
        display: none;
    }

    .site-header {
        grid-template-columns: auto auto;
        height: 64px;
        padding: 0 18px;
    }

    .brand img {
        width: 82px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        justify-self: end;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 6px;
        background: transparent;
        color: #fff;
        font-size: 18px;
    }

    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px 18px 18px;
        background: rgba(0, 0, 0, 0.94);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        height: 48px;
    }

    .header-download {
        display: none;
    }

    .section {
        min-height: auto;
        padding: 92px 22px 64px;
    }

    .hero-section {
        display: block;
    }

    .hero-copy h1 {
        font-size: 44px;
        text-align: center;
    }

    .hero-copy p {
        margin-top: 24px;
        text-align: center;
    }

    .hero-copy {
        align-items: center;
        padding-bottom: 0;
    }

    .store-row {
        justify-content: center;
        width: 100%;
    }

    .hero-visual {
        max-width: none;
        min-height: 0;
        height: auto;
        margin-top: 28px;
    }

    .visual-stage {
        width: min(620px, 100%);
        margin: 0 auto;
        overflow: visible;
    }

    .hero-copy > .float-topup,
    .hero-copy > .float-coffee {
        display: none;
    }

    .mobile-visual-float {
        display: flex;
    }

    .float-pill {
        gap: 10px;
        padding: 5px 12px;
        border-radius: 10px;
        font-size: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
    }

    .pill-image,
    .add-icon {
        width: 34px;
        height: 34px;
    }

    .float-pill b {
        margin-top: 2px;
    }

    .float-shopping {
        left: 62%;
        top: 10%;
    }

    .float-jack {
        left: 56%;
        top: 37%;
    }

    .float-topup {
        left: 7%;
        right: auto;
        top: 58%;
    }

    .float-coffee {
        left: 10%;
        right: auto;
        top: 78%;
    }

    .phone-image {
        left: 50%;
        top: 49%;
        width: 42%;
    }

    .card-image {
        left: 51%;
        top: 57%;
        width: 44%;
    }

    .features-grid,
    .mission-grid,
    .assurance-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        row-gap: 54px;
        padding-top: 0;
    }

    .about-section {
        display: block;
        padding-bottom: 106px;
    }

    .mission-grid {
        gap: 44px;
    }

    .statement h2,
    .assurance > h2 {
        min-width: min(100%, 300px);
        font-size: 28px;
    }

    .statement p {
        font-size: 15px;
        line-height: 1.25;
    }

    .trust-badge {
        margin: 34px auto 42px;
        width: fit-content;
        max-width: 100%;
        text-align: center;
    }

    .assurance-grid {
        gap: 46px;
    }

    .site-footer {
        bottom: 26px;
    }
}

@media (max-width: 430px) {
    .hero-copy h1 {
        font-size: 38px;
    }

    .visual-stage {
        width: min(520px, 100%);
    }

    .float-pill {
        font-size: 11px;
        padding: 5px 10px;
    }

    .pill-image,
    .add-icon {
        width: 30px;
        height: 30px;
    }

    .float-shopping {
        left: 56%;
        top: 7%;
    }

    .float-jack {
        left: 52%;
        top: 33%;
    }

    .float-topup {
        left: 1%;
        top: 60%;
    }

    .float-coffee {
        left: 4%;
        top: 80%;
    }
}
