/* BOSSMAR DIGITAL — upgraded to final mockup
   Deep navy + electric blue + cyan glow. Mobile-first. */

:root {
  --bg: #05080f;
  --bg-2: #070b14;
  --surface: #0b1220;
  --surface-2: #101a2c;
  --fg: #f5f7fb;
  --muted: #9aa6b8;
  --subtle: #6d788c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #1d6ef5;
  --accent-2: #3b82f6;
  --cyan: #38bdf8;
  --ink: #06101f;
  --ok: #34d399;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms;
  --med: 260ms;
  --max: 1180px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--accent); color: #fff;
  padding: 8px 12px; border-radius: 8px; z-index: 80;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  background: rgba(5, 8, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  width: 40px; height: 40px; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.28));
}
.brand-name { font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; font-size: 0.92rem; }
.brand-name span { display: block; color: var(--accent-2); font-size: 0.68rem; letter-spacing: 0.16em; }
.brand-tag { display: none; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }

.nav { display: none; gap: 16px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a.is-on { color: var(--fg); }
.nav-cta { display: none; }

.menu-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--fg);
}

.drawer {
  display: none; position: fixed; inset: var(--header) 0 0 0; z-index: 35;
  background: rgba(5, 8, 15, 0.96); padding: 20px 16px 32px;
}
.drawer.is-open { display: block; }
.drawer a, .drawer button {
  display: flex; align-items: center; min-height: 48px; padding: 0 8px;
  border-bottom: 1px solid var(--line); font-weight: 650;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 11px; font-weight: 700;
  letter-spacing: 0.02em; transition: background var(--med) var(--ease), border-color var(--med) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 24px rgba(29, 110, 245, 0.28); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; font-size: 0.82rem; padding: 0 12px; }

.hero {
  padding: 32px 0 24px;
  background:
    radial-gradient(900px 280px at 12% -10%, rgba(29, 110, 245, 0.2), transparent 60%),
    radial-gradient(700px 260px at 92% 8%, rgba(56, 189, 248, 0.12), transparent 55%);
}
.kicker {
  margin: 0 0 10px; color: var(--cyan); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700;
}
.hero h1 {
  margin: 0 0 14px; font-family: var(--display); font-weight: 700;
  letter-spacing: -0.04em; line-height: 0.98;
  font-size: clamp(2.4rem, 9vw, 4.4rem);
}
.hero h1 .line2 { color: var(--accent-2); display: block; }
.hero .lead { margin: 0 0 22px; color: var(--muted); max-width: 46ch; font-size: 1.02rem; }
.hero-actions { display: grid; gap: 10px; }
.hero-photo {
  margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 240px; object-fit: cover; object-position: top; }

.pills { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.pills span { display: inline-flex; align-items: center; gap: 6px; }
.pills i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); display: inline-block; }

.statbar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 28px; padding: 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,32,64,.7), rgba(8,14,28,.85));
  border: 1px solid rgba(56,189,248,.18);
  box-shadow: 0 0 40px rgba(29,110,245,.12);
}
.stat { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; }
.stat b { display: block; font-size: 0.92rem; }
.stat small { color: var(--muted); font-size: 0.72rem; }
.stat-ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(29,110,245,.14); border: 1px solid rgba(56,189,248,.2);
}

.showcase { position: relative; min-height: 300px; margin-top: 28px; overflow: hidden; }
.glow-arc {
  position: absolute; inset: -10% -8% 10% 10%;
  background:
    radial-gradient(closest-side at 62% 42%, transparent 44%, rgba(56,189,248,.28) 54%, transparent 64%),
    url("assets/banners/glow-arc.jpg") center / cover;
  opacity: .4; pointer-events: none; border-radius: 50%; filter: saturate(1.25);
}
.laptop { position: relative; z-index: 2; width: min(100%, 520px); margin: 0 auto; }
.laptop-screen {
  background: #07101c; border: 8px solid #1a2230; border-bottom-width: 10px;
  border-radius: 12px 12px 4px 4px;
  box-shadow: 0 0 0 1px #2a3548, 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(56,189,248,.16);
  overflow: hidden; aspect-ratio: 16 / 10.4;
}
.laptop-base {
  height: 12px; background: linear-gradient(#2a3344, #151b26);
  border-radius: 0 0 10px 10px; width: 108%; margin-left: -4%;
  box-shadow: 0 10px 18px rgba(0,0,0,.35);
}
.laptop-base::after {
  content: ""; display: block; width: 22%; height: 5px; margin: 0 auto;
  background: #0c111a; border-radius: 0 0 6px 6px;
}
.phone {
  position: absolute; z-index: 3; right: 2%; bottom: 4%;
  width: 28%; min-width: 88px; max-width: 148px;
  background: #0b1018; border: 5px solid #1b2433; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 24px rgba(56,189,248,.2);
  overflow: hidden; aspect-ratio: 9 / 17;
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 5px; transform: translateX(-50%);
  width: 28%; height: 4px; border-radius: 4px; background: #2a3344; z-index: 2;
}
.mini-site, .mini-site-m { height: 100%; background: linear-gradient(165deg, #071428, #0c2040 55%, #071018); color: #fff; font-size: 7px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; font-weight: 800; letter-spacing: .04em; }
.mini-cta { background: var(--accent); border-radius: 3px; padding: 2px 5px; font-size: 6px; }
.mini-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6px; padding: 6px 8px; }
.mini-hero h3 { margin: 0 0 4px; font-size: 11px; line-height: 1.1; font-family: var(--display); }
.mini-hero p { margin: 0; opacity: .7; font-size: 6.5px; }
.mini-pic { border-radius: 6px; overflow: hidden; min-height: 70px; }
.mini-pic img { width: 100%; height: 100%; object-fit: cover; }
.mini-site-m .mini-hero { grid-template-columns: 1fr; padding-top: 16px; }
.mini-site-m .mini-hero h3 { font-size: 8px; }

.section { padding: 52px 0; }
.section-h { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -0.03em; }
.section-p { margin: 0 0 24px; color: var(--muted); max-width: 58ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.center { text-align: center; }
.center .section-p { margin-left: auto; margin-right: auto; }

.svc-grid { display: grid; gap: 12px; }
.svc {
  background: linear-gradient(180deg, #0d1628, #0a1220);
  border: 1px solid rgba(56,189,248,.12); border-radius: var(--radius-lg);
  padding: 18px; transition: border-color var(--med) var(--ease), transform var(--med) var(--ease);
}
.svc:hover { border-color: rgba(59, 130, 246, 0.45); transform: translateY(-2px); }
.svc-ico {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(29, 110, 245, 0.12); border: 1px solid rgba(56, 189, 248, 0.15);
}
.svc h3 { margin: 0 0 6px; font-size: 1.02rem; }
.svc p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }
.filter {
  flex: 0 0 auto; min-height: 36px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 0.8rem; font-weight: 650;
}
.filter.is-on, .filter:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.grid { display: grid; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid rgba(56,189,248,.12); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  transition: border-color var(--med) var(--ease), transform var(--med) var(--ease);
}
.card:hover { border-color: rgba(59, 130, 246, 0.45); transform: translateY(-2px); }
.card.is-hidden { display: none; }
.preview { background: #070b12; aspect-ratio: 16 / 10.4; position: relative; overflow: hidden; }
.preview img.cover { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview-label {
  position: absolute; left: 10px; top: 10px; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; background: rgba(5, 8, 15, 0.72); border: 1px solid var(--line);
  padding: 4px 8px; border-radius: 999px; font-weight: 700; z-index: 2;
}
.overlay-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; background: linear-gradient(180deg, rgba(4,8,16,.05), rgba(4,8,16,.86));
}
.overlay-copy h4 { margin: 0 0 4px; font-family: var(--display); font-size: 0.98rem; line-height: 1.15; }
.thumb-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: rgba(7,12,22,.72); display: flex; align-items: center; gap: 4px; padding: 0 8px; z-index: 2;
}
.thumb-bar i { width: 5px; height: 5px; border-radius: 50%; background: #3b82f6; opacity: .75; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); font-weight: 700; }
.card-title { margin: 0; font-family: var(--display); font-size: 1.02rem; }
.card-desc { margin: 0; color: var(--muted); font-size: 0.86rem; flex: 1; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.contact-grid { display: grid; gap: 16px; }
.contact-list { display: grid; gap: 8px; }
.contact-link {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 10px 12px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--fg);
}
.contact-link:hover { border-color: var(--accent-2); }
.contact-link small { display: block; color: var(--muted); font-size: 0.75rem; }
.dot {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(29, 110, 245, 0.12);
}

.form { display: grid; gap: 12px; background: var(--surface); border: 1px solid rgba(56,189,248,.12); border-radius: var(--radius-lg); padding: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  min-height: 44px; padding: 10px 12px; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 110, 245, 0.18);
}
.form-note { margin: 0; color: var(--subtle); font-size: 0.78rem; }
.file-name { color: var(--muted); font-size: .78rem; }

.prose { color: var(--muted); max-width: 68ch; }
.prose h2 { color: var(--fg); font-family: var(--display); letter-spacing: -0.02em; }
.prose p { margin: 0 0 14px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; background: var(--bg-2); }
.footer-grid { display: grid; gap: 22px; }
.footer h4 { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.footer a { display: block; color: var(--muted); min-height: 32px; }
.footer a:hover { color: var(--fg); }
.legal { margin-top: 22px; color: var(--subtle); font-size: 0.78rem; }

.overlay {
  position: fixed; inset: 0; background: rgba(3, 6, 12, 0.72);
  display: none; align-items: center; justify-content: center; padding: 18px; z-index: 60;
}
.overlay.is-open { display: flex; }
.modal {
  width: min(500px, 100%); background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); max-height: 90dvh; overflow: auto;
}
.modal h2 { margin: 0 0 6px; font-family: var(--display); }
.modal .lead { margin: 0 0 16px; color: var(--muted); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.toast {
  position: fixed; right: 16px; bottom: 16px; background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  display: none; z-index: 70; max-width: 320px; box-shadow: var(--shadow);
}
.toast.is-on { display: block; }
.toast b { color: var(--ok); }

.page-hero { padding: 28px 0 8px; }

.demo-bar {
  position: sticky; top: 0; z-index: 50; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 14px; background: #070b14; color: #f5f7fb; border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.demo-bar a, .demo-bar button {
  color: #fff; min-height: 36px; padding: 0 12px; border-radius: 8px; font-weight: 700;
  display: inline-flex; align-items: center;
}
.demo-bar .back { border: 1px solid var(--line-2); }
.demo-bar .get { background: var(--accent); }

.steps { display: grid; gap: 10px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px; border-radius: 14px; border: 1px solid rgba(56,189,248,.12); background: var(--surface);
}
.step-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--accent);
  box-shadow: 0 0 16px rgba(29,110,245,.35);
}
.step h3 { margin: 0 0 4px; font-size: .95rem; }
.step p { margin: 0; color: var(--muted); font-size: .84rem; }

.art-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.art {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  border: 1px solid rgba(56,189,248,.14);
}
.art img { width: 100%; height: 100%; object-fit: cover; }
.art figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 12px;
  background: linear-gradient(transparent, rgba(4,8,16,.88));
  font-family: var(--display); font-weight: 700; letter-spacing: .02em;
}

.quote-wrap { display: grid; gap: 16px; }
.perk-box {
  background: var(--surface); border: 1px solid rgba(56,189,248,.14);
  border-radius: var(--radius-lg); padding: 18px;
}
.perk-box li { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.perk-box li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); flex-shrink: 0; }

.qr-card {
  margin-top: 16px; display: flex; gap: 12px; align-items: center;
  padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #eaf2ff;
  color: #06101f;
}
.qr-card img { width: 92px; height: 92px; background: #fff; border-radius: 8px; }
.qr-card strong { display: block; font-size: .86rem; }
.qr-card span { font-size: .75rem; color: #3b4a60; }

@media (min-width: 720px) {
  .hero-actions { display: flex; }
  .hero-photo img { height: 360px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; }
  .brand-tag { display: block; margin-top: 2px; }
  .statbar { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .art-grid { grid-template-columns: repeat(5, 1fr); }
  .quote-wrap { grid-template-columns: 1.15fr .85fr; align-items: start; }
}

@media (min-width: 980px) {
  .menu-btn, .drawer { display: none !important; }
  .nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero { padding: 56px 0 36px; }
  .hero-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 28px; align-items: center; }
  .hero-photo { margin-top: 0; }
  .showcase { margin-top: 0; min-height: 390px; }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
