:root {
  --hp-teal: #00a8b5;
  --hp-teal-dark: #007a84;
  --hp-teal-glow: rgba(0,168,181,.22);
  --hp-brand: #ff5c00;
  --hp-brand-dark: #e05200;
  --hp-brand-glow: rgba(255,92,0,.28);
  --hp-ink: #0f1f22;
  --hp-ink-soft: #3d5256;
  --hp-muted: #6b8286;
  --hp-line: rgba(15,31,34,.08);
  --hp-bg: #f7fbfb;
  --hp-white: #fff;
  --hp-max: 1160px;
  --hp-radius: 18px;
  --hp-radius-lg: 26px;
  --hp-shadow: 0 24px 64px rgba(15,31,34,.10);
  --hp-shadow-sm: 0 8px 24px rgba(15,31,34,.06);
  --hp-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --hp-nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hp-nav-h) + 16px); }
body.qrdv-home {
  font-family: var(--hp-font);
  background-color: transparent;
  color: var(--hp-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
@media (min-width: 721px) { body.qrdv-home { padding-bottom: 0; } }
body.qrdv-home a { color: inherit; text-decoration: none; }
body.qrdv-home img { max-width: 100%; display: block; }
.hp-wrap { width: min(var(--hp-max), calc(100% - 32px)); margin: 0 auto; }

/* Nav */
.hp-nav {
  position: sticky; top: 0; z-index: 50; height: var(--hp-nav-h);
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }
.hp-nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; letter-spacing: -.02em; }
.hp-nav__logo-img { display: block; height: 40px; width: auto; max-width: min(180px, 46vw); }
.hp-nav__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--hp-brand); color: #fff;
  display: grid; place-items: center;
}
.hp-nav__mark svg { width: 18px; height: 18px; }
.hp-nav__links { display: flex; gap: 24px; font-size: .88rem; font-weight: 600; color: var(--hp-ink-soft); }
.hp-nav__links a:hover { color: var(--hp-teal-dark); }
.hp-nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hp-nav__signin { font-size: .88rem; font-weight: 600; color: var(--hp-ink-soft); }
.hp-nav__signin:hover { color: var(--hp-ink); }
@media (max-width: 820px) { .hp-nav__links { display: none; } }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap;
  font-family: inherit;
}
.hp-btn--primary { background: linear-gradient(135deg, var(--hp-brand), #ff7a3d); color: #fff; box-shadow: 0 10px 28px var(--hp-brand-glow); }
.hp-btn--primary:hover { transform: translateY(-2px); color: #fff; }
.hp-btn--secondary { background: var(--hp-white); color: var(--hp-ink); border: 2px solid var(--hp-line); }
.hp-btn--secondary:hover { border-color: var(--hp-teal); color: var(--hp-teal-dark); }
.hp-btn--lg { padding: 17px 32px; font-size: 1rem; }
.hp-btn--sm { padding: 10px 18px; font-size: .82rem; }
.hp-btn--block { width: 100%; }
@media (max-width: 480px) { .hp-nav .hp-btn--primary { padding: 10px 16px; font-size: .82rem; } }

/* Hero */
.hp-hero {
  padding: 40px 0 32px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 38%, rgba(255,255,255,.28) 62%, transparent 85%);
}
.hp-hero__grid {
  display: grid; grid-template-columns: 1.05fr .92fr; gap: 40px; align-items: center;
}
@media (max-width: 960px) {
  .hp-hero__grid { grid-template-columns: 1fr; gap: 28px; }
}
.hp-powered {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; font-size: .78rem; font-weight: 600; color: var(--hp-muted);
}
.hp-powered__logo { height: 20px; width: auto; display: block; border-radius: 4px; }
.hp-hero__headline {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
}
.hp-hero__qr-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hp-brand), #ff7a3d);
  color: #fff;
  box-shadow: 0 10px 24px var(--hp-brand-glow);
}
.hp-hero__qr-icon svg { width: 28px; height: 28px; }
.hp-hero__headline h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 0;
}
.hp-accent { color: var(--hp-brand); }
.hp-hero__sub { font-size: 1.05rem; color: var(--hp-ink-soft); max-width: 46ch; margin-bottom: 20px; line-height: 1.65; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.hp-hero__note { font-size: .8rem; color: var(--hp-muted); font-weight: 600; }
.hp-hero__note span { color: var(--hp-teal-dark); }
.hp-hero__signup { width: 100%; }
.hp-signup-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow);
  padding: 28px 24px 24px;
}
.hp-signup-card--compact { padding: 24px 22px 20px; }
.hp-signup-card__title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 6px; line-height: 1.15;
}
.hp-signup-card__intro {
  font-size: .92rem; color: var(--hp-ink-soft); line-height: 1.55; margin-bottom: 10px;
}
.hp-signup-card__pricing {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; padding: 8px 12px;
  border-radius: 999px; font-size: .82rem; font-weight: 800;
  color: var(--hp-brand); background: rgba(255,92,0,.1);
  border: 1px solid rgba(255,92,0,.18);
}
@media (max-width: 960px) {
  .hp-hero__signup { max-width: 520px; margin: 0 auto; }
}

/* Trust marquee */
.hp-trust { background: var(--hp-ink); padding: 20px 0; overflow: hidden; }
.hp-trust__head {
  text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.hp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hp-marquee__track { display: flex; gap: 16px; width: max-content; animation: hp-scroll 32s linear infinite; }
.hp-marquee__track img { width: 100px; height: 34px; object-fit: contain; border-radius: 7px; flex-shrink: 0; }
@keyframes hp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.hp-section { padding: 72px 0; }
.hp-section--white { background: var(--hp-white); }
.hp-section--alt { background: var(--hp-bg); }
.hp-section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.hp-section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); letter-spacing: -.03em; font-weight: 800; margin-bottom: 10px; }
.hp-section-head p { color: var(--hp-muted); font-size: 1rem; }
.hp-tag { display: inline-block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-brand); }

/* Compare */
.hp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .hp-compare { grid-template-columns: 1fr; } }
.hp-compare__card { padding: 28px; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); }
.hp-compare__card--bad { background: #fff8f6; }
.hp-compare__card--good { background: linear-gradient(160deg, #e8fafb, #fff); box-shadow: var(--hp-shadow); border-color: rgba(0,168,181,.18); }
.hp-compare__card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.hp-compare__card ul { list-style: none; display: grid; gap: 10px; }
.hp-compare__card li { display: flex; gap: 10px; font-size: .88rem; color: var(--hp-ink-soft); }
.hp-compare__card li::before { font-weight: 800; flex-shrink: 0; }
.hp-compare__card--bad li::before { content: "✕"; color: #ef4444; }
.hp-compare__card--good li::before { content: "✓"; color: var(--hp-teal); }

/* Timeline */
.hp-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
@media (max-width: 900px) { .hp-timeline { grid-template-columns: 1fr; gap: 12px; } }
.hp-timeline::before {
  content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--hp-brand), var(--hp-teal)); opacity: .35;
}
@media (max-width: 900px) { .hp-timeline::before { display: none; } }
.hp-timeline__step { padding: 0 10px; text-align: center; position: relative; }
@media (max-width: 900px) {
  .hp-timeline__step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; text-align: left; padding: 16px; background: var(--hp-white); border-radius: var(--hp-radius); border: 1px solid var(--hp-line); }
}
.hp-timeline__n {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--hp-brand); color: #fff; font-weight: 800; font-size: .95rem;
  display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--hp-bg);
}
@media (max-width: 900px) { .hp-timeline__n { margin: 0; } }
.hp-timeline__step h3 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
.hp-timeline__step p { font-size: .78rem; color: var(--hp-muted); line-height: 1.45; }

/* Use case cards */
.hp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .hp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hp-cards { grid-template-columns: 1fr; } }
.hp-card {
  padding: 22px; background: var(--hp-white); border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-sm);
}
.hp-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.hp-card p { font-size: .86rem; color: var(--hp-muted); line-height: 1.5; }

/* Demo */
.hp-demo-cta {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.hp-demo-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -.03em; margin: 8px 0 10px;
}
.hp-demo-cta p { color: var(--hp-ink-soft); margin-bottom: 18px; }

/* Footer */
.hp-footer { padding: 28px 0 36px; border-top: 1px solid var(--hp-line); color: var(--hp-muted); font-size: .82rem; }
.hp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.hp-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.hp-footer__links a { color: var(--hp-teal-dark); font-weight: 600; }

/* Sticky mobile bar */
.hp-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); border-top: 1px solid var(--hp-line);
  box-shadow: 0 -8px 32px rgba(0,0,0,.08);
}
@media (min-width: 721px) { .hp-sticky { display: none; } }
.hp-sticky__copy strong { display: block; font-size: 1rem; }
.hp-sticky__copy span { font-size: .72rem; color: var(--hp-muted); }

@media (prefers-reduced-motion: reduce) {
  .hp-marquee__track { animation: none; }
  .hp-btn:hover { transform: none; }
}
