:root {
  --navy: #0e2a4d;
  --navy-deep: #08182f;
  --navy-soft: #1b3a63;
  --accent: #f4a42c;            /* base gold; per-app pages override via body style */
  --ink: #1e2a37;
  --ink-soft: #5a6b7b;
  --line: #e6ebf1;
  --bg-alt: #f4f7fb;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(14, 42, 77, 0.10);
  --shadow-lg: 0 18px 46px rgba(14, 42, 77, 0.16);
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy-soft); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.5px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 13px 24px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 48px;
}
.btn-accent { background: var(--accent); color: #10233d; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); color: #10233d; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }

/* ---------- Bootstrap navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .navbar { padding: 12px 0; }
.site-header .navbar .wrap { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 0; margin: 0; font-weight: 800; font-size: 1.12rem; color: var(--navy); text-decoration: none; letter-spacing: -0.2px; }
.brand img { width: 34px; height: 34px; flex: none; border-radius: 8px; }
.brand span { white-space: nowrap; }
.site-header .navbar-nav { align-items: center; gap: 2px; }
.site-header .nav-link { padding: 9px 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; border-radius: 9px; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--navy); }
.site-header .nav-link.cta { color: #10233d; background: var(--accent); font-weight: 700; }
.site-header .nav-link.cta:hover { filter: brightness(1.05); color: #10233d; }
.site-header .navbar-toggler { border: 0; padding: 6px 8px; border-radius: 10px; }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(14,42,77,0.25); }
@media (max-width: 767.98px) {
  .site-header .navbar-collapse { margin-top: 12px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .site-header .navbar-nav { align-items: stretch; }
  .site-header .nav-link { padding: 12px 14px; }
  .site-header .nav-link.cta { text-align: center; margin-top: 4px; }
  /* Shorten brand to "BassTech" in mobile mode so it doesn't wrap past the hamburger. */
  .brand .brand-word { display: none; }
}

/* ---------- Breadcrumb (app pages) ---------- */
.crumb { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.crumb .wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.crumb a { color: var(--navy-soft); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.crumb a:hover { color: var(--navy); }
.crumb .sep { color: var(--ink-soft); }
.crumb .current { color: var(--ink-soft); }

/* ---------- Project cards (Our Work) ---------- */
.project-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.project-head { padding: 20px 26px; color: #fff; }
.project-head.navy { background: linear-gradient(160deg, #26374f 0%, var(--navy-deep) 100%); }
.project-head.blue { background: linear-gradient(160deg, #2352c9 0%, #123a9e 100%); }
.project-head.green { background: linear-gradient(160deg, #2f7a45 0%, #1f5730 100%); }
.project-head h3 { margin: 0 0 5px; font-size: 1.25rem; font-weight: 800; }
.project-head .meta { font-size: 0.85rem; color: rgba(255,255,255,0.82); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.project-body { padding: 24px 26px; flex: 1; }
.project-body > p:first-child { margin-top: 0; }
.project-body p { color: var(--ink-soft); }
.label-strong { font-weight: 700; color: var(--ink); margin: 18px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-soft); font-size: 0.8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.project-body .checks { grid-template-columns: 1fr 1fr; }
.project-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0 26px 24px; }
@media (max-width: 560px) { .project-body .checks { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, color-mix(in srgb, var(--accent) 40%, transparent) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 74px 0 78px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  color: #eaf1fb; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.4px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -1px; margin: 0 0 18px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #c6d5e8; max-width: 620px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-center { text-align: center; }
.hero-center p.lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-cta { justify-content: center; }

/* App hero (with icon) */
.app-hero-icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.35); margin-bottom: 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #dce7f5; font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; }

/* ---------- Stats row ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 18px 24px; }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat .label { color: #c6d5e8; font-size: 0.92rem; margin-top: 6px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ficon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}
.feature h3 { font-size: 1.16rem; font-weight: 700; margin: 0 0 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.feature ul { color: var(--ink-soft); margin: 10px 0 0; padding-left: 18px; font-size: 0.95rem; }
.feature ul li { margin-bottom: 5px; }

/* ---------- Highlight band ---------- */
.band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: 22px; padding: 44px 40px; }
.band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 12px; }
.band p { color: #c6d5e8; margin: 0 0 20px; }
.band .grid .feature { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.band .feature h3 { color: #fff; }
.band .feature p { color: #b9c9de; }
.band .feature .ficon { background: rgba(255,255,255,0.10); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #10233d; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.band .checks li { color: #dce7f5; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); text-align: center; }
.price.featured { border-color: var(--accent); box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 24%, transparent); }
.price .tier { font-weight: 700; color: var(--ink-soft); }
.price .amount { font-size: 2.1rem; font-weight: 800; margin: 8px 0 4px; color: var(--navy); }
.price .amount span { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.price p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Download / CTA ---------- */
.appstore-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 12px; font-weight: 600; min-height: 48px; }
.appstore-btn:hover { background: #1a1a1a; color: #fff; }
.appstore-btn svg { width: 22px; height: 22px; fill: #fff; }
.appstore-btn .small { font-size: 0.68rem; font-weight: 500; opacity: 0.85; display: block; line-height: 1; margin-bottom: 2px; }
.appstore-btn .big { font-size: 1.05rem; font-weight: 700; line-height: 1; }
.qr { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 8px; box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card .row-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-card .row-item:last-child { border-bottom: 0; }
.contact-card .ric { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, #fff); display: grid; place-items: center; font-size: 1.2rem; }

/* ---------- Privacy doc ---------- */
.doc { max-width: 840px; margin: 0 auto; }
.doc h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 0 0 6px; }
.doc .updated { color: var(--ink-soft); font-style: italic; font-size: 0.92rem; margin-bottom: 28px; }
.doc h2 { font-weight: 700; font-size: 1.28rem; margin: 30px 0 10px; }
.doc h3 { font-weight: 700; font-size: 1.05rem; margin: 20px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc a { color: var(--accent); }
.doc .callout { background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 18px 0; color: var(--ink); }
.doc .table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 0.9rem; }
.doc table th, .doc table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.doc table th { background: var(--bg-alt); color: var(--ink); font-weight: 700; white-space: nowrap; }
.doc table tr:last-child td { border-bottom: 0; }
.doc ul, .doc ol { padding-left: 20px; }
.doc ul li, .doc ol li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c9de; padding: 46px 0 34px; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 30px; }
.site-footer .fbrand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; margin-bottom: 12px; }
.site-footer .fbrand img { width: 32px; height: 32px; border-radius: 8px; }
.site-footer p { margin: 0 0 8px; font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #b9c9de; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .flinks { list-style: none; padding: 0; margin: 0; }
.site-footer .flinks li { margin-bottom: 10px; }
.site-footer .flinks li a { display: inline-flex; min-height: 24px; align-items: center; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.site-footer .legal .lg-links a { margin-left: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { padding: 54px 0 58px; }
  .band { padding: 32px 22px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .site-footer .legal { flex-direction: column; }
  .site-footer .legal .lg-links a { margin-left: 0; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .feature:hover, .btn:hover, .appstore-btn:hover { transform: none; }
}
