/* NVXL Ledger — teaser site
   Navbar: Apple-inspired (frosted glass, dark, compact)
   Body: Iron Service Global-inspired (corporate B2B, clean, large type) */

:root {
  --cyan: #00c0e0;
  --cyan-strong: #00a8cc;
  --cyan-soft: #e6f7fb;
  --ink: #0d1420;
  --ink-2: #16202e;
  --ink-muted: #46515f;
  --paper: #ffffff;
  --paper-2: #f5f7f9;
  --line: #e6e9ee;
  --nav-h: 52px;
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

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

/* ---------- Apple-style navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 20, 32, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #e7ecf2;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta {
  margin-left: 6px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: #041018;
  background: var(--cyan);
  padding: 6px 15px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { background: var(--cyan-strong); transform: translateY(-1px); }
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #e7ecf2;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(0, 192, 224, 0.22), transparent 60%),
    linear-gradient(180deg, #0d1420 0%, #101b2b 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 22px 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--cyan), #6ee7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0 0 30px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #c4cedb;
  max-width: 34em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--cyan); color: #041018; }
.btn-primary:hover { background: var(--cyan-strong); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #eef3f8;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-panel .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-panel .stat b {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}
.hero-panel .stat span {
  font-size: 13px;
  color: #c4cedb;
}

/* ---------- sections (ISG-style) ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--paper-2); }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-strong);
  margin-bottom: 14px;
}
.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.section .lead {
  margin: 0 0 40px;
  font-size: 1.13rem;
  color: var(--ink-muted);
  max-width: 46em;
}

/* cards grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -18px rgba(13, 20, 32, 0.25);
  border-color: #d3dae2;
}
.card .ic {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--cyan-soft);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; }
.card p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { margin: 0; padding: 0; list-style: none; }
.split li {
  position: relative;
  padding: 0 0 0 26px;
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 1.03rem;
}
.split li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan-strong);
  font-weight: 700;
}
.split li b { color: var(--ink); }

/* steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 22px 22px 22px 78px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan-strong);
}
.step h4 { margin: 0 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(0, 192, 224, 0.20), transparent 60%),
    linear-gradient(180deg, #0d1420, #101b2b);
  color: #fff;
  border-radius: 24px;
  padding: 56px 44px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4cedb; max-width: 40em; margin: 0 auto 28px; }

/* footer */
.footer {
  background: #0a0f18;
  color: #aab4c2;
  padding: 56px 0 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer img { height: 30px; width: auto; margin-bottom: 12px; }
.footer .muted { font-size: 13px; color: #7b8694; }
.footer-links { display: flex; gap: 40px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer .legal {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 20px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #6b7482;
}

/* ---------- access + NDA pages ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 22px;
  background: linear-gradient(180deg, #0d1420 0%, #101b2b 100%);
}
.auth-card {
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}
.auth-card.wide { max-width: 760px; }
.auth-card h1 { margin: 0 0 8px; font-size: 1.7rem; }
.auth-card .sub { margin: 0 0 26px; color: var(--ink-muted); font-size: 0.98rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 192, 224, 0.18);
}
.code-input {
  font-family: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-error {
  display: none;
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fdeaea;
  color: #b3261e;
  font-size: 0.92rem;
}
.form-error.show { display: block; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* NDA text box */
.nda-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  padding: 18px 20px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.nda-box h3 { margin: 14px 0 6px; font-size: 0.98rem; }
.nda-box h3:first-child { margin-top: 0; }
.nda-box ol, .nda-box ul { margin: 0 0 12px; padding-left: 20px; }
.nda-box li { margin-bottom: 6px; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.check input { margin-top: 3px; }

/* ---------- portal ---------- */
.portal-hero {
  background: linear-gradient(180deg, #0d1420, #101b2b);
  color: #fff;
  padding: 64px 0;
}
.portal-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.portal-hero .welcome { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.portal-hero h1 { margin: 8px 0 14px; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.portal-hero p { color: #c4cedb; max-width: 42em; margin: 0; }
.doc-list { display: grid; gap: 14px; }
.doc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.doc:hover { border-color: var(--cyan); transform: translateY(-1px); }
.doc .doc-ic {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--cyan-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.doc .doc-t { font-weight: 600; color: var(--ink); }
.doc .doc-d { font-size: 0.9rem; color: var(--ink-muted); }
.doc .doc-arrow { margin-left: auto; color: var(--cyan-strong); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(13, 20, 32, 0.98);
    padding: 14px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links a { width: 100%; padding: 12px 6px; font-size: 15px; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
