/* ============================================================
   Landing page styles (home/index.html only) — light tech theme
   Sections: tokens & fonts · shell · hero · chat mockup ·
   AI cards · fake UI mockups · CTA band · motion
   ============================================================ */

/* ===== Fonts (page-scoped, admin app unaffected) ===== */
.font-display {
    font-family: "Space Grotesk", "Google Sans Flex", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ===== Tokens & shell ===== */
.landing {
    --lp-ink: #0b1220;
    --lp-accent: #116ecb;
    --lp-sky: #73c7ff;
    --lp-line: rgba(11, 18, 32, .055);
    --lp-heading: #0b1220;
    --lp-body: #33415c;
    --lp-border: #e6e9f2;

    overflow-x: clip;
}

.landing-section {
    padding-block: clamp(4rem, 8vw, 6.5rem);
    scroll-margin-top: 80px;
}

.section-eyebrow {
    display: inline-block;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .75rem;
    font-weight: 600;
    color: var(--lp-accent);
    margin-bottom: .75rem;
}

.section-eyebrow::before {
    content: "// ";
    opacity: .5;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.12;
    color: var(--lp-heading);
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 60ch;
    font-size: 1.0625rem;
    color: var(--bs-secondary);
}

.section-header {
    max-width: 720px;
}

.text-accent {
    background-image: linear-gradient(100deg, #0d5bd0, #3d9be9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ===== Buttons (landing-only variants) ===== */
.btn-ink {
    background: var(--lp-ink);
    color: #fff;
    border: 0;
    border-radius: 50rem;
    padding-inline: 2rem;
    box-shadow: 0 8px 22px rgba(11, 18, 32, .2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-ink:hover {
    background: #1a2436;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(11, 18, 32, .26);
}

.btn-ghost-dark {
    border: 1px solid rgba(11, 18, 32, .2);
    border-radius: 50rem;
    padding-inline: 1.5rem;
    color: var(--lp-ink);
    background: transparent;
}

.btn-ghost-dark:hover {
    background: #fff;
    border-color: rgba(11, 18, 32, .38);
    color: var(--lp-ink);
}

/* ===== Hero (light) ===== */
.landing-hero {
    position: relative;
    z-index: 0;
    background-color: #fff;
    background-image:
        /* body background-color: f4f4f4 (244, 244, 244) */
        linear-gradient(180deg, rgba(244, 244, 244, 0) 60%, rgba(244, 244, 244, 1) 100%),
        radial-gradient(820px 440px at 50% -10%, rgba(115, 199, 255, .22), transparent 70%);
    padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(var(--lp-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--lp-line) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 15%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 85% at 50% 15%, #000 25%, transparent 75%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--lp-border);
    border-radius: 50rem;
    padding: .45rem 1.1rem;
    font-size: .75rem;
    letter-spacing: .08em;
    color: var(--lp-body);
    margin-bottom: 1.75rem;
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-accent);
    box-shadow: 0 0 8px rgba(17, 110, 203, .55);
    animation: soonPulse 1.8s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6.2vw, 4.5rem);
    line-height: 1.06;
    color: var(--lp-heading);
    margin-bottom: 0;
}

.hero-dynamic {
    padding-block: 1rem 0;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

/* Motion lives on the wrapper: transform/filter on the gradient-clipped
   #dynamic itself breaks background-clip:text rendering in Chrome */
.hero-word {
    display: inline-block;
    transition: opacity .35s ease, transform .35s ease;
}

.hero-word.word-out {
    opacity: 0;
    transform: translateY(-12px);
}

.hero-word.word-in {
    animation: wordIn .5s cubic-bezier(.22, .61, .36, 1);
}

@keyframes wordIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

#dynamic {
    display: inline-block;
    min-height: 1.4em;
    line-height: 1.4;
    vertical-align: middle;
    font-weight: 600;
}

.hero-sub {
    max-width: 46ch;
    font-size: 1.0625rem;
    color: var(--bs-secondary);
    margin-block: 1.25rem 2rem;
}

.hero-trust {
    gap: .75rem 1.75rem;
    margin-top: 2.25rem;
    font-size: .875rem;
    color: var(--bs-gray);
}

.hero-trust .bi {
    color: var(--lp-accent);
    margin-right: .4rem;
}

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--lp-border);
    backdrop-filter: blur(8px);
    border-radius: 50rem;
    padding: .5rem 1rem;
    font-size: .8125rem;
    color: var(--lp-body);
    box-shadow: 0 10px 28px rgba(11, 18, 32, .1);
    animation: chipFloat 6s ease-in-out infinite;
}

.hero-chip-1 { left: 6%; top: 32%; }
.hero-chip-2 { right: 6%; top: 24%; animation-delay: -2s; }
.hero-chip-3 { right: 11%; bottom: 24%; animation-delay: -4s; }

.hero-chip-2 .bi { color: var(--lp-accent); }
.hero-chip-3 .bi { color: #f5a623; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 1199.98px) {
    .hero-chip { display: none; }
}

/* Small phones (≤575px): the hero-title clamp floors at 2.5rem, which is
   too large for ~356px of content width — the headline hits the edges.
   Scale it down with the viewport and tighten the vertical rhythm. */
@media (max-width: 575.98px) {
    .landing-hero {
        padding-block: clamp(2.5rem, 9vw, 3.5rem) clamp(2rem, 8vw, 3rem);
    }

    .hero-eyebrow {
        font-size: .6875rem;
        padding: .4rem .85rem;
        margin-bottom: 1.25rem;
        letter-spacing: .04em;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
        line-height: 1.12;
    }

    .hero-dynamic {
        font-size: clamp(1.15rem, 5vw, 1.5rem);
    }

    .hero-sub {
        font-size: 1rem;
        margin-block: 1rem 1.5rem;
    }

    .hero-cta .btn-lg {
        width: 100%;
        padding-inline: 1.5rem;
    }

    .hero-trust {
        gap: .5rem 1.25rem;
        margin-top: 1.75rem;
    }
}

/* ===== "Yakında" badge ===== */
.badge-soon {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid #dbe3f5;
    color: var(--lp-accent);
    border-radius: 50rem;
    padding: .35rem .9rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.chat-copy .badge-soon {
    margin-bottom: 1rem;
}

.badge-soon-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-accent);
    animation: soonPulse 1.6s ease-in-out infinite;
}

@keyframes soonPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .55; }
}

/* ===== Feature chips ===== */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 50rem;
    padding: .45rem .9rem;
    font-size: .875rem;
    color: var(--lp-heading);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(11, 18, 32, .08);
}

/* ===== WhatsApp chat mockup ===== */
.chat-mockup {
    --wa-header: #008069;
    --wa-bg: #efeae2;
    --wa-out: #d9fdd3;

    max-width: 360px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(11, 18, 32, .08);
    box-shadow: 0 30px 70px rgba(11, 18, 32, .18);
    background: var(--wa-bg);
    transition: transform .3s ease;
}

.chat-mockup:hover {
    transform: translateY(-4px);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--wa-header);
    color: #fff;
    padding: .8rem 1rem;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    display: block;
}

.chat-name {
    font-weight: 600;
    font-size: .9375rem;
    line-height: 1.2;
}

.chat-status {
    font-size: .6875rem;
    opacity: .75;
}

.chat-header-icon {
    margin-left: auto;
    opacity: .85;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem .9rem 1.1rem;
    min-height: 400px;
}

.chat-day-divider {
    align-self: center;
}

.chat-day-divider span {
    background: #fff;
    border-radius: .5rem;
    padding: .2rem .6rem;
    font-size: .6875rem;
    color: #54656f;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}

.chat-msg {
    position: relative;
    max-width: 82%;
    font-size: .855rem;
    line-height: 1.4;
    color: #111b21;
    padding: .55rem 3rem .55rem .65rem;
    border-radius: .85rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .07);
}

.chat-msg-in {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: .25rem;
    transform-origin: bottom left;
}

.chat-msg-out {
    align-self: flex-end;
    background: var(--wa-out);
    border-top-right-radius: .25rem;
    transform-origin: bottom right;
}

.chat-msg-time {
    position: absolute;
    right: .6rem;
    bottom: .4rem;
    font-size: .625rem;
    color: #667781;
}

.chat-confirm-card {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border-radius: .6rem;
    padding: .6rem .7rem;
    margin-bottom: .45rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.chat-confirm-icon {
    width: 34px;
    height: 34px;
    border-radius: .5rem;
    background: rgba(var(--bs-success-rgb), .12);
    color: var(--bs-success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-confirm-title {
    font-size: .8125rem;
    font-weight: 600;
}

.chat-confirm-sub {
    font-size: .71875rem;
    color: #667781;
}

.chat-typing {
    display: inline-flex;
    gap: 4px;
    padding: .65rem .8rem;
}

.chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9aa8b2;
    animation: chatTypingBlink 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: .15s; }
.chat-typing-dot:nth-child(3) { animation-delay: .3s; }

@keyframes chatTypingBlink {
    0%, 60%, 100% { opacity: .35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

/* Typing bubbles are playback-only; hide them in the static (no-JS) view */
.landing:not(.js-anim) .chat-typing {
    display: none;
}

/* ===== AI cards ===== */
.ai-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(11, 18, 32, .1);
}

.ai-card-icon,
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.ai-card-title,
.feature-title {
    font-size: 1.4rem;
    color: var(--lp-heading);
    margin-bottom: .6rem;
}

.vignette {
    background: #f7f8fc;
    border: 1px solid #eef0f6;
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    margin-top: auto;
}

.vignette-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: .9rem;
}

.vignette-header .bi {
    color: var(--lp-accent);
}

.vignette-live {
    margin-left: auto;
    background: var(--lp-accent);
    color: #fff;
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: .12rem .5rem;
    border-radius: .35rem;
}

.vignette-note {
    font-size: .8125rem;
    color: var(--lp-body);
    background: #fff;
    border: 1px dashed #d5dcea;
    border-radius: .6rem;
    padding: .6rem .75rem;
    margin-bottom: .75rem;
}

.vignette-note .bi {
    color: #8a93a6;
    margin-right: .35rem;
}

.vignette-extract {
    font-size: .6875rem;
    letter-spacing: .06em;
    color: #8a93a6;
    margin-bottom: .6rem;
}

.vignette-action {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: .6rem;
    padding: .5rem .65rem;
    font-size: .78125rem;
    color: var(--lp-body);
    animation: actionIn 7s ease infinite;
    animation-delay: calc(var(--a, 0) * 1.2s);
}

.vignette-action + .vignette-action {
    margin-top: .5rem;
}

.vignette-action-icon {
    width: 26px;
    height: 26px;
    border-radius: .45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
}

@keyframes actionIn {
    0% { opacity: 0; transform: translateY(6px); }
    6%, 88% { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: translateY(-4px); }
}

.vignette-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .9rem;
}

.vignette-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 50rem;
    padding: .25rem .7rem;
    font-size: .75rem;
    color: var(--lp-body);
}

.vignette-tag .bi {
    color: var(--bs-success);
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .4rem;
    border-radius: .6rem;
    animation: remPulse 7.5s infinite;
    animation-delay: calc(var(--r, 0) * 2.5s);
}

.reminder-item + .reminder-item {
    border-top: 1px dashed #e4e7ea;
}

@keyframes remPulse {
    0%, 100% { background: transparent; }
    5%, 13% { background: rgba(17, 110, 203, .08); }
}

.reminder-icon {
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9375rem;
    flex-shrink: 0;
}

.reminder-title {
    font-size: .875rem;
    font-weight: 500;
    color: var(--lp-heading);
    line-height: 1.3;
}

.reminder-sub {
    font-size: .75rem;
    color: var(--bs-gray);
}

.reminder-time {
    margin-left: auto;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .6875rem;
    color: var(--bs-gray);
    white-space: nowrap;
}

/* ===== Custom AI: instruction-memory mockup ===== */
.memo-mockup {
    width: min(410px, 100%);
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1.25rem;
    box-shadow: 0 30px 70px rgba(11, 18, 32, .14);
    overflow: hidden;
    transition: transform .3s ease;
}

.memo-mockup:hover {
    transform: translateY(-4px);
}

.memo-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid #eef0f6;
}

.memo-header-icon {
    width: 38px;
    height: 38px;
    border-radius: .7rem;
    background: rgba(17, 110, 203, .1);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.memo-name {
    font-weight: 600;
    font-size: .9375rem;
    color: var(--lp-heading);
    line-height: 1.2;
}

.memo-status {
    font-size: .65625rem;
    color: #8a93a6;
}

.memo-body {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: #f7f8fc;
    padding: 1.1rem 1rem 1.2rem;
}

.memo-prompt {
    background: #fff;
    border: 1px dashed #cfd9ec;
    border-radius: .85rem;
    padding: .7rem .8rem;
}

.memo-prompt-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .625rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a93a6;
    margin-bottom: .4rem;
}

/* Reserves the typed instruction's height so the card doesn't grow while typing */
.memo-prompt-text {
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--lp-heading);
    min-height: 6em;
}

.memo-prompt.is-typing .memo-typed::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: .95em;
    margin-left: 1px;
    vertical-align: -.12em;
    background: var(--lp-accent);
    animation: caretBlink .9s ease infinite;
}

@keyframes caretBlink {
    50% { opacity: 0; }
}

.memo-ack {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    background: rgba(var(--bs-success-rgb), .1);
    border: 1px solid rgba(var(--bs-success-rgb), .25);
    color: #157347;
    border-radius: 50rem;
    padding: .35rem .8rem;
    font-size: .75rem;
    font-weight: 600;
}

.memo-ack .bi {
    color: var(--bs-success);
}

.memo-ack-id {
    font-size: .625rem;
    font-weight: 400;
    opacity: .7;
}

.memo-divider {
    align-self: center;
}

.memo-divider span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 50rem;
    padding: .25rem .75rem;
    font-size: .65625rem;
    letter-spacing: .04em;
    color: #5a6478;
}

.memo-divider .bi {
    color: var(--lp-accent);
}

.memo-event {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: .85rem;
    padding: .6rem .7rem;
    box-shadow: 0 1px 2px rgba(11, 18, 32, .04);
}

.memo-event-icon {
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9375rem;
    flex-shrink: 0;
}

.memo-event-title {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--lp-heading);
    line-height: 1.3;
}

.memo-event-sub {
    font-size: .71875rem;
    line-height: 1.35;
    color: var(--lp-body);
}

.memo-event-time {
    margin-left: auto;
    align-self: flex-start;
    font-size: .625rem;
    color: #8a93a6;
    white-space: nowrap;
}

/* ===== Feature rows ===== */
.feature-row {
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.feature-points li {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    color: var(--lp-body);
}

.feature-points .bi-check2 {
    color: var(--bs-success);
}

.feature-media {
    display: flex;
    justify-content: center;
}

.ui-browser,
.ui-phone,
.ui-rx {
    transition: transform .3s ease;
}

.ui-browser:hover,
.ui-phone:hover,
.ui-rx:hover {
    transform: translateY(-4px);
}

/* ===== Fake UI: browser frame + booking page ===== */
.ui-browser {
    width: min(430px, 100%);
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    box-shadow: 0 26px 64px rgba(11, 18, 32, .14);
    overflow: hidden;
}

.ui-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .6rem .9rem;
    background: #f6f7fb;
    border-bottom: 1px solid #edf0f6;
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ui-dot-r { background: #ff5f57; }
.ui-dot-y { background: #febc2e; }
.ui-dot-g { background: #28c840; }

.ui-url {
    margin-left: .5rem;
    flex: 1;
    background: #fff;
    border: 1px solid #e9ecf3;
    border-radius: 50rem;
    font-size: .6875rem;
    color: #5a6478;
    padding: .25rem .8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-doc-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.25rem 1rem;
}

.ui-doc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9375rem;
    flex-shrink: 0;
}

.ui-doc-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--lp-heading);
}

.ui-doc-stars {
    font-size: .6875rem;
    color: #f5a623;
}

.ui-doc-stars .font-mono {
    color: var(--lp-body);
    margin-left: .2rem;
}

.ui-open-badge {
    margin-left: auto;
    background: rgba(var(--bs-success-rgb), .12);
    color: var(--bs-success);
    border-radius: 50rem;
    padding: .2rem .7rem;
    font-size: .625rem;
    letter-spacing: .06em;
}

.ui-days {
    display: flex;
    gap: .55rem;
    padding: 0 1.25rem;
}

.ui-day {
    flex: 1;
    text-align: center;
    padding: .55rem .25rem;
    border: 1px solid #e9ecf3;
    border-radius: .6rem;
    font-size: .625rem;
    color: var(--lp-body);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ui-day b {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
}

.ui-day-active {
    background: var(--lp-ink);
    border-color: var(--lp-ink);
    color: #fff;
}

.ui-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
    padding: 1.1rem 1.25rem;
}

.ui-slot {
    text-align: center;
    font-size: .71875rem;
    padding: .5rem 0;
    border: 1px solid #e2e7f0;
    border-radius: .5rem;
    color: var(--lp-body);
    background: #fff;
    animation: slotCycle 8s infinite;
    animation-delay: calc(var(--s, 0) * 1s);
}

@keyframes slotCycle {
    0%, 100% { background: #fff; color: #33415c; border-color: #e2e7f0; transform: none; }
    4%, 10% { background: #0b1220; color: #fff; border-color: #0b1220; transform: scale(1.07); }
    14% { background: #fff; color: #33415c; border-color: #e2e7f0; transform: none; }
}

.ui-book-btn {
    position: relative;
    overflow: hidden;
    margin: .15rem 1.25rem 1.25rem;
    padding: .65rem;
    text-align: center;
    font-size: .8125rem;
    font-weight: 600;
    color: #fff;
    border-radius: .6rem;
    background: var(--lp-ink);
}

.ui-book-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shine 3.2s ease infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

/* ===== Fake UI: phone with notifications ===== */
.ui-phone {
    width: min(280px, 100%);
    border: 8px solid var(--lp-ink);
    border-radius: 2.4rem;
    background:
        radial-gradient(220px 160px at 80% 0%, rgba(115, 199, 255, .3), transparent 70%),
        radial-gradient(220px 160px at 10% 30%, rgba(17, 110, 203, .12), transparent 70%),
        linear-gradient(180deg, #f0f3fa, #dfe7f5);
    box-shadow: 0 30px 70px rgba(11, 18, 32, .18);
    overflow: hidden;
}

.ui-phone-notch {
    width: 92px;
    height: 18px;
    margin: 0 auto;
    background: var(--lp-ink);
    border-radius: 0 0 12px 12px;
}

.ui-phone-time {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-top: 1.25rem;
    letter-spacing: .02em;
}

.ui-phone-date {
    text-align: center;
    font-size: .6875rem;
    color: #5a6478;
    margin-bottom: 1rem;
}

.ui-notifs {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 0 .7rem 1.6rem;
}

.ui-notif {
    display: flex;
    gap: .6rem;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(6px);
    border-radius: .9rem;
    padding: .6rem .7rem;
    box-shadow: 0 4px 14px rgba(11, 18, 32, .08);
    animation: notifIn 9.5s ease infinite;
    animation-delay: calc(var(--n, 0) * 1.3s);
}

@keyframes notifIn {
    0% { opacity: 0; transform: translateY(-14px) scale(.96); }
    5%, 84% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translateY(-8px) scale(.97); }
}

.ui-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    background: #fff;
    border: 1px solid #e9ecf3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ui-notif-icon img {
    width: 22px;
    height: 22px;
}

.ui-notif-title {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    font-size: .71875rem;
    font-weight: 600;
    color: var(--lp-heading);
}

.ui-notif-title .font-mono {
    font-size: .625rem;
    font-weight: 400;
    color: #8a93a6;
}

.ui-notif-text {
    font-size: .71875rem;
    line-height: 1.35;
    color: var(--lp-body);
}

/* ===== Fake UI: prescription document ===== */
.ui-rx {
    position: relative;
    width: min(330px, 100%);
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: .9rem;
    box-shadow: 0 26px 64px rgba(11, 18, 32, .14);
    padding: 1.25rem;
}

.ui-rx-head {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.ui-rx-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.ui-rx-date {
    font-size: .625rem;
    color: #8a93a6;
    white-space: nowrap;
    align-self: flex-start;
}

.ui-bar {
    height: 8px;
    border-radius: 4px;
    background: #e8ecf4;
}

.ui-bar-grow {
    width: var(--w, 60%);
    background: #dfe5f0;
    animation: rxWrite 8s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes rxWrite {
    0% { width: 0; }
    18%, 85% { width: var(--w, 60%); }
    100% { width: 0; }
}

.ui-rx-divider {
    border: 0;
    border-top: 1px dashed #dfe5f0;
    margin: 1rem 0;
    opacity: 1;
}

.ui-rx-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
}

.ui-rx-pill {
    width: 30px;
    height: 30px;
    border-radius: .5rem;
    background: rgba(var(--bs-success-rgb), .12);
    color: var(--bs-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8125rem;
    flex-shrink: 0;
}

.ui-rx-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.1rem;
}

.ui-rx-sign {
    font-size: .875rem;
    font-weight: 500;
    color: var(--lp-body);
    transform: rotate(-2deg);
}

.ui-pdf-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--lp-ink);
    color: #fff;
    border-radius: 50rem;
    padding: .3rem .75rem;
    font-size: .6875rem;
    animation: pdfPop 4s ease-in-out infinite;
}

@keyframes pdfPop {
    0%, 100% { transform: translateY(0); }
    12% { transform: translateY(-4px); }
    24% { transform: translateY(0); }
}

.ui-rx-stamp {
    position: absolute;
    right: 1.1rem;
    bottom: 3.4rem;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(17, 110, 203, .3);
    border-radius: 50%;
    color: rgba(17, 110, 203, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transform: rotate(-12deg);
    pointer-events: none;
}

/* ===== Closing CTA band (soft) ===== */
.cta-band {
    border-radius: 2rem;
    border: 1px solid #dfe9f5;
    text-align: center;
    color: var(--lp-heading);
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(180deg, #f9fcff 0%, #e9f3fd 100%);
    box-shadow: 0 18px 44px rgba(11, 18, 32, .06);
}

.cta-band-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--lp-heading);
}

.cta-band-sub {
    max-width: 52ch;
    margin: .75rem auto 1.75rem;
    color: var(--bs-secondary);
}

/* ===== Motion (progressive enhancement — hidden only under .js-anim) ===== */
.landing.js-anim .reveal {
    opacity: 0;
    transform: translateY(30px) scale(.98);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.landing.js-anim .reveal.reveal-visible {
    opacity: 1;
    transform: none;
}

.landing.js-anim .chat-step {
    opacity: 0;
    transition: opacity .25s ease;
}

.landing.js-anim .chat-step.chat-shown {
    opacity: 1;
    animation: chatPop .5s cubic-bezier(.3, 1.4, .5, 1);
}

@keyframes chatPop {
    0% { opacity: 0; transform: scale(.7) translateY(16px); }
    65% { opacity: 1; transform: scale(1.05) translateY(-3px); }
    100% { opacity: 1; transform: none; }
}

.landing.js-anim .memo-step {
    opacity: 0;
    transition: opacity .3s ease;
}

.landing.js-anim .memo-step.memo-shown {
    opacity: 1;
    animation: memoPop .45s cubic-bezier(.3, 1.2, .5, 1);
}

@keyframes memoPop {
    0% { opacity: 0; transform: translateY(10px) scale(.97); }
    100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .landing .reveal,
    .landing .chat-step,
    .landing .memo-step {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .hero-word,
    .badge-soon-dot,
    .hero-eyebrow-dot,
    .hero-chip,
    .chat-typing-dot,
    .vignette-action,
    .reminder-item,
    .ui-slot,
    .ui-book-btn::after,
    .ui-notif,
    .ui-bar-grow,
    .ui-pdf-badge,
    .memo-prompt.is-typing .memo-typed::after {
        animation: none !important;
    }
}
