:root {
  --bg: #0A0A0A;
  --surface: #121211;
  --surface-2: #191916;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F6F5F2;
  --muted: #9C9A93;
  --dim: #66645E;
  --accent: #D9B779;
  --accent-ink: #0A0A0A;
  --radius: 16px;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---- Layout ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Ambient glows ---- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow-a {
  width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%);
}
.glow-b {
  width: 420px; height: 420px; bottom: -180px; left: -140px;
  background: radial-gradient(circle, rgba(120,130,150,.10), transparent 70%);
}
.glow-c {
  width: 460px; height: 300px; top: -80px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 12px 22px;
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.3,.7,.3,1), background .2s, opacity .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 30px -12px var(--accent);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 38px -10px var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
}

/* ---- Nav ---- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-mark {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent);
  box-shadow: 0 4px 16px -6px var(--accent);
}
.nav-mark-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-ink);
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 450;
  transition: color .2s;
}
.nav-link:hover { color: var(--text); }
.nav-text-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.03); }
.lang-toggle .lang-opt { font-weight: 500; }
.lang-toggle .lang-opt.active { color: var(--accent); }
.lang-sep { opacity: .4; }

/* ---- Hero ---- */
.hero-sec {
  position: relative;
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(40px, 7vw, 90px);
  overflow: hidden;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 22px 0 0;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 500px;
  line-height: 1.62;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--dim);
}
.avatars { display: flex; }
.avatar-circle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -9px;
}
.avatar-circle:first-child { margin-left: 0; }

/* ---- Phone Mockup ---- */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}
.phone-frame {
  position: relative;
  width: 320px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg,#1c1c1a,#0e0e0d);
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5);
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 999px;
  background: #000; z-index: 3;
}
.phone-screen {
  border-radius: 33px;
  background: #0c0c0b;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  height: 580px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-appbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 46px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.album-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.album-meta {
  font-size: 11px;
  color: var(--dim);
  margin-top: 3px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 500;
}
.live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  font-size: 17px; color: var(--muted);
}
.photo-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  padding: 10px 10px 64px;
  overflow: hidden;
}
.photo-tile {
  border-radius: 10px;
  opacity: 0;
  background-size: cover;
  background-position: center;
  min-height: 0;
}
.upload-bar {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  height: 44px; border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px -10px var(--accent);
}
.upload-icon { font-size: 16px; }

/* ---- QR Card ---- */
.qr-card {
  position: absolute;
  right: -8px; bottom: 70px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 16px;
  background: rgba(22,22,20,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.9);
  opacity: 0;
}
.qr-glyph {
  width: 52px; height: 52px;
  padding: 5px; border-radius: 9px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1px;
}
.qr-cell { border-radius: 1px; }
.qr-label { font-size: 13px; font-weight: 600; }
.qr-sub { font-size: 11px; color: var(--dim); margin-top: 2px; }

/* ---- How It Works ---- */
.how-sec {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--border);
}
.how-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.step-card {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s cubic-bezier(.3,.7,.3,1), border-color .25s, background .25s;
  opacity: 0;
  transform: translateY(20px);
}
.step-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.step-icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
}
.step-icon-wrap svg { width: 22px; height: 22px; }
.step-num {
  position: absolute;
  top: 28px; right: 26px;
  font-size: 13px; font-weight: 600;
  color: var(--dim); letter-spacing: .04em;
}
.step-title {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.step-desc {
  font-size: 15px; color: var(--muted);
  margin: 10px 0 0; line-height: 1.6;
}

/* ---- Section Head ---- */
.section-head { max-width: 580px; }
.section-h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 16px 0 0;
}
.section-sub {
  font-size: 17px; color: var(--muted);
  margin: 14px 0 0; line-height: 1.55;
}

/* ---- Use Cases ---- */
.uses-sec { padding: clamp(56px, 8vw, 100px) 0; }
.uses-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.uses-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 15px; font-weight: 500;
  color: var(--text);
  transition: border-color .2s, background .2s, transform .2s;
  opacity: 0;
  transform: translateY(12px);
}
.pill svg { width: 15px; height: 15px; color: var(--accent); }
.pill:hover {
  transform: translateY(-2px) !important;
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
  background: color-mix(in oklab, var(--accent) 9%, var(--surface));
}

/* ---- CTA Banner ---- */
.cta-sec { padding: clamp(40px, 6vw, 80px) 0 90px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 84px) 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
}
.cta-h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 18px 0 0;
  max-width: 640px;
  margin-inline: auto;
}
.cta-p {
  font-size: 17.5px; color: var(--muted);
  margin: 16px auto 0; max-width: 460px; line-height: 1.55;
}
.cta-btn { margin-top: 28px; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; }
.footer-link { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-link:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--dim); }

/* ---- Arrow SVG inline ---- */
.icon-arrow, .icon-check {
  display: inline-block;
  vertical-align: middle;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .wrap { padding: 0 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .phone-stage { margin: 0 auto; }
  .how-row { grid-template-columns: 1fr; }
  .uses-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-text-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
