/* KSN WiFi Security — product page */
:root {
  --bg: #0a0e14;
  --bg-2: #121821;
  --ink: #f2f5f8;
  --muted: #8b97a8;
  --line: rgba(255, 255, 255, 0.1);
  --amber: #e0a01a;
  --amber-soft: rgba(224, 160, 26, 0.16);
  --safe: #2f9d6a;
  --danger: #d64545;
  --max: 1120px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.25rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-mark span { color: var(--amber); }
.top-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.top-link:hover { color: var(--ink); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #070a10;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.94) 0%, rgba(7, 10, 16, 0.72) 42%, rgba(7, 10, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 10, 16, 0.35) 0%, rgba(7, 10, 16, 0.15) 40%, rgba(7, 10, 16, 0.92) 100%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4.5rem;
  max-width: 34rem;
  animation: rise 0.9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
}
.hero-brand em {
  font-style: normal;
  color: var(--amber);
  display: block;
  font-weight: 600;
}
.hero-lead {
  margin: 0 0 1.75rem;
  color: #c5ceda;
  font-size: 1.08rem;
  max-width: 28rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber {
  background: var(--amber);
  color: #1a1204;
}
.btn-amber:hover { background: #efb230; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); }

/* ── Sections ────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-muted {
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, var(--amber-soft), transparent 55%),
    var(--bg-2);
}
.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.7rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
.section-head h2 {
  max-width: 22ch;
}
.cta-band h2 {
  max-width: none;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Explain strip ───────────────────────────────────── */
.explain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.explain-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.explain-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}
.explain-points strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}
.explain-points span {
  color: var(--muted);
  font-size: 0.95rem;
}
.media-frame {
  display: block;
  overflow: hidden;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  background: #000;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-frame.portrait img {
  aspect-ratio: 3 / 4;
  max-height: 520px;
  margin-inline: auto;
}

/* ── Specs ───────────────────────────────────────────── */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.specs th,
.specs td {
  text-align: left;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th {
  width: 34%;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.specs td { color: var(--ink); font-weight: 550; }
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: 0; }
.spec-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── How it works ────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── App guide steps (GSM-manual style) ──────────────── */
.guide-step {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.guide-step:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
}
.guide-num {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--amber);
  line-height: 1;
}
.guide-copy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.guide-copy ol {
  margin: 0;
  padding-left: 1.15rem;
  color: #d5dde8;
  font-size: 0.98rem;
}
.guide-copy li { margin: 0.4rem 0; }
.guide-note {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  color: #c9d2de;
  font-size: 0.9rem;
}
.guide-shot {
  width: min(100%, 280px);
  justify-self: end;
  background: #e8edf3;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.guide-shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #f1f5f9;
}

/* ── Split feature ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.pill {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  color: #d5dde8;
}

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(224, 160, 26, 0.08)),
    var(--bg);
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
}
.cta-band .cta-row { justify-content: center; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ── Reveal on scroll ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .explain-grid,
  .split,
  .steps {
    grid-template-columns: 1fr;
  }
  .split.reverse { direction: ltr; }
  .hero-media img { object-position: 80% center; }
  .hero-copy { max-width: 100%; padding-bottom: 3.25rem; }
  .media-frame.portrait img { max-height: 420px; }
  .guide-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .guide-shot {
    justify-self: center;
    width: min(100%, 240px);
  }
  .section-head h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy { animation: none; }
}
