/* HONEYBADGER SOFTWARE INC landing page
   Dark theme matching the J1 Bridge app palette.
   Mobile-first, no JS dependencies, no build step.
*/

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #05080C;
  color: #D0CCBC;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bg-deep:    #05080C;
  --bg-mid:     #0E1218;
  --bg-card:    #161B23;
  --bg-card-hi: #1E242F;
  --accent:     #5DA8C7;
  --accent-hi:  #7BC4E0;
  --gold:       #C9A961;
  --green:      #6FCF97;
  --red:        #D14545;
  --text:       #D0CCBC;
  --text-mid:   #9CA3AF;
  --text-dim:   #6B7280;
  --border:     rgba(93, 168, 199, 0.18);
  --border-hi:  rgba(93, 168, 199, 0.35);
}

a { color: var(--accent-hi); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(5, 8, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
}
.brand-text { line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--text);
}
.brand-tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--accent-hi);
  font-family: "JetBrains Mono", "Consolas", monospace;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.site-nav a:hover { color: var(--accent-hi); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 20% -10%, rgba(93, 168, 199, 0.10), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 100% 50%, rgba(201, 169, 97, 0.05), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://avatars.githubusercontent.com/u/108652491?v=4');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  filter: blur(40px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent-hi);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--text);
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero artwork on right */
.hero-art {
  position: relative;
  z-index: 2;
}
.hero-art-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background-image: url('https://avatars.githubusercontent.com/u/108652491?v=4');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-hi);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 6px rgba(5, 8, 12, 0.5);
  position: relative;
}
.hero-art-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123, 196, 224, 0.4), transparent 50%, rgba(201, 169, 97, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #05080C;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  color: #05080C;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover {
  background: var(--bg-card-hi);
  border-color: var(--accent);
  color: var(--accent-hi);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.kicker {
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.lede {
  font-size: 18px;
  color: var(--text-mid);
  margin: 0;
  max-width: 700px;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.product-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--accent-hi);
}
.product-card p {
  color: var(--text-mid);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================================
   STUDIO INTRO GRID
   ============================================================ */
.section-studio { background: var(--bg-mid); }
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.studio-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.studio-icon { font-size: 30px; margin-bottom: 12px; }
.studio-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--accent-hi);
  letter-spacing: 0.3px;
}
.studio-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ============================================================
   PROOF GALLERY
   ============================================================ */
.section-proof {
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(123, 196, 224, 0.06), transparent 60%),
    var(--bg-deep);
}
.center-narrow { margin-left: auto; margin-right: auto; }

.shot {
  margin: 0 0 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.shot:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}
.shot figcaption {
  padding: 16px 20px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.5;
}
.shot figcaption strong {
  color: var(--accent-hi);
  font-weight: 600;
}
.shot-hero {
  max-width: 1100px;
  margin: 40px auto 36px;
  border-color: var(--border-hi);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 0;
}
.proof-fineprint {
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.proof-fineprint code {
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent-hi);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.section-comparison { background: var(--bg-mid); }
.comparison-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row > div {
  padding: 18px 22px;
  font-size: 14.5px;
}
.comparison-row > div:first-child {
  color: var(--text-dim);
  background: rgba(5, 8, 12, 0.6);
  border-right: 1px solid var(--border);
}
.cell-win {
  color: var(--text);
  font-weight: 500;
  border-left: 3px solid var(--accent);
}
.comparison-head { font-weight: 700; letter-spacing: 1px; }
.comparison-head > div:first-child { color: var(--text-dim); }
.comparison-head > div:last-child { color: var(--accent-hi); }

/* ============================================================
   WHY HONEYBADGER
   ============================================================ */
.section-why { background: var(--bg-deep); }
.why-quote {
  font-size: clamp(22px, 3vw, 30px);
  text-align: center;
  font-weight: 500;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 60px;
  font-style: italic;
  line-height: 1.45;
  padding: 0 24px;
  position: relative;
}
.why-quote::before, .why-quote::after {
  content: '"';
  color: var(--accent);
  font-size: 60px;
  position: absolute;
  font-family: Georgia, serif;
  opacity: 0.4;
  line-height: 1;
}
.why-quote::before { top: -10px; left: -10px; }
.why-quote::after { bottom: -40px; right: -10px; }

.principle-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.principle-list li {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  color: var(--text-mid);
}
.principle-list strong { color: var(--text); }

/* ============================================================
   ROADMAP
   ============================================================ */
.section-roadmap { background: var(--bg-mid); }
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.roadmap-status {
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
}
.status-beta     { background: rgba(123, 196, 224, 0.15); color: var(--accent-hi); }
.status-dev      { background: rgba(201, 169, 97, 0.15);  color: var(--gold); }
.status-internal { background: rgba(111, 207, 151, 0.15); color: var(--green); }
.roadmap-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.roadmap-card p  { margin: 0; color: var(--text-mid); font-size: 14px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
  background: var(--bg-deep);
  padding: 100px 0;
}
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-hi));
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 56px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.cta-card h2 {
  margin: 0 0 14px;
  color: var(--accent-hi);
}
.cta-card p {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0 0 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-fineprint {
  font-size: 13px !important;
  color: var(--text-dim) !important;
  margin: 28px 0 0 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  color: var(--text-dim);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.brand-name-sm {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--text);
}
.brand-tag-sm {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}
.footer-links a {
  color: var(--text-mid);
  font-size: 14px;
  margin: 0;
}
.footer-sep { color: var(--text-dim); margin: 0 6px; }
.footer-fineprint {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art-frame { max-width: 360px; margin: 0 auto; }
  .section { padding: 60px 0; }
  .site-nav { display: none; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-row > div:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .footer-row { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .cta-card { padding: 40px 24px; }
  .btn { width: 100%; }
  .hero-cta, .cta-buttons { flex-direction: column; }
}
