:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e4e8f0;
  --accent: #2f5bff;
  --accent-2: #5b3df5;
  --accent-3: #12b886;
  --grad: linear-gradient(120deg, #2f5bff 0%, #5b3df5 100%);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 750; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo::before {
  content: "";
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad);
  box-shadow: 0 4px 12px -2px rgba(47,91,255,.5);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(47,91,255,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(47,91,255,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:focus-visible, input:focus-visible, select:focus-visible, .btn-ghost:focus-visible {
  outline: 3px solid var(--accent-3);
  outline-offset: 3px;
}
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600;
  background: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #cfd6e4; }

/* Top */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(47,91,255,.16), transparent 70%);
}
.hero::after {
  width: 480px; height: 480px; bottom: -200px; left: -140px;
  background: radial-gradient(circle, rgba(91,61,245,.10), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: .85rem; font-weight: 600; color: var(--muted);
}
.eyebrow i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3);
  animation: pulse 2s ease-in-out infinite;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

@media (min-width: 900px) {
  .hero { padding: 112px 0 128px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; }
}

/* Phone */
.phone-wrap { position: relative; justify-self: center; }
.phone-wrap::before {
  content: ""; position: absolute; inset: 10% -10%;
  background: radial-gradient(circle, rgba(47,91,255,.22), transparent 68%); border-radius: 50%;
}
.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(145deg, #2b3345, #0b0f1a);
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 70px -24px rgba(15,23,42,.45), inset 0 0 0 1.5px rgba(255,255,255,.14);
  transform: rotate(-4deg);
  transition: transform .5s ease;
}
.phone-wrap:hover .phone { transform: rotate(0deg) scale(1.02); }
.phone-screen {
  position: relative; height: 100%;
  background: linear-gradient(180deg, #f4f6fb, #e9edf6);
  border-radius: 36px;
  padding: 52px 16px 16px;
  overflow: hidden;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #000; border-radius: 14px;
}
.wallet-label { font-weight: 750; font-size: 1.4rem; margin-bottom: 14px; letter-spacing: -0.02em; color: var(--ink); }

.pass {
  position: relative; z-index: 2;
  background: linear-gradient(135deg, #2f5bff 0%, #5b3df5 100%);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  font-size: .85rem;
  box-shadow: 0 20px 36px -12px rgba(47,91,255,.55), inset 0 1px 0 rgba(255,255,255,.35);
  animation: lift 5s ease-in-out infinite;
}
.pass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: shine 5s ease-in-out infinite;
}
.pass p { margin: 0; }
.pass-behind {
  position: absolute; z-index: 1;
  left: 26px; right: 26px; bottom: 30px; height: 48px;
  background: linear-gradient(135deg, #0e9f77, #12b886);
  opacity: .8; animation: none; box-shadow: none;
}
.pass-behind::after { display: none; }
.pass-row { display: flex; justify-content: space-between; align-items: center; }
.pass-hotel { font-weight: 700; }
.pass-key { color: #fff; }
.pass-small { opacity: .75; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 16px !important; }
.pass-room { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.pass-dates { align-items: flex-end; }
.pass-dates div:last-child { text-align: right; }
.pass-nfc {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: .78rem;
}
.pass-nfc svg { animation: pulse 2s ease-in-out infinite; }

@keyframes lift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shine { 0%,60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }

/* Steps */
.steps { position: relative; padding: 96px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 560px; margin-bottom: 48px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.step-list li {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.step-list li::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .3s ease;
}
.step-list li:hover { transform: translateY(-6px); border-color: #cfd6e4; box-shadow: 0 20px 40px -20px rgba(15,23,42,.2); }
.step-list li:hover::before { opacity: 1; }
.step-list p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad); color: #fff;
  font-weight: 800; margin-bottom: 20px;
  box-shadow: 0 8px 18px -6px rgba(47,91,255,.55);
}
.note {
  display: inline-block; margin: 40px 0 0; padding: 10px 18px;
  border: 1px dashed var(--line); border-radius: 999px;
  color: var(--muted); font-size: .9rem;
}

@media (min-width: 820px) {
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Pilot */
.pilot { position: relative; padding: 104px 0; overflow: hidden; }
.pilot::before {
  content: ""; position: absolute; width: 600px; height: 600px; left: -200px; top: 10%;
  background: radial-gradient(circle, rgba(47,91,255,.08), transparent 70%);
}
.pilot-inner { position: relative; display: grid; gap: 40px; }
.pilot-inner > div p { color: var(--muted); font-size: 1.1rem; max-width: 28em; }
@media (min-width: 900px) {
  .pilot-inner { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  display: grid; gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.25);
}
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select {
  font: inherit; font-weight: 400;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--ink);
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.form input:hover, .form select:hover { border-color: #cfd6e4; }
.form input:focus, .form select:focus { border-color: var(--accent); outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(47,91,255,.15); }
.form .btn { justify-self: start; margin-top: 6px; }
.form-hint { color: var(--muted); font-size: .82rem; margin: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .9rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--ink); }
.foot .logo { color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.step-list li:nth-child(2).reveal { transition-delay: .1s; }
.step-list li:nth-child(3).reveal { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pass, .pass::after, .hero::before, .hero::after, .eyebrow i, .pass-nfc svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
