/* ============================================================================
   NISAWARE — marketing site
   Theme mirrors the app: brand-bg #090918, surface #0f1030,
   teal #00d4d4 / teal-dim #00a8a8, blue #0090ff, Inter.
   No build step — plain CSS with custom properties.
   ========================================================================== */

:root {
  --bg:          #090918;
  --surface:     #0f1030;
  --surface-2:   #14163a;
  --teal:        #00d4d4;
  --teal-dim:    #00a8a8;
  --blue:        #0090ff;
  --text:        #e8eaf2;
  --muted:       #9aa0b8;
  --border:      #232a4d;
  --border-soft: rgba(255, 255, 255, 0.07);

  --radius:   14px;
  --radius-lg: 22px;
  --maxw:     1140px;

  --grad: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --grad-text: linear-gradient(120deg, #5ff0f0 0%, #4aa8ff 60%, #0090ff 100%);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(0, 212, 212, 0.18), 0 18px 50px -18px rgba(0, 144, 255, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h2.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 620px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-intro { margin: 0 auto; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 10px 30px -10px rgba(0, 212, 212, 0.5);
}
.btn--primary:hover { box-shadow: 0 14px 38px -10px rgba(0, 144, 255, 0.6); transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--teal-dim); background: rgba(0, 212, 212, 0.06); }

.btn--lg { padding: 15px 30px; font-size: 16px; }

.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 24, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { width: auto; }
.nav__icon { height: 34px; }
.nav__word { height: 19px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.18s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__login { color: var(--text); font-weight: 600; font-size: 15px; }
.nav__login:hover { color: var(--teal); }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(620px 380px at 22% 8%, rgba(0, 212, 212, 0.16), transparent 70%),
    radial-gradient(680px 420px at 86% 0%, rgba(0, 144, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 22px; }
.hero__sub { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__trust { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.hero__trust strong { color: var(--text); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 212, 212, 0.08);
  border: 1px solid rgba(0, 212, 212, 0.22);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* Hero visual — shield logo on a glowing pedestal */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero__orb {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 212, 212, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(20, 22, 58, 0.9), rgba(9, 9, 24, 0.4));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: radial-gradient(closest-side, transparent 78%, rgba(0, 144, 255, 0.10));
  pointer-events: none;
}
.hero__orb img { width: 76%; filter: drop-shadow(0 10px 30px rgba(0, 144, 255, 0.4)); animation: float 6s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__orb img { animation: none; } html { scroll-behavior: auto; } }

/* ── Trust / framework strip ─────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: rgba(15, 16, 48, 0.4); }
.strip__inner { display: flex; align-items: center; justify-content: center; gap: 14px 44px; flex-wrap: wrap; padding: 26px 0; }
.strip__label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.strip__item { color: var(--text); font-weight: 700; font-size: 17px; opacity: 0.85; }
.strip__item span { color: var(--teal); }

/* ── Feature grid ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(165deg, rgba(20, 22, 58, 0.7), rgba(15, 16, 48, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 212, 0.35); box-shadow: var(--glow); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0, 212, 212, 0.1);
  border: 1px solid rgba(0, 212, 212, 0.2);
  margin-bottom: 18px;
  color: var(--teal);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(15, 16, 48, 0.4); }
.step__num {
  font-size: 14px; font-weight: 700; color: #04121a;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Split / MSP section ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; margin-top: 24px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .check {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: rgba(0, 212, 212, 0.12); color: var(--teal);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list .check svg { width: 14px; height: 14px; }
.feature-list strong { display: block; font-size: 16px; }
.feature-list span { color: var(--muted); font-size: 15px; }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(20, 22, 58, 0.8), rgba(9, 9, 24, 0.6));
  box-shadow: var(--shadow);
  padding: 28px;
}
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { padding: 20px; border-radius: var(--radius); background: rgba(0, 212, 212, 0.05); border: 1px solid var(--border-soft); }
.stat b { font-size: 30px; display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.stat small { color: var(--muted); font-size: 14px; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative;
  border-radius: 26px;
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0, 144, 255, 0.22), transparent 70%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-card p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }
.cta-card .hero__cta { justify-content: center; margin-bottom: 0; }

/* ── Contact / lead capture ──────────────────────────────────────────────── */
.cta-card--contact { text-align: left; padding: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.contact-copy p { color: var(--muted); font-size: 17px; max-width: none; margin: 0 0 16px; }
.contact-direct { font-size: 15px; }
.contact-direct a { color: var(--teal); font-weight: 600; }
.contact-direct a:hover { text-decoration: underline; }

.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field .opt { color: var(--muted); font-weight: 400; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(9, 9, 24, 0.55);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-form textarea { resize: vertical; min-height: 78px; }
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.14);
}
.lead-form select { appearance: none; cursor: pointer; }
.lead-form__submit { justify-content: center; margin-top: 4px; }
.lead-form__note { font-size: 13.5px; min-height: 18px; margin: 0; }
.lead-form__note--ok  { color: var(--teal); }
.lead-form__note--err { color: #f59e0b; }
.lead-form__link { color: var(--teal); font-weight: 600; text-decoration: underline; }
.lead-form__submit:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; pointer-events: none; }

/* Honeypot: pulled off-screen (not display:none, which bots detect) yet still
   in the DOM. Real visitors never see it; tabindex/aria keep it out of their way. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 36px; background: var(--bg); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer__brand img { height: 28px; margin-bottom: 14px; }
.footer__brand p { color: #b6bcd0; font-size: 14px; max-width: 380px; padding-right: 40px; line-height: 1.6; text-wrap: balance; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 14px; }
.footer__col a { display: block; color: #b6bcd0; font-size: 14px; margin-bottom: 9px; transition: color 0.18s ease; }
.footer__col a:hover { color: var(--teal); }
.footer__loc { display: block; color: #b6bcd0; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border-soft); color: #b6bcd0; font-size: 13px; }

/* ── Hero product visual: app window + floating score card ───────────────── */
.product { position: relative; width: 100%; }
.product__window {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0b0c22;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-soft);
}
.product__dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2f55; }
.product__dot:nth-child(1) { background: #ff5f57; }
.product__dot:nth-child(2) { background: #febc2e; }
.product__dot:nth-child(3) { background: #28c840; }
.product__url {
  margin-left: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 12px; border-radius: 6px;
}
.product__window img { display: block; width: 100%; height: auto; }

.score-card {
  position: absolute;
  left: -22px; bottom: -30px;
  width: 250px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, #161941, #0d0e28);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 212, 212, 0.08);
}
.score-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.score-card__title { font-size: 13px; font-weight: 500; color: var(--muted); }
.score-card__badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; color: var(--teal);
  border: 1px solid rgba(0, 212, 212, 0.25);
  background: rgba(0, 212, 212, 0.1);
  padding: 2px 7px; border-radius: 5px;
}
.score-card__ring { display: flex; justify-content: center; margin-bottom: 14px; }
.ring-track { stroke: rgba(255, 255, 255, 0.09); }
.ring-score { font: 700 28px "Inter", sans-serif; fill: #ffffff; }
.ring-sub { font: 600 9px ui-monospace, monospace; fill: var(--muted); letter-spacing: 0.12em; }

.score-card__bars { display: flex; flex-direction: column; gap: 11px; }
.bar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.bar__label { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.bar__label i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.bar__count { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--muted); }
.bar__track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 3px; transition: width 1500ms cubic-bezier(0.22, 1, 0.36, 1); }
.bar__fill--ok   { background: linear-gradient(90deg, #7B5FF5, #00D4C4); }
.bar__fill--warn { background: #f59e0b; }
.bar__fill--gap  { background: #64748b; }

/* ── Stat strip ──────────────────────────────────────────────────────────── */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-pill { padding: 26px 22px; text-align: center; border-left: 1px solid var(--border-soft); }
.stat-pill:first-child { border-left: 0; }
.stat-pill b {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-pill span { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }

/* Feature callouts read as capabilities, not metrics: a teal-checked label
   instead of the big gradient number reserved for the two real stats. */
.stat-pill--feature b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--text);
}
.stat-pill--feature b svg {
  width: 17px; height: 17px;
  flex: none;
  color: var(--teal);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__orb { width: min(320px, 80%); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-pill:nth-child(3) { border-left: 0; }
  .product { max-width: 560px; margin: 0 auto; }
  .score-card { left: 0; bottom: -24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px;
  }
  .nav__links.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-soft); }
  .section { padding: 68px 0; }
  .grid--3, .grid--2, .steps, .stat-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  /* score card flows below the window on phones so nothing clips/overlaps */
  .score-card { position: static; width: 100%; margin-top: 16px; left: auto; bottom: auto; }
  .cta-card { padding: 40px 24px; }
  .cta-card--contact { padding: 32px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-card .btn { flex: 1 1 auto; justify-content: center; }
}
