:root {
  --blue: #0a5fad;
  --blue-bright: #0074d4;
  --blue-deep: #06457f;
  --orange: #f9a600;
  --orange-soft: #ffc85a;
  --ink: #0f172a;
  --muted: #5b6575;
  --line: rgba(15, 23, 42, 0.08);
  --card: rgba(255, 255, 255, 0.82);
  --bg: #f4f7fb;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(10, 95, 173, 0.14);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 116, 212, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(249, 166, 0, 0.18), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

.top,
.hero,
.section,
.cta-band,
.foot {
  position: relative;
  z-index: 1;
}

/* Header */
.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  color: var(--blue-bright);
  display: grid;
  place-items: center;
}

.brand-mark.small {
  color: var(--blue-bright);
}

.brand-text {
  font-size: 1.2rem;
}

.brand-text span {
  color: var(--blue-bright);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--blue-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 116, 212, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b84ea, var(--blue-deep));
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(0, 116, 212, 0.35);
}

.btn-ghost {
  background: rgba(0, 116, 212, 0.08);
  color: var(--blue-deep);
  padding: 0.55rem 1rem;
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1.02rem;
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(249, 166, 0, 0.16);
  color: #9a6400;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--ink);
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-bright), #2aa3ff 45%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Phone mock */
.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(100%, 300px);
  background: linear-gradient(160deg, #1a2436, #0b1220);
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}

.phone-bar {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px auto 12px;
}

.phone-screen {
  background: linear-gradient(180deg, #f8fbff, #e8f1fb);
  border-radius: 24px;
  padding: 1rem;
  min-height: 400px;
}

.scan-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mini-qr {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #0f172a;
  position: relative;
  flex-shrink: 0;
}

.mini-qr span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 2px;
}

.mini-qr span:nth-child(1) { top: 6px; left: 6px; }
.mini-qr span:nth-child(2) { top: 6px; right: 6px; }
.mini-qr span:nth-child(3) { bottom: 6px; left: 6px; }
.mini-qr span:nth-child(4) { bottom: 6px; right: 6px; width: 8px; height: 8px; border: 0; background: #fff; }

.mini-qr i {
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(#fff 0 0) 0 0 / 4px 4px,
    linear-gradient(#fff 0 0) 8px 0 / 4px 4px,
    linear-gradient(#fff 0 0) 0 8px / 4px 4px,
    linear-gradient(#fff 0 0) 8px 8px / 4px 4px;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.scan-meta strong {
  display: block;
  font-size: 0.92rem;
}

.scan-meta span {
  font-size: 0.78rem;
  color: #1a9b4a;
  font-weight: 600;
}

.preview-img {
  margin-top: 0.9rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.preview-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.preview-body {
  height: 170px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 116, 212, 0.25), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(249, 166, 0, 0.3), transparent 40%),
    #dfeaf7;
  position: relative;
}

.blob {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-bright), var(--orange));
  box-shadow: 0 16px 30px rgba(0, 116, 212, 0.25);
  animation: float 4s ease-in-out infinite;
}

.preview-body p {
  position: absolute;
  bottom: 12px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.chip-accent {
  background: rgba(249, 166, 0, 0.18);
  border-color: rgba(249, 166, 0, 0.35);
  color: #8a5900;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  width: 170px;
}

.float-card strong {
  display: block;
  font-size: 0.88rem;
}

.float-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

.f1 {
  top: 12%;
  left: 0;
  animation: float 5s ease-in-out infinite;
}

.f2 {
  bottom: 10%;
  right: 0;
  animation: float 5.5s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section-alt {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
  border-block: 1px solid var(--line);
}

.section-alt .section-head,
.section-alt .grid-3 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--blue-deep);
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.step-num {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.steps h3,
.card h3,
.use h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.steps p,
.card p,
.use p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 116, 212, 0.1);
  color: var(--blue-bright);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.use {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 116, 212, 0.05), transparent 50%),
    #fff;
}

.use:nth-child(even) {
  background:
    linear-gradient(135deg, rgba(249, 166, 0, 0.08), transparent 50%),
    #fff;
}

/* CTA */
.cta-band {
  max-width: 1120px;
  margin: 1rem auto 3rem;
  padding: 0 1.25rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.1rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 166, 0, 0.25), transparent 40%),
    linear-gradient(135deg, #06457f, #0a5fad 55%, #0074d4);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  font-family: var(--display);
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta-inner p {
  margin: 0;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #f3f8ff;
}

.cta-band .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 2.5rem 1.25rem 1.5rem;
}

.foot-grid {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.foot-note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 22rem;
}

.foot h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li {
  margin-bottom: 0.4rem;
}

.foot a:hover {
  color: var(--blue-bright);
}

.copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1rem;
  }

  .hero-visual {
    min-height: auto;
    order: -1;
  }

  .float-card {
    display: none;
  }

  .phone {
    transform: none;
  }

  .steps,
  .grid-3,
  .use-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(0, 116, 212, 0.06);
  }

  .top {
    position: sticky;
    top: 0;
    background: rgba(244, 247, 251, 0.9);
    backdrop-filter: blur(10px);
    z-index: 20;
  }
}
