:root {
    --bg: #ffffff;
    --text: #0b0d12;
    --muted: rgba(11, 13, 18, 0.62);
    --muted2: rgba(11, 13, 18, 0.48);
    --border: rgba(11, 13, 18, 0.12);
    --shadow: 0 18px 45px rgba(13, 14, 18, 0.12);
    --shadow2: 0 12px 28px rgba(13, 14, 18, 0.12);
    --radius-xl: 26px;
    --radius-lg: 18px;
    --radius-md: 14px;

    --darkA: #0f1218;
    /* not fully black */
    --darkB: #141a28;
    --darkC: rgba(255, 255, 255, 0.06);
    --darkBorder: rgba(255, 255, 255, 0.1);

    --accent: #ffb703;
    --accent2: #3a86ff;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji";
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11, 13, 18, 0.06);
    z-index: 50;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    min-width: 220px;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(11, 13, 18, 0.08);
    background: #fff;
    display: block;
}

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

.brand-sub {
    font-size: 12px;
    color: rgba(11, 13, 18, 0.55);
    font-weight: 500;
    /* lighter */
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(11, 13, 18, 0.62);
    font-weight: 650;
}

.nav-links a {
    padding: 8px 10px;
    border-radius: 12px;
}

.nav-links a:hover {
    background: rgba(11, 13, 18, 0.05);
    color: var(--text);
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 26px rgba(19, 7, 38, 0.08);
    font-weight: 800;
    font-size: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(19, 7, 38, 0.12);
}

.btn:active {
    transform: translateY(0px);
}

.btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    box-shadow: 0 16px 38px rgba(131, 56, 236, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff2b84, #6f2fe8);
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
    /* full screen BEFORE scrolling (account for sticky nav) */
    min-height: calc(100svh - 64px);
    display: grid;
    align-items: center;
    padding: 12px 0 18px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(11, 13, 18, 0.1);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(11, 13, 18, 0.7);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 12px 26px rgba(19, 7, 38, 0.06);
}

h1 {
    margin: 16px 0 10px;
    font-size: clamp(34px, 4.1vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.marker {
    position: relative;
    display: inline-block;
    padding: 0 2px;
    z-index: 0;
}

.marker::before {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 0.08em;
    height: 0.55em;
    background: rgba(255, 183, 3, 0.6);
    border-radius: 999px;
    transform: rotate(-2deg);
    z-index: -1;
}

.marker::after {
    content: "☞";
    position: absolute;
    right: -0.9em;
    top: -0.2em;
    font-size: 0.7em;
    transform: rotate(8deg);
    opacity: 0.9;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    max-width: 52ch;
}

.store-row {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-btn {
    flex: 0 0 auto;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(19, 7, 38, 0.12);
}

.store-btn small {
    display: block;
    font-weight: 750;
    color: rgba(11, 13, 18, 0.55);
    margin-top: 2px;
}

.store-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(11, 13, 18, 0.04);
    border: 1px solid rgba(11, 13, 18, 0.08);
    overflow: hidden;
}

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

.hero-shot {
    display: grid;
    place-items: center;
}

.app-shot {
    width: min(400px, 45vw);
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 45px rgba(13, 14, 18, 0.18));
}

.spark {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 110, 0.35), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(58, 134, 255, 0.35), transparent 55%),
        radial-gradient(circle at 40% 80%, rgba(255, 183, 3, 0.4), transparent 55%);
    filter: blur(2px);
    transform: rotate(18deg);
}

/* 16:9 "phone/screenshot" container regardless of screen size */
.phone-frame {
    height: min(540px, 46vw);
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    border: 1px solid rgba(11, 13, 18, 0.12);
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.04), rgba(11, 13, 18, 0.02));
    box-shadow: var(--shadow);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(11, 13, 18, 0.1);
    overflow: hidden;
    display: grid;
    place-items: center;
    color: rgba(11, 13, 18, 0.5);
    font-weight: 800;
}

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

/* ---------- STATS STRIP ---------- */
.stats {
    padding: 34px 0;
    background: linear-gradient(135deg, var(--darkA), var(--darkB));
    color: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

.stat {
    border-radius: 20px;
    padding: 18px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: "";
    position: absolute;
    inset: -40px -60px auto auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 183, 3, 0.22), transparent 60%),
        radial-gradient(circle at 70% 65%, rgba(58, 134, 255, 0.18), transparent 60%);
    filter: blur(2px);
    transform: rotate(18deg);
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 650;
    font-size: 13px;
    position: relative;
}

.stat-value {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 1000;
    letter-spacing: -0.03em;
    position: relative;
}

/* ---------- SECTION ---------- */
.section {
    padding: 54px 0;
}

.section-head {
    text-align: center;
    /* centered */
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 10px auto 0;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.55;
}

/* ---------- Testimonials: 3 visible, side fade ---------- */
.testimonial-wrap {
    position: relative;
    margin-top: 18px;
}

.t-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((min(1120px, calc(100% - 48px)) - 28px) / 3);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 12px;
    scrollbar-width: none;
    scroll-padding-inline: 10px;
}

.t-scroller::-webkit-scrollbar {
    display: none;
}

.t-card {
    scroll-snap-align: center;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(11, 13, 18, 0.1);
    box-shadow: var(--shadow2);
    padding: 16px 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.t-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.35), rgba(255, 0, 110, 0.3));
    border: 1px solid rgba(11, 13, 18, 0.1);
    display: grid;
    place-items: center;
    font-weight: 1000;
}

.t-name {
    font-weight: 950;
    line-height: 1.1;
}

.t-source {
    font-size: 12px;
    color: var(--muted);
    font-weight: 650;
    margin-top: 2px;
}

.t-body {
    color: rgba(11, 13, 18, 0.78);
    line-height: 1.6;
    font-weight: 650;
    margin: 0 0 12px;
}

.stars {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: rgba(11, 13, 18, 0.75);
    font-weight: 900;
}

.stars svg {
    width: 16px;
    height: 16px;
}

.t-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.arrow-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(11, 13, 18, 0.12);
    box-shadow: var(--shadow2);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.arrow-btn:hover {
    transform: translateY(-1px);
}

/* side fade overlay */
.fade-sides {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.fade-sides::before,
.fade-sides::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 3;
}

.fade-sides::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.fade-sides::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(11, 13, 18, 0.28);
}

.dot.active {
    width: 12px;
    height: 12px;
    background: rgba(11, 13, 18, 0.75);
}

/* ---------- CTA ---------- */
.cta {
    padding: 54px 0;
}

.cta-box {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 13, 18, 0.1);
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.02), rgba(11, 13, 18, 0.01));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cta-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
}

.cta-left {
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-left h3 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.cta-left p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.55;
}

.cta-right {
    padding: 18px;
    display: grid;
    place-items: center;
    background: #fff;
    border-left: 1px solid rgba(11, 13, 18, 0.08);
}

.shot-wide {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    border: 1px solid rgba(11, 13, 18, 0.12);
    overflow: hidden;
    box-shadow: var(--shadow2);
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.12), rgba(255, 0, 110, 0.1));
    display: grid;
    place-items: center;
    color: rgba(11, 13, 18, 0.5);
    font-weight: 900;
}

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

/* ---------- FOOTER ---------- */
footer {
    padding: 42px 0 28px;
    border-top: 1px solid rgba(11, 13, 18, 0.08);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 22px;
}

.footer-title {
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.footer-sub {
    color: rgba(11, 13, 18, 0.6);
    font-weight: 500;
    /* thinner */
    line-height: 1.55;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(11, 13, 18, 0.58);
    font-weight: 550;
    /* lighter */
}

.footer-links a {
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(11, 13, 18, 0.08);
    background: rgba(11, 13, 18, 0.02);
}

.footer-links a:hover {
    background: rgba(11, 13, 18, 0.05);
}

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

.social a {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11, 13, 18, 0.1);
    background: rgba(11, 13, 18, 0.02);
    transition: transform 0.18s ease, background 0.18s ease;
}

.social a:hover {
    transform: translateY(-1px);
    background: rgba(11, 13, 18, 0.06);
}

.newsletter {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.input {
    flex: 1 1 220px;
    min-width: 200px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(11, 13, 18, 0.12);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 650;
    outline: none;
}

.input:focus {
    border-color: rgba(58, 134, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.12);
}

.support {
    margin-top: 12px;
    color: rgba(11, 13, 18, 0.5);
    /* lighter */
    font-weight: 500;
    /* lighter */
    line-height: 1.55;
}

.support a {
    color: rgba(11, 13, 18, 0.55);
    text-decoration: underline;
    font-weight: 550;
}

.copyright {
    margin-top: 18px;
    color: rgba(11, 13, 18, 0.5);
    font-weight: 520;
    font-size: 13px;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 4px 12px rgba(19, 7, 38, 0.07);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(11, 13, 18, 0.06);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 10px 24px 16px;
    gap: 4px;
}

.mobile-link {
    display: block;
    padding: 12px 12px;
    font-weight: 700;
    color: rgba(11, 13, 18, 0.75);
    border-radius: 12px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-link:hover {
    background: rgba(11, 13, 18, 0.05);
    color: var(--text);
}

.mobile-cta {
    margin-top: 8px;
    width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .container {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: auto;
        padding: 22px 0 32px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    /* Show the app screenshot ABOVE the text on mobile */
    .hero-shot {
        order: -1;
    }

    .app-shot {
        width: min(280px, 65vw);
    }

    .kicker {
        display: inline-flex;
    }

    .store-row {
        justify-content: center;
    }

    .subtitle {
        margin-inline: auto;
    }

    .phone-frame {
        width: min(680px, 100%);
    }

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

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

    .cta-right {
        border-left: 0;
        border-top: 1px solid rgba(11, 13, 18, 0.08);
    }

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

    /* 1 card at a time on mobile */
    .t-scroller {
        grid-auto-columns: min(84vw, 380px);
    }

    .fade-sides::before,
    .fade-sides::after {
        width: 46px;
    }
}

@media (max-width: 520px) {
    .t-arrows {
        display: none;
    }

    .input {
        min-width: unset;
        width: 100%;
        flex: none;
        height: 44px;
    }

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

    .store-row {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-left {
        text-align: center;
        align-items: center;
    }

    .newsletter {
        flex-direction: column;
        align-items: stretch;
    }

    .input {
        min-width: unset;
        width: 100%;
    }
}