/* Marketing UI Kit — Nexberry
   Loaded by ui_kits/marketing/index.html
   Targets the dark, gradient "OS" surfaces. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #fff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* ── The marketing stage ──────────────────────────────────────────────── */
.nb-stage {
  background: linear-gradient(to bottom, #000 0%, #0a0a0a 30%, #3a3d3d 78%, #6b6e6e 99%);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.nb-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, #222 1px, transparent 1px),
    linear-gradient(to bottom, #222 1px, transparent 1px);
  background-size: 6rem 5rem;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
          mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  pointer-events: none;
}
.nb-stage > * { position: relative; z-index: 1; }

/* ── Eyebrow pill ─────────────────────────────────────────────────────── */
.nb-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: linear-gradient(to top right, rgba(255,255,255,0.05), rgba(255,255,255,0.05), transparent);
  border: 2px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.nb-eyebrow-pill .dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.20);
}

/* ── Display headline (white→white/40 gradient text) ──────────────────── */
.nb-display {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.4));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}

/* ── CTA buttons ──────────────────────────────────────────────────────── */
/* Stage links should never be underlined */
.nb-stage a, .nb-stage a:hover, .nb-stage a:visited { text-decoration: none; }
.nb-btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-weight: 600; cursor: pointer; border: 0; transition: all .15s; text-decoration: none; }
.nb-btn-white {
  background: #fff; color: #000;
  padding: 12px 24px; border-radius: 9999px;
  font-size: 15px;
  box-shadow: 0 10px 15px -3px rgba(255,255,255,.10);
}
.nb-btn-white:hover { background: #f3f4f6; box-shadow: 0 20px 25px -5px rgba(255,255,255,.15); }
.nb-btn-ghost {
  background: transparent; color: #fff;
  padding: 12px 24px; border-radius: 9999px;
  font-size: 15px;
  border: 1px solid #404040;
}
.nb-btn-ghost:hover { background: #171717; border-color: #525252; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nb-nav {
  width: 100%;
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nb-nav-links { display: flex; gap: 28px; font-size: 14px; }
.nb-nav-links a { color: #9ca3af; text-decoration: none; transition: color .15s; }
.nb-nav-links a:hover { color: #fff; }
.nb-nav-cta { display: flex; gap: 10px; }

/* ── Footer (minimal) ─────────────────────────────────────────────────── */
.nb-footer-min {
  margin-top: 80px;
  padding: 22px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  background: #000;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.nb-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 28px 100px;
  text-align: center;
}
.nb-hero p.lede {
  margin: 24px auto 0;
  max-width: 640px;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.55;
}
.nb-hero .actions {
  margin-top: 36px;
  display: inline-flex; gap: 12px;
}
.nb-hero .fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

/* ── Sector grid ──────────────────────────────────────────────────────── */
.nb-section { max-width: 1100px; margin: 0 auto; padding: 80px 28px; }
.nb-section-head { text-align: center; margin-bottom: 48px; }
.nb-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.4));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nb-section-head p { margin: 14px auto 0; max-width: 520px; color: #9ca3af; font-size: 16px; line-height: 1.5; }

.nb-sectors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.nb-sector-card {
  background: #171717; border: 1px solid #262626;
  border-radius: 16px; padding: 22px;
  cursor: pointer; transition: all .2s ease;
  color: inherit; text-decoration: none;
  display: block;
}
.nb-sector-card:hover {
  border-color: #404040;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.6);
}
.nb-sector-card .pic {
  width: 100%; aspect-ratio: 1.4 / 1;
  background: #0a0a0a; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden;
}
.nb-sector-card .pic img { width: 78%; height: auto; }
.nb-sector-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.nb-sector-card p  { margin: 0; font-size: 13px; color: #9ca3af; line-height: 1.5; }
.nb-sector-card .arrow { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #fff; }
.nb-sector-card.disabled { opacity: 0.5; pointer-events: none; }
.nb-sector-card .soon {
  display: inline-block; margin-top: 14px;
  padding: 4px 10px; border-radius: 9999px;
  background: #262626; border: 1px solid #404040;
  font-size: 11px; color: #9ca3af;
}

/* ── Feature grid ─────────────────────────────────────────────────────── */
.nb-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nb-feature {
  background: #171717; border: 1px solid #262626;
  border-radius: 24px; padding: 28px;
  transition: all .2s ease;
}
.nb-feature:hover { box-shadow: 0 10px 25px -10px rgba(0,0,0,0.6); }
.nb-feature .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 18px;
}
.nb-feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.nb-feature p  { margin: 0; font-size: 14px; color: #9ca3af; line-height: 1.55; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.nb-pricing {
  max-width: 760px; margin: 0 auto;
  background: #171717; border: 1px solid #262626;
  border-radius: 32px; padding: 36px;
  text-align: center;
}
.nb-pricing.recommended { border: 2px solid #fff; box-shadow: 0 20px 25px -5px rgba(255,255,255,0.05); }
.nb-pricing .badge { display: inline-block; padding: 4px 12px; border-radius: 9999px; background: #059669; color: #fff; font-size: 12px; font-weight: 500; margin-bottom: 20px; }
.nb-pricing h3 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.nb-pricing .price { margin: 10px 0 0; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.nb-pricing .price small { font-size: 16px; color: #9ca3af; font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.nb-pricing ul {
  list-style: none; padding: 0; margin: 28px auto;
  max-width: 360px; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.nb-pricing li { display: flex; gap: 10px; font-size: 14px; color: #d1d5db; }
.nb-pricing li svg { flex: 0 0 18px; color: #10b981; margin-top: 2px; }
.nb-pricing .cta-row { display: flex; justify-content: center; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.nb-faq { max-width: 720px; margin: 0 auto; }
.nb-faq details {
  border-bottom: 1px solid #262626;
  padding: 18px 0;
}
.nb-faq details:first-child { border-top: 1px solid #262626; }
.nb-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: #fff;
}
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after {
  content: "+";
  font-size: 24px; font-weight: 300; color: #6b7280;
  transition: transform .2s;
}
.nb-faq details[open] summary::after { transform: rotate(45deg); }
.nb-faq details p { margin: 12px 0 0; color: #9ca3af; font-size: 14px; line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.nb-footer {
  border-top: 1px solid #262626;
  padding: 36px 28px;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #6b7280;
}
.nb-footer .links { display: flex; gap: 22px; }
.nb-footer a { color: inherit; text-decoration: none; }
.nb-footer a:hover { color: #fff; }

/* ── Auth card ────────────────────────────────────────────────────────── */
.nb-auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.nb-auth-card {
  width: 100%; max-width: 440px;
  background: #171717; border: 1px solid #262626;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
}
.nb-auth-card h1 {
  margin: 0; color: #fff;
  font-size: 24px; font-weight: 600; letter-spacing: -0.03em;
}
.nb-auth-card .sub { margin: 8px 0 24px; color: #9ca3af; font-size: 14px; line-height: 1.5; }
.nb-auth-card .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nb-auth-card label { font-size: 12px; color: #d1d5db; font-weight: 500; }
.nb-auth-card .phone {
  display: flex; align-items: stretch;
  background: #0a0a0a; border: 1px solid #404040; border-radius: 8px;
  overflow: hidden;
}
.nb-auth-card .phone .pre { padding: 11px 14px; color: #9ca3af; border-right: 1px solid #404040; font-size: 14px; font-weight: 500; }
.nb-auth-card .phone input { flex: 1; border: 0; outline: 0; padding: 11px 14px; background: transparent; color: #fff; font-size: 14px; font-family: inherit; }
.nb-auth-card .input { padding: 11px 14px; border-radius: 8px; background: #0a0a0a; border: 1px solid #404040; color: #fff; font-size: 14px; outline: 0; font-family: inherit; }
.nb-auth-card .input:focus { border-color: #059669; }
.nb-auth-card .submit {
  margin-top: 12px;
  display: block; width: 100%;
  background: #fff; color: #000;
  padding: 12px; border-radius: 9999px; border: 0;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.nb-auth-card .submit:hover { background: #f3f4f6; box-shadow: 0 10px 15px -3px rgba(255,255,255,0.1); }
.nb-auth-card .alt {
  margin-top: 18px; text-align: center;
  font-size: 13px; color: #9ca3af;
}
.nb-auth-card .alt a { color: #fff; text-decoration: none; font-weight: 500; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .nb-sectors, .nb-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .nb-sectors, .nb-features { grid-template-columns: 1fr; }
  .nb-nav-links { display: none; }
}

/* ── Anim ─────────────────────────────────────────────────────────────── */
.anim-fade-up { animation: nbFadeUp .7s ease-out backwards; }
@keyframes nbFadeUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }
