:root {
  --bg: #070B0E;
  --surface: #0D141A;
  --elevated: #15202A;
  --line: #1E2C36;
  --line-strong: #2B3E4A;
  --ink: #E9F1EF;
  --ink-dim: #90A4AA;
  --ink-mute: #7C8E94;
  --sonar: #2FE3B7;
  --sonar-dim: #1C7A63;
  --sonar-deep: #0F4638;
  --low: #5AB2FF;
  --med: #FFC24B;
  --high: #FF5D6E;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sonar);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(7, 11, 14, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

nav.main-nav { display: flex; align-items: center; gap: 28px; }

nav.main-nav a {
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

nav.main-nav a:hover, nav.main-nav a.active { color: var(--sonar); }

/* Language switcher */
.lang-switcher { position: relative; }

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--elevated);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.lang-current::after {
  content: "▾";
  color: var(--ink-mute);
  font-size: 11px;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  max-height: 340px;
  overflow-y: auto;
  min-width: 200px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 20;
}

.lang-menu.open { display: block; }

.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-dim);
  white-space: nowrap;
}

.lang-menu a:hover { background: var(--elevated); color: var(--ink); }
.lang-menu a.active { color: var(--sonar); font-weight: 700; }

[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] nav.main-nav a { text-align: right; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 40px;
  text-align: start;
}

.hero-copy .store-row { justify-content: flex-start; }

.hero-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  height: auto;
  padding: 40px 0;
  gap: 20px;
}

.hero-mockup::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--sonar-deep) 0%, rgba(15, 70, 56, 0.25) 45%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}

/* Radar panel */
.radar-panel {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 0 50px rgba(47,227,183,0.06);
}

.radar-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: repeating-radial-gradient(circle at center, transparent 0, transparent 33px, var(--line) 34px);
}

.radar-crosshair::before, .radar-crosshair::after {
  content: "";
  position: absolute;
  background: var(--line);
}

.radar-crosshair::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar-crosshair::after { left: 0; right: 0; top: 50%; height: 1px; }

.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(47,227,183,0.4), transparent 65%);
  animation: radar-spin 4s linear infinite;
  transform-origin: center;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sonar);
  box-shadow: 0 0 8px var(--sonar);
  animation: radar-blip-fade 3s ease-in-out infinite;
}

.radar-blip--a { top: 28%; left: 62%; animation-delay: 0.4s; }
.radar-blip--b { top: 68%; left: 30%; animation-delay: 1.6s; }
.radar-blip--c { top: 40%; left: 22%; animation-delay: 2.4s; }

@keyframes radar-blip-fade {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.radar-blip--target {
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  transform: translate(-50%, -50%);
  animation: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-cam-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

.radar-blip-pulse {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--high);
  animation: radar-pulse 2s ease-out infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.radar-callout {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--elevated);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.radar-callout-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--high);
  box-shadow: 0 0 6px var(--high);
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep, .radar-blip, .radar-blip-pulse { animation: none; }
}

.eyebrow {
  display: inline-block;
  color: var(--sonar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  position: relative;
}

.hero h1 .accent { color: var(--sonar); }

.hero p.lead {
  color: var(--ink-dim);
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 36px;
  position: relative;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--sonar); color: #06231C; }
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: var(--elevated);
  color: var(--ink);
  border-color: var(--line-strong);
}

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.no-border { border-top: none; }

.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sonar);
  margin-bottom: 12px;
}

.section-heading {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 640px;
}

.section-sub {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--sonar);
}

.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; margin: 0; }

.callout {
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  border-radius: 16px;
  padding: 24px 28px;
  color: var(--sonar);
  font-size: 14.5px;
  line-height: 1.6;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout .icon { flex-shrink: 0; font-size: 20px; }

/* Legal pages */
.legal h1 { font-size: 30px; margin-bottom: 4px; }
.legal .updated { color: var(--ink-mute); font-size: 12.5px; margin-bottom: 24px; }
.legal h2 { font-size: 17px; font-weight: 700; margin: 32px 0 8px; }
.legal p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.7; margin: 0 0 8px; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.legal .note { color: var(--ink-mute); font-size: 12.5px; }

/* Contact */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-card .icon-big {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--sonar);
  margin: 0 auto 20px;
}

.contact-card h2 { font-size: 22px; margin: 0 0 12px; }
.contact-card p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.contact-email {
  display: inline-block;
  background: var(--elevated);
  border: 1px solid var(--line-strong);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--sonar);
  font-size: 15px;
}

/* Team / Sobre */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.value-list li {
  display: flex;
  gap: 12px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
}

.value-list li .dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sonar);
  margin-top: 8px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  color: var(--ink-mute);
  font-size: 13.5px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site .foot-links { display: flex; gap: 20px; }
footer.site a:hover { color: var(--sonar); }

/* Download buttons */
.store-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--elevated);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 10px 20px;
  color: var(--ink);
  transition: transform 0.15s, border-color 0.15s;
}

.store-btn:hover { transform: translateY(-2px); border-color: var(--sonar-dim); }
.store-btn .glyph { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; }
.store-btn .glyph svg { width: 100%; height: 100%; fill: var(--ink); }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.store-btn .store-text small { font-size: 10.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 1px; }
.store-btn .store-text strong { font-size: 15px; font-weight: 700; }

/* Detection methods */
.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 20px;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  gap: 18px;
}

.method-card .num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  color: var(--sonar);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.method-card p { color: var(--ink-dim); font-size: 14px; line-height: 1.65; margin: 0; }

/* Mockup gallery */
.mockup-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 4px 24px;
  scroll-snap-type: x mandatory;
}

.mockup-scroll::-webkit-scrollbar { height: 8px; }
.mockup-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.mockup-frame {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mockup-frame img { width: 100%; height: auto; display: block; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.review-stars { color: var(--med); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p.quote { color: var(--ink-dim); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sonar-deep);
  border: 1px solid var(--sonar-dim);
  color: var(--sonar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.review-author .name { font-size: 13.5px; font-weight: 700; }
.review-author .meta { font-size: 11.5px; color: var(--ink-mute); }

.review-disclaimer { font-size: 11.5px; color: var(--ink-mute); margin-top: 24px; text-align: center; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 760px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--sonar);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .method-row { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px;
  }

  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  nav.main-nav a:first-child { border-top: none; }

  .nav-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  header.site .wrap { height: 64px; position: relative; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-copy .store-row { justify-content: center; }
  .hero p.lead { max-width: 520px; margin: 0 auto 36px; }
  .hero-mockup { order: -1; margin-bottom: 8px; padding: 24px 0; }
  .radar-panel { width: 220px; height: 220px; }
  .hero-mockup::before { width: 260px; height: 260px; }
}
