:root {
  --bg: #080b14;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f8ff;
  --muted: rgba(247, 248, 255, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #8b5cf6;
  --accent-2: #ff6b35;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 92, 246, 0.42), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgba(255, 107, 53, 0.20), transparent 28rem),
    radial-gradient(circle at 50% 90%, rgba(20, 184, 166, 0.12), transparent 34rem),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.nav, main, .footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; font-size: 20px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #c7d2fe 45%, #8b5cf6);
  color: #111827;
  box-shadow: 0 14px 40px rgba(139, 92, 246, .35);
}
.nav-links { display: flex; gap: 10px; }
.nav-links a {
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: .2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--panel); border-color: var(--line); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 66px 0 80px;
}
.eyebrow {
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .92;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
}
h2 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.055em; margin-bottom: 12px; }
h3 { font-size: 28px; letter-spacing: -0.045em; margin-bottom: 4px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.7; max-width: 650px; }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button, .store-button, .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover, .store-button:hover, .link-button:hover { transform: translateY(-2px); }
.primary, .store-button { background: #fff; color: #090b14; }
.ghost, .link-button { background: var(--panel); border: 1px solid var(--line); color: var(--text); }

.hero-card {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(24px);
}
.orb { position: absolute; border-radius: 999px; filter: blur(4px); }
.orb-one { width: 270px; height: 270px; background: rgba(139, 92, 246, .6); right: -70px; top: -60px; }
.orb-two { width: 230px; height: 230px; background: rgba(255, 107, 53, .35); left: -80px; bottom: -70px; }
.floating-icons {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.floating-icons img {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 42px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.25);
}
.floating-icons img:first-child { transform: translate(-76px, 28px) rotate(-8deg); }
.floating-icons img:last-child { transform: translate(78px, -34px) rotate(8deg); }

.section { padding: 54px 0; }
.section-heading { margin-bottom: 22px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card, .legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.125), rgba(255,255,255,.052));
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
}
.app-card { padding: 24px; min-height: 370px; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.app-top p, .app-description, .legal-panel p, .footer { color: var(--muted); }
.app-icon { width: 78px; height: 78px; border-radius: 22px; object-fit: cover; box-shadow: 0 18px 45px rgba(0,0,0,.32); }
.app-description { font-size: 17px; line-height: 1.65; flex: 1; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.meta-row span { color: rgba(255,255,255,.78); border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 999px; padding: 7px 10px; font-size: 13px; }
.pin-card { background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255, 107, 53, .055)); }
.scan-card { background: linear-gradient(145deg, rgba(139,92,246,.20), rgba(255,255,255,.052)); }

.legal-panel {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  margin-bottom: 56px;
}
.legal-links { display: grid; gap: 10px; }
.legal-links a {
  padding: 16px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: rgba(255,255,255,.86);
}
.legal-links a:hover { background: rgba(255,255,255,.12); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 44px; border-top: 1px solid var(--line); }
.footer p { margin: 0; }
.footer a { color: var(--text); }

@media (max-width: 860px) {
  .nav, main, .footer { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; gap: 18px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; min-height: auto; }
  .hero-card { min-height: 330px; }
  .floating-icons img { width: 145px; height: 145px; border-radius: 32px; }
  .app-grid, .legal-panel { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
