.landing-page {
    --landing-ink: #141d22;
    --landing-muted: #51626a;
    --landing-panel: #ffffff;
    --landing-line: rgba(20, 29, 34, 0.12);
    --landing-green: #0f7b6c;
    --landing-green-dark: #0a5b50;
    --landing-coral: #b9472f;
    --landing-blue: #27627f;
    --landing-soft: #f4f7f5;
    --landing-radius: 14px;
    --landing-radius-lg: 22px;
    --landing-shadow: 0 14px 36px rgba(20, 29, 34, 0.07);
    --landing-shadow-lg: 0 26px 60px rgba(20, 29, 34, 0.14);
    --landing-grad-brand: linear-gradient(135deg, #0f7b6c 0%, #19867a 45%, #27627f 100%);
    --landing-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background: #f7f8f4;
    color: var(--landing-ink);
    font-family: Ubuntu, sans-serif;
}

.landing-page * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Shared inline-SVG icon defaults (stroke, currentColor) */
.landing-icon,
.landing-step__icon svg,
.landing-benefit__icon svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

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

.landing-hero {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 56px));
    overflow: hidden;
    isolation: isolate;
}

.landing-hero__image,
.landing-hero__shade,
.landing-hero__glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.landing-hero__image {
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.05);
    transform: scale(1.03);
    z-index: -3;
}

.landing-hero__shade {
    background:
        linear-gradient(96deg, rgba(8, 18, 21, 0.94), rgba(8, 18, 21, 0.7) 44%, rgba(8, 18, 21, 0.22)),
        linear-gradient(0deg, rgba(247, 248, 244, 0.9), transparent 32%);
    z-index: -2;
}

/* Soft brand glow blob — pure CSS, no extra request */
.landing-hero__glow {
    background:
        radial-gradient(46% 52% at 82% 18%, rgba(25, 134, 122, 0.5), transparent 70%),
        radial-gradient(40% 46% at 96% 88%, rgba(39, 98, 127, 0.42), transparent 72%);
    mix-blend-mode: screen;
    opacity: 0.85;
    z-index: -1;
    animation: landing-glow 14s ease-in-out infinite alternate;
}

@keyframes landing-glow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-2.5%, 1.5%, 0) scale(1.08); }
}

.landing-hero__content {
    align-self: center;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 104px;
    color: #fff;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px 8px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f3fffb;
}

.landing-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade9c;
    box-shadow: 0 0 0 0 rgba(74, 222, 156, 0.6);
    animation: landing-pulse 2.4s ease-out infinite;
}

@keyframes landing-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 156, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(74, 222, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 156, 0); }
}

.landing-hero h1 {
    margin: 0;
    max-width: 880px;
    font-family: Merriweather, serif;
    font-size: clamp(46px, 7vw, 96px);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.landing-hero__accent {
    background: linear-gradient(120deg, #5be0b4, #8fd0e6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-hero__lead {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 22px;
    line-height: 1.5;
}

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

.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.landing-trust li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 600;
}

.landing-trust .landing-icon {
    font-size: 20px;
    color: #7fe6c2;
}

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

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        color 0.2s ease, transform 0.2s var(--landing-ease), box-shadow 0.2s ease;
}

.landing-button .landing-icon {
    font-size: 20px;
    transition: transform 0.2s var(--landing-ease);
}

.landing-button-primary {
    background: var(--landing-grad-brand);
    color: #fff;
    box-shadow: 0 10px 26px rgba(15, 123, 108, 0.34);
}

.landing-button-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(10, 91, 80, 0.4);
}

.landing-button-primary:hover .landing-icon {
    transform: translateX(3px);
}

.landing-button-secondary {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(8, 18, 21, 0.4);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.landing-button-secondary:hover {
    border-color: #fff;
    background: rgba(8, 18, 21, 0.56);
    color: #fff;
    transform: translateY(-2px);
}

.landing-button-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
}

.landing-button-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

.landing-button:active {
    transform: translateY(0);
}

.landing-button:focus-visible {
    outline: 3px solid rgba(91, 224, 180, 0.55);
    outline-offset: 2px;
}

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

.landing-section,
.landing-final {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-section {
    padding: 84px 0;
}

.landing-section + .landing-section {
    border-top: 1px solid var(--landing-line);
}

.landing-section__heading {
    max-width: 760px;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--landing-coral);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.landing-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.landing-kicker--light {
    color: #aef0db;
}

.landing-section h2,
.landing-final h2 {
    margin: 0;
    max-width: 840px;
    font-family: Merriweather, serif;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.landing-section__text {
    max-width: 780px;
    margin: 26px 0 0;
    color: var(--landing-muted);
    font-size: 20px;
    line-height: 1.55;
}

/* ============================== MARKETPLACES + STATS ============================== */

.landing-marketplaces {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.landing-marketplaces span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--landing-line);
    border-radius: 999px;
    background: #fff;
    color: var(--landing-ink);
    padding: 11px 18px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(20, 29, 34, 0.04);
    transition: transform 0.2s var(--landing-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-marketplaces .landing-icon {
    font-size: 18px;
    color: var(--landing-green);
}

.landing-marketplaces span:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 123, 108, 0.5);
    box-shadow: 0 10px 24px rgba(20, 29, 34, 0.09);
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 44px 0 0;
}

.landing-stat {
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: var(--landing-panel);
    padding: 22px 22px 20px;
    box-shadow: var(--landing-shadow);
}

.landing-stat dd {
    margin: 0;
    font-family: Merriweather, serif;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    color: var(--landing-ink);
}

.landing-stat dt {
    margin: 0 0 12px;
    color: var(--landing-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

/* ============================== WORKFLOW STEPS ============================== */

.landing-workflow {
    position: relative;
    width: 100%;
    max-width: none;
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(15, 123, 108, 0.07), transparent 55%),
        linear-gradient(180deg, #fbfcfa, #f3f7f4);
}

.landing-workflow .landing-section__heading,
.landing-workflow .landing-steps {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.landing-steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
    padding: 0;
    list-style: none;
}

.landing-step {
    position: relative;
    min-width: 0;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: var(--landing-panel);
    padding: 26px 24px;
    box-shadow: var(--landing-shadow);
    transition: transform 0.22s var(--landing-ease), box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Connector line between steps (desktop) */
.landing-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -16px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 123, 108, 0.5), rgba(15, 123, 108, 0));
}

.landing-step:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 123, 108, 0.4);
    box-shadow: var(--landing-shadow-lg);
}

.landing-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 123, 108, 0.14), rgba(39, 98, 127, 0.14));
    color: var(--landing-green-dark);
    font-size: 26px;
}

.landing-step__num {
    position: absolute;
    top: 22px;
    right: 22px;
    font-family: Merriweather, serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(20, 29, 34, 0.16);
}

.landing-step h3,
.landing-benefit h3 {
    margin: 18px 0 0;
    color: var(--landing-ink);
    font-family: Merriweather, serif;
    font-size: 21px;
    line-height: 1.22;
}

.landing-step p,
.landing-benefit p {
    margin: 12px 0 0;
    color: var(--landing-muted);
    font-size: 16px;
    line-height: 1.5;
}

/* ============================== BENEFITS ============================== */

.landing-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.landing-benefit {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: var(--landing-panel);
    padding: 28px 26px;
    box-shadow: var(--landing-shadow);
    transition: transform 0.22s var(--landing-ease), box-shadow 0.22s ease, border-color 0.22s ease;
}

.landing-benefit::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--landing-grad-brand);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.landing-benefit:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 123, 108, 0.4);
    box-shadow: var(--landing-shadow-lg);
}

.landing-benefit:hover::before {
    opacity: 1;
}

.landing-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 123, 108, 0.14), rgba(39, 98, 127, 0.14));
    color: var(--landing-green-dark);
    font-size: 26px;
}

/* ============================== FINAL CTA ============================== */

.landing-final {
    position: relative;
    width: 100%;
    max-width: none;
    overflow: hidden;
    background: var(--landing-grad-brand);
}

.landing-final__pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 60% at 88% 12%, rgba(255, 255, 255, 0.18), transparent 70%),
        radial-gradient(36% 50% at 6% 96%, rgba(0, 0, 0, 0.18), transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
    pointer-events: none;
}

.landing-final__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 84px;
}

.landing-final__copy {
    min-width: 0;
    color: #fff;
}

.landing-final h2 {
    color: #fff;
}

.landing-final .landing-actions {
    flex-shrink: 0;
    margin-top: 0;
}

.landing-final .landing-button-primary {
    background: #fff;
    color: var(--landing-green-dark);
    box-shadow: 0 12px 30px rgba(8, 40, 35, 0.28);
}

.landing-final .landing-button-primary:hover {
    background: #f3fffb;
    color: var(--landing-green-dark);
}

/* ============================== PUBLIC GENERATOR ============================== */

.landing-public-generator {
    width: 100%;
    max-width: none;
}

.landing-public-generator__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 38px;
    align-items: start;
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    margin: 0 auto;
}

.landing-public-generator .public-barcode-generator {
    margin-top: 0;
}

.landing-public-generator .landing-button-secondary,
.landing-public-generator .public-barcode-generator__download {
    border-color: var(--landing-line);
    background: #fff;
    color: var(--landing-ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.landing-public-generator .landing-button-secondary:hover,
.landing-public-generator .public-barcode-generator__download:hover:not(:disabled) {
    border-color: var(--landing-green);
    color: var(--landing-green-dark);
}

/* ============================== PUBLIC GENERATOR PAGE (light bg) ============================== */

/* Ink variant of the trust row for light backgrounds */
.landing-trust--ink li {
    color: var(--landing-muted);
}

.landing-trust--ink .landing-icon {
    color: var(--landing-green);
}

.public-barcode-page__features {
    padding-top: 0;
}

.public-barcode-page__features .landing-actions {
    margin-top: 34px;
}

.public-barcode-page .landing-button-secondary {
    border-color: var(--landing-line);
    background: #fff;
    color: var(--landing-ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.public-barcode-page .landing-button-secondary:hover {
    border-color: var(--landing-green);
    background: #fff;
    color: var(--landing-green-dark);
}

/* ============================== SCROLL REVEAL ============================== */

.js-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s var(--landing-ease), transform 0.6s var(--landing-ease);
}

.js-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================== HERO LOAD ANIMATION ============================== */

@keyframes landing-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.landing-hero__content > * {
    animation: landing-rise 0.7s var(--landing-ease) both;
}

.landing-hero__content > .landing-badge { animation-delay: 0.05s; }
.landing-hero__content > h1 { animation-delay: 0.15s; }
.landing-hero__content > .landing-hero__lead { animation-delay: 0.28s; }
.landing-hero__content > .landing-actions { animation-delay: 0.4s; }
.landing-hero__content > .landing-trust { animation-delay: 0.5s; }

@keyframes landing-hero-settle {
    from { transform: scale(1.08); }
    to   { transform: scale(1.03); }
}

.landing-hero__image {
    animation: landing-hero-settle 1.8s var(--landing-ease) both;
}

/* ============================== RESPONSIVE ============================== */

@media (max-width: 900px) {
    .landing-hero {
        min-height: 700px;
    }

    .landing-hero__shade {
        background:
            linear-gradient(96deg, rgba(8, 18, 21, 0.94), rgba(8, 18, 21, 0.74)),
            linear-gradient(0deg, rgba(247, 248, 244, 0.92), transparent 26%);
    }

    .landing-hero__content {
        padding: 58px 0 88px;
    }

    .landing-hero__lead {
        font-size: 20px;
    }

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

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

    .landing-step:not(:last-child)::after {
        display: none;
    }

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

    .landing-benefit:first-child {
        grid-column: 1 / -1;
    }

    .landing-final__inner {
        display: block;
    }

    .landing-final .landing-actions {
        margin-top: 28px;
    }

    .landing-public-generator__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .landing-hero {
        min-height: 620px;
    }

    .landing-hero__image {
        object-position: 58% center;
    }

    .landing-hero__lead,
    .landing-section__text {
        font-size: 18px;
    }

    .landing-actions,
    .landing-button {
        width: 100%;
    }

    .landing-trust {
        gap: 10px 20px;
    }

    .landing-section {
        padding: 60px 0;
    }

    .landing-final__inner {
        padding: 60px 0;
    }

    .landing-stats,
    .landing-steps,
    .landing-benefit-grid {
        grid-template-columns: 1fr;
    }

    .landing-benefit:first-child {
        grid-column: auto;
    }

    .landing-step,
    .landing-benefit {
        padding: 22px 20px;
    }
}

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

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

    .landing-hero__content > *,
    .landing-hero__image,
    .landing-hero__glow,
    .landing-badge__dot,
    .js-reveal {
        animation: none !important;
        transition: none !important;
    }

    .js-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .landing-button:hover,
    .landing-button .landing-icon,
    .landing-step:hover,
    .landing-benefit:hover,
    .landing-marketplaces span:hover {
        transform: none !important;
    }
}
