:root {
  --blue: #2563FF;
  --blue-light: #5B8BFF;
  --blue-soft: #EFF4FF;
  --blue-mid: #BFCFFF;
  --black: #0B0B0B;
  --gray-900: #1F1F1F;
  --gray-500: #6B7280;
  --white: #FFFFFF;
  --ink-2: #C7CCD6;
  --ink-3: #D6DAE2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  background: radial-gradient(120% 80% at 50% -10%, #0F1A33 0%, var(--black) 55%, #050505 100%);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- layout shell ---------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ambient glow ---------- */
.glow {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(40% 30% at 18% 22%, rgba(37, 99, 255, 0.28), transparent 60%),
    radial-gradient(35% 30% at 88% 65%, rgba(91, 139, 255, 0.18), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- top bar ---------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 8px 24px rgba(37, 99, 255, 0.25);
}
.brand__name { font-size: 20px; letter-spacing: -0.01em; }
.brand__prox { font-weight: 600; color: var(--white); }
.brand__card { font-weight: 700; color: var(--blue-light); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding: 64px 0 72px;
  min-height: calc(100vh - 88px);
}
.hero__copy { max-width: 560px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(37, 99, 255, 0.12);
  border: 1px solid rgba(37, 99, 255, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
}

.hero__title {
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.accent {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 30px;
  max-width: 500px;
}
.hero__lede strong { color: var(--white); font-weight: 600; }

/* ---------- phone mockup ---------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-stage::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(37,99,255,0.35), transparent);
  filter: blur(50px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 590px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1c1c22, #0d0d11);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,0.8),
    inset 0 0 0 6px #000,
    inset 0 0 0 7px rgba(255,255,255,0.06);
  padding: 14px;
  animation: float 6s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,12,24,0.2), rgba(8,12,24,0.55)),
    radial-gradient(120% 90% at 30% 10%, #3a5bbf 0%, #1a2a55 40%, #0a1230 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 16px 22px;
}
.lock-time {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 6px;
}
.lock-date {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 6px 0 0;
}

/* proximity notification card */
.prox-card {
  margin-top: auto;
  width: 100%;
  background: rgba(255,255,255,0.92);
  color: #111;
  border-radius: 18px;
  padding: 13px 14px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: 0.5s;
}
.prox-card__icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.prox-card__body { min-width: 0; }
.prox-card__top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.prox-card__app {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: #6B7280;
}
.prox-card__time { font-size: 11px; color: #9aa0ab; }
.prox-card__title { font-size: 14px; font-weight: 600; margin: 2px 0 1px; }
.prox-card__text { font-size: 13px; color: #4b5563; line-height: 1.35; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}
.lang-toggle button {
  background: none; border: none; color: var(--gray-500);
  font: inherit; cursor: pointer; padding: 0;
}
.lang-toggle button[aria-pressed='true'] { color: var(--white); font-weight: 600; }
.lang-toggle button:hover { color: var(--blue-mid); }
.lang-toggle__sep { color: rgba(255, 255, 255, 0.25); }

/* ---------- CTA ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.cta__btn--primary {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 99, 255, 0.35);
}
.cta__btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(37, 99, 255, 0.45); }
.cta__btn--video {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid rgba(91, 139, 255, 0.4);
  cursor: pointer;
}
.cta__btn--video:hover { background: rgba(91, 139, 255, 0.12); border-color: var(--blue-light); }

/* ---------- tutorial video lightbox ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.78); padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal__inner { width: 100%; max-width: 380px; }
.video-modal__inner video {
  width: 100%; max-height: 84vh; border-radius: 20px;
  background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.video-modal__close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: rgba(255, 255, 255, 0.85);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.video-modal__close:hover { color: #fff; }

/* ---------- section ---------- */
.section { padding: 64px 0; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-light); margin: 0 0 12px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0;
}

/* steps as cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(91,139,255,0.35); }
.step__num {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white); font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step__text { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin: 0; }

/* feature grid */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 30px 26px;
}
.panel__title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue-mid); margin: 0 0 18px;
}
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.bullets li { font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.bullets--check li { position: relative; padding-left: 30px; }
.bullets--check li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(91, 139, 255, 0.16);
  border: 1px solid rgba(91, 139, 255, 0.4);
}
.bullets--check li::after {
  content: '';
  position: absolute;
  left: 6px; top: 6px;
  width: 5px; height: 9px;
  border: solid var(--blue-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* final CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(37,99,255,0.14), rgba(91,139,255,0.06));
  border: 1px solid rgba(91,139,255,0.25);
  border-radius: 24px;
  padding: 52px 28px;
  margin: 24px 0 0;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.cta-band p { color: var(--ink-2); font-size: 16px; margin: 0 auto 26px; max-width: 460px; }
.cta-band .cta { justify-content: center; }

/* footer */
.foot { padding: 48px 0 56px; text-align: center; }
.foot p { font-size: 13px; color: var(--gray-500); margin: 0 0 10px; }
.foot a { color: var(--blue-mid); text-decoration: none; }
.foot a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 44px 0 56px;
    min-height: 0;
  }
  .hero__copy { max-width: 100%; margin: 0 auto; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .phone-stage { order: -1; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .phone { width: 250px; height: 510px; }
  .lock-time { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; color: #e8e8ea; line-height: 1.65; }
.legal a { color: #6e9bff; }
.legal h1 { font-size: 1.9rem; letter-spacing: -0.02em; margin: 24px 0 8px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.legal p, .legal li { color: rgba(232, 232, 234, 0.78); font-size: 0.95rem; }
.legal ul { padding-left: 20px; }
.legal .legal__updated { color: rgba(232, 232, 234, 0.45); font-size: 0.8rem; }
.legal .brand { margin-bottom: 8px; }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 0.85rem; }
.legal th, .legal td { border: 1px solid rgba(255,255,255,0.12); padding: 8px 10px; text-align: left; color: rgba(232,232,234,0.78); }
.legal__footnav { margin-top: 48px; font-size: 0.85rem; display: flex; gap: 16px; flex-wrap: wrap; }
