/* Sentrix public landing — command atlas, not generic SaaS */
:root {
  --ink: #07111f;
  --panel: #0c1829;
  --line: rgba(125, 211, 252, 0.22);
  --sky: #7dd3fc;
  --sky-hot: #38bdf8;
  --sand: #e8f0f7;
  --mute: #9db0c4;
  --ok: #34d399;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  min-height: 100vh;
  color: var(--sand);
  font-family: var(--font-body);
  background: var(--ink);
  overflow-x: hidden;
}

.landing a { color: inherit; }

.lp-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 48px);
}

.lp-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.lp-mark i {
  color: var(--sky-hot);
  font-size: 1.15rem;
}

.lp-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-ghost {
  background: transparent;
  color: var(--sand);
}

.lp-btn-ghost:hover {
  border-color: var(--sky);
  background: rgba(56, 189, 248, 0.08);
}

.lp-btn-solid {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.28);
}

.lp-btn-solid:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 110px 24px 72px;
  isolation: isolate;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(165deg, #040a14 0%, #0a1628 45%, #07101c 100%);
}

.lp-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: lp-grid-drift 28s linear infinite;
}

.lp-hero-bg::after {
  content: "";
  position: absolute;
  width: min(72vw, 720px);
  height: min(72vw, 720px);
  right: -8%;
  top: 8%;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    inset 0 0 80px rgba(56, 189, 248, 0.06),
    0 0 0 48px rgba(56, 189, 248, 0.03);
  animation: lp-orbit 18s ease-in-out infinite alternate;
}

@keyframes lp-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes lp-orbit {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-3%, 4%) scale(1.04); opacity: 1; }
}

.lp-hero-inner {
  width: min(920px, 100%);
  text-align: left;
}

.lp-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  background: linear-gradient(120deg, #f8fafc 20%, #7dd3fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lp-rise 0.9s ease both;
}

.lp-headline {
  margin: 0 0 14px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 650;
  line-height: 1.2;
  color: var(--sand);
  animation: lp-rise 0.9s ease 0.08s both;
}

.lp-lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--mute);
  animation: lp-rise 0.9s ease 0.16s both;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: lp-rise 0.9s ease 0.24s both;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.lp-section-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.lp-section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.lp-section .sub {
  margin: 0 0 28px;
  color: var(--mute);
  max-width: 48ch;
  line-height: 1.5;
}

.lp-download {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(14, 165, 233, 0.1), transparent 60%),
    var(--panel);
}

.lp-download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.55);
}

@media (max-width: 800px) {
  .lp-download-panel { grid-template-columns: 1fr; }
  .lp-hero-inner { text-align: left; }
}

.lp-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.lp-download-meta strong { color: var(--sand); font-weight: 600; }

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
  font-size: 0.8rem;
  font-weight: 600;
}

.lp-badge.warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.lp-download-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-download-side .lp-btn {
  justify-content: center;
  width: 100%;
}

.lp-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mute);
  line-height: 1.45;
}

.lp-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: step;
}

.lp-steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 44px;
  border-top: 1px solid rgba(125, 211, 252, 0.25);
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

.lp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--sky);
  border: 1px solid rgba(125, 211, 252, 0.4);
}

.lp-steps strong {
  color: var(--sand);
}

@media (max-width: 860px) {
  .lp-steps { grid-template-columns: 1fr; }
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) {
  .lp-features { grid-template-columns: 1fr; }
}

.lp-feature {
  padding: 8px 4px;
}

.lp-feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--sky);
}

.lp-feature p {
  margin: 0;
  color: var(--mute);
  line-height: 1.5;
  font-size: 0.95rem;
}

.lp-footer {
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--mute);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.lp-footer strong { color: var(--sand); }

/* Câu hỏi bảo mật trước khi tải */
.lp-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(4px);
}

.lp-gate[hidden] { display: none !important; }

.lp-gate-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.lp-gate-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sand);
}

.lp-gate-q {
  margin: 0 0 14px;
  color: var(--mute);
  font-size: 0.98rem;
}

.lp-gate-card input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: #07111f;
  color: var(--sand);
  font-size: 1rem;
  margin-bottom: 8px;
}

.lp-gate-error {
  margin: 0 0 10px;
  color: #fca5a5;
  font-size: 0.88rem;
}

.lp-gate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
