/* BlueJay Technologies — shared site styles (v2, dark/high-tech theme) */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #2B9CFF;
  --brand-2: #00D9FF;
  --brand-dark: #0B63C7;
  --ink: #eef2f8;
  --ink-soft: #9aa7bd;
  --ink-dim: #66748f;
  --bg: #05070d;
  --bg-raised: #0b0f1a;
  --bg-card: #0e1424;
  --line: #1c2436;
  --line-soft: #161d2c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }

/* Glow background helper */
.glow-bg { position: relative; overflow: hidden; }
.glow-bg::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(closest-side, rgba(43,156,255,0.28), rgba(0,217,255,0.08) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5,7,13,0.82);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(43,156,255,0.5));
}
.brand .tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  display: none;
}
@media (min-width: 860px) { .brand .tagline { display: inline; } }

nav.main { display: flex; gap: 30px; align-items: center; }
nav.main a { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
nav.main a:hover { color: #fff; text-decoration: none; }
nav.main a.current { color: var(--brand-2); }
nav.main a.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04101f;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
}
nav.main a.cta:hover { text-decoration: none; filter: brightness(1.08); }

/* Hero */
.hero { padding: 110px 0 70px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(0,217,255,0.35);
  border-radius: 999px;
  background: rgba(0,217,255,0.06);
}
.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -1.2px;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04101f;
  box-shadow: 0 0 30px rgba(43,156,255,0.35);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }

/* Sections */
section { padding: 64px 0; position: relative; }
section.raised { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.section-title { font-size: 32px; margin: 0 0 10px; letter-spacing: -0.6px; font-weight: 800; }
p.section-sub { color: var(--ink-soft); font-size: 16px; max-width: 600px; margin: 0 0 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-card);
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(43,156,255,0.4); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(43,156,255,0.12); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 18px; font-weight: 700;
  border: 1px solid rgba(43,156,255,0.25);
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
}
.app-card .mark-lg {
  width: 64px; height: 64px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 0 14px rgba(43,156,255,0.4));
}
.app-card h3 { margin: 0 0 6px; font-size: 21px; color: #fff; }
.app-card p { margin: 0 0 14px; color: var(--ink-soft); }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0,217,255,0.1);
  color: var(--brand-2);
  border: 1px solid rgba(0,217,255,0.3);
  margin-bottom: 12px;
}

/* Feature list */
.feature { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.feature:last-child { border-bottom: none; }
.feature .icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(43,156,255,0.12); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; border: 1px solid rgba(43,156,255,0.25);
}
.feature h4 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Stats row */
.stats { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.stats .stat b { display: block; font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.stats .stat span { color: var(--ink-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Phone / device mockup */
.phone {
  width: 250px;
  border-radius: 34px;
  background: linear-gradient(160deg, #1a2233, #0a0e18);
  border: 1px solid #29344a;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(43,156,255,0.12);
  flex: none;
}
.phone .notch { width: 60px; height: 5px; background: #29344a; border-radius: 4px; margin: 0 auto 8px; }
.phone .screen {
  border-radius: 24px;
  overflow: hidden;
  background: #0d1220;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  border: 1px solid #1c2436;
}
.phone .screen .topbar {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 16px 14px 12px;
  font-weight: 700;
  font-size: 14px;
}
.phone .screen .topbar small { display: block; font-weight: 500; opacity: 0.8; font-size: 11px; margin-top: 2px; }
.phone .screen .body { padding: 12px; flex: 1; }
.phone .row {
  background: #131a2c;
  border: 1px solid #1e2740;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}
.phone .row b { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.phone .row .pill {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 999px; background: rgba(43,156,255,0.15); color: var(--brand-2); margin-top: 4px;
}
.phone .tabbar {
  display: flex; justify-content: space-around; padding: 10px 0;
  border-top: 1px solid #1c2436; background: #0a0e18;
}
.phone .tabbar span { font-size: 9px; color: var(--ink-dim); text-align: center; }
.phone .tabbar span.active { color: var(--brand-2); font-weight: 700; }

/* Demo widget (interactive tabs) */
.demo-shell {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.demo-tabs { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.demo-tab {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .15s ease, color .15s ease;
}
.demo-tab b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.demo-tab.active { border-color: var(--brand-2); color: var(--brand-2); box-shadow: 0 0 20px rgba(0,217,255,0.12); }
.demo-tab.active b { color: var(--brand-2); }

/* Pricing */
.price-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  background: var(--bg-card);
  text-align: center;
}
.price-card .amount { font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.price-card .amount span { font-size: 15px; font-weight: 600; color: var(--ink-dim); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.price-card li { padding: 8px 0; color: var(--ink-soft); font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.price-card li:before { content: "✓ "; color: var(--brand-2); font-weight: 800; }

.calc {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
  max-width: 560px;
  margin: 0 auto;
}
.calc label { font-size: 13px; color: var(--ink-soft); display: block; margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.calc input[type="range"] { width: 100%; accent-color: var(--brand-2); }
.calc .emp-count { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.calc .emp-count span { color: var(--brand-2); }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.calc-results .box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.calc-results .box .cadence { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-dim); font-weight: 700; }
.calc-results .box .val { font-size: 22px; font-weight: 800; color: #fff; margin: 6px 0 2px; }
.calc-results .box .save { font-size: 11px; color: var(--brand-2); font-weight: 700; }

.timeline { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.tl-step { display: flex; gap: 18px; padding: 18px 0; border-left: 2px solid var(--line); padding-left: 24px; margin-left: 14px; position: relative; }
.tl-step:before {
  content: attr(data-n);
  position: absolute; left: -15px; top: 18px;
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04101f; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.tl-step:last-child { border-left-color: transparent; }
.tl-step h4 { margin: 0 0 4px; color: #fff; font-size: 16px; }
.tl-step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Legal doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 100px; }
.doc h1 { font-size: 28px; margin-bottom: 4px; color: #fff; }
.doc h2 { font-size: 18px; margin-top: 32px; color: var(--brand-2); }
.doc p.meta { color: var(--ink-dim); font-size: 14px; margin: 2px 0; }
.doc p { margin: 12px 0; white-space: pre-line; color: var(--ink-soft); }
.doc .back { display: inline-block; margin-bottom: 20px; font-size: 14px; }

.note {
  border-left: 3px solid var(--brand-2);
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 26px 0;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  background: #04060b;
  color: var(--ink-dim);
  padding: 50px 0 30px;
  margin-top: 50px;
}
footer.site .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
footer.site .brand-foot { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px; }
footer.site .foot-tagline { font-size: 12px; color: var(--brand-2); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
footer.site .col h5 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 14px; }
footer.site .col a { display: block; color: var(--ink-dim); font-size: 14px; margin-bottom: 9px; }
footer.site .col a:hover { color: #fff; text-decoration: none; }
footer.site .bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-dim);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
