/* BookinPro marketing site — shared styles (index.html + features.html).
   Theme: BookinPro blue, black and white, matching the app logo. */
:root {
  --blue: #0078d4;
  --blue-600: #005a9e;
  --blue-300: #4cc2ff;
  --blue-50: #eff6fc;
  --glow: rgba(0,120,212, .45);
  --black: #05070d;
  --ink: #0b0f19;
  --text: #333333;
  --line: #e4e9f2;
  --tint: #f5f8fe;
  --white: #ffffff;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .8);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(5, 7, 13, .10);
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body {
  margin: 0;
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -.03em; line-height: 1.12; }
p { margin: 0; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.blue { color: var(--blue); }

/* ---------- Buttons (grouped buttons share one size) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; min-width: 190px; padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1 "Segoe UI Variable", "Segoe UI", Inter, sans-serif; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px var(--glow); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--blue-300); background: rgba(0,120,212,.14); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 40px; min-width: 140px; font-size: 14px; padding: 0 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 1000;
  background: rgba(5, 7, 13, .86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(76,194,255,.4), 0 0 22px rgba(0,120,212,.45); }
.brand b { color: var(--blue-300); font-weight: 800; }
.navlinks { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.navlinks a:hover, .navlinks a.active { color: #fff; }
.nav-actions { display: flex; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.mobile-menu {
  display: none; position: fixed; top: var(--header); left: 0; right: 0; z-index: 999;
  background: var(--black); border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px 20px 20px;
}
.mobile-menu a { display: block; padding: 13px 4px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn-row { margin-top: 16px; }
.mobile-menu .btn { display: inline-flex; flex: 1; min-width: 0; padding: 0 16px; }
.mobile-menu.open { display: block; }

/* ---------- Dark sections ---------- */
.dark {
  position: relative; color: var(--on-dark-2); background: var(--black); overflow: hidden;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(0,120,212,.32), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(0,120,212,.18), transparent 70%);
}
.grid-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.dark > .container { position: relative; z-index: 1; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.dark .kicker { color: var(--blue-300); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.section-head p { margin-top: 16px; font-size: 18px; }
.tint { background: var(--tint); }

/* ---------- Icons ---------- */
.ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #1a86db, var(--blue-600));
  box-shadow: 0 10px 22px rgba(0,120,212,.32), inset 0 1px 0 rgba(255,255,255,.3);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-2); padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: radial-gradient(80% 140% at 100% 0%, #1a86db 0%, var(--blue) 40%, #004578 100%);
  color: #fff; box-shadow: 0 30px 70px rgba(0,120,212,.35);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.88); font-size: 17px; max-width: 620px; }
.cta-band .btn-white { background: #fff; color: var(--blue-600); }
.cta-band .btn-white:hover { background: var(--black); color: #fff; }

/* ---------- Full-size screenshot viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(5,7,13,.92); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .navlinks, .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  section { padding: 68px 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; border-radius: 22px; }
}
