:root {
  --bg: #0b1220;
  --bg2: #0e1626;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --txt: #e8ecf4;
  --muted: #93a0b8;
  --brand: #f2643b;
  --brand2: #ff8a5c;
  --green: #3ddc97;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- background layers ---------- */
.bg-brand {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
}
.bg-brand img {
  width: min(90vw, 1100px);
  opacity: 0.05;
  filter: saturate(0.6);
  position: absolute; top: -14%; left: 50%; transform: translateX(-50%);
  object-fit: contain;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: rgba(255,255,255,0.08); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--txt); }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px;
  object-fit: cover; border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.05);
}
.brand-name { font-size: 15px; letter-spacing: 0.18em; color: var(--muted); }
.brand-name b { color: var(--txt); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--txt); }
.nav-links .nav-cta {
  background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; transition: background .2s, transform .2s;
}
.nav-links .nav-cta:hover { background: var(--brand2); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 24px 60px; }
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(242,100,59,0.4); color: var(--brand2);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(242,100,59,0.08); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.grad {
  background: linear-gradient(92deg, var(--brand) 0%, var(--brand2) 55%, #ffbe9d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; font-size: 17.5px; color: var(--muted); max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 34px rgba(242,100,59,0.35); }
.btn-primary:hover { background: var(--brand2); box-shadow: 0 18px 40px rgba(242,100,59,0.45); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--txt); border: 1px solid var(--card-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hint { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.hero-visual { position: relative; min-height: 380px; }
.glass {
  position: absolute; border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.glass-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.glass-live { top: 0; right: 0; width: 300px; padding: 14px; transform: rotate(1.5deg); }
.glass-body {
  margin-top: 12px; height: 150px; border-radius: 10px;
  background:
    radial-gradient(circle at 30% 40%, rgba(242,100,59,0.35), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(61,220,151,0.25), transparent 40%),
    #0d1524;
  border: 1px solid var(--card-border);
}
.glass-alert {
  bottom: 52px; left: 0; display: flex; gap: 12px; align-items: center;
  padding: 16px 18px; transform: rotate(-2deg); animation: float 7s ease-in-out infinite;
}
.alert-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: rgba(242,100,59,0.15); border: 1px solid rgba(242,100,59,0.4);
  position: relative;
}
.alert-ico::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 14px var(--brand);
}
.glass-alert small { color: var(--muted); }
.glass-pb { bottom: -14px; right: 40px; padding: 14px 18px; transform: rotate(1deg); }
.glass-pb b { font-size: 13px; }
.pb-dots { display: flex; gap: 7px; margin-top: 8px; }
.pb-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.pb-dots i.on { background: var(--brand2); box-shadow: 0 0 8px var(--brand2); }
@keyframes float { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }

/* ---------- stats ---------- */
.stats { border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); }
.stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 26px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.stats b { display: block; font-size: 26px; font-weight: 800; color: var(--brand2); }
.stats span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 90px 24px; }
.section.alt { background: rgba(255,255,255,0.018); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand2); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

.cards { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(242,100,59,0.45); background: rgba(255,255,255,0.06); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(242,100,59,0.12); border: 1px solid rgba(242,100,59,0.3); position: relative; }
.card-ico::before {
  content: ""; position: absolute; inset: 13px; border-radius: 7px;
  background: var(--brand); opacity: 0.85;
}
.card-ico.cam::before { inset: 8px 13px; border-radius: 4px; }
.card-ico.guard::before { border-radius: 50%; inset: 11px; background: var(--green); filter: drop-shadow(0 0 6px rgba(61,220,151,0.8)); }
.card-ico.lock::before { inset: 12px 10px; border-radius: 5px; background: var(--brand2); }
.card-ico.lens::before { border-radius: 6px; inset: 9px; transform: rotate(45deg); background: #ffd166; }
.card-ico.subs::before { inset: 10px 14px; border-radius: 3px; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.card-ico.pb::before { inset: 9px 11px; border-radius: 3px 3px 0 0; border: 2px solid var(--brand); background: transparent; border-bottom: 0; }

.two { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.two h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 22px; letter-spacing: -0.02em; }
.checklist { list-style: none; margin-bottom: 28px; }
.checklist li {
  position: relative; padding: 9px 0 9px 34px; color: var(--muted); font-size: 15.5px;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✕"; position: absolute; left: 2px; top: 9px; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(242,100,59,0.15); border: 1px solid rgba(242,100,59,0.4);
  color: var(--brand2); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.why-visual { position: relative; min-height: 260px; }
.glass-phone { position: relative; width: min(340px, 90%); padding: 16px; margin: 0 auto; transform: rotate(-1.5deg); }
.phone-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ph-dot { width: 26px; height: 26px; border-radius: 8px; background: rgba(242,100,59,0.25); flex: none; }
.ph-dot.hot { background: rgba(61,220,151,0.3); }
.ph-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); flex: 1; }
.ph-line.w60 { width: 60%; flex: none; }
.ph-line.w40 { width: 40%; flex: none; }

.steps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; position: relative;
}
.step b {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand2));
  font-size: 18px; color: #fff; font-weight: 800; box-shadow: 0 10px 26px rgba(242,100,59,0.4);
}
.step h3 { margin: 16px 0 8px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- pricing ---------- */
.toggle {
  display: inline-flex; gap: 6px; margin-top: 26px; padding: 5px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--card-border); border-radius: 999px;
}
.tog-btn {
  background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.tog-btn small { opacity: 0.8; }
.tog-btn.active { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(242,100,59,0.35); }
.plans { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-6px); }
.plan.popular { border-color: rgba(242,100,59,0.55); background: rgba(242,100,59,0.05); box-shadow: 0 20px 50px rgba(242,100,59,0.12); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 14px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 8px 20px rgba(242,100,59,0.4);
}
.plan h3 { font-size: 18px; }
.cam-count { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.price { margin: 16px 0; display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.price .per { color: var(--muted); font-size: 13.5px; }
.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan ul li {
  color: var(--muted); font-size: 13.5px; padding: 6px 0 6px 24px; position: relative;
}
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(61,220,151,0.16); color: var(--green);
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.plan .btn { text-align: center; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }
.price-note a { color: var(--brand2); }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  width: 100%; background: none; border: 0; color: var(--txt); cursor: pointer;
  font-size: 16px; font-weight: 600; text-align: left;
  padding: 20px 40px 20px 4px; position: relative;
}
.plus { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); transition: transform .25s; }
.plus::before, .plus::after {
  content: ""; position: absolute; background: var(--brand2); border-radius: 2px;
}
.plus::before { left: 0; top: 8px; width: 18px; height: 2px; }
.plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .plus { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px 4px; color: var(--muted); font-size: 14.5px; }

/* ---------- cta ---------- */
.cta { padding: 90px 24px; }
.cta-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(242,100,59,0.13), rgba(242,100,59,0.04));
  border: 1px solid rgba(242,100,59,0.35); border-radius: 24px; padding: 60px 30px;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.cta p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.cta .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 54px 24px 24px; background: rgba(0,0,0,0.25); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.f-brand span { font-size: 14px; letter-spacing: 0.18em; color: var(--muted); }
.f-brand b { color: var(--txt); }
.f-brand p { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 300px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col b { font-size: 14px; margin-bottom: 6px; }
.f-col a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.f-col a:hover { color: var(--brand2); }
.f-line { max-width: 1180px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07); color: var(--muted); font-size: 12.5px; text-align: center; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glass-alert { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px;
    background: rgba(11,18,32,0.97); border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .nav-cta { text-align: center; border: 0; margin-top: 10px; }
  .hero-inner, .two { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .hero-visual { min-height: 340px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .steps, .plans, .stats-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .glass-live { width: 240px; }
  .section { padding: 64px 18px; }
}