html { scroll-behavior: smooth; }
.qr-page { font-family: Arial,sans-serif; color: #111827; }
.qr-page *, .qr-page *::before, .qr-page *::after { box-sizing: border-box; }
.qr-page [hidden] { display: none !important; }
.qr-container { width: min(1500px,90%); margin: auto; }
.qr-page h1 { font-size: clamp(38px,4vw,60px); line-height: 1.08; letter-spacing: -2px; font-weight: 500; margin: 20px 0; }
.qr-page h2 { font-size: clamp(30px,3vw,42px); line-height: 1.15; font-weight: 500; letter-spacing: -1px; }
.qr-page h3 { font-size: 27px; font-weight: 500; margin: 0 0 24px; }
.qr-page p { font-size: 19px; line-height: 1.7; }
.qr-kicker { font-size: 13px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.qr-hero { padding: 140px 0 70px; background: #f7f4ee; }
.qr-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.qr-hero p { max-width: 520px; margin: 24px 0 32px; }
.qr-hero-art { position: relative; }
.qr-hero-art img { width: 100%; height: auto; border-radius: 20px; display: block; }
.qr-art-label { position: absolute; bottom: 22px; left: 22px; background: #d9efc4; color: #183d25; padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.qr-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 15px 23px; background: #4338ca; color: #fff; border: 1px solid #4338ca; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: 600; cursor: pointer; }
.qr-button:hover { background: #312e81; color: #fff; }
.qr-button:disabled { background: #cbd1db; border-color: #cbd1db; cursor: default; color: #fff; }
.qr-page :focus-visible { outline: 3px solid #8477ff; outline-offset: 3px; }
.qr-builder-section { background: linear-gradient(130deg,#e5eaff,#dbe8fc 60%,#e2f2e9); padding: 70px 0; scroll-margin-top: 80px; }
.qr-section-intro { margin-bottom: 35px; }
.qr-section-intro h2 { margin: 14px 0; }
.qr-builder-grid { display: grid; grid-template-columns: minmax(0,2.3fr) minmax(300px,1fr); gap: 28px; align-items: start; }
.qr-controls { display: grid; gap: 24px; }
.qr-compact-generate { margin-top: 24px; }
.qr-design-submenu { padding: 18px 22px !important; }
.qr-design-submenu > summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
.qr-design-submenu > summary::-webkit-details-marker { display: none; }
.qr-design-submenu > summary span { font-size: 12px; font-weight: 400; color: #64748b; }
.qr-design-submenu > summary .qr-design-desktop-label { font: inherit; color: inherit; }
.qr-design-mobile-label,.qr-mobile-content-toggle { display: none; }
.qr-design-submenu > summary::after { content: '+'; margin-left: auto; font-size: 22px; }
.qr-design-submenu[open] > summary::after { content: '−'; }
.qr-design-submenu-content { padding-top: 18px; }
.qr-design-submenu .qr-tabs button { padding: 8px 18px; font-size: 14px; }
.qr-design-submenu label { margin: 14px 0 8px; font-size: 14px; }
.qr-design-submenu .qr-help { font-size: 12px; }
.qr-shape-samples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.qr-shape-sample { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px 8px; border: 2px solid #d5ddef; border-radius: 12px; background: #fff; color: #334155; font-size: 13px; cursor: pointer; }
.qr-shape-sample:hover { border-color: #a59cf0; background: #f8f7ff; }
.qr-shape-sample[aria-pressed=true] { border-color: #4338ca; background: #efedff; color: #4338ca; font-weight: 600; box-shadow: 0 0 0 1px #4338ca; }
.qr-shape-image { position: relative; display: block; width: 144px; max-width: 100%; aspect-ratio: 1; background: #fff; border-radius: 6px; overflow: hidden; }
.qr-shape-image svg { display: block; width: 100%; height: auto; }
.qr-shape-detail { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; padding: 4px; background: #fff; border: 1px solid #b7c2dc; border-radius: 8px; box-shadow: 0 2px 5px #172a4620; }
.qr-shape-detail svg { width: 100%; height: 100%; }
@media(max-width:560px) { .qr-shape-samples { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.qr-preset-logos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.qr-preset-logos button { display: flex; align-items: center; gap: 9px; padding: 10px; background: #fff; border: 1px solid #c2cce9; border-radius: 9px; color: #334155; font-size: 13px; }
.qr-preset-logos button img { width: 32px; height: 32px; }
.qr-preset-logos button[aria-pressed=true] { border: 2px solid #4338ca; background: #efedff; }
@media(max-width:560px) { .qr-preset-logos { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.qr-preview-panel .qr-preview { max-width: 260px; margin: 0 auto; }
.qr-preview-panel .qr-contrast { font-size: 13px !important; }
.qr-panel { padding: 32px; border: 1px solid #bbc8ef; border-radius: 18px; background: rgba(255,255,255,.16); min-width: 0; }
.qr-page label { display: block; font-size: 15px; font-weight: 500; margin: 20px 0 10px; }
.qr-page input:not([type=checkbox]), .qr-page select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #a9b8ea; background: #fff; color: #111827; border-radius: 10px; font-size: 15px; }
.qr-page input[type=color] { height: 52px; cursor: pointer; padding: 6px; }
.qr-page input[type=checkbox] { width: 18px; height: 18px; accent-color: #4338ca; }
.qr-page small,.qr-page .qr-help { display: block; margin: 12px 0 0; font-size: 14px; color: #526075; line-height: 1.6; }
.qr-color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-check { display: flex !important; align-items: center; gap: 10px; }
.qr-tabs { display: inline-flex; padding: 5px; gap: 6px; border-radius: 14px; background: #ecf0ff; }
.qr-tabs button { padding: 10px 26px; border: 0; border-radius: 10px; background: transparent; color: #58647a; }
.qr-tabs button[aria-selected=true] { background: #fff; color: #4338ca; box-shadow: 0 2px 6px #bac4d8; }
.qr-text-button { border: 0; padding: 10px 0; background: transparent; color: #4338ca; font-size: 14px; }
.qr-export-options { margin-bottom: 26px; }
.qr-preview-panel { position: sticky; top: 90px; }
.qr-preview { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: #fff; border: 1px solid #abbafa; border-radius: 14px; padding: 18px; overflow: hidden; }
.qr-preview > svg,.qr-preview > canvas { width: 100% !important; height: auto !important; display: block; }
.qr-empty { display: grid; align-content: center; text-align: center; width: 100%; height: 100%; border: 1px dashed #ccd1dd; }
.qr-empty > span { font-size: 70px; color: #9184df; }
.qr-empty p { font-size: 15px; }
.qr-contrast { font-size: 14px !important; padding: 14px 0; margin: 0; border-bottom: 1px solid #b8c2d4; }
.qr-contrast[data-level=good] { color: #166534; }
.qr-contrast[data-level=warning] { color: #9a3412; }
.qr-preview-panel .qr-button { width: 100%; margin-top: 24px; }
.qr-features { padding: 65px 0; }
.qr-feature { padding: 44px; margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; border-radius: 18px; }
.qr-feature h2 { margin: 20px 0; }
.qr-feature p { margin-bottom: 28px; }
.qr-feature-mint { background: #dcefcf; }
.qr-feature-lavender { background: #e6dfff; }
.qr-feature:nth-child(even) > :first-child { order: 2; }
.qr-feature-art img { width: 100%; display: block; border-radius: 14px; }
.qr-faq { padding: 80px 0 90px; background: #faf7f2; }
.qr-faq-intro { text-align: center; margin-bottom: 60px; }
.qr-faq-intro .qr-kicker { font-weight: 400; }
.qr-faq-intro h2 { margin: 16px 0 18px; font-size: clamp(28px,2.3vw,34px); letter-spacing: -1px; }
.qr-faq-intro p { margin: 0 auto; max-width: 650px; font-size: 20px; line-height: 1.6; }
.qr-faq details { padding: 28px 0; }
.qr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 20px; cursor: pointer; font-weight: 600; list-style: none; }
.qr-faq summary::-webkit-details-marker { display: none; }
.qr-faq summary::after { content: '+'; flex-shrink: 0; font-size: 24px; font-weight: 400; width: 24px; text-align: center; }
.qr-faq details[open] summary::after { content: '−'; }
.qr-faq details p { max-width: 1000px; margin-top: 18px; font-size: 17px; color: #526075; }
@media(max-width:991px) { .qr-split,.qr-builder-grid,.qr-feature { grid-template-columns: 1fr; gap: 30px; } .qr-hero { padding: 115px 0 45px; } .qr-preview-panel { position: static; max-width: 520px; width: 100%; margin: auto; } .qr-feature:nth-child(even) > :first-child { order: 0; } .qr-panel,.qr-feature { padding: 24px; } }
@media(max-width:560px) { .qr-container { width: 92%; } .qr-page h1 { font-size: 38px; } .qr-color-grid { gap: 12px; } .qr-tabs button { padding: 10px 18px; } .qr-panel { padding: 20px; } .qr-page p { font-size: 17px; } .qr-art-label { font-size: 12px; bottom: 12px; left: 12px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.qr-pull-shell { min-width: 0; width: 100%; clip-path: inset(-30px -30px -30px 0); }
.qr-pull-shell.qr-pull-from-right { clip-path: inset(-30px 0 -30px -30px); }
.qr-pull-card { transform: translateX(var(--qr-pull-x,0px)) rotate(var(--qr-pull-angle,0deg)) scale(var(--qr-pull-scale,1)); will-change: transform; }
@media(max-width:991px) {
    .qr-pull-shell,.qr-pull-shell.qr-pull-from-right { clip-path: inset(0 -20px -30px -20px); }
    .qr-pull-card { transform: translateY(var(--qr-pull-y,0px)) scale(var(--qr-pull-scale,1)); }
    .qr-faq-intro { margin-bottom: 35px; }
    .qr-faq summary { font-size: 18px; }
    .qr-faq-desktop-break { display: none; }
}
@media(prefers-reduced-motion:reduce) { .qr-pull-card { transform: none; will-change: auto; } }
.qr-tips { padding: 70px 0 90px; background: linear-gradient(135deg,#eee8ff 0%,#e3eafb 55%,#e6f2ef 100%); color: #202020; overflow: visible; }
.qr-tips-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 65px; align-items: start; overflow: visible; }
.qr-tips-intro { position: sticky; top: 90px; align-self: start; }
.qr-tips-intro .qr-kicker { color: #b74ef2; font-weight: 500; }
.qr-tips-intro h2 { margin: 18px 0 28px; color: #202020; font-size: clamp(30px,3vw,42px); }
.qr-tips-intro p { font-size: 20px; line-height: 1.6; color: #525252; margin-bottom: 24px; }
.qr-tips-intro .qr-tips-note { font-style: italic; }
.qr-tips-heading { color: #202020; margin: 0 0 30px 65px !important; font-size: 27px !important; }
.qr-tips-intro img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; border-radius: 16px; margin: 24px 0; }
.qr-tips-timeline { --qr-timeline-progress: 0; list-style: none; position: relative; padding: 0 0 0 65px; margin: 0; }
.qr-tips-timeline::before,.qr-tips-timeline::after { content: ''; position: absolute; left: 24px; top: 25px; bottom: 25px; width: 2px; background: #dec5f5; }
.qr-tips-timeline::after { background: linear-gradient(#b7a1ff,#8cdfbf); transform: scaleY(var(--qr-timeline-progress)); transform-origin: top; }
.qr-tip { position: relative; padding-bottom: 30px; }
.qr-tip:last-child { padding-bottom: 0; }
.qr-tip-number { position: absolute; left: -65px; top: 18px; width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 700; background: linear-gradient(135deg,#a855f7,#7658fa); z-index: 1; box-shadow: 0 0 20px rgba(168,85,247,.23); transition: box-shadow .5s, transform .5s; }
.qr-tip-card { padding: 26px 30px; border: 1px solid #e9e6eb; border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(50,35,70,.025); display: flex; flex-direction: column; }
.qr-tip-label { color: #8643ff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; order: 1; }
.qr-tip-card h3 { color: #202020; font-size: 26px; font-weight: 400; margin: 0 0 10px; order: 0; }
.qr-tip-card p { color: #525252; font-size: 17px; margin: 16px 0 0; order: 2; }
.qr-timeline-animated .qr-tip-card { opacity: 0; transform: translateY(35px); transition: opacity .65s ease, transform .75s cubic-bezier(.16,1,.3,1); }
.qr-timeline-animated .qr-tip.is-visible .qr-tip-card { opacity: 1; transform: none; }
.qr-tip.is-visible .qr-tip-number { box-shadow: 0 0 22px rgba(168,150,255,.35); transform: scale(1.06); }
@media(max-width:991px) { .qr-tips { padding: 60px 0; } .qr-tips-layout { grid-template-columns: 1fr; gap: 40px; } .qr-tips-intro { position: static; } .qr-tips-intro img { max-height: 300px; } .qr-tips-timeline { padding-left: 50px; } .qr-tip-number { left: -50px; width: 38px; height: 38px; font-size: 13px; } .qr-tips-timeline::before,.qr-tips-timeline::after { left: 18px; } .qr-tip-card { padding: 22px; } .qr-tip-card h3 { font-size: 21px; } }
@media(prefers-reduced-motion:reduce) { .qr-timeline-animated .qr-tip-card { opacity: 1; transform: none; transition: none; } .qr-tip-number { transition: none; } }
@media(max-width:991px) {
    .qr-controls { gap: 14px; }
    .qr-content-panel,.qr-design-submenu { border: 1px solid #fff; background: rgba(255,255,255,.25); padding: 24px !important; }
    .qr-desktop-content-title,.qr-design-submenu .qr-design-desktop-label,.qr-design-submenu .qr-design-hint { display: none; }
    .qr-design-submenu > summary .qr-design-mobile-label { display: inline; color: #111827; font-size: 21px; font-weight: 500; }
    .qr-mobile-content-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; border: 0; background: transparent; color: #111827; font-size: 21px; font-weight: 500; text-align: left; }
    .qr-mobile-content-toggle span,.qr-design-submenu > summary::after { content: ''; width: 12px; height: 12px; border-right: 2px solid #738195; border-bottom: 2px solid #738195; transform: rotate(45deg); margin-right: 3px; font-size: 0; }
    .qr-mobile-content-toggle[aria-expanded=true] span,.qr-design-submenu[open] > summary::after { transform: rotate(225deg); }
    .qr-content-panel.is-collapsed #qrContentPanel { display: none; }
    .qr-content-panel:not(.is-collapsed) #qrContentPanel { padding-top: 16px; }
    .qr-preview-panel .qr-preview { max-width: 100%; }
}

.qr-destinations label { margin-top: 0; }
.qr-destination-title { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.qr-destination-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.qr-page .qr-destination-option { position: relative; margin: 0; cursor: pointer; min-width: 0; }
.qr-page .qr-destination-option input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.qr-destination-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 94px; height: 100%; padding: 12px 6px; border: 2px solid #c3cce2; border-radius: 8px; background: #fff; color: #44516a; text-align: center; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.qr-destination-choice .bi { font-size: 25px; line-height: 1; }
.qr-destination-option:hover .qr-destination-choice { border-color: #9187df; }
.qr-destination-option input:checked + .qr-destination-choice { border-color: #4338ca; background: #efedff; color: #4338ca; font-weight: 600; }
.qr-destination-option input:focus-visible + .qr-destination-choice { outline: 3px solid #8477ff; outline-offset: 3px; }
@media(max-width:560px) { .qr-destination-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; } }
