:root {
    --ink: #111116;
    --muted: #626774;
    --soft: #eef2f7;
    --paper: #fbfcff;
    --white: #ffffff;
    --line: rgba(24, 28, 37, 0.1);
    --glass: rgba(255, 255, 255, 0.68);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --shadow: 0 24px 70px rgba(23, 31, 48, 0.14);
    --shadow-strong: 0 34px 100px rgba(25, 30, 45, 0.22);
    --blue: #2877ff;
    --cyan: #26d0ce;
    --pink: #ff6f91;
    --green: #28c76f;
    --hero-shift: 0px;
    --preview-shift: 0px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(40, 119, 255, 0.12), rgba(38, 208, 206, 0.08) 36%, rgba(255, 111, 145, 0.1) 68%, rgba(251, 252, 255, 0.96)),
        var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
    text-rendering: geometricPrecision;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.56)),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #fff7fb 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(18px, 5vw, 70px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(250, 252, 255, 0.72);
    box-shadow: 0 12px 32px rgba(21, 31, 50, 0.06);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.brand img,
.footer-brand img {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(21, 31, 50, 0.14);
}

.brand span,
.footer-brand span {
    display: inline-flex;
    align-items: center;
}

.nav-links,
.footer-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}

.nav-links a,
.footer-links a {
    color: rgba(17, 17, 22, 0.68);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--ink);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 70px) clamp(48px, 7vw, 86px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(112deg, rgba(40, 119, 255, 0.2), transparent 34%),
        linear-gradient(245deg, rgba(255, 111, 145, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2));
    transform: translate3d(0, calc(var(--hero-shift) * -0.45), 0);
    will-change: transform;
}

.hero-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(17, 17, 22, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 22, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 82%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 82%);
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 540px);
    align-items: center;
    gap: clamp(34px, 6vw, 96px);
    max-width: 1220px;
    min-height: calc(92vh - 130px);
    margin: 0 auto;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 16px;
    color: rgba(40, 119, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(52px, 8.6vw, 104px);
    font-weight: 860;
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.32;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    border-radius: 13px;
    transition: transform 180ms ease, filter 180ms ease;
}

.store-badge img {
    display: block;
    width: 178px;
    height: auto;
}

.store-badge:hover {
    filter: drop-shadow(0 16px 22px rgba(40, 119, 255, 0.22));
    transform: translateY(-2px) scale(1.01);
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(17, 17, 22, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: rgba(17, 17, 22, 0.72);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.secondary-link:hover {
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    transform: translateY(-2px);
}

.hero-visual {
    display: grid;
    place-items: center;
    transform: translate3d(0, calc(var(--hero-shift) * 0.18), 0);
    will-change: transform;
}

.hero-visual.reveal {
    transition: opacity 700ms ease;
}

.phone-stack {
    position: relative;
    width: min(78vw, 490px);
    min-height: min(126vw, 620px);
}

.phone {
    display: block;
    width: min(72vw, 320px);
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 42px;
    background: #ffffff;
    box-shadow: var(--shadow-strong);
}

.phone-front {
    position: absolute;
    right: 4%;
    top: 2%;
    z-index: 2;
}

.phone-back {
    position: absolute;
    left: 2%;
    top: 10%;
    z-index: 1;
    opacity: 0.82;
    transform: rotate(-8deg) scale(0.88);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1120px;
    margin: -36px auto 0;
    padding: 0 clamp(18px, 5vw, 28px);
}

.trust-strip div {
    min-height: 118px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 48px rgba(23, 31, 48, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.trust-strip div:first-child {
    border-radius: 24px 0 0 24px;
}

.trust-strip div:last-child {
    border-radius: 0 24px 24px 0;
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.08;
}

.trust-strip span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.section {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 70px);
}

.section-intro {
    max-width: 800px;
    margin-bottom: clamp(30px, 5vw, 54px);
}

.section-intro h2,
.preview-copy h2,
.cta-content h2 {
    margin: 0;
    font-size: clamp(36px, 5.4vw, 72px);
    font-weight: 820;
    line-height: 1;
    letter-spacing: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.66);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.54)),
        var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.feature-card {
    min-height: 260px;
    padding: 24px;
    border-radius: 28px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
    border-color: rgba(40, 119, 255, 0.26);
    box-shadow: 0 30px 80px rgba(23, 31, 48, 0.16);
    transform: translateY(-6px);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 34px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 34px rgba(40, 119, 255, 0.24);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--cyan), var(--green));
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--pink), #ffb86c);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #171a22, #586171);
}

.feature-card h3,
.step h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: 0;
}

.feature-card p,
.step p,
.preview-copy p,
.cta-content p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.steps-section {
    max-width: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.82)),
        linear-gradient(100deg, rgba(40, 119, 255, 0.08), rgba(255, 111, 145, 0.08));
}

.steps-section .section-intro,
.steps {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.step {
    position: relative;
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 58px rgba(23, 31, 48, 0.08);
}

.step span {
    display: inline-flex;
    margin-bottom: 56px;
    color: rgba(40, 119, 255, 0.94);
    font-size: 13px;
    font-weight: 900;
}

.preview-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 88px);
}

.preview-copy {
    max-width: 560px;
}

.preview-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(122vw, 680px);
}

.preview-visual.reveal {
    transition: opacity 700ms ease;
}

.preview-phone {
    position: absolute;
    width: min(54vw, 290px);
    transform: translate3d(0, calc(var(--preview-shift) * var(--depth, 0.1)), 0);
    transition: transform 120ms linear;
    will-change: transform;
}

.preview-main {
    z-index: 3;
    width: min(62vw, 340px);
}

.preview-left {
    z-index: 2;
    left: 0;
    top: 16%;
    opacity: 0.78;
    transform: translate3d(0, calc(var(--preview-shift) * var(--depth, 0.1)), 0) rotate(-9deg) scale(0.86);
}

.preview-right {
    z-index: 1;
    right: 0;
    top: 20%;
    opacity: 0.78;
    transform: translate3d(0, calc(var(--preview-shift) * var(--depth, 0.1)), 0) rotate(9deg) scale(0.86);
}

.cta-section {
    padding: clamp(76px, 9vw, 120px) clamp(18px, 5vw, 70px);
}

.cta-content {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(34px, 7vw, 76px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(17, 17, 22, 0.92), rgba(39, 47, 65, 0.88)),
        #171a22;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 36px 100px rgba(23, 31, 48, 0.24);
}

.cta-content .eyebrow {
    color: rgba(38, 208, 206, 0.96);
}

.cta-content p {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 19px;
}

.cta-content .store-badge {
    margin-top: 28px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(18px, 5vw, 70px);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.48);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    font-size: 18px;
}

.footer-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.site-footer span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .hero-visual.reveal {
    transform: translate3d(0, calc(var(--hero-shift) * 0.18), 0);
}

.js .preview-visual.reveal {
    transform: none;
}

@media (max-width: 1060px) {
    .hero-shell,
    .preview-section {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: auto;
    }

    .hero-copy {
        text-align: center;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: 590px;
    }

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

    .preview-copy {
        max-width: 780px;
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .site-header {
        position: relative;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links,
    .footer-links {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .hero {
        min-height: auto;
        padding-top: 44px;
    }

    h1 {
        font-size: clamp(46px, 15vw, 68px);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-actions,
    .store-badge,
    .secondary-link {
        width: 100%;
    }

    .store-badge,
    .secondary-link {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
    }

    .phone-stack {
        width: min(94vw, 390px);
        min-height: 500px;
    }

    .phone {
        width: min(70vw, 270px);
        border-radius: 34px;
    }

    .trust-strip,
    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: -20px;
    }

    .trust-strip div,
    .trust-strip div:first-child,
    .trust-strip div:last-child {
        border-radius: 22px;
    }

    .section {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .feature-card,
    .step {
        min-height: auto;
    }

    .step span {
        margin-bottom: 34px;
    }

    .preview-visual {
        min-height: 540px;
        overflow: hidden;
    }

    .preview-main {
        width: min(74vw, 300px);
    }

    .preview-left,
    .preview-right {
        width: min(58vw, 230px);
        opacity: 0.66;
    }

    .preview-left {
        left: -18%;
    }

    .preview-right {
        right: -18%;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .hero-bg,
    .hero-visual,
    .preview-phone,
    .reveal {
        transform: none !important;
    }

    .js .reveal {
        opacity: 1;
    }
}
