/* =========================================================
   MEESCANNER
   GLOBAL STYLES
========================================================= */

:root {

    --blue: #A6DFF1;
    --white: #FFFFFF;
    --gray: #363636;
    --dark: #222222;
    --dark-two: #292929;
    --black: #000000;

    --soft-white: rgba(255, 255, 255, 0.72);
    --border: rgba(255, 255, 255, 0.10);
    --glass: rgba(255, 255, 255, 0.055);

    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;
    --font-modern: "Manrope", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background:
            radial-gradient(
                    circle at 20% 20%,
                    rgba(166, 223, 241, 0.07),
                    transparent 30%
            ),
            var(--black);

    color: var(--white);

    font-family: var(--font-body);

    overflow-x: hidden;
}

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

button {
    font: inherit;
}


/* =========================================================
   NOISE
========================================================= */

.noise {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 999;

    opacity: 0.035;

    background-image:
            url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {

    position: fixed;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    pointer-events: none;

    background:
            radial-gradient(
                    circle,
                    rgba(166, 223, 241, 0.13),
                    transparent 65%
            );

    transform:
            translate(-50%, -50%);

    z-index: 2;

    mix-blend-mode: screen;
}


/* =========================================================
   AMBIENT BACKGROUND
========================================================= */

.ambient {

    position: fixed;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    opacity: 0.25;

    z-index: -1;
}

.ambient-one {

    width: 450px;
    height: 450px;

    background: var(--blue);

    top: -200px;
    left: -200px;

    animation:
            ambientMove 14s ease-in-out infinite;
}

.ambient-two {

    width: 400px;
    height: 400px;

    background: var(--dark);

    right: -180px;
    top: 40%;

    animation:
            ambientMoveTwo 18s ease-in-out infinite;
}

.ambient-three {

    width: 300px;
    height: 300px;

    background: var(--blue);

    bottom: -150px;
    left: 40%;

    animation:
            ambientMoveThree 16s ease-in-out infinite;
}

@keyframes ambientMove {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(180px, 120px);
    }
}

@keyframes ambientMoveTwo {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-150px, -100px);
    }
}

@keyframes ambientMoveThree {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(100px, -100px);
    }
}


/* =========================================================
   TOP SCROLL PROGRESS
========================================================= */

.scroll-progress {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: rgba(255, 255, 255, 0.04);

    z-index: 1000;
}

.scroll-progress-bar {

    width: 0%;
    height: 100%;

    background:
            linear-gradient(
                    90deg,
                    var(--blue),
                    white,
                    var(--blue)
            );

    box-shadow:
            0 0 18px rgba(166, 223, 241, 0.8);

    transition: width 0.05s linear;
}


/* =========================================================
   RIGHT SECTION INDICATOR
========================================================= */

.section-indicator {

    position: fixed;

    right: 28px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 12px;

    z-index: 100;
}

.indicator {

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);

    cursor: pointer;

    transition:
            width 0.35s ease,
            height 0.35s ease,
            background 0.35s ease,
            box-shadow 0.35s ease,
            transform 0.35s ease;
}

.indicator:hover {

    background: rgba(255, 255, 255, 0.55);

    transform: scale(1.2);
}

.indicator.active {

    height: 28px;

    border-radius: 20px;

    background: var(--blue);

    box-shadow:
            0 0 18px rgba(166, 223, 241, 0.7);
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {

    min-height: 100svh;
    height: 100svh;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 70px 8vw;

    isolation: isolate;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {

    font-family: var(--font-modern);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.25em;

    color: var(--blue);

    margin-bottom: 24px;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
}

h2 {

    font-size:
            clamp(50px, 7vw, 110px);

    line-height: 0.94;

    letter-spacing: -0.055em;
}

h2 span {
    color: var(--blue);
}

h2 em {

    font-family: Georgia, serif;

    font-weight: 400;

    color: var(--blue);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform:
            translateY(60px)
            scale(0.97);

    transition:
            opacity 1s cubic-bezier(.2, .7, .2, 1),
            transform 1s cubic-bezier(.2, .7, .2, 1);
}

.reveal.visible {

    opacity: 1;

    transform:
            translateY(0)
            scale(1);
}


/* =========================================================
   SHARED LOGO
========================================================= */

.meescanner-logo {

    width: 200px;
    height: 200px;

    object-fit: contain;

    display: block;

    border-radius: 12px;

    filter:
            drop-shadow(0 0 6px rgba(166, 223, 241, 0.18))
            drop-shadow(0 0 12px rgba(166, 223, 241, 0.06));
}

.brand-mark {

    display: flex;

    justify-content: center;

    margin-bottom: 20px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    justify-content: center;

    text-align: center;
}

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.05) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.05) 1px,
                    transparent 1px
            );

    background-size: 70px 70px;

    mask-image:
            radial-gradient(
                    circle at center,
                    black,
                    transparent 70%
            );
}

.hero-content {

    position: relative;

    z-index: 10;

    max-width: 850px;
}

.hero-section h1 {

    font-size:
            clamp(70px, 13vw, 190px);

    line-height: 0.82;

    letter-spacing: -0.08em;

    font-weight: 800;

    margin-bottom: 25px;
}

.hero-section h1 span {

    color: var(--blue);

    font-weight: 500;
}

.hero-line {

    width: 70px;
    height: 2px;

    background: var(--blue);

    margin: 30px auto;
}

.hero-subtitle {

    font-family: var(--font-display);

    font-size:
            clamp(22px, 3vw, 38px);

    font-weight: 600;

    letter-spacing: -0.03em;
}

.hero-subtitle span {
    color: var(--blue);
}

.hero-description {

    max-width: 480px;

    margin: 20px auto 30px;

    color: var(--soft-white);

    font-size: 16px;

    line-height: 1.7;
}

.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 15px 20px 15px 24px;

    background: var(--blue);

    color: var(--black);

    border-radius: 100px;

    font-weight: 800;

    font-size: 14px;

    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.hero-button:hover {

    transform: translateY(-5px);

    box-shadow:
            0 15px 45px
            rgba(166, 223, 241, 0.25);
}

.button-arrow {

    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.12);
}


/* =========================================================
   STORE BUTTONS
========================================================= */

.store-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}

.hero-content .store-buttons {

    margin-top: 28px;

    gap: 12px;
}

.store-button {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 185px;

    padding: 12px 18px;

    border-radius: 14px;

    background:
            rgba(255, 255, 255, 0.06);

    border:
            1px solid rgba(255, 255, 255, 0.12);

    text-align: left;

    transition:
            transform 0.3s ease,
            background 0.3s ease,
            border-color 0.3s ease;
}

.store-button:hover {

    transform: translateY(-6px);

    background:
            rgba(166, 223, 241, 0.1);

    border-color:
            rgba(166, 223, 241, 0.3);
}

.store-icon {

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.store-icon img {

    width: 40px;
    height: 40px;

    object-fit: contain;

    display: block;
}

.store-button small {

    display: block;

    font-size: 7px;

    letter-spacing: 0.1em;

    color:
            rgba(255, 255, 255, 0.4);
}

.store-button strong {

    display: block;

    font-size: 16px;

    margin-top: 2px;
}

.hero-content .store-button {

    min-width: 165px;

    padding: 9px 14px;
}

.hero-content .store-icon {

    width: 34px;
    height: 34px;

    flex-basis: 34px;
}

.hero-content .store-icon img {

    width: 25px;
    height: 25px;
}

.hero-content .store-button small {
    font-size: 6px;
}

.hero-content .store-button strong {
    font-size: 14px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: absolute;

    width: 600px;
    height: 600px;

    right: -180px;
    bottom: -230px;

    pointer-events: none;

    opacity: 0.85;

    transform: rotate(-12deg);
}

.hero-phone {

    position: absolute;

    width: 250px;

    left: 170px;
    top: 50px;

    background: transparent;

    filter:
            drop-shadow(
                    0 20px 45px
                    rgba(0, 0, 0, 0.55)
            )
            drop-shadow(
                    0 0 35px
                    rgba(166, 223, 241, 0.16)
            );

    animation:
            heroPhoneFloat 6s ease-in-out infinite;
}

.scanner-screen-image {

    width: 100%;
    height: auto;

    display: block;

    border-radius: 31px;
}

@keyframes heroPhoneFloat {

    0%, 100% {
        transform:
                translateY(0)
                rotate(-4deg);
    }

    50% {
        transform:
                translateY(-10px)
                rotate(-4deg);
    }
}


/* =========================================================
   HERO ORBITS
========================================================= */

.orbit {

    position: absolute;

    border:
            1px solid rgba(166, 223, 241, 0.12);

    border-radius: 50%;

    animation:
            orbitRotate 20s linear infinite;
}

.orbit-one {

    width: 500px;
    height: 500px;

    top: 30px;
    left: 40px;
}

.orbit-two {

    width: 380px;
    height: 380px;

    top: 90px;
    left: 100px;

    animation-duration: 15s;

    animation-direction: reverse;
}

@keyframes orbitRotate {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {

    justify-content: space-between;

    background:
            linear-gradient(
                    135deg,
                    #000 0%,
                    #111 100%
            );
}

.intro-number {

    position: absolute;

    top: 50px;
    left: 8vw;

    font-family: var(--font-display);

    font-size: 10px;

    color: rgba(255, 255, 255, 0.3);

    letter-spacing: 0.2em;
}

.intro-content {

    width: min(1000px, 100%);

    position: relative;

    z-index: 2;
}

.intro-content h2 {
    max-width: 850px;
}

.large-copy {

    max-width: 570px;

    margin-top: 35px;

    font-size: 20px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.6);
}

.intro-orbit {

    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    right: -180px;

    border:
            1px solid rgba(166, 223, 241, 0.15);

    animation:
            orbitRotate 30s linear infinite;
}

.intro-orbit span {

    position: absolute;

    padding: 8px 12px;

    border:
            1px solid rgba(255, 255, 255, 0.1);

    background:
            rgba(255, 255, 255, 0.03);

    border-radius: 20px;

    font-size: 9px;

    letter-spacing: 0.2em;

    color: var(--blue);
}

.intro-orbit span:nth-child(2) {

    top: 10px;
    left: 45%;
}

.intro-orbit span:nth-child(3) {

    right: 10px;
    top: 50%;
}

.intro-orbit span:nth-child(4) {

    bottom: 10px;
    left: 40%;
}


/* =========================================================
   MODES
========================================================= */

.modes-section {

    flex-direction: column;

    justify-content: center;

    align-items: stretch;

    gap: 45px;

    background:
            radial-gradient(
                    circle at 50% 50%,
                    rgba(166, 223, 241, 0.025),
                    transparent 55%
            );
}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;
}

.section-heading h2 {

    font-size:
            clamp(48px, 6vw, 85px);
}

.heading-number {

    font-size: 11px;

    color: rgba(255, 255, 255, 0.3);

    letter-spacing: 0.2em;
}


/* =========================================================
   MODE SHOWCASE
========================================================= */

.mode-showcase {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}


/* =========================================================
   MODE CARD
========================================================= */

.mode-card {

    min-height: 350px;

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    padding: 30px;

    isolation: isolate;

    border:
            1px solid rgba(255, 255, 255, 0.09);

    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.075),
                    rgba(255, 255, 255, 0.018)
            );

    box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.25);

    transition:
            transform 0.5s cubic-bezier(.2, .8, .2, 1),
            border-color 0.4s ease,
            box-shadow 0.5s ease;

    cursor: pointer;
}

.mode-card:focus-visible {

    outline: 2px solid var(--blue);

    outline-offset: 4px;
}


/* =========================================================
   CARD GLOWS
========================================================= */

.mode-card::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -150px;
    right: -100px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(166, 223, 241, 0.20),
                    rgba(166, 223, 241, 0.06) 35%,
                    transparent 70%
            );

    filter: blur(15px);

    opacity: 0.65;

    pointer-events: none;

    transition:
            transform 0.6s ease,
            opacity 0.6s ease;
}

.mode-card::after {

    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    right: -120px;
    bottom: -140px;

    border-radius: 50%;

    background: var(--blue);

    opacity: 0.035;

    filter: blur(50px);

    pointer-events: none;

    transition:
            transform 0.6s ease,
            opacity 0.6s ease;
}

.mode-card:hover {

    transform: translateY(-12px);

    border-color:
            rgba(166, 223, 241, 0.32);

    box-shadow:
            0 35px 90px rgba(0, 0, 0, 0.45),
            0 0 45px rgba(166, 223, 241, 0.055);
}

.mode-card:hover::before {

    transform: scale(1.35);

    opacity: 0.95;
}

.mode-card:hover::after {

    transform: scale(1.7);

    opacity: 0.10;
}


/* =========================================================
   MODE BACKGROUND NUMBER
========================================================= */

.mode-background-number {

    position: absolute;

    right: 20px;
    top: -8px;

    font-family: var(--font-display);

    font-size:
            clamp(100px, 9vw, 145px);

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.08em;

    color:
            rgba(255, 255, 255, 0.025);

    user-select: none;

    pointer-events: none;

    transition:
            color 0.5s ease,
            transform 0.5s ease;
}

.mode-card:hover .mode-background-number {

    color:
            rgba(166, 223, 241, 0.045);

    transform:
            translateY(5px);
}


/* =========================================================
   MODE ICON
========================================================= */

.mode-icon {

    width: 58px;
    height: 58px;

    position: relative;

    display: grid;

    place-items: center;

    border-radius: 18px;

    font-family: var(--font-display);

    font-size: 21px;

    font-weight: 700;

    color: var(--blue);

    background:
            linear-gradient(
                    145deg,
                    rgba(166, 223, 241, 0.14),
                    rgba(166, 223, 241, 0.035)
            );

    border:
            1px solid rgba(166, 223, 241, 0.20);

    box-shadow:
            inset 0 0 20px rgba(166, 223, 241, 0.025),
            0 10px 30px rgba(0, 0, 0, 0.2);

    z-index: 2;

    transition:
            transform 0.45s ease,
            background 0.45s ease,
            box-shadow 0.45s ease;
}

.mode-card:hover .mode-icon {

    transform:
            translateY(-4px)
            rotate(-5deg);

    background:
            rgba(166, 223, 241, 0.15);

    box-shadow:
            0 10px 35px rgba(166, 223, 241, 0.12);
}

.mode-icon::after {

    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    right: 7px;
    top: 7px;

    background: var(--blue);

    box-shadow:
            0 0 10px var(--blue);

    opacity: 0.8;
}

.mode-card-qr .mode-icon {
    font-size: 26px;
}

.mode-card-text .mode-icon {

    font-size: 18px;

    letter-spacing: -0.08em;
}

.mode-card-doc .mode-icon {
    font-size: 22px;
}


/* =========================================================
   MODE CONTENT
========================================================= */

.mode-content {

    position: relative;

    z-index: 2;

    margin-top: 42px;
}

.mode-content p {

    font-size: 9px;

    color: var(--blue);

    letter-spacing: 0.2em;

    font-weight: 800;

    margin-bottom: 14px;
}

.mode-content h3 {

    font-size:
            clamp(28px, 2.8vw, 38px);

    line-height: 0.94;

    letter-spacing: -0.045em;

    margin-bottom: 18px;
}

.mode-content span {

    display: block;

    max-width: 190px;

    color:
            rgba(255, 255, 255, 0.45);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   MODE ARROW
========================================================= */

.mode-arrow {

    position: absolute;

    right: 25px;
    bottom: 25px;

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
            rgba(255, 255, 255, 0.6);

    font-size: 18px;

    background:
            rgba(255, 255, 255, 0.035);

    border:
            1px solid rgba(255, 255, 255, 0.12);

    z-index: 3;

    transition:
            transform 0.45s cubic-bezier(.2, .8, .2, 1),
            background 0.35s ease,
            color 0.35s ease,
            border-color 0.35s ease;
}

.mode-card:hover .mode-arrow {

    background: var(--blue);

    color: var(--black);

    border-color: var(--blue);

    transform:
            rotate(-45deg)
            scale(1.08);
}


/* =========================================================
   FEATURE SECTIONS
========================================================= */

.feature-section {

    justify-content: space-between;

    gap: 8vw;
}

.feature-copy {

    max-width: 520px;

    position: relative;

    z-index: 5;
}

.feature-number {

    font-size: 10px;

    letter-spacing: 0.25em;

    color: rgba(255, 255, 255, 0.25);

    margin-bottom: 35px;
}

.feature-copy h2 {
    margin-bottom: 35px;
}

.feature-copy > p:not(.eyebrow) {

    max-width: 420px;

    color:
            rgba(255, 255, 255, 0.55);

    line-height: 1.8;

    font-size: 16px;
}

.feature-pill {

    margin-top: 30px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 15px;

    border-radius: 30px;

    background:
            rgba(166, 223, 241, 0.07);

    border:
            1px solid rgba(166, 223, 241, 0.15);

    color:
            rgba(255, 255, 255, 0.6);

    font-size: 11px;
}

.pulse-dot {

    width: 7px;
    height: 7px;

    background: var(--blue);

    border-radius: 50%;

    box-shadow:
            0 0 0 0
            rgba(166, 223, 241, 0.5);

    animation:
            pulse 1.8s infinite;
}

@keyframes pulse {

    70% {
        box-shadow:
                0 0 0 12px
                rgba(166, 223, 241, 0);
    }
}


/* =========================================================
   FEATURE VISUAL
========================================================= */

.feature-visual {

    flex: 1;

    min-width: 400px;

    height: 650px;

    position: relative;

    display: grid;

    place-items: center;
}

.glow-ring {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border:
            1px solid rgba(166, 223, 241, 0.14);

    box-shadow:
            inset 0 0 80px
            rgba(166, 223, 241, 0.04);

    animation:
            pulseRing 4s ease-in-out infinite;
}

@keyframes pulseRing {

    50% {
        transform: scale(1.08);
        opacity: 0.5;
    }
}


/* =========================================================
   PHONE DEVICE
========================================================= */

.phone-device {

    width: 275px;
    height: 560px;

    border-radius: 42px;

    padding: 9px;

    background:
            linear-gradient(
                    145deg,
                    #555,
                    #111
            );

    box-shadow:
            30px 40px 90px
            rgba(0, 0, 0, 0.8),

            0 0 80px
            rgba(166, 223, 241, 0.12);

    transform: rotate(7deg);

    animation:
            phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%, 100% {
        transform:
                translateY(0)
                rotate(7deg);
    }

    50% {
        transform:
                translateY(-20px)
                rotate(4deg);
    }
}

.phone-notch {

    position: absolute;

    width: 100px;
    height: 22px;

    background: #000;

    border-radius: 20px;

    top: 19px;

    left: 50%;

    transform:
            translateX(-50%);

    z-index: 5;
}

.device-screen {

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 34px;

    background:
            radial-gradient(
                    circle at center,
                    rgba(166, 223, 241, 0.12),
                    transparent 45%
            ),
            #111;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 40px 20px 20px;
}

.device-header {

    display: flex;

    justify-content: space-between;

    font-size: 11px;

    color:
            rgba(255, 255, 255, 0.5);
}

.camera-area {

    height: 330px;

    position: relative;

    display: grid;

    place-items: center;
}


/* =========================================================
   CAMERA CORNERS
========================================================= */

.camera-corners {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;
}

.camera-corners i {

    position: absolute;

    width: 35px;
    height: 35px;

    border-color: var(--blue);

    border-style: solid;

    filter:
            drop-shadow(
                    0 0 10px
                    rgba(166, 223, 241, 0.4)
            );
}

.camera-corners i:nth-child(1) {

    top: 50px;
    left: 20px;

    border-width: 2px 0 0 2px;
}

.camera-corners i:nth-child(2) {

    top: 50px;
    right: 20px;

    border-width: 2px 2px 0 0;
}

.camera-corners i:nth-child(3) {

    bottom: 50px;
    left: 20px;

    border-width: 0 0 2px 2px;
}

.camera-corners i:nth-child(4) {

    bottom: 50px;
    right: 20px;

    border-width: 0 2px 2px 0;
}


/* =========================================================
   SCAN LINE
========================================================= */

.camera-scan-line {

    position: absolute;

    width: 177px;
    height: 2px;

    background: var(--blue);

    box-shadow:
            0 0 25px var(--blue);

    animation:
            scanVertical 2.5s infinite;

    z-index: 2;
}

@keyframes scanVertical {

    0%, 100% {
        top: 65px;
    }

    50% {
        top: 255px;
    }
}

.large-qr {

    width: 150px;
    height: 150px;

    object-fit: contain;

    display: block;

    border-radius: 8px;

    position: relative;

    z-index: 1;
}


/* =========================================================
   CAPTURE BUTTON
========================================================= */

.capture-area {

    display: flex;

    justify-content: center;

    align-items: center;
}

.capture-area button {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: var(--blue);

    border:
            7px solid rgba(255, 255, 255, 0.1);
}


/* =========================================================
   FLOATING RESULTS
========================================================= */

.floating-result {

    position: absolute;

    padding: 12px 18px;

    border-radius: 16px;

    background:
            rgba(34, 34, 34, 0.85);

    backdrop-filter: blur(15px);

    border:
            1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
            0 20px 60px
            rgba(0, 0, 0, 0.3);

    font-size: 11px;

    color:
            rgba(255, 255, 255, 0.7);

    animation:
            floatingCard 4s ease-in-out infinite;
}

.result-one {

    top: 120px;
    right: 20px;

    color: var(--blue);
}

.result-one span {
    margin-right: 8px;
}

.result-two {

    bottom: 130px;
    left: 10px;

    animation-delay: -2s;
}

@keyframes floatingCard {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* =========================================================
   DOCUMENT
========================================================= */

.document-visual {

    width: 500px;
    height: 560px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    flex-shrink: 0;
}

.document-visual .phone-device {

    position: relative;

    margin: 0;

    animation:
            phoneFloat 6s ease-in-out infinite;
}

.document-paper {

    width: 175px;
    height: 230px;

    position: relative;

    background: #FFFFFF;

    border-radius: 8px;

    box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.45);

    overflow: hidden;

    transform: rotate(-3deg);
}

.document-paper .paper-lines {

    padding: 55px 25px;

    display: flex;

    flex-direction: column;

    gap: 13px;
}

.document-paper .paper-lines span {

    display: block;

    width: 100%;
    height: 5px;

    border-radius: 10px;

    background: #BBBBBB;
}

.document-paper .paper-lines span:nth-child(2) {
    width: 80%;
}

.document-paper .paper-lines span:nth-child(3) {
    width: 90%;
}

.document-paper .paper-lines span:nth-child(4) {
    width: 65%;
}

.document-paper .paper-lines span:nth-child(5) {
    width: 75%;
}

.document-paper .paper-corner {

    position: absolute;

    top: 0;
    right: 0;

    width: 42px;
    height: 42px;

    background:
            linear-gradient(
                    135deg,
                    transparent 50%,
                    #D5D5D5 50%
            );
}

.document-scan-line {

    position: absolute;

    width: 190px;
    height: 3px;

    background: var(--blue);

    box-shadow:
            0 0 20px var(--blue);

    animation:
            documentScanSimple 3s ease-in-out infinite;
}

@keyframes documentScanSimple {

    0%, 100% {
        transform: translateY(-90px);
    }

    50% {
        transform: translateY(90px);
    }
}

.document-stat {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 35px;
}

.stat-line {

    width: 60px;
    height: 1px;

    background: var(--blue);
}

.document-stat strong {

    display: block;

    color: var(--blue);

    font-family: var(--font-display);

    font-size: 14px;

    letter-spacing: 0.15em;
}

.document-stat small {

    color:
            rgba(255, 255, 255, 0.35);

    font-size: 8px;

    letter-spacing: 0.15em;
}


/* =========================================================
   TEXT
========================================================= */

.text-section {
    background: #080808;
}

.text-section .feature-copy {
    order: 1;
}

.text-background {

    position: absolute;

    inset: 0;

    display: flex;

    justify-content: space-around;

    align-items: center;

    opacity: 0.025;

    pointer-events: none;
}

.text-background span {

    font-family: var(--font-display);

    font-size: 25vw;

    font-weight: 800;
}

.text-visual {

    order: 2;

    min-width: 500px;
}

.text-floating {

    position: absolute;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-weight: 800;

    font-size: 10px;

    animation:
            floatingCard 5s ease-in-out infinite;
}

.floating-copy {

    width: 80px;
    height: 80px;

    background: var(--blue);

    color: #000;

    right: 40px;
    top: 100px;
}

.floating-check {

    width: 55px;
    height: 55px;

    background: #fff;

    color: #000;

    bottom: 100px;
    left: 50px;

    animation-delay: -2s;
}


/* =========================================================
   HISTORY
========================================================= */

.history-section {

    display: block;

    padding-top: 90px;
}

.history-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;
}

.history-heading h2 {

    font-size:
            clamp(55px, 7vw, 100px);
}

.history-heading h2 span {

    font-family: Georgia, serif;

    font-style: italic;

    font-weight: 400;
}

.history-description {

    max-width: 330px;

    color:
            rgba(255, 255, 255, 0.45);

    line-height: 1.7;

    font-size: 14px;
}

.history-stage {

    position: absolute;

    left: 50%;

    bottom: -160px;

    transform:
            translateX(-50%);

    width: 900px;
    height: 620px;

    display: grid;

    place-items: center;
}

.history-phone {

    display: flex;

    justify-content: center;

    align-items: center;

    filter:
            drop-shadow(
                    0 50px 70px rgba(0, 0, 0, 0.8)
            );

    transform: rotate(-4deg);

    animation:
            historyFloat 7s ease-in-out infinite;
}

.history-screen-image {

    width: 100%;

    max-width: 320px;

    height: auto;

    display: block;

    border-radius: 28px;
}

@keyframes historyFloat {

    0%, 100% {
        transform:
                translateY(0)
                rotate(-4deg);
    }

    50% {
        transform:
                translateY(-20px)
                rotate(0deg);
    }
}

.history-floating {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 18px;

    border-radius: 18px;

    background:
            rgba(34, 34, 34, 0.8);

    backdrop-filter: blur(20px);

    border:
            1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
            0 20px 60px
            rgba(0, 0, 0, 0.4);

    animation:
            floatingCard 5s ease-in-out infinite;
}

.history-floating strong {

    display: block;

    font-size: 11px;
}

.history-floating small {

    display: block;

    font-size: 8px;

    color:
            rgba(255, 255, 255, 0.3);

    margin-top: 3px;
}

.history-icon {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
            rgba(166, 223, 241, 0.08);

    color: var(--blue);
}

.floating-history-one {

    left: 80px;
    top: 180px;
}

.floating-history-two {

    right: 80px;
    top: 250px;

    animation-delay: -2s;
}

.history-circle {

    position: absolute;

    right: 170px;
    bottom: 130px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    border:
            1px solid rgba(166, 223, 241, 0.2);

    display: grid;

    place-items: center;

    color: var(--blue);

    font-size: 10px;

    letter-spacing: 0.2em;

    animation:
            orbitRotate 12s linear infinite;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.download-section {

    justify-content: center;

    text-align: center;

    background:
            radial-gradient(
                    circle at center,
                    #202d32 0%,
                    #080808 45%,
                    #000 100%
            );
}

.download-grid {

    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
            linear-gradient(
                    rgba(166, 223, 241, 0.08) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(166, 223, 241, 0.08) 1px,
                    transparent 1px
            );

    background-size: 70px 70px;

    mask-image:
            radial-gradient(
                    circle,
                    black,
                    transparent 70%
            );
}

.download-content {

    position: relative;

    z-index: 5;
}

.download-content h2 {

    font-size:
            clamp(65px, 10vw, 140px);
}

.download-content > p:not(.eyebrow) {

    max-width: 470px;

    margin:
            25px auto 35px;

    color:
            rgba(255, 255, 255, 0.5);

    line-height: 1.7;
}

.download-orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: 0.15;

    border:
            1px solid var(--blue);

    animation:
            orbFloat 8s ease-in-out infinite;
}

.orb-one {

    width: 200px;
    height: 200px;

    left: 10%;
    top: 15%;
}

.orb-two {

    width: 100px;
    height: 100px;

    right: 20%;
    top: 20%;

    animation-delay: -3s;
}

.orb-three {

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -100px;

    animation-delay: -5s;
}

@keyframes orbFloat {

    50% {
        transform:
                translateY(-30px)
                scale(1.1);
    }
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    position: absolute;

    bottom: 25px;

    left: 8vw;
    right: 8vw;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color:
            rgba(255, 255, 255, 0.25);

    letter-spacing: 0.1em;
}

footer h3 {

    font-size: 14px;

    font-weight: 500;

    line-height: 1;

    margin: 0;
}

footer h3 sup {

    font-size: 7px;

    line-height: 0;

    vertical-align: super;

    margin-left: 1px;
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
========================================================= */

@media (max-width: 1000px) {

    .section {
        padding: 60px 6vw;
    }

    .section-indicator {
        right: 14px;
    }

    .hero-visual {

        right: -300px;

        opacity: 0.35;
    }

    .mode-showcase {
        gap: 10px;
    }

    .mode-card {
        padding: 25px;
    }

    .mode-content h3 {
        font-size: 28px;
    }

    .feature-section {
        gap: 20px;
    }

    .feature-visual {
        min-width: 350px;
    }

    .history-stage {

        transform:
                translateX(-50%)
                scale(0.8);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 760px) {

    .section {

        height: auto;

        min-height: 100svh;

        padding:
                70px 24px;
    }

    .section-indicator {
        display: none;
    }

    .cursor-glow {
        display: none;
    }


    /* HERO */

    .hero-section {

        min-height: 100svh;

        padding-top: 50px;
    }

    .hero-section h1 {

        font-size:
                clamp(60px, 19vw, 110px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {

        opacity: 0.18;

        transform:
                scale(0.7)
                rotate(-12deg);

        right: -280px;
    }

    .hero-content .store-buttons {

        margin-top: 24px;

        gap: 10px;
    }

    .hero-content .store-button {

        min-width: 155px;

        padding: 8px 12px;
    }

    .hero-content .store-icon {

        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }

    .hero-content .store-icon img {

        width: 23px;
        height: 23px;
    }

    .hero-content .store-button strong {
        font-size: 13px;
    }


    /* INTRO */

    .intro-section {
        min-height: 100svh;
    }

    .intro-orbit {

        width: 300px;
        height: 300px;

        right: -150px;

        opacity: 0.6;
    }

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


    /* MODES */

    .modes-section {

        gap: 32px;

        padding-top: 75px;

        padding-bottom: 75px;

        justify-content: flex-start;
    }

    .section-heading {
        align-items: flex-end;
    }

    .section-heading h2 {

        font-size:
                clamp(46px, 14vw, 70px);
    }

    .heading-number {

        font-size: 9px;

        padding-bottom: 5px;
    }

    .mode-showcase {

        grid-template-columns: 1fr;

        gap: 14px;
    }

    .mode-card {

        min-height: 205px;

        padding: 22px 22px 24px;

        border-radius: 24px;
    }

    .mode-card:hover {
        transform: translateY(-5px);
    }

    .mode-background-number {

        right: 12px;
        top: -5px;

        font-size: 90px;
    }

    .mode-icon {

        width: 48px;
        height: 48px;

        border-radius: 15px;

        font-size: 18px;
    }

    .mode-icon::after {

        width: 4px;
        height: 4px;

        right: 6px;
        top: 6px;
    }

    .mode-content {

        margin-top: 22px;

        padding-right: 55px;
    }

    .mode-content p {

        font-size: 8px;

        margin-bottom: 9px;
    }

    .mode-content h3 {

        font-size:
                clamp(25px, 8vw, 32px);

        line-height: 0.95;

        margin-bottom: 9px;
    }

    .mode-content span {

        max-width: 230px;

        font-size: 11px;

        line-height: 1.45;
    }

    .mode-arrow {

        right: 20px;
        bottom: 20px;

        width: 40px;
        height: 40px;

        font-size: 16px;
    }


    /* FEATURES */

    .feature-section {

        height: auto;

        min-height: 100svh;

        flex-direction: column;

        justify-content: center;

        align-items: stretch;

        padding-top: 80px;

        padding-bottom: 80px;
    }

    .feature-copy {

        order: 1 !important;

        max-width: none;
    }

    .feature-copy h2 {

        font-size:
                clamp(52px, 15vw, 90px);
    }

    .feature-visual {

        order: 2 !important;

        min-width: 0;

        width: 100%;

        height: 430px;
    }

    .glow-ring {

        width: 350px;
        height: 350px;
    }

    .phone-device {

        width: 220px;
        height: 440px;
    }

    .floating-result {
        transform: scale(0.8);
    }


    /* TEXT */

    .text-visual {
        min-width: 0;
    }


    /* DOCUMENT */

    .document-copy {

        width: 100%;

        max-width: 500px;

        text-align: center;
    }

    .document-visual {

        width: 100%;

        max-width: 500px;

        height: 500px;

        display: flex;

        align-items: center;

        justify-content: center;

        margin: 0 auto;

        transform: none;
    }


    /* HISTORY */

    .history-section {

        min-height: 100svh;

        padding-top: 80px;
    }

    .history-heading {
        display: block;
    }

    .history-description {
        margin-top: 20px;
    }

    .history-stage {

        width: 100%;

        height: 470px;

        bottom: -40px;

        transform:
                translateX(-50%)
                scale(0.65);
    }

    .floating-history-one {
        left: 0;
    }

    .floating-history-two {
        right: 0;
    }


    /* DOWNLOAD */

    .download-section {
        min-height: 100svh;
    }

    .download-content h2 {

        font-size:
                clamp(65px, 19vw, 120px);
    }

    .store-buttons {

        flex-direction: column;

        align-items: center;
    }

    footer {

        left: 24px;
        right: 24px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}