/* Qard landing page */
:root {
  --bg: #08090c; --bg2: #0d0f14; --surface: #12141b; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --text: #f4f4f5; --muted: #a1a1aa; --dim: #71717a;
  --gold1: #f6e3a1; --gold: #d4af37; --gold3: #9c7a2c;
  --goldg: linear-gradient(135deg, #f8e9ae 0%, #d4af37 42%, #9c7a2c 72%, #e9d48a 100%);
  --r: 18px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--dim); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn.big { padding: 15px 28px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.gold { background: var(--goldg); color: #1a1408; box-shadow: 0 10px 30px rgba(212, 175, 55, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212, 175, 55, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost { border-color: var(--line2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 12, .7); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); }

/* hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(40% 50% at 70% 30%, rgba(212, 175, 55, .16), transparent 70%), radial-gradient(35% 45% at 15% 10%, rgba(80, 110, 255, .12), transparent 70%); }
.glow.small { height: 600px; inset: 0 -10% auto; background: radial-gradient(40% 50% at 80% 40%, rgba(212, 175, 55, .12), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 14px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 175, 55, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 22px; }
.gold-text { background: var(--goldg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--goldg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.6-4.3 4.6a.8.8 0 0 1-1.2 0L4.4 8.4a.8.8 0 1 1 1.2-1.1l1.1 1.1 3.7-3.9a.8.8 0 1 1 1.2 1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.6-4.3 4.6a.8.8 0 0 1-1.2 0L4.4 8.4a.8.8 0 1 1 1.2-1.1l1.1 1.1 3.7-3.9a.8.8 0 1 1 1.2 1.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks.col { flex-direction: column; margin-top: 26px; }

.hero-visual { position: relative; height: 600px; perspective: 1400px; }
.phone { position: absolute; right: 6%; top: 0; width: 290px; height: 590px; border-radius: 46px; background: #17171b; padding: 11px;
  box-shadow: 0 0 0 1px #2a2a30, 0 40px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(212, 175, 55, .08); transform: rotate(3deg); }
.phone .notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; position: relative; }
.scroller { position: absolute; inset: 0 0 auto; will-change: transform; }
.screen .lp { min-height: 568px; font-size: 13.5px; pointer-events: none; }
.screen .lp-hero { padding-top: 54px; }
.screen .lp-avatar { width: 84px; height: 84px; }
.screen .lp h1 { font-size: 19px; }
.hero-card { position: absolute; left: 0; bottom: 70px; width: 360px; z-index: 4; transform: rotate(-9deg); }
.ripple { position: absolute; left: 330px; bottom: 210px; width: 10px; height: 10px; z-index: 5; }
.ripple i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ripple 2.6s var(--ease) infinite; }
.ripple i:nth-child(2) { animation-delay: .6s; }
.ripple i:nth-child(3) { animation-delay: 1.2s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(9); opacity: 0; } }

/* NFC card renders */
.ncard { position: relative; width: 100%; aspect-ratio: 85.6 / 54; border-radius: 4.8% / 7.6%; overflow: hidden; padding: 6.5% 7%;
  display: grid; grid-template-rows: auto 1fr auto; color: var(--ink); --ink: #fff; --sub: rgba(255, 255, 255, .6);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset; transform-style: preserve-3d; transition: transform .25s var(--ease); font-size: clamp(9px, 1.2vw, 13px); }
.ncard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 46%, transparent 58%);
  transform: translateX(var(--shine, -60%)); transition: transform .25s var(--ease); pointer-events: none; mix-blend-mode: overlay; }
.nc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.nc-logo { font-weight: 800; font-size: 1.9em; letter-spacing: -.03em; }
.nc-nfc { width: 2.4em; height: 2.4em; opacity: .85; }
.nc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.nc-name { font-weight: 700; font-size: 1.45em; letter-spacing: .01em; line-height: 1.2; }
.nc-role { color: var(--sub); font-size: 1em; margin-top: 2px; }
.nc-qr { width: 5.2em; height: 5.2em; flex: none; }
.nc-qr svg { width: 100%; height: 100%; display: block; }

.f-black { background: radial-gradient(120% 140% at 0% 0%, #2a2a2e, #0b0b0d 60%), #0b0b0d;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), radial-gradient(120% 140% at 0% 0%, #2a2a2e, #0b0b0d 60%); --ink: #e9d28a; --sub: rgba(233, 210, 138, .65); }
.f-black .nc-logo, .f-black .nc-name { background: var(--goldg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-gold { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px), linear-gradient(135deg, #f7e6a6, #c99f2f 45%, #8f6d22 75%, #e5cd7d); --ink: #2a1f06; --sub: rgba(42, 31, 6, .65); }
.f-silver { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 3px), linear-gradient(135deg, #f1f3f6, #a9afb8 45%, #6d737c 75%, #dfe3e8); --ink: #15181d; --sub: rgba(21, 24, 29, .6); }
.f-rose { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), linear-gradient(135deg, #f6d7cb, #c98b78 45%, #8e5847 75%, #ecc2b2); --ink: #2b120b; --sub: rgba(43, 18, 11, .6); }
.f-white { background: linear-gradient(160deg, #ffffff, #eceef2); --ink: #111318; --sub: rgba(17, 19, 24, .55); }
.f-matte { background: linear-gradient(160deg, #1d1f24, #0c0d10); --ink: #fff; --sub: rgba(255, 255, 255, .55); }
.f-color { background: radial-gradient(90% 120% at 100% 0%, #ff8f70, transparent 60%), radial-gradient(90% 120% at 0% 100%, #5b7cfa, transparent 60%), #2a1d5c; --ink: #fff; --sub: rgba(255, 255, 255, .7); }

/* sections */
.section { padding: 110px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step .num { position: absolute; right: 22px; top: 14px; font-size: 54px; font-weight: 800; color: rgba(255, 255, 255, .04); letter-spacing: -.04em; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(212, 175, 55, .1); color: var(--gold); border: 1px solid rgba(212, 175, 55, .25); margin-bottom: 20px; }
.step h3, .feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.step p, .feature p { color: var(--muted); font-size: 15px; }

.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.material { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; }
.mat-stage { padding: 48px 40px; display: grid; place-items: center; perspective: 1200px; background: radial-gradient(70% 70% at 50% 40%, rgba(255, 255, 255, .05), transparent 70%); border-bottom: 1px solid var(--line); }
.mat-card { width: min(380px, 100%); }
.mat-body { padding: 28px 32px 34px; }
.mat-body h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.mat-body > p { color: var(--muted); }
.finishes { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 22px; }
.finish { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; }
.finish i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.finish.on { border-color: var(--gold); color: var(--text); background: rgba(212, 175, 55, .08); }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.specs li { padding-left: 22px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.feature:hover { border-color: rgba(212, 175, 55, .35); transform: translateY(-4px); }

.gallery { display: flex; gap: 28px; overflow-x: auto; padding: 10px max(20px, calc((100vw - 1160px) / 2)) 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.gal-item { flex: none; scroll-snap-align: center; display: grid; justify-items: center; gap: 14px; }
.gal-item .phone { position: relative; right: auto; top: auto; transform: none; width: 250px; height: 510px; border-radius: 40px; padding: 9px; }
.gal-item .screen { border-radius: 32px; }
.gal-item .screen .lp { min-height: 492px; }
.gal-item .phone .notch { top: 19px; width: 72px; height: 21px; }
.gal-item span { color: var(--muted); font-weight: 600; font-size: 14px; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; }

.contact { overflow: hidden; }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact h2 { text-align: left; }
.lead { display: grid; gap: 16px; padding: 32px; border-radius: 24px; background: rgba(18, 20, 27, .85); border: 1px solid var(--line2); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.lead label { display: grid; gap: 7px; }
.lead label span { font-size: 14px; font-weight: 600; color: var(--muted); }
.lead input, .lead textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.lead input::placeholder, .lead textarea::placeholder { color: #5b5b63; }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .06); }
.lead textarea { resize: vertical; min-height: 120px; }
.lead [aria-invalid="true"] { border-color: #e5484d; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { color: var(--dim); font-size: 13px; text-align: center; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; background: rgba(48, 164, 108, .12); color: #6be3a6; border: 1px solid rgba(48, 164, 108, .3); }
.form-msg.bad { background: rgba(229, 72, 77, .12); color: #ff8a8e; border-color: rgba(229, 72, 77, .3); }
.lead.sent > :not(.form-msg):not(.done) { display: none; }
.done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 30px 0; }
.done b { font-size: 22px; }
.done p { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; color: var(--muted); font-size: 14px; }
.foot-in .muted { margin-left: auto; }
.logo.small { font-size: 17px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-in, .contact-in { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .steps, .features, .row2 { grid-template-columns: 1fr; }
  .hero-visual { height: 500px; }
  .phone { width: 240px; height: 490px; right: 0; border-radius: 40px; padding: 9px; }
  .phone .notch { top: 19px; width: 72px; height: 21px; }
  .screen { border-radius: 32px; }
  .screen .lp { min-height: 472px; }
  .hero-card { width: 250px; bottom: 40px; }
  .ripple { left: 220px; bottom: 150px; }
  .mat-stage { padding: 36px 24px; }
  .mat-body { padding: 24px; }
  .lead { padding: 22px; }
  .nav-in { gap: 12px; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
  .foot-in .muted { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
