/* BNJ Development — company website. Brand colours match the BNJ logo and the app. */
:root {
  --navy: #020a16;
  --navy-2: #0a1628;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --pink: #ec4899;
  --surface: #ffffff;
  --surface-2: #f4f8fb;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --accent: #0e7490;
  --neon: linear-gradient(90deg, var(--cyan), var(--lime), var(--pink));
  --radius: 18px;
  --wrap: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #020a16;
    --surface-2: #0a1628;
    --ink: #e5edf7;
    --ink-soft: #c4cfdd;
    --ink-muted: #8d9bb0;
    --line: #1c2c45;
    --accent: #22d3ee;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 10, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c2c45;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: #c4cfdd;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.nav a:hover {
  color: #fff;
  background: #13223a;
}
@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .header-row .btn-small {
    margin-left: auto;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.btn-small {
  padding: 9px 16px;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--cyan);
}
/* Gradient border around a navy button, like the app's neon ring. */
.btn-neon {
  color: #fff;
  border: 2px solid transparent;
  background: linear-gradient(#0e7490, #0e7490) padding-box, var(--neon) border-box;
}
.btn-neon:hover {
  background: linear-gradient(#0891b2, #0891b2) padding-box, var(--neon) border-box;
}
.btn-outline {
  color: inherit;
  border: 2px solid currentColor;
  opacity: 0.9;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Hero (always dark, like the logo) */
.hero {
  color: #fff;
  background: radial-gradient(circle at 75% 40%, rgba(14, 116, 144, 0.35), transparent 55%), var(--navy);
  padding: 72px 0 80px;
}
.hero .btn-outline {
  color: #fff;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}
.hero .eyebrow {
  color: var(--cyan);
}
.lead {
  font-size: 1.15rem;
  color: #c4cfdd;
  max-width: 38em;
}
.hero-logo img {
  display: block;
  margin: 0 auto;
  width: min(100%, 480px);
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--surface-2);
}
.section-lead {
  color: var(--ink-soft);
  max-width: 44em;
}
.cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
}
.section-alt .card {
  background: var(--surface);
}
.card p {
  color: var(--ink-soft);
  margin: 0;
}
.icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
}

/* Products */
.products {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .products {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.product-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.product-head img {
  border-radius: 14px;
}
.product-head h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.product-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 1.8rem;
  border-radius: 14px;
  background: var(--surface-2);
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.badge-live {
  background: #ecfccb;
  color: #3f6212;
}
.badge-soon {
  background: #fce7f3;
  color: #9d174d;
}
.product p {
  color: var(--ink-soft);
}
.muted {
  color: var(--ink-muted) !important;
  font-size: 0.95rem;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.ticks li {
  padding-left: 1.6em;
  position: relative;
  margin: 6px 0;
  color: var(--ink-soft);
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #65a30d;
  font-weight: 700;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--navy);
  background: var(--neon);
}
.steps p {
  color: var(--ink-soft);
  margin: 0;
}

/* Contact */
.contact {
  color: #fff;
  background: radial-gradient(circle at 50% 0%, rgba(14, 116, 144, 0.4), transparent 60%), var(--navy);
}
.contact .section-lead {
  color: #c4cfdd;
  margin: 0 auto 18px;
}
.email {
  display: inline-block;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--cyan);
  word-break: break-all;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-row p {
  margin: 0;
}
.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-row a {
  color: var(--ink-muted);
}
.footer-row a:hover {
  color: var(--ink);
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}
