/*
 * Promo landing for Next to you... inspired by current app visual system.
 * HTML5 + CSS3 + JavaScript + jQuery.
 * Copyright © 2026 Beck Sarbassov. All rights reserved.
 */
:root {
  --bg: #070812;
  --bg-2: #0d1020;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-2: rgba(255, 255, 255, 0.11);
  --panel-3: rgba(255, 255, 255, 0.15);
  --text: #f7f7fb;
  --muted: #aeb8c7;
  --muted-2: #7e8aa3;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --purple: #7c5cff;
  --purple-2: #a892ff;
  --cyan: #20e7c7;
  --cyan-2: #8ffff0;
  --coral: #ff5d49;
  --coral-2: #ff907e;
  --blue: #1575ff;
  --yellow: #ffd166;
  --green: #00b894;
  --danger: #ff6b6b;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 56px rgba(0, 0, 0, 0.26);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 18% -12%, rgba(124, 92, 255, 0.38), transparent 34%),
    radial-gradient(circle at 90% 4%, rgba(32, 231, 199, 0.24), transparent 32%),
    radial-gradient(circle at 55% 88%, rgba(255, 93, 73, 0.14), transparent 34%),
    linear-gradient(180deg, #070812 0%, #0c1020 44%, #070812 100%);
  line-height: 1.55;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  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: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,.15));
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #d7ceff 38%, #8ffff0 74%, #ffe2dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 18, 0.78);
  backdrop-filter: blur(18px);
}
.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 950;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: -0.055em;
}
.brand-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(32, 231, 199, 0.16);
  overflow: hidden;
}
.brand-logo img { width: 44px; height: 44px; object-fit: contain; }
.brand-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}
.nav a:hover { color: #fff; }
.nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  color: #061017 !important;
  background: linear-gradient(135deg, var(--cyan), #adfff2);
  box-shadow: 0 12px 32px rgba(32,231,199,.2);
}
.preferences {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}
.lang-button {
  min-width: 44px;
  min-height: 35px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .04em;
}
.lang-button.active {
  color: #061017;
  background: linear-gradient(135deg, var(--cyan), #adfff2);
}
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,.07);
  font-size: 24px;
}

.hero {
  position: relative;
  padding: 54px 0 84px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #cafff5;
  background: rgba(32,231,199,.11);
  border: 1px solid rgba(32,231,199,.25);
  font-size: 14px;
  font-weight: 850;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(32,231,199,.11);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(.72);opacity:.62} }
h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: .94;
  letter-spacing: -0.085em;
}
.lead {
  max-width: 710px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  transition: .22s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #061017;
  background: linear-gradient(135deg, var(--cyan), #adfff2);
  box-shadow: 0 18px 42px rgba(32,231,199,.26);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 58px rgba(32,231,199,.34); }
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.075);
  border: 1px solid var(--line);
}
.btn-secondary:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}
.trust-item {
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.065);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.trust-item strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }

.demo-wrap { position: relative; min-height: 650px; display: grid; place-items: center; }
.orb {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,92,255,.58), rgba(32,231,199,.44));
  filter: blur(54px);
  opacity: .72;
  animation: drift 5.8s ease-in-out infinite;
}
@keyframes drift { 0%,100%{transform:translate3d(-24px,-14px,0) scale(1)} 50%{transform:translate3d(22px,18px,0) scale(1.08)} }
.phone {
  position: relative;
  width: min(365px, 92vw);
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(150deg, rgba(255,255,255,.28), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}
.screen {
  min-height: 628px;
  padding: 18px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% -8%, rgba(124,92,255,.28), transparent 38%),
    radial-gradient(circle at 98% 8%, rgba(32,231,199,.15), transparent 28%),
    linear-gradient(180deg, #12172b, #090c16);
}
.screen-top { display:flex; justify-content:space-between; color:#d8dcf0; font-size:13px; margin-bottom:18px; }
.live-card {
  position: relative;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(32,231,199,.2), rgba(124,92,255,.14));
  border: 1px solid rgba(255,255,255,.14);
}
.live-card h3 { margin: 0 0 5px; font-size: 25px; letter-spacing: -.05em; }
.live-card p { margin: 0; color: var(--muted); font-size: 14px; }
.time-pill { display:inline-flex; margin-top:13px; padding:9px 11px; border-radius:999px; background:rgba(7,8,18,.45); color:#cafff5; font-weight:850; font-size:13px; }
.person-stack { display:grid; gap:11px; }
.person-card {
  padding: 15px;
  border-radius: 22px;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.115);
}
.person-head { display:flex; justify-content:space-between; gap:10px; align-items:start; margin-bottom:8px; }
.person-name { font-weight:950; letter-spacing:-.03em; }
.verify { color:#a8fff0; font-size:12px; font-weight:850; white-space:nowrap; }
.person-meta { color:var(--muted); font-size:13px; margin-bottom:10px; }
.chips { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:11px; }
.chip { padding:6px 9px; border-radius:999px; color:#dffdf8; background:rgba(32,231,199,.1); border:1px solid rgba(32,231,199,.16); font-size:12px; font-weight:800; }
.knock { width:100%; border:0; border-radius:16px; padding:11px; color:#fff; background:linear-gradient(135deg,var(--purple),#9278ff); font-weight:900; }
.floating-note {
  position:absolute;
  right:-22px;
  bottom:64px;
  width:220px;
  padding:14px;
  border-radius:22px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(16px);
  box-shadow:0 22px 60px rgba(0,0,0,.28);
  animation: float 4.8s ease-in-out infinite;
}
.floating-note strong { display:block; margin-bottom:3px; }
.floating-note span { color:var(--muted); font-size:13px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

section { padding: 82px 0; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.kicker { display:inline-block; margin-bottom:10px; color:var(--cyan); text-transform:uppercase; letter-spacing:.14em; font-size:13px; font-weight:950; }
h2 { margin:0 0 14px; font-size:clamp(32px,5.2vw,60px); line-height:1.02; letter-spacing:-.065em; }
.section-head p { margin:0; color:var(--muted); font-size:18px; }
.problem-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:18px; align-items:stretch; }
.big-quote {
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 15% 0%, rgba(255,93,73,.2), transparent 34%), rgba(255,255,255,.07);
  border: 1px solid var(--line);
}
.big-quote p { margin:0; font-size:clamp(28px,4.4vw,48px); line-height:1.04; font-weight:950; letter-spacing:-.06em; }
.big-quote span { display:block; margin-top:20px; color:var(--muted); font-size:16px; }
.cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
}
.icon { width:48px; height:48px; display:grid; place-items:center; margin-bottom:15px; border-radius:17px; background:rgba(124,92,255,.18); font-size:23px; }
.card h3 { margin:0 0 8px; font-size:22px; letter-spacing:-.035em; }
.card p { margin:0; color:var(--muted); }
.flow-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.flow-card { position:relative; min-height:260px; display:flex; flex-direction:column; justify-content:space-between; }
.step-num { width:44px; height:44px; display:grid; place-items:center; border-radius:16px; background:linear-gradient(135deg,var(--cyan),var(--purple)); color:#fff; font-weight:950; }
.feature-band {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.feature-card.large { min-height: 430px; }
.feature-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(32,231,199,.24), transparent 28%),
    radial-gradient(circle at 70% 50%, rgba(255,93,73,.2), transparent 28%),
    linear-gradient(135deg, rgba(124,92,255,.22), rgba(255,255,255,.07));
  border: 1px solid var(--line);
}
.radar-rings { position:absolute; inset:20px; display:grid; place-items:center; }
.ring { position:absolute; border-radius:50%; border:1px solid rgba(32,231,199,.2); animation: radar 5s linear infinite; }
.ring.r1 { width:42%; height:42%; }
.ring.r2 { width:66%; height:66%; animation-delay: .4s; }
.ring.r3 { width:90%; height:90%; animation-delay: .8s; }
.center-pin { width:76px; height:76px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,var(--cyan),var(--blue)); box-shadow:0 0 0 16px rgba(32,231,199,.08); font-weight:950; }
.avatar-dot { position:absolute; width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); font-weight:950; }
.avatar-dot.a { top:18%; left:18%; }
.avatar-dot.b { top:22%; right:16%; }
.avatar-dot.c { bottom:18%; left:26%; }
.avatar-dot.d { bottom:24%; right:18%; }
@keyframes radar { 0%{transform:scale(.96); opacity:.65} 50%{opacity:1} 100%{transform:scale(1.02); opacity:.65} }
.safety-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px; }
.plans { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch; }
.plan { position:relative; padding:26px; border-radius:var(--radius-xl); background:rgba(255,255,255,.07); border:1px solid var(--line); }
.plan.featured { background:linear-gradient(180deg, rgba(32,231,199,.14), rgba(124,92,255,.11)); border-color:rgba(32,231,199,.34); box-shadow:0 24px 80px rgba(32,231,199,.12); transform:translateY(-10px); }
.plan-badge { position:absolute; top:18px; right:18px; padding:7px 10px; border-radius:999px; color:#061017; background:var(--cyan); font-size:12px; font-weight:950; }
.plan h3 { margin:0 0 4px; font-size:26px; }
.price { margin:0 0 18px; font-size:40px; line-height:1; letter-spacing:-.055em; font-weight:950; }
.price small { color:var(--muted); font-size:15px; font-weight:700; }
.plan ul { margin:0; padding:0; display:grid; gap:10px; list-style:none; color:var(--muted); }
.plan li { display:flex; gap:8px; }
.plan li:before { content:"✓"; color:var(--cyan); font-weight:950; }
.cta-panel {
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items:center;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid rgba(32,231,199,.28);
  background:
    radial-gradient(circle at 15% 15%, rgba(32,231,199,.22), transparent 38%),
    radial-gradient(circle at 90% 20%, rgba(255,93,73,.18), transparent 30%),
    rgba(255,255,255,.075);
  box-shadow: var(--shadow-soft);
}
.cta-panel h2 { margin-bottom:10px; }
.cta-panel p { margin:0; color:var(--muted); font-size:18px; max-width:720px; }
.faq-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.faq-item { padding:22px; border-radius:var(--radius-lg); background:rgba(255,255,255,.06); border:1px solid var(--line); }
.faq-item h3 { margin:0 0 8px; font-size:19px; }
.faq-item p { margin:0; color:var(--muted); }
.footer { padding: 44px 0 50px; border-top:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.16); }
.footer-layout { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:start; }
.footer .brand { font-size: 23px; }
.footer p { max-width:640px; color:var(--muted); }
.legal-links { display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; color:var(--muted); font-weight:760; }
.legal-links a:hover { color:#fff; }
.copyright { margin-top:18px; color:var(--muted-2); font-size:13px; }
.reveal { opacity:0; transform:translateY(22px); transition:.7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1060px) {
  .nav { display:none; }
  .menu-button { display:block; }
  .nav.open { position:absolute; left:16px; right:16px; top:84px; display:grid; gap:8px; padding:14px; border-radius:22px; background:rgba(13,16,32,.96); border:1px solid var(--line); box-shadow:var(--shadow-soft); }
  .hero-layout, .problem-grid, .feature-band, .cta-panel { grid-template-columns:1fr; }
  .flow-grid, .safety-grid, .plans { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .demo-wrap { min-height: 580px; }
  .floating-note { right: 10px; }
}
@media (max-width: 720px) {
  .topbar-inner { min-height:68px; }
  .brand-title { max-width:135px; }
  .brand-logo { width:46px; height:46px; border-radius:16px; }
  .brand-logo img { width:39px; height:39px; }
  .preferences { gap:6px; }
  .lang-button { min-width:38px; min-height:32px; padding:7px 8px; font-size:11px; }
  .hero { padding-top:34px; }
  .hero-layout { gap:22px; }
  h1 { font-size: clamp(42px, 14vw, 66px); }
  section { padding:58px 0; }
  .trust-grid, .cards, .flow-grid, .safety-grid, .plans, .faq-grid { grid-template-columns:1fr; }
  .plan.featured { transform:none; }
  .hero-actions .btn, .cta-panel .btn { width:100%; }
  .phone { width:min(340px, 100%); }
  .screen { min-height:590px; }
  .floating-note { position:relative; right:auto; bottom:auto; width:100%; margin-top:12px; }
  .footer-layout { grid-template-columns:1fr; }
  .legal-links { justify-content:flex-start; }
}
