/* Crewmate HR — site styles
   Built on Nanobotz design tokens (colors_and_type.css). */

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--nb-font-sans);
  color: var(--nb-fg-1);
  background: var(--nb-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Crewmate-specific tokens */
:root {
  --cm-grad: linear-gradient(135deg, #FF8500 0%, #FF3E00 100%);
  --cm-grad-soft: linear-gradient(135deg, #FFC78A 0%, #FF8C66 100%);
  --wa-green: #25D366;
  --wa-green-hover: #1FB856;
  --wa-bg: #EFEAE2;
  --wa-bubble-in: #FFFFFF;
  --wa-bubble-out: #D9FDD3;
  --cm-max: 1200px;
  --cm-radius-card: 16px;
}

/* ---- Layout helpers ---- */
.cm-container { max-width: var(--cm-max); margin: 0 auto; padding: 0 24px; }
.cm-section { padding: 96px 0; }
.cm-section--tight { padding: 72px 0; }
.cm-section--warm { background: var(--nb-bg-warm); }
.cm-section--muted { background: var(--nb-bg-muted); }
.cm-section--dark { background: var(--nb-surface-dark); color: #fff; }
.cm-section--dark p { color: rgba(255,255,255,.72); }

.cm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--nb-primary);
  padding: 6px 12px; background: var(--nb-orange-50);
  border-radius: 999px; border: 1px solid var(--nb-border-orange);
}
.cm-eyebrow svg { width: 14px; height: 14px; }

.cm-section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.cm-section-head h2 {
  font-size: 48px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; margin: 16px 0 16px; text-wrap: balance;
}
.cm-section-head p {
  font-size: 19px; line-height: 1.55; color: var(--nb-fg-2);
  margin: 0; max-width: 56ch; margin-left: auto; margin-right: auto;
  text-wrap: pretty;
}
.cm-accent { color: var(--nb-primary); }
.cm-accent-grad {
  background: var(--cm-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Buttons ---- */
.cm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background var(--nb-dur-fast) var(--nb-ease-out),
              color var(--nb-dur-fast) var(--nb-ease-out),
              box-shadow var(--nb-dur-fast) var(--nb-ease-out),
              border-color var(--nb-dur-fast) var(--nb-ease-out),
              transform var(--nb-dur-fast) var(--nb-ease-out);
  text-decoration: none; white-space: nowrap;
}
.cm-btn svg { width: 18px; height: 18px; stroke-width: 2.25; }
.cm-btn-primary { background: var(--nb-orange-500); color: #fff; box-shadow: var(--nb-shadow-orange); }
.cm-btn-primary:hover { background: var(--nb-orange-600); }
.cm-btn-primary:active { background: var(--nb-orange-700); transform: translateY(1px); }
.cm-btn-wa { background: var(--wa-green); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.30); }
.cm-btn-wa:hover { background: var(--wa-green-hover); }
.cm-btn-ghost { background: transparent; color: var(--nb-fg-1); border-color: var(--nb-ink-200); }
.cm-btn-ghost:hover { background: var(--nb-bg-muted); border-color: var(--nb-ink-300); }
.cm-btn-dark { background: var(--nb-ink-800); color: #fff; }
.cm-btn-dark:hover { background: var(--nb-ink-900); }
.cm-btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---- Header ---- */
.cm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0);
  transition: background var(--nb-dur-base) var(--nb-ease-out),
              border-color var(--nb-dur-base) var(--nb-ease-out),
              backdrop-filter var(--nb-dur-base) var(--nb-ease-out);
  border-bottom: 1px solid transparent;
}
.cm-header.is-scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--nb-border);
}
.cm-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.cm-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--nb-ink-800);
  white-space: nowrap; flex: none;
}
.cm-logo > span { white-space: nowrap; }
.cm-logo-wordmark { height: 30px; width: auto; }
.cm-logo-hr {
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--nb-orange-500);
  margin-left: -2px;
}
.cm-logo-by {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  color: var(--nb-fg-3); padding-left: 12px; margin-left: 12px;
  border-left: 1px solid var(--nb-border);
  text-decoration: none;
  transition: color var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-logo-by:hover {
  color: var(--nb-orange-500);
}
.cm-logo-by img { height: 18px; opacity: .8; transition: opacity var(--nb-dur-fast) var(--nb-ease-out); }
.cm-logo-by:hover img { opacity: 1; }
.cm-nav { display: flex; gap: 32px; }
.cm-nav a {
  color: var(--nb-fg-2); font-weight: 500; font-size: 15px;
  transition: color var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-nav a:hover { color: var(--nb-orange-600); }
.cm-nav a.is-active { color: var(--nb-fg-1); font-weight: 700; }
.cm-header-cta { display: flex; gap: 10px; align-items: center; }

/* ---- Hero ---- */
.cm-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 96px;
}
.cm-hero-halo {
  position: absolute; top: -200px; right: -300px;
  width: 900px; height: 900px;
  background: radial-gradient(closest-side, var(--nb-orange-100) 0%, rgba(255,232,204,0) 70%);
  pointer-events: none; z-index: 0;
}
.cm-hero-halo-2 {
  position: absolute; bottom: -260px; left: -260px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, #FFD9C2 0%, rgba(255,217,194,0) 70%);
  pointer-events: none; z-index: 0;
}
.cm-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.cm-hero h1 {
  font-size: 76px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.02; margin: 20px 0 24px; text-wrap: balance;
}
.cm-hero p.cm-lead {
  font-size: 20px; line-height: 1.55; color: var(--nb-fg-2);
  max-width: 52ch; margin: 0 0 32px; text-wrap: pretty;
}
.cm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cm-hero-trust {
  display: flex; align-items: center; gap: 14px; margin-top: 44px;
  font-size: 14px; color: var(--nb-fg-3);
}
.cm-hero-trust .cm-trust-line { font-weight: 500; }
.cm-hero-trust b { color: var(--nb-fg-1); font-weight: 700; }
.cm-avatar-stack { display: flex; }
.cm-avatar-stack span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -8px;
  background-size: cover; background-position: center;
  display: inline-block;
}
.cm-avatar-stack span:first-child { margin-left: 0; }

/* ---- Hero visual (composed product shot) ---- */
.cm-hero-art {
  position: relative; aspect-ratio: 4 / 4.2;
}
.cm-mock-desktop {
  position: absolute; inset: 8% 8% 18% 0;
  background: #fff; border-radius: 16px;
  box-shadow: var(--nb-shadow-lg);
  border: 1px solid var(--nb-border);
  overflow: hidden;
}
.cm-mock-phone {
  position: absolute; bottom: -2%; right: -2%; width: 38%;
  aspect-ratio: 9 / 19;
  background: #1f2127; border-radius: 38px;
  padding: 6px;
  box-shadow: var(--nb-shadow-lg), 0 0 0 1px rgba(0,0,0,.08);
}
.cm-mock-phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px; overflow: hidden;
  background: var(--wa-bg);
  display: flex; flex-direction: column;
}

/* Desktop mockup interior */
.cm-md-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--nb-ink-50);
  border-bottom: 1px solid var(--nb-border);
}
.cm-md-bar .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--nb-ink-200); }
.cm-md-bar .dot:nth-child(1) { background: #FF5F57; }
.cm-md-bar .dot:nth-child(2) { background: #FEBC2E; }
.cm-md-bar .dot:nth-child(3) { background: #28C840; }
.cm-md-bar .url {
  margin-left: auto; font-size: 11px; color: var(--nb-fg-3);
  font-family: var(--nb-font-mono);
  background: #fff; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--nb-border);
}
.cm-md-body {
  display: grid; grid-template-columns: 56px 1fr; height: calc(100% - 41px);
}
.cm-md-side {
  background: var(--nb-ink-800); padding: 16px 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cm-md-side-logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--cm-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.cm-md-side-i {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,.08);
}
.cm-md-side-i.is-active { background: var(--nb-orange-500); }
.cm-md-main { padding: 18px 22px; overflow: hidden; }
.cm-md-title { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.cm-md-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.cm-md-stat {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: 10px; padding: 10px 12px;
}
.cm-md-stat .lbl { font-size: 10px; color: var(--nb-fg-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cm-md-stat .val { font-size: 18px; font-weight: 700; margin-top: 2px; }
.cm-md-stat .delta { font-size: 10px; color: var(--nb-success); font-weight: 700; }
.cm-md-stat .delta.neg { color: var(--nb-danger); }
.cm-md-rows { display: flex; flex-direction: column; gap: 6px; }
.cm-md-row {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 8px;
  padding: 7px 10px; background: #fff; border: 1px solid var(--nb-border);
  border-radius: 8px; align-items: center; font-size: 11px;
}
.cm-md-row .av {
  width: 22px; height: 22px; border-radius: 50%; background: var(--nb-orange-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--nb-orange-800);
}
.cm-md-row .name { font-weight: 700; }
.cm-md-row .pill {
  font-size: 9px; padding: 2px 7px; border-radius: 999px; font-weight: 700;
}
.cm-md-row .pill.ok { background: #E8F8EF; color: #1B8B53; }
.cm-md-row .pill.wait { background: #FEF6E0; color: #9A6F00; }
.cm-md-row .pill.no { background: #FCE9E6; color: #B53527; }

/* WhatsApp phone interior */
.cm-wa-top {
  background: #075E54; color: #fff;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
}
.cm-wa-top .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cm-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.cm-wa-top .name { font-weight: 700; }
.cm-wa-top .sub { font-size: 9px; color: rgba(255,255,255,.7); }
.cm-wa-body {
  flex: 1; padding: 12px 10px;
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden; font-size: 10px;
  background-color: var(--wa-bg);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.025) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,.02) 0 2px, transparent 3px);
}
.cm-wa-msg {
  max-width: 78%; padding: 6px 9px; border-radius: 8px;
  background: var(--wa-bubble-in); box-shadow: 0 1px 1px rgba(0,0,0,.06);
  line-height: 1.35;
}
.cm-wa-msg.out { background: var(--wa-bubble-out); align-self: flex-end; }
.cm-wa-msg .t { font-size: 8px; color: rgba(0,0,0,.4); margin-top: 2px; text-align: right; }
.cm-wa-msg .b { font-weight: 700; }
.cm-wa-msg .btns {
  display: flex; gap: 4px; margin-top: 4px; padding-top: 4px;
  border-top: 1px dashed rgba(0,0,0,.1);
}
.cm-wa-msg .btn {
  font-size: 8.5px; font-weight: 700; padding: 3px 6px;
  border-radius: 4px; background: rgba(7,94,84,.08); color: #075E54;
}

/* ---- Logo strip ---- */
.cm-logo-strip {
  padding: 32px 0; border-top: 1px solid var(--nb-border);
  border-bottom: 1px solid var(--nb-border);
  background: var(--nb-bg-muted);
}
.cm-logo-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.cm-logo-strip-label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nb-fg-3);
  white-space: nowrap;
}
.cm-logo-strip-row { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.cm-client-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--nb-fg-3); font-weight: 700; font-size: 16px;
  opacity: .7; transition: opacity var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-client-logo:hover { opacity: 1; }
.cm-client-logo .glyph {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--nb-ink-200); color: var(--nb-fg-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}

/* ---- WhatsApp differentiator ---- */
.cm-whatsapp {
  position: relative; padding: 110px 0; overflow: hidden;
  background: linear-gradient(180deg, #0B3D32 0%, #0F5045 100%);
  color: #fff;
}
.cm-whatsapp::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(37,211,102,.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(37,211,102,.12), transparent 50%);
  pointer-events: none;
}
.cm-whatsapp-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 80px; align-items: center;
}
.cm-whatsapp h2 {
  font-size: 56px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.05; margin: 20px 0 24px; color: #fff;
  text-wrap: balance;
}
.cm-whatsapp p.cm-lead { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 52ch; }
.cm-whatsapp .cm-eyebrow {
  background: rgba(37,211,102,.16); color: #6FE89C;
  border-color: rgba(37,211,102,.3);
}
.cm-wa-points {
  list-style: none; padding: 0; margin: 24px 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.cm-wa-points li {
  display: flex; gap: 14px; align-items: flex-start;
  color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.5;
}
.cm-wa-points .ic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(37,211,102,.22); color: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
}
.cm-wa-points .ic svg { width: 14px; height: 14px; stroke-width: 3; }
.cm-wa-points b { color: #fff; font-weight: 700; }
.cm-wa-chats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  align-items: end;
}
.cm-wa-chat {
  background: var(--wa-bg); border-radius: 18px; padding: 14px 10px 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 8px;
  position: relative; transform: translateY(0);
}
.cm-wa-chat:nth-child(1) { transform: translateY(20px); }
.cm-wa-chat:nth-child(3) { transform: translateY(20px); }
.cm-wa-chat-head {
  display: flex; align-items: center; gap: 8px; padding: 0 4px 8px;
  border-bottom: 1px solid rgba(0,0,0,.08); margin-bottom: 2px;
}
.cm-wa-chat-head .flag {
  width: 24px; height: 16px; border-radius: 3px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; background: #ddd; color: #333;
}
.cm-wa-chat-head .lang { font-size: 11px; font-weight: 700; color: #075E54; }
.cm-wa-bub {
  max-width: 84%; padding: 7px 10px; border-radius: 10px;
  font-size: 12px; line-height: 1.4;
  background: var(--wa-bubble-in); box-shadow: 0 1px 1px rgba(0,0,0,.06);
  color: #1F2127;
}
.cm-wa-bub.out { background: var(--wa-bubble-out); align-self: flex-end; }
.cm-wa-bub.bot { background: var(--wa-bubble-in); }
.cm-wa-bub .t { font-size: 9px; color: rgba(0,0,0,.4); margin-top: 3px; text-align: right; }
.cm-wa-bub .qk {
  display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap;
}
.cm-wa-bub .qk span {
  background: rgba(7,94,84,.08); color: #075E54;
  padding: 3px 7px; border-radius: 4px;
  font-size: 10px; font-weight: 700;
}

/* ---- Features grid ---- */
.cm-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cm-feature-card {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: var(--cm-radius-card); padding: 28px 24px;
  box-shadow: var(--nb-shadow-sm);
  transition: box-shadow var(--nb-dur-base) var(--nb-ease-out),
              transform var(--nb-dur-base) var(--nb-ease-out),
              border-color var(--nb-dur-base) var(--nb-ease-out);
  display: flex; flex-direction: column; gap: 12px;
}
.cm-feature-card:hover {
  box-shadow: var(--nb-shadow-md);
  transform: translateY(-2px);
  border-color: var(--nb-border-orange);
}
.cm-feature-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--nb-orange-50); color: var(--nb-orange-700);
  display: flex; align-items: center; justify-content: center;
}
.cm-feature-card .ic svg { width: 24px; height: 24px; stroke-width: 2; }
.cm-feature-card h4 { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.cm-feature-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--nb-fg-2); }
.cm-feature-card.is-highlight {
  background: var(--cm-grad);
  border-color: transparent;
  color: #fff;
}
.cm-feature-card.is-highlight h4,
.cm-feature-card.is-highlight p { color: #fff; }
.cm-feature-card.is-highlight p { color: rgba(255,255,255,.85); }
.cm-feature-card.is-highlight .ic { background: rgba(255,255,255,.18); color: #fff; }

/* ---- Split block (mobile / fingerprint sections) ---- */
.cm-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cm-split--reverse > :first-child { order: 2; }
.cm-split h2 {
  font-size: 44px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.06; margin: 16px 0 18px; text-wrap: balance;
}
.cm-split p.cm-lead {
  font-size: 18px; color: var(--nb-fg-2); line-height: 1.6;
  margin: 0 0 24px; max-width: 52ch;
}
.cm-split ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.cm-split ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--nb-fg-2); line-height: 1.5; }
.cm-split ul .ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--nb-orange-100); color: var(--nb-orange-700);
  display: flex; align-items: center; justify-content: center;
}
.cm-split ul .ic svg { width: 12px; height: 12px; stroke-width: 3.5; }
.cm-split b { color: var(--nb-fg-1); font-weight: 700; }

/* iPhone mockup */
.cm-iphone {
  width: 340px; max-width: 100%; margin: 0 auto;
  aspect-ratio: 9 / 19; background: #1f2127; border-radius: 48px;
  padding: 8px; box-shadow: var(--nb-shadow-lg), 0 0 0 1px rgba(0,0,0,.08);
  position: relative;
}
.cm-iphone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: #000; border-radius: 999px; z-index: 2;
}
.cm-iphone-screen {
  width: 100%; height: 100%; border-radius: 40px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  position: relative;
}
.cm-iphone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px 6px; font-size: 11px; font-weight: 700;
}
.cm-iphone-status .right { display: flex; gap: 4px; align-items: center; }
.cm-iphone-status .right svg { width: 12px; height: 12px; }
.cm-iphone-app-top {
  padding: 16px 18px 12px; display: flex; align-items: center; justify-content: space-between;
}
.cm-iphone-app-top .title { font-weight: 700; font-size: 16px; }
.cm-iphone-app-top .menu {
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  background: var(--nb-bg-muted); border-radius: 8px;
}
.cm-iphone-app-top .menu svg { width: 16px; height: 16px; color: var(--nb-fg-2); }
.cm-iphone-greeting { padding: 0 18px 12px; }
.cm-iphone-greeting .hello { font-size: 12px; color: var(--nb-fg-3); }
.cm-iphone-greeting .name { font-size: 18px; font-weight: 700; margin-top: 2px; }
.cm-iphone-status-card {
  margin: 0 18px 14px; padding: 14px;
  background: var(--cm-grad); color: #fff; border-radius: 14px;
}
.cm-iphone-status-card .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-weight: 700; }
.cm-iphone-status-card .stat { font-size: 22px; font-weight: 700; margin-top: 4px; }
.cm-iphone-status-card .meta {
  display: flex; gap: 12px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18); font-size: 11px;
}
.cm-iphone-status-card .meta div { flex: 1; }
.cm-iphone-status-card .meta b { font-weight: 700; display: block; font-size: 13px; }
.cm-iphone-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 18px 14px;
}
.cm-iphone-grid-item {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.cm-iphone-grid-item .ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--nb-orange-50); color: var(--nb-orange-700);
  display: flex; align-items: center; justify-content: center;
}
.cm-iphone-grid-item .ic svg { width: 18px; height: 18px; }
.cm-iphone-grid-item .lbl { font-size: 12px; font-weight: 700; }
.cm-iphone-grid-item .sub { font-size: 10px; color: var(--nb-fg-3); }
.cm-iphone-feed {
  margin: 0 18px; padding: 12px; background: var(--nb-bg-muted);
  border-radius: 12px;
}
.cm-iphone-feed .h { font-size: 11px; font-weight: 700; color: var(--nb-fg-2); margin-bottom: 8px; }
.cm-iphone-feed .row { display: flex; gap: 8px; padding: 6px 0; font-size: 11px; align-items: center; }
.cm-iphone-feed .row .d {
  width: 18px; height: 18px; border-radius: 50%;
  background: #E8F8EF; color: #1B8B53;
  display: flex; align-items: center; justify-content: center;
}
.cm-iphone-feed .row .d svg { width: 10px; height: 10px; stroke-width: 3; }

/* Fingerprint device — real product photo */
.cm-device {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.cm-device-photo {
  width: 100%; max-width: 420px; height: auto;
  border-radius: 20px;
  box-shadow: var(--nb-shadow-lg);
  display: block;
}
.cm-device-tag {
  position: absolute; top: 20px; right: 20px;
  background: #fff; padding: 8px 14px; border-radius: 12px;
  box-shadow: var(--nb-shadow-md); font-size: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.cm-device-tag .lbl { font-size: 10px; color: var(--nb-fg-3); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cm-device-tag b { font-size: 14px; font-weight: 700; }

/* ---- 3-up Sri Lanka first ---- */
.cm-tri {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cm-tri-card {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: var(--cm-radius-card); padding: 36px 28px;
  box-shadow: var(--nb-shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.cm-tri-card .num {
  font-family: var(--nb-font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--nb-primary); letter-spacing: .08em;
}
.cm-tri-card h3 { font-size: 24px; font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.cm-tri-card p { font-size: 15px; color: var(--nb-fg-2); line-height: 1.55; margin: 0; }

/* ---- Founder section ---- */
.cm-founder {
  position: relative; padding: 96px 0;
  background: linear-gradient(180deg, var(--nb-ink-900) 0%, #15171C 100%);
  color: #fff; overflow: hidden;
}
.cm-founder::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(248,148,29,.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(248,148,29,.06), transparent 50%);
  pointer-events: none;
}
.cm-founder-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center;
}
.cm-founder-img {
  aspect-ratio: 4/5; border-radius: 20px;
  background: linear-gradient(135deg, #2E3036 0%, #5C3306 100%);
  position: relative; overflow: hidden;
  box-shadow: var(--nb-shadow-lg);
}
.cm-founder-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.cm-founder-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.cm-founder-img .badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  z-index: 1;
}
.cm-founder-img .badge .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cm-grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.cm-founder-img .badge .name { font-weight: 700; font-size: 14px; }
.cm-founder-img .badge .role { font-size: 11px; color: rgba(255,255,255,.7); }
.cm-founder-copy h2 {
  font-size: 44px; font-weight: 700; letter-spacing: -.025em;
  line-height: 1.06; margin: 16px 0 24px; color: #fff;
}
.cm-founder-quote {
  font-size: 22px; line-height: 1.45; color: rgba(255,255,255,.92);
  font-weight: 400; font-style: italic;
  border-left: 3px solid var(--nb-primary);
  padding: 4px 0 4px 20px; margin: 0 0 28px;
  text-wrap: pretty;
}
.cm-founder-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 40px; margin-top: 32px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
}
.cm-founder-stats .stat { display: flex; flex-direction: column; }
.cm-founder-stats .stat b {
  font-size: 36px; font-weight: 700; line-height: 1;
  background: var(--cm-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cm-founder-stats .stat span {
  font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px;
}

/* ---- CTA section ---- */
.cm-cta {
  padding: 96px 0; text-align: center;
  background: var(--cm-grad); color: #fff; position: relative; overflow: hidden;
}
.cm-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1), transparent 40%);
  pointer-events: none;
}
.cm-cta-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cm-cta h2 {
  font-size: 52px; font-weight: 700; letter-spacing: -.025em;
  line-height: 1.05; margin: 0 0 20px; color: #fff;
  text-wrap: balance;
}
.cm-cta p { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.92); margin: 0 0 32px; }
.cm-cta .cm-hero-actions { justify-content: center; }
.cm-cta .cm-btn-wa { background: #fff; color: #075E54; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.cm-cta .cm-btn-wa:hover { background: #f3f3f3; }
.cm-cta .cm-btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cm-cta .cm-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ---- Footer ---- */
.cm-footer { background: var(--nb-surface-dark); color: #fff; padding: 72px 0 32px; }
.cm-footer-inner {
  display: grid; grid-template-columns: 1.4fr 3fr; gap: 64px; align-items: start;
}
.cm-footer-logo {
  display: flex; align-items: center; gap: 6px;
  color: #fff;
}
.cm-footer-logo img {
  height: 32px; width: auto;
  /* Brighten the gray wordmark so it reads on dark surface */
  filter: brightness(1.4) contrast(1.05);
}
.cm-footer-logo span {
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--nb-orange-400);
}
.cm-footer-brand { max-width: 320px; }
.cm-footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.65); margin: 16px 0 20px; line-height: 1.55;
}
.cm-footer-by {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-footer-by:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.cm-footer-by img { height: 20px; }
.cm-footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.cm-footer-cols h6 {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nb-orange-300); margin: 0 0 14px;
}
.cm-footer-cols a, .cm-footer-cols span {
  display: block; color: rgba(255,255,255,.72); font-size: 14px;
  padding: 5px 0; line-height: 1.4;
  transition: color var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-footer-cols a:hover { color: var(--nb-orange-300); }
.cm-footer-base {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; font-size: 13px;
  color: rgba(255,255,255,.45); gap: 20px; flex-wrap: wrap;
}
.cm-footer-base a { color: inherit; }
.cm-footer-base a:hover { color: rgba(255,255,255,.7); }

/* ---- Pricing page styles ---- */
.cm-pricing-hero {
  padding: 80px 0 56px; text-align: center; position: relative; overflow: hidden;
}
.cm-pricing-hero h1 {
  font-size: 64px; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.05; margin: 20px 0 18px; text-wrap: balance;
}
.cm-pricing-hero p {
  font-size: 19px; color: var(--nb-fg-2); line-height: 1.55;
  max-width: 56ch; margin: 0 auto 28px;
}

.cm-slider-card {
  max-width: 720px; margin: 0 auto 64px;
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: 20px; padding: 32px; box-shadow: var(--nb-shadow-md);
}
.cm-slider-card h3 { font-size: 16px; font-weight: 700; margin: 0; }
.cm-slider-card .hint { font-size: 13px; color: var(--nb-fg-3); margin-top: 4px; }
.cm-slider-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 20px;
}
.cm-slider-row .count {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
}
.cm-slider-row .count span { color: var(--nb-fg-3); font-size: 16px; font-weight: 500; margin-left: 8px; }
.cm-slider-row .out {
  text-align: right;
}
.cm-slider-row .out .price {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
  background: var(--cm-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cm-slider-row .out .price-sub { font-size: 13px; color: var(--nb-fg-3); margin-top: 4px; }
.cm-slider-input {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 8px; background: var(--nb-orange-100); border-radius: 999px;
  outline: none; margin-top: 16px;
}
.cm-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; background: var(--cm-grad);
  border: 4px solid #fff; border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255,62,0,.4);
  cursor: pointer; transition: transform var(--nb-dur-fast) var(--nb-ease-out);
}
.cm-slider-input::-webkit-slider-thumb:hover { transform: scale(1.1); }
.cm-slider-input::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--cm-grad);
  border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255,62,0,.4); cursor: pointer;
}
.cm-slider-ticks {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 11px; color: var(--nb-fg-3); font-weight: 500;
}
.cm-slider-tier {
  margin-top: 18px; padding: 14px 16px; background: var(--nb-bg-warm);
  border: 1px solid var(--nb-border-orange); border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px;
}
.cm-slider-tier .tier-name {
  font-weight: 700; color: var(--nb-orange-800);
  display: flex; align-items: center; gap: 8px;
}
.cm-slider-tier .pill {
  padding: 2px 8px; background: var(--nb-orange-100); border-radius: 999px;
  font-size: 11px; font-family: var(--nb-font-mono);
}

/* Tier cards */
.cm-tiers {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.cm-tier {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: var(--cm-radius-card); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow var(--nb-dur-base) var(--nb-ease-out),
              transform var(--nb-dur-base) var(--nb-ease-out);
  position: relative;
}
.cm-tier:hover { box-shadow: var(--nb-shadow-md); transform: translateY(-2px); }
.cm-tier.is-featured {
  background: linear-gradient(180deg, #fff 0%, var(--nb-bg-warm) 100%);
  border-color: var(--nb-orange-300);
  box-shadow: var(--nb-shadow-md), 0 0 0 2px var(--nb-orange-100);
}
.cm-tier .featured-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--cm-grad); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.cm-tier .code { font-family: var(--nb-font-mono); font-size: 12px; color: var(--nb-fg-3); letter-spacing: .08em; }
.cm-tier .tier-name { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.cm-tier .tier-emp { font-size: 13px; color: var(--nb-fg-2); }
.cm-tier .tier-emp b { color: var(--nb-fg-1); font-weight: 700; }
.cm-tier .tier-price {
  margin-top: auto; padding-top: 14px;
  border-top: 1px dashed var(--nb-border);
}
.cm-tier .tier-price .amt {
  font-size: 30px; font-weight: 700; letter-spacing: -.02em;
}
.cm-tier .tier-price .per { font-size: 13px; color: var(--nb-fg-3); margin-top: 2px; }
.cm-tier .tier-price .extra { font-size: 11px; color: var(--nb-fg-3); margin-top: 6px; font-family: var(--nb-font-mono); }

/* Pricing add-ons */
.cm-addons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 980px; margin: 64px auto 0;
}
.cm-addon {
  background: #fff; border: 1px solid var(--nb-border);
  border-radius: var(--cm-radius-card); padding: 28px;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
}
.cm-addon .ic {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--nb-orange-50); color: var(--nb-orange-700);
  display: flex; align-items: center; justify-content: center;
}
.cm-addon .ic svg { width: 30px; height: 30px; }
.cm-addon h4 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.cm-addon p { font-size: 14px; color: var(--nb-fg-2); margin: 0; line-height: 1.5; }
.cm-addon .price {
  font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap;
}
.cm-addon .price small { font-size: 11px; color: var(--nb-fg-3); font-weight: 500; display: block; margin-top: 2px; }

/* What's included */
.cm-included {
  max-width: 980px; margin: 80px auto 0;
  background: var(--nb-ink-900); color: #fff;
  border-radius: 24px; padding: 48px;
  position: relative; overflow: hidden;
}
.cm-included::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(248,148,29,.18), transparent 50%);
  pointer-events: none;
}
.cm-included-head { position: relative; margin-bottom: 32px; }
.cm-included-head h2 {
  font-size: 32px; font-weight: 700; margin: 12px 0 8px; color: #fff;
}
.cm-included-head p { font-size: 15px; color: rgba(255,255,255,.7); margin: 0; }
.cm-included-list {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px;
  list-style: none; padding: 0; margin: 0;
}
.cm-included-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; font-size: 14.5px; color: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cm-included-list li:last-child, .cm-included-list li:nth-last-child(2) { border-bottom: none; }
.cm-included-list .ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(248,148,29,.16); color: var(--nb-orange-400);
  display: flex; align-items: center; justify-content: center;
}
.cm-included-list .ic svg { width: 13px; height: 13px; stroke-width: 3; }

/* FAQ */
.cm-faq { max-width: 800px; margin: 0 auto; }
.cm-faq-item {
  border-top: 1px solid var(--nb-border); padding: 22px 0;
}
.cm-faq-item:last-child { border-bottom: 1px solid var(--nb-border); }
.cm-faq-q {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; cursor: pointer; font-weight: 700; font-size: 17px;
  letter-spacing: -.01em; line-height: 1.4;
}
.cm-faq-q svg {
  flex: none; width: 22px; height: 22px; color: var(--nb-primary);
  transition: transform var(--nb-dur-base) var(--nb-ease-out);
}
.cm-faq-item.is-open .cm-faq-q svg { transform: rotate(45deg); }
.cm-faq-a {
  display: none; padding-top: 14px;
  font-size: 15.5px; line-height: 1.6; color: var(--nb-fg-2);
}
.cm-faq-item.is-open .cm-faq-a { display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cm-features { grid-template-columns: repeat(2, 1fr); }
  .cm-tri { grid-template-columns: 1fr; }
  .cm-tiers { grid-template-columns: repeat(2, 1fr); }
  .cm-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
/* Hide the "by Nanobotz" lockup before things get tight */
@media (max-width: 1180px) {
  .cm-logo-by { display: none; }
}

/* Collapse nav + secondary CTA early so the header never overflows */
@media (max-width: 1024px) {
  .cm-nav { display: none; }
  .cm-header-cta .cm-btn:not(.cm-btn-wa) { display: none; }
}

@media (max-width: 800px) {
  .cm-hero { padding: 40px 0 64px; }
  .cm-hero h1 { font-size: 44px; }
  .cm-hero-inner,
  .cm-split,
  .cm-whatsapp-inner,
  .cm-founder-inner,
  .cm-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .cm-split--reverse > :first-child { order: 0; }
  .cm-section, .cm-whatsapp, .cm-founder, .cm-cta { padding: 64px 0; }
  .cm-section-head h2, .cm-whatsapp h2, .cm-split h2, .cm-founder-copy h2, .cm-cta h2, .cm-pricing-hero h1 { font-size: 36px; }
  .cm-features { grid-template-columns: 1fr; }
  .cm-tiers { grid-template-columns: 1fr; }
  .cm-addons { grid-template-columns: 1fr; }
  .cm-addon { grid-template-columns: 48px 1fr; }
  .cm-addon .price { grid-column: 2; text-align: left; }
  .cm-included-list { grid-template-columns: 1fr; }
  .cm-included { padding: 32px 24px; }
  .cm-footer-cols { grid-template-columns: 1fr 1fr; }
}
