:root{
  --yellow:#FFD400;
  --purple:#6A0DAD;
  --muted:#6b7280;
  --muted-strong:#4b5563;
  --bg:#fff;
  --maxw:1100px;
}

/* Base layout */
html,body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:var(--maxw);
  margin:36px auto;
  padding:20px;
}

/* Header / nav */
.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

/* Make brand link look like plain header content */
.brand:visited {
  color: inherit;
}
.brand:hover {
  text-decoration: none;
}

.logo{
  width:48px;
  height:48px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--yellow),var(--purple));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:20px;
  color:#000;
}

.brand-text{
  display:flex;
  flex-direction:column;
}

.brand-text small{
  font-size:12px;
  color:var(--muted);
}

/* Desktop nav */
.main-nav {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}

.main-nav a{
  color:var(--muted);
  text-decoration:none;
  padding:8px 12px;
  border-radius:10px;
  font-size:14px;
  white-space:nowrap;
}

.main-nav a:hover{
  background:#f3f4f6;
  color:#111827;
}

.main-nav a.cta{
  background:var(--yellow);
  color:#000;
  font-weight:700;
}

/* Mobile toggle button: hidden on desktop */
.nav-toggle {
  display:none;
  border:0;
  background:transparent;
  font-size:22px;
  cursor:pointer;
}

/* Home hero */
.hero{
  display:grid;
  grid-template-columns:1fr minmax(260px,min(520px,40%));
  gap:32px;
  align-items:center;
  margin-top:28px;
}

h1{
  font-size:clamp(28px,5.5vw,44px);
  margin:0;
  line-height:1.02;
}

.hero-kicker{
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted-strong);
  margin-bottom:6px;
}

.sub{
  color:var(--muted);
  margin-top:12px;
  margin-bottom:18px;
  font-size:15px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:14px;
  align-items:center;
  font-size:13px;
}

.trust-metric strong{
  font-size:16px;
}

.trust-note{
  color:var(--muted);
  font-size:12px;
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
}

/* Buttons */
.btn{
  padding:12px 16px;
  border-radius:10px;
  border:0;
  cursor:pointer;
  font-weight:700;
  text-decoration:none;
  color:inherit;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}

.btn:visited{
  color:inherit;
}

.btn:focus{
  outline:3px solid rgba(99,102,241,0.12);
  outline-offset:3px;
}

.btn-primary{
  background:var(--yellow);
  color:#000;
}

.btn-primary:hover{
  background:#fbbf24;
}

.btn-ghost{
  background:transparent;
  border:1px solid #e5e7eb;
  color:var(--muted-strong);
}

.btn-ghost:hover{
  background:#f9fafb;
}

.hero-footnote{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
  max-width:340px;
}

/* Hero media */
.media{
  width:100%;
  max-width:520px;
}

.media-frame{
  position:relative;
  width:100%;
  height:0;
  padding-bottom:56.25%;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(16,24,40,0.07);
  background:#f8fafc;
}

.media-frame video,
.media-frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.media-badge{
  position:absolute;
  left:12px;
  top:12px;
  background:rgba(15,23,42,0.82);
  color:#e5e7eb;
  padding:4px 9px;
  border-radius:999px;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:6px;
}

.media-badge span.dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#22c55e;
}

/* Home strip / features */
.strip{
  margin-top:26px;
  padding:10px 14px;
  border-radius:10px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  font-size:12px;
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  align-items:center;
}

.strip strong{
  color:#111827;
  font-weight:600;
}

.features{
  margin-top:40px;
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.card{
  background:#fff;
  padding:18px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(12,17,23,0.04);
}

.card h3{
  margin:0 0 6px;
  font-size:16px;
}

.card p{
  color:var(--muted);
  font-size:14px;
  margin:0;
}

.pill{
  display:inline-block;
  font-size:11px;
  padding:2px 8px;
  border-radius:999px;
  background:#f3e8ff;
  color:#6b21a8;
  margin-bottom:6px;
}

/* How it works */
.how{
  margin-top:42px;
}

.how h2{
  font-size:24px;
  margin:0 0 16px;
}

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

.how-steps .card{
  text-align:center;
  padding:22px;
}

.how-steps h3{
  margin:0 0 8px;
  font-size:16px;
}

/* OSINT section */
.osint{
  margin-top:42px;
  max-width:760px;
}

.osint-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}

.osint-icon{
  width:40px;
  height:40px;
  flex-shrink:0;
}

.osint h2{
  font-size:22px;
  margin:0;
}

.osint-subtitle{
  font-size:14px;
  color:var(--muted-strong);
  margin-top:2px;
}

.osint p{
  font-size:14px;
  color:var(--muted);
  margin-top:12px;
  margin-bottom:12px;
}

.osint-list{
  margin:0 0 4px;
  padding-left:18px;
  font-size:14px;
  color:var(--muted);
}

.osint-list li{
  margin-bottom:4px;
}

.osint-note{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
}

/* Facial recognition section */
.facial{
  margin-top:42px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);
  gap:24px;
  align-items:center;
}

.facial-copy h2{
  font-size:22px;
  margin:0 0 6px;
}

.facial-copy p{
  font-size:14px;
  color:var(--muted);
  margin:0 0 10px;
}

.facial-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#4338ca;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:8px;
}

.facial-image-wrap{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(15,23,42,0.22);
  background:#020617;
}

.facial-image-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.facial-note{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

/* FAQ */
.faq{
  margin-top:40px;
}

.faq h2{
  font-size:22px;
  margin:0 0 10px;
}

.faq-intro{
  font-size:13px;
  color:var(--muted);
  max-width:520px;
  margin-bottom:10px;
}

details.card{
  padding:14px;
  margin-bottom:10px;
  cursor:pointer;
}

details summary{
  list-style:none;
  font-weight:600;
  font-size:14px;
}

details summary::-webkit-details-marker{
  display:none;
}

details[open]{
  border-color:#e5e7eb;
}

details div{
  color:var(--muted);
  margin-top:8px;
  font-size:13px;
}

/* Bottom CTA strip */
.bottom-strip{
  margin-top:46px;
  padding:18px 16px;
  border-radius:14px;
  background:#0f172a;
  color:#e5e7eb;
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
  align-items:center;
  justify-content:space-between;
}

.bottom-strip h2{
  margin:0 0 4px;
  font-size:18px;
}

.bottom-strip p{
  margin:0;
  font-size:13px;
  color:#cbd5f5;
}

.bottom-strip a.btn{
  background:#fde68a;
  color:#111827;
}

.bottom-strip a.btn:hover{
  background:#facc15;
}

/* Footer */
footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid #f1f5f9;
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
}

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

footer a:hover{
  color:#111827;
}

/* Free face search: hero + breadcrumb */
.page-hero{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.breadcrumb{
  margin:0 0 4px;
  padding:0;
  font-size:12px;
  color:var(--muted);
  display:block;
}

.breadcrumb a{
  color:var(--muted);
  text-decoration:none;
}

.breadcrumb a:hover{
  color:#111827;
  text-decoration:underline;
}

.breadcrumb-separator{
  color:#d1d5db;
}

.page-kicker{
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted-strong);
}

.page-hero h1{
  margin:0;
  font-size:clamp(28px,5.5vw,44px);
  line-height:1.02;
}

.page-hero p{
  margin:4px 0 0;
  font-size:16px;
  color:var(--muted);
  max-width:580px;
}

/* Free face search: main card */
.free-card{
  margin-top:26px;
  padding:22px 20px;
  border-radius:16px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);
  gap:26px;
  align-items:flex-start;
}

.free-left,
.free-right{
  min-width:0;
}

/* Free card – quota + copy */
.quota-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 10px;
  border-radius:999px;
  background:#ecfdf3;
  color:#166534;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:10px;
}

.quota-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#22c55e;
}

.free-heading{
  margin:0 0 4px;
  font-size:16px;
}

.free-body{
  margin:0 0 10px;
  font-size:14px;
  color:var(--muted);
  max-width:460px;
}

/* Timer row */
.timer{
  margin-top:6px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:center;
  font-size:13px;
  color:var(--muted-strong);
}

.timer-label{
  font-weight:600;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.timer-value{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:13px;
  padding:4px 10px;
  border-radius:999px;
  background:#111827;
  color:#e5e7eb;
}

.timer-note{
  font-size:12px;
  color:var(--muted);
}

.demo-note{
  margin-top:6px;
  font-size:11px;
  color:var(--muted);
}

/* Upload panel (right side) */
.upload-panel{
  background:#fff;
  border-radius:14px;
  border:1px solid #e5e7eb;
  padding:18px 18px 14px;
  box-shadow:0 8px 24px rgba(15,23,42,0.04);
  overflow:hidden; /* clip inner content to card radius */
}

.upload-panel h2{
  margin:0 0 6px;
  font-size:16px;
}

.upload-panel p{
  margin:0 0 10px;
  font-size:13px;
  color:var(--muted);
}

/* Dropzone – shared */
.dropzone{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  border-radius:12px;
  border:1.5px dashed #cbd5f5;
  background:#f9fafb;
  padding:18px 14px;
  text-align:left;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}

.dropzone:hover{
  background:#eff6ff;
  border-color:#6366f1;
}

.dropzone input{
  display:none;
}

.dropzone-empty{
  text-align:center;
}

.dropzone-icon{
  font-size:26px;
  margin-bottom:6px;
}

.dropzone-title{
  font-size:14px;
  font-weight:600;
  margin-bottom:2px;
}

.dropzone-sub{
  font-size:12px;
  color:var(--muted);
}

/* Dropzone – filled state (preview inside) */
.dropzone-filled{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
}

/* Preview styles (used inside dropzone) */
.preview-thumb{
  width:40px;
  height:40px;
  border-radius:10px;
  overflow:hidden;
  background:#e5e7eb;
  flex-shrink:0;
}

.preview-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.preview-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.preview-name{
  font-size:12px;
  color:#111827;
}

.preview-size{
  font-size:11px;
  color:var(--muted);
}

/* Actions under dropzone */
.actions-row{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
}

#ffs-search-btn{
  width:100%;
  justify-content:center;
  padding-top:14px;
  padding-bottom:14px;
}

.hint{
  font-size:11px;
  color:var(--muted);
}

/* Usage rules box */
.usage-rules{
  margin-top:28px;
  padding:16px 16px 14px;
  border-radius:12px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  font-size:12px;
  color:var(--muted);
}

.usage-rules strong{
  color:#111827;
}

.usage-rules ul{
  margin:6px 0 0;
  padding-left:18px;
}

.usage-rules li{
  margin-bottom:3px;
}

/*pricing page*/
.btn-crypto {
  /* optional: make sure text is centered like other buttons */
  display:inline-flex;
  justify-content:center;
  align-items:center;
}

.btn-crypto-inner {
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.btn-crypto-icon {
  width:18px;
  height:18px;
  display:block;
}

/* Stripe button icon */
.btn-stripe-inner {
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.btn-stripe-icon {
  width:18px;
  height:18px;
  display:block;
}

/* --- Fix: make <a class="btn"> and <button class="btn"> identical inside plan cards --- */
.plan-cta button.btn,
.plan-cta a.btn{
  font-family: inherit;
  font-size: 14px;       /* matches .btn in css/main.css */
  font-weight: 700;      /* matches .btn in css/main.css */
  line-height: 14px;     /* hard match to remove element differences */
  padding: 12px 16px;    /* matches .btn in css/main.css */
  text-decoration: none; /* anchors */
  -webkit-font-smoothing: inherit;
}

/* full-width + same centering for both */
.plan-cta .btn{
  width: 100%;
  display: inline-flex;  /* keep same display as global .btn */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Ensure icons don't change perceived size between Stripe and Bitcoin buttons */
.plan-cta .btn-stripe-icon,
.plan-cta .btn-crypto-icon{
  width:18px;
  height:18px;
  display:block;
  flex:0 0 18px;        /* don't shrink/grow */
  object-fit:contain;   /* prevent stretching differences */
}

.plan-cta a.btn{
  text-decoration:none;
}

/* Responsive tweaks for content layout */
@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }
  .media-frame{
    padding-bottom:62.5%;
  }
  .facial{
    grid-template-columns:1fr;
  }
  .free-card{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .strip{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Tablet & mobile header/nav */
@media (max-width: 900px) {
  .site-header {
    align-items:flex-start;
  }

  .nav-toggle {
    display:block;
    margin-left:auto;      /* push icon to the right */
    margin-top:8px;
  }

  .main-nav {
    display:none;          /* hidden by default on small screens */
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:8px;
  }

  .main-nav.is-open {
    display:flex;          /* shown when toggled */
  }
}