:root {
  --bg: #050608;
  --bg-elevated: #0e1218;
  --surface: #121820;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #eef1f4;
  --muted: #8b95a3;
  --accent: #34d399;
  --accent-hover: #4ade80;
  --accent-muted: rgba(52, 211, 153, 0.14);
  --accent-glow: rgba(52, 211, 153, 0.22);
  --warn: #fbbf24;
  --font: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-lg: 22px;
  --max: 960px;
  --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.app-landing {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 15% 0%, rgba(52, 211, 153, 0.09), transparent 50%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(56, 189, 248, 0.06), transparent 45%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(52, 211, 153, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 32%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding: 1rem 1.75rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--accent-muted), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 20px;
  height: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .nav-hide-sm {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(165deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: #03140c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 32px var(--accent-glow);
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  text-decoration: none;
}

main {
  overflow-x: hidden;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    padding: 4rem 1.5rem 4.5rem;
    gap: 2rem;
    align-items: center;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-device {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-device {
    justify-content: flex-end;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 0 60px rgba(52, 211, 153, 0.12);
}

.lead {
  margin: 0 0 1.35rem;
  font-size: 1.07rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
  max-width: 40ch;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
}

.app-meta-stars {
  color: var(--warn);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.app-meta-text {
  color: var(--muted);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.store-badge-link {
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}

.store-badge-img {
  display: block;
  height: auto;
}

.store-badge-img--apple {
  width: min(150px, 42vw);
  height: auto;
}

.store-badges--ios {
  margin-bottom: 0.25rem;
}

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

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.trust-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.phone-shell {
  width: 100%;
  max-width: 300px;
}

.phone-bezel {
  border-radius: 42px;
  padding: 11px 11px 15px;
  background: linear-gradient(168deg, #252d38 0%, #12161d 42%, #0a0c10 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 48px 96px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(52, 211, 153, 0.06);
}

.phone-notch {
  width: 112px;
  height: 26px;
  margin: 0 auto 6px;
  border-radius: 0 0 16px 16px;
  background: #050608;
  border: 1px solid var(--border);
  border-top: none;
}

.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 400px;
  background: var(--bg);
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.hero-visual--in-phone {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

@media (min-width: 900px) {
  .hero-visual:not(.hero-visual--in-phone) {
    min-height: 360px;
  }
}

.radar {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    circle at 50% 45%,
    var(--accent-muted) 0%,
    transparent 58%
  );
  border: 1px solid var(--border);
  overflow: hidden;
}

.radar::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--muted) 40%, transparent);
  animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(52, 211, 153, 0.14) 52deg,
    transparent 68deg
  );
  animation: sweep 6s linear infinite;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.device-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 88%);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 24, 32, 0.95) 0%, rgba(12, 16, 22, 0.98) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(52, 211, 153, 0.06);
  backdrop-filter: blur(8px);
}

.device-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.device-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.scan-bar {
  margin-top: 1rem;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.scan-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #22d3ee, var(--warn));
  animation: scan 2.2s ease-in-out infinite alternate;
}

@keyframes scan {
  from {
    width: 35%;
  }
  to {
    width: 88%;
  }
}

section {
  border-top: 1px solid var(--border);
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.65) 0%, rgba(8, 10, 14, 0.35) 100%);
  border-top-color: var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.75rem 1.35rem;
}

@media (min-width: 640px) {
  .section-inner {
    padding: 4.5rem 1.75rem;
  }
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.section-inner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 48ch;
}

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(22, 28, 36, 0.9) 0%, rgba(14, 18, 24, 0.95) 100%);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(52, 211, 153, 0.08);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-muted);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
  color: var(--accent);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 750px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.5rem 1.35rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  padding-top: 2.65rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.step:hover {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-muted));
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  background: transparent;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.35rem 4rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-inner {
    padding: 4rem 1.75rem 4.5rem;
  }
}

.cta-panel {
  margin: 0 auto;
  max-width: 520px;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(18, 26, 34, 0.85) 0%, rgba(10, 14, 20, 0.92) 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.1),
    var(--shadow-soft),
    0 0 100px rgba(52, 211, 153, 0.06);
}

@media (min-width: 480px) {
  .cta-panel {
    padding: 2.5rem 2rem;
  }
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0 auto 1.65rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 38ch;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.25rem 2.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
