:root {
    --bg: #f5f5f7;
    --bg-soft: #f9fafb;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --accent: #22c55e;
    --accent-soft: #16a34a;
    --accent-subtle: #dcfce7;
    --text-main: #0f172a;
    --text-muted: #4b5563;
    --text-soft: #9ca3af;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 0% 0%, #e0f2fe 0, transparent 45%),
        radial-gradient(circle at 100% 0%, #fee2e2 0, transparent 45%),
        radial-gradient(circle at 100% 100%, #dcfce7 0, transparent 45%),
        radial-gradient(circle at 0% 100%, #ede9fe 0, transparent 45%),
        #f5f5f7;
    background-size: 200% 200%;
    animation: bg-pan 26s ease-in-out infinite alternate;
}

@keyframes bg-pan {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 100%; }
}

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

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 16px 56px;
}

/* Header / nav */
header {
    position: sticky;
    top: 10px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    margin: 0 -16px 12px;
    border-radius: 999px;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(148, 163, 184, 0.12);
}

.logo {
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #0f172a;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 30%, #bbf7d0, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #ecfdf3;
    box-shadow:
        0 0 0 1px rgba(22,163,74,0.4),
        0 0 18px rgba(34,197,94,0.6);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(to right, #22c55e, #22d3ee);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #0f172a;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-small {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    font-size: 0.85rem;
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 10px 20px rgba(15,23,42,0.06);
}

.btn-small-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
    box-shadow:
        0 14px 30px rgba(22,163,74,0.3),
        0 0 0 1px rgba(22,163,74,0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.9rem;
    background: #ffffff;
    color: var(--text-main);
}

@media (max-width: 720px) {
    header {
        border-radius: 18px;
        top: 0;
        margin-inline: -8px;
    }

    .nav-links {
        position: absolute;
        right: 16px;
        top: 60px;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 14px;
        background: #ffffff;
        border-radius: 18px;
        border: 1px solid var(--border);
        box-shadow: 0 22px 40px rgba(15,23,42,0.18);
        display: none;
        z-index: 120;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* Hero */
.hero {
    padding: 40px 0 34px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 32px;
    align-items: center;
    position: relative;
}

/* Soft glow behind hero */
.hero::before {
    content: "";
    position: absolute;
    inset: -40px -60px auto auto;
    margin-top: 70px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(34,197,94,0.26), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(59,130,246,0.18), transparent 60%);
    opacity: 0.4;
    filter: blur(6px);
    pointer-events: none;
}

.hero > div {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #16a34a;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(to right, #22c55e, transparent);
}

.hero-title {
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1.25;
    margin-bottom: 12px;

    /* NEW: reserve space so layout doesn't jump */
    display: block;
    min-height: 3.2em;   /* enough for up to 2 lines at this size */
}

/* Typing container – Safari-friendly, no clipping */

.typing-container {
    display: inline-flex;
    align-items: flex-end;
    /* NEW: always as tall as the tallest phrase (2 lines) */
    min-height: 3.2em;
    padding-bottom: 0.05em;
    overflow: visible;   /* keep Safari from clipping descenders */
    position: relative;
}

/* Animated text (controlled by JS) */
#typing-text {
    display: inline-block;
    line-height: 1.25;
}

/* Blinking cursor */
#cursor {
    display: inline-block;
    width: 0.06em;
    margin-left: 0.06em;
    border-right: 2px solid var(--text-main);
}

/* Optional: if you keep class="typing-effect" on the cursor span */
.typing-effect {
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--text-main); }
}

.hero-sub {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 34rem;
}

.hero-cta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary {
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow:
        0 18px 40px rgba(22, 163, 74, 0.35),
        0 0 0 1px rgba(22, 163, 74, 0.35);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
}
.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 22px 50px rgba(22, 163, 74, 0.45),
        0 0 0 1px rgba(22, 163, 74, 0.6);
    filter: brightness(1.03);
}
.btn-primary:active {
    transform: scale(0.97) translateY(1px);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
}

.btn-ghost {
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transition:
        border-color 0.12s ease,
        background 0.12s ease,
        transform 0.12s ease;
}
.btn-ghost:hover {
    border-color: #cbd5f5;
    background: #f9fafb;
    transform: translateY(-1px);
}

.hero-note {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-soft);
}
.hero-note strong {
    color: #15803d;
}

/* Section wrappers */
section {
    padding: 24px 0 10px;
    position: relative;
}

/* Subtle divider line between blocks */
section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 32%;
    max-width: 260px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.7), transparent);
    opacity: 0.8;
}

/* Section headings */
.section-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f172a;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    max-width: 620px;
}

/* Features strip */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(34,197,94,0.18), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56,189,248,0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
    background: #fefefe;
}

.feature-card:hover::before {
    opacity: 0.85;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
}

/* Hero “Free vs Pro” card */
.hero-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 18px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* pulsing border */
.hero-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    border: 1px solid rgba(34,197,94,0.0);
    pointer-events: none;
    animation: pulseBorder 2.8s infinite;
}

.price-card.highlight::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    border: 1px solid rgba(34,197,94,0.0);
    pointer-events: none;
    animation: pulseBorder 3.2s infinite;
}

@keyframes pulseBorder {
    0%   { border-color: rgba(34,197,94,0.0); }
    35%  { border-color: rgba(34,197,94,0.55); }
    70%  { border-color: rgba(34,197,94,0.0); }
    100% { border-color: rgba(34,197,94,0.0); }
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pill {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-subtle);
    color: #166534;
}

.hero-card h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.hero-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.hero-plan-rows {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    font-size: 0.83rem;
}

.hero-plan-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--border);
}

.hero-plan-row strong {
    display: block;
    margin-bottom: 2px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 12px;
}
.price-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 18px 20px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(15,23,42,0.06);
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.price-card.highlight {
    border-color: rgba(34,197,94,0.7);
    box-shadow:
        0 22px 50px rgba(22,163,74,0.22),
        0 0 0 1px rgba(34,197,94,0.35);
}

.price-card:hover {
    transform: translateY(-3px);
}

.price-label {
    font-size: 0.8rem;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
}

.price-main {
    font-size: 1.9rem;
    font-weight: 700;
}
.price-main span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-description {
    margin: 6px 0 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.price-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.price-list li {
    margin-bottom: 4px;
}
.price-cta {
    margin-top: 12px;
}
.price-cta button {
    width: 100%;
}
.small-note {
    margin-top: 12px;
    font-size: 0.76rem;
    color: var(--text-soft);
}

/* Trust / advantages */
.trust-grid,
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}
.trust-card,
.adv-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    font-size: 0.86rem;
    color: var(--text-muted);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    transform: translateY(0);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}
.trust-card strong,
.adv-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-main);
}

.trust-card:hover,
.adv-card:hover {
    transform: translateY(-2px);
    border-color: rgba(34,197,94,0.5);
    box-shadow:
        0 20px 45px rgba(15,23,42,0.12),
        0 0 0 1px rgba(34,197,94,0.25);
}

/* QR Generator */
.qr-generator {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 22px 26px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(15,23,42,0.08);
    margin: 26px 0 44px;
}

.qr-generator h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
}

.qr-input-group {
    margin-bottom: 16px;
}

.qr-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.qr-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-strong);
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qr-input-group input::placeholder {
    color: var(--text-soft);
}

.qr-input-group input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow:
        0 0 0 1px rgba(34,197,94,0.4),
        0 10px 26px rgba(22,163,74,0.25);
}

.qr-display {
    text-align: center;
    margin: 20px 0;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #f3f4f6;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.9rem;
    border: 1px dashed var(--border-strong);
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow:
        0 18px 40px rgba(15,23,42,0.14),
        0 0 0 1px rgba(148,163,184,0.4);
}

.qr-actions {
    text-align: center;
    margin-top: 20px;
}

.qr-actions .btn-primary,
.qr-actions .btn-ghost {
    margin: 0 5px;
}

.save-notice {
    background: var(--accent-subtle);
    border: 1px solid rgba(34,197,94,0.4);
    padding: 12px;
    border-radius: 14px;
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-main);
}

.save-notice strong {
    color: #166534;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15,23,42,0.28);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    margin: 15% auto;
    padding: 24px 24px 22px;
    border-radius: 18px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow:
        0 22px 50px rgba(15,23,42,0.25),
        0 0 0 1px rgba(209,213,219,0.9);
    border: 1px solid var(--border);
}

.modal-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.modal-message {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-actions button {
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-soft);
}

/* QR Code Types */
.qr-types {
    margin: 40px 0;
}

.qr-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.qr-type-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 16px 36px rgba(15,23,42,0.07);
    transform: translateY(0);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.qr-type-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34,197,94,0.5);
    box-shadow: 0 22px 50px rgba(15,23,42,0.12);
}

.qr-type-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #052e16;
    box-shadow:
        0 12px 30px rgba(22,163,74,0.3),
        0 0 0 1px rgba(21,128,61,0.5);
}

.qr-type-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1rem;
}

.qr-type-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ */
.faq {
    margin: 40px 0;
}

.faq-grid {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}

.faq-question {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    color: var(--text-main);
}

.faq-answer {
    padding: 0 16px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: "▲";
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* Global scan counter (static fruit machine style) */
.scan-counter {
    padding: 26px 0 8px;
}

.scan-counter-inner {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px 20px;
    border: 1px solid var(--border);
    box-shadow:
        0 18px 40px rgba(15,23,42,0.08),
        0 0 0 1px rgba(148,163,184,0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle green shimmer around the card */
.scan-counter-inner::before {
    content: "";
    position: absolute;
    inset: -120%;
    background: conic-gradient(
        from 160deg,
        rgba(34, 197, 94, 0.18),
        rgba(59, 130, 246, 0.14),
        rgba(16, 185, 129, 0.2),
        rgba(34, 197, 94, 0.28),
        rgba(56, 189, 248, 0.14),
        rgba(34, 197, 94, 0.18)
    );
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: rotateGlow 18s linear infinite;
}

@keyframes rotateGlow {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scan-counter-inner > * {
    position: relative;
    z-index: 1;
}

.scan-label {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 4px;
}

.scan-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Slot row */
.scan-slots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid var(--border-strong);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        0 10px 20px rgba(15, 23, 42, 0.08);
    white-space: nowrap;
}

/* Each digit “slot” */
.scan-slots .slot {
    width: 1.9rem;
    height: 2.3rem;
    overflow: hidden;
    border-radius: 0.45rem;
    background: radial-gradient(circle at top, #ffffff, #e5e7eb);
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.7),
        0 4px 6px rgba(15, 23, 42, 0.12);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle highlight on top of each slot */
.scan-slots .slot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6),
        transparent 45%,
        transparent 60%,
        rgba(148, 163, 184, 0.45)
    );
    pointer-events: none;
}

/* Digit inside the slot */
.scan-slots .digit-cell {
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow:
        0 0 6px rgba(34, 197, 94, 0.45),
        0 0 1px rgba(15, 23, 42, 0.7);
}

/* Slight gap between thousands groups */
.scan-slots .slot.group-gap {
    margin-right: 0.5rem;
}

/* Shimmer animation (background sweep) */
.shimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 130%;
    height: 140%;
    pointer-events: none;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    mix-blend-mode: soft-light;
    opacity: 0.22;
}

/* Footer Styling */
.site-footer {
    padding: 30px 15px;
    margin-top: 50px;
    text-align: center;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow:
        0 16px 40px rgba(15,23,42,0.08),
        0 0 0 1px rgba(148,163,184,0.18);
    color: var(--text-soft);
    font-size: 14px;
}

.site-footer .footer-top {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.site-footer .footer-top div:last-child {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

.footer-links {
    margin: 12px 0;
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.footer-links .divider {
    margin: 0 6px;
    color: #d1d5db;
}

.footer-credit {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-soft);
}

/* Mobile adjustments */
@media (max-width: 840px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 32px;
    }
    .hero-card {
        order: -1;
        margin-bottom: 10px;
    }

    .qr-generator {
        padding: 18px 16px 20px;
    }
}

@media (max-width: 600px) {
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .footer-links .divider {
        display: none;
    }
}