:root {
    --bg: #f7f8fc;
    --surface: #fff;
    --ink: #151526;
    --muted: #68687a;
    --primary: #6c45d8;
    --primary-2: #9b6cff;
    --accent: #ff8a4c;
    --line: #e8e7ef;
    --dark: #171522;
    --shadow: 0 24px 70px rgba(31, 25, 61, .12);
    --radius: 28px;
    --max: 1180px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55
}

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

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.03em
}

.brand-mark {
    padding: 5px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 24px rgba(108, 69, 216, .22)
}

.brand-mark:before, .brand-mark:after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 99px
}

.brand-mark:before {
    width: 18px;
    height: 5px;
    left: 10px;
    top: 17px;
    transform: rotate(45deg)
}

.brand-mark:after {
    width: 18px;
    height: 5px;
    left: 10px;
    top: 17px;
    transform: rotate(-45deg)
}

.nav-links {
    display: flex;
    gap: 30px;
    color: #5e5d6e;
    font-size: 14px;
    font-weight: 600
}

.nav-cta {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 14px
}

.hero {
    padding: 72px 0 105px;
    position: relative;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    right: -300px;
    top: -230px;
    background: radial-gradient(circle, rgba(155, 108, 255, .18), transparent 65%);
    pointer-events: none
}

.hero-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 70px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #ddd8ee;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent)
}

h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.065em;
    margin: 20px 0
}

.gradient {
    background: linear-gradient(110deg, #ff8a4c, #8a5ce0 60%, #4b2e83);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-copy {
    font-size: 19px;
    color: var(--muted);
    max-width: 580px
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 21px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid var(--line);
    transition: .25s ease
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 12px 28px rgba(21, 21, 38, .18)
}

.btn-secondary {
    background: #fff
}

.hero-note {
    font-size: 12px;
    color: #858494;
    margin-top: 15px
}

.mockup {
    position: relative
}

.phone {
    width: min(350px, 72vw);
    margin: auto;
    background: #15131d;
    border-radius: 38px;
    padding: 10px;
    box-shadow: var(--shadow);
    transform: rotate(2deg)
}

.screen {
    aspect-ratio: 9/17;
    background: linear-gradient(160deg, #f9f7ff, #eee8ff);
    border-radius: 30px;
    overflow: hidden;
    padding: 18px;
    position: relative
}

.screen-top {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #777
}

.mini-card {
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: 0 10px 25px rgba(80, 50, 130, .08)
}

.map {
    height: 170px;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 35%, #ffb46e 0 7px, transparent 8px),
    radial-gradient(circle at 70% 62%, #7651c9 0 6px, transparent 7px),
    linear-gradient(135deg, #e8f0e4, #dce9ee 50%, #eee4f5);
    position: relative;
    overflow: hidden
}

.route {
    position: absolute;
    left: 20%;
    top: 52%;
    width: 60%;
    height: 2px;
    background: #6c45d8;
    transform: rotate(-15deg);
    box-shadow: 0 0 0 4px rgba(108, 69, 216, .08)
}

.stats {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
    margin-top: 10px
}

.stat {
    background: #fff;
    border-radius: 14px;
    padding: 12px
}

.stat b {
    display: block;
    font-size: 19px
}

.stat span {
    font-size: 10px;
    color: #858494
}

.section {
    padding: 100px 0
}

.section-head {
    max-width: 690px;
    margin-bottom: 45px
}

.section-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    color: var(--primary)
}

h2 {
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin: 10px 0 14px
}

.section-head p {
    color: var(--muted);
    font-size: 17px
}

.features {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 230px;
    transition: .3s ease
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(40, 32, 72, .08)
}

.icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f0ebff;
    color: var(--primary);
    font-size: 21px;
    margin-bottom: 26px
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 19px;
    letter-spacing: -.025em
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.split {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 70px;
    align-items: center
}

.visual {
    min-height: 430px;
    border-radius: 34px;
    background: linear-gradient(145deg, #1b1926, #31254e);
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.visual:before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: #ff945a;
    filter: blur(70px);
    opacity: .28;
    right: -80px;
    top: -70px
}

.dashboard {
    background: #fff;
    border-radius: 23px;
    padding: 20px;
    position: absolute;
    inset: 52px 35px 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18)
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.dash-head b {
    font-size: 18px
}

.bars {
    display: flex;
    align-items: end;
    height: 145px;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 0 10px
}

.bar {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(#9b6cff, #6c45d8)
}

.bar:nth-child(1) {
    height: 40%
}

.bar:nth-child(2) {
    height: 62%
}

.bar:nth-child(3) {
    height: 48%
}

.bar:nth-child(4) {
    height: 78%
}

.bar:nth-child(5) {
    height: 92%
}

.bar:nth-child(6) {
    height: 70%
}

.dash-tags {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap
}

.tag {
    padding: 7px 10px;
    border-radius: 99px;
    background: #f3f0fb;
    font-size: 11px;
    color: #625b75
}

.bullets {
    display: grid;
    gap: 18px;
    margin-top: 28px
}

.bullet {
    display: flex;
    gap: 13px;
    align-items: flex-start
}

.bullet-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ece5ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    flex: none
}

.bullet b {
    display: block;
    margin-bottom: 2px
}

.bullet span {
    color: var(--muted);
    font-size: 14px
}

.pricing {
    background: #171522;
    color: #fff;
    border-radius: 38px;
    padding: 55px
}

.pricing-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 30px
}

.pricing-head p {
    color: #aaa6b7;
    max-width: 430px
}

.plans {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 16px
}

.plan {
    background: #23212f;
    border: 1px solid #373442;
    border-radius: 27px;
    padding: 28px
}

.plan.pro {
    background: linear-gradient(145deg, #31204f, #201d2b);
    border-color: #7752b9
}

.plan-name {
    font-weight: 800
}

.price {
    font-size: 48px;
    font-weight: 850;
    letter-spacing: -.05em;
    margin: 16px 0 4px
}

.price small {
    font-size: 14px;
    color: #aaa6b7;
    font-weight: 500;
    letter-spacing: .02em;
}

.plan p {
    color: #aaa6b7;
    font-size: 14px
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 11px;
    color: #e2dfe8;
    font-size: 14px
}

.plan li:before {
    content: "✓";
    color: #ff9a62;
    font-weight: 900;
    margin-right: 9px
}

.plan .btn {
    width: 100%;
    background: #fff;
    color: var(--ink);
    border: 0
}

.plan.pro .btn {
    background: linear-gradient(90deg, #ff9258, #9a6aff);
    color: #fff
}

.cta {
    padding: 105px 0;
    text-align: center
}

.cta-box {
    background: linear-gradient(135deg, #f1eaff, #fff2e9);
    border: 1px solid #e4dff0;
    border-radius: 38px;
    padding: 70px 30px
}

.cta p {
    color: var(--muted);
    max-width: 550px;
    margin: 0 auto 25px
}

footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    color: #777586;
    font-size: 13px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}


/* --- Realistic mobile app preview --- */
.app-screen {
    padding: 13px 12px 10px;
    background: #f7f7fb;
    color: #191827;
}

.app-status {
    display: flex;
    justify-content: space-between;
    padding: 1px 7px 0;
    color: #777587;
    font-size: 8px;
    font-weight: 800;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px 8px;
}

.app-header small {
    display: block;
    color: #8b8899;
    font-size: 8px;
    margin-bottom: 1px;
}

.app-header h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -.04em;
}

.app-icon-button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #555166;
    box-shadow: 0 4px 14px rgba(45, 34, 76, .08);
    font-size: 17px;
}

.country-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 9px;
    padding: 12px 13px;
    border-radius: 15px;
    background: linear-gradient(135deg, #eee8ff, #fff2e8);
    border: 1px solid #e6def6;
}

.country-summary strong {
    display: block;
    font-size: 23px;
    line-height: 1;
}

.country-summary span,
.country-summary small {
    display: block;
    color: #777487;
    font-size: 8px;
}

.country-summary-progress {
    text-align: right;
}

.country-summary-progress span {
    color: var(--primary);
    font-weight: 800;
    font-size: 11px;
}

.country-list-window {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 2px 1px 0;
    mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent);
}

.country-list-track {
    display: grid;
    gap: 7px;
    will-change: transform;
}

.country-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border: 1px solid #eceaf1;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 12px rgba(45, 34, 76, .045);
}

.country-item img {
    width: 38px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.country-item strong {
    display: block;
    font-size: 11px;
    letter-spacing: -.015em;
}

.country-item span {
    display: block;
    margin-top: 1px;
    color: #888595;
    font-size: 8px;
}

.country-item > b {
    color: #aaa6b3;
    font-size: 15px;
    font-weight: 500;
}

.app-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 5px;
    padding: 7px 3px 2px;
    border-top: 1px solid #e9e7ee;
    background: rgba(247, 247, 251, .94);
}

.app-bottom-nav span {
    display: grid;
    justify-items: center;
    gap: 1px;
    color: #9a96a7;
    font-size: 6.5px;
    font-weight: 700;
}

.app-bottom-nav i {
    font-style: normal;
    font-size: 13px;
    line-height: 1;
}

.app-bottom-nav .active {
    color: var(--primary);
}

/* --- PWA installation section --- */
.install-section {
    padding-top: 90px;
}

.install-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.install-copy {
    max-width: 600px;
    color: var(--muted);
    font-size: 17px;
}

.install-tabs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 26px 0 18px;
}

.install-tab {
    border: 1px solid var(--line);
    background: #fff;
    color: #6c6879;
    padding: 9px 13px;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.install-tab.active {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.install-panel {
    display: none;
    gap: 11px;
}

.install-panel.active {
    display: grid;
}

.install-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
    padding: 13px 15px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 17px;
}

.install-step > b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eee8ff;
    color: var(--primary);
    font-size: 12px;
}

.install-step strong,
.install-step span {
    display: block;
}

.install-step strong {
    margin: 2px 0 2px;
    font-size: 13px;
}

.install-step span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.install-visual {
    min-height: 500px;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #171522, #30254d);
    box-shadow: var(--shadow);
}

.install-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #ff935d;
    filter: blur(80px);
    opacity: .25;
    right: -60px;
    top: -60px;
}

.install-phone {
    position: relative;
    width: 230px;
    padding: 8px;
    border-radius: 32px;
    background: #0e0d14;
    box-shadow: 0 25px 70px rgba(0,0,0,.38);
    transform: rotate(3deg);
}

.install-phone-screen {
    min-height: 455px;
    border-radius: 26px;
    padding: 54px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(155deg, #faf8ff, #f0e9ff);
}

.install-app-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    padding: 5px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(74, 48, 127, .16);
}

.install-app-icon img,
.install-home-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.install-phone-screen > strong {
    font-size: 21px;
    letter-spacing: -.04em;
}

.install-phone-screen > span {
    margin-top: 5px;
    color: #777386;
    font-size: 10px;
    line-height: 1.45;
}

.install-home-card {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 10px;
    text-align: left;
    border: 1px solid #e5def2;
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 25px rgba(74, 48, 127, .1);
}

.install-home-icon {
    width: 34px;
    height: 34px;
    padding: 3px;
    border-radius: 9px;
    background: #f2edff;
}

.install-home-card b,
.install-home-card small {
    display: block;
}

.install-home-card b {
    font-size: 10px;
}

.install-home-card small {
    margin-top: 1px;
    color: #888493;
    font-size: 7px;
}

.install-home-card > span {
    color: var(--primary);
    font-size: 20px;
    font-weight: 300;
}

@media (max-width: 900px) {
    .install-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .install-visual {
        min-height: 430px;
    }
}

@media (max-width: 620px) {
    .install-section {
        padding-top: 70px;
    }

    .install-copy {
        font-size: 16px;
    }

    .install-visual {
        min-height: 390px;
        border-radius: 28px;
    }

    .install-phone {
        width: 205px;
    }

    .install-phone-screen {
        min-height: 400px;
    }

    .install-tab {
        font-size: 11px;
        padding: 8px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .country-list-track {
        transform: none !important;
    }

    .install-tab {
        transition: none;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none
    }

    .hero-grid, .split {
        grid-template-columns:1fr;
        gap: 45px
    }

    .hero {
        padding-top: 45px
    }

    .phone {
        transform: none
    }

    .features {
        grid-template-columns:1fr 1fr
    }

    .pricing {
        padding: 35px
    }

    .pricing-head {
        display: block
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--max))
    }

    .nav {
        height: 68px
    }

    .nav-cta {
        padding: 9px 14px
    }

    .hero {
        padding: 35px 0 70px
    }

    .hero-copy {
        font-size: 16px
    }

    .features, .plans {
        grid-template-columns:1fr
    }

    .section {
        padding: 70px 0
    }

    .visual {
        min-height: 350px
    }

    .dashboard {
        inset: 38px 20px 20px
    }

    .pricing {
        border-radius: 28px;
        padding: 25px
    }

    .pricing-head {
        margin-bottom: 20px
    }

    .cta {
        padding: 70px 0
    }

    .cta-box {
        padding: 48px 20px;
        border-radius: 28px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none
    }

    .btn, .feature {
        transition: none
    }
}
