/* Bookiva website. Brand purple matches the apps. */
/* Dark theme: deep purple-black with lighter purple cards. */
:root {
  color-scheme: dark;
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --purple-light: #c4b5fd;
  --purple-soft: rgba(139, 92, 246, 0.16);
  --ink: #f5f3ff;
  --body: #d6d0ee;
  --muted: #a39bc6;
  --line: rgba(196, 181, 253, 0.14);
  --bg: #0e0a1f;
  --bg-soft: #150f2c;
  --surface: #1b1438;
  --surface-2: #231a47;
  --green: #34d399;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(139, 92, 246, 0.55);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple-light); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: var(--purple-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: var(--body); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(196, 181, 253, 0.35); }
.btn-ghost:hover { border-color: var(--purple-light); background: var(--purple-soft); }
.btn-small { padding: 10px 16px; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 31, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--body); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--purple-light); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(109, 40, 217, 0.25) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, #a78bfa, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: 0.92rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 0.9rem; color: var(--muted); }
.trust div { display: flex; align-items: center; gap: 6px; }
.tick { color: var(--green); font-weight: 800; }

/* Phone mock-up */
.phone {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  background: #05030c;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(76, 29, 149, 0.55);
}
.screen { background: #120d26; border-radius: 30px; overflow: hidden; }
.screen-top { background: var(--surface); padding: 22px 18px 12px; border-bottom: 1px solid var(--line); }
.screen-title { font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.search { margin-top: 10px; display: flex; gap: 8px; }
.search .box { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 0.8rem; color: var(--muted); }
.search .filter { width: 34px; border-radius: 10px; background: var(--purple); }
.salon-card { background: var(--surface); margin: 10px 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 10px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.salon-card b { display: block; color: var(--ink); font-size: 0.9rem; }
.salon-card small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.stars { color: #f59e0b; font-size: 0.75rem; letter-spacing: 1px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 12px 14px; }
.chip { font-size: 0.7rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--body); }
.chip.on { background: var(--purple); color: #fff; border-color: var(--purple); }
.book-bar { margin: 4px 12px 16px; background: var(--purple); color: #fff; text-align: center; padding: 11px; border-radius: 12px; font-weight: 700; font-size: 0.85rem; }

/* Sections */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card p { margin: 0; color: var(--body); }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple-light);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience { border-radius: 24px; padding: 34px; }
.audience.clients { background: var(--surface); border: 1px solid var(--line); }
.audience.owners { background: linear-gradient(135deg, #6d28d9, #7c3aed 60%, #8b5cf6); color: #ede9fe; }
.audience.owners h3, .audience.owners h2 { color: #fff; }
.audience ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.audience li { padding: 7px 0 7px 30px; position: relative; }
.audience li::before { content: '✓'; position: absolute; left: 0; top: 7px; font-weight: 800; color: var(--green); }
.audience.owners li::before { color: #c4b5fd; }
.audience.owners .btn-primary { background: #fff; color: #4c1d95; box-shadow: none; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--purple); box-shadow: var(--shadow); position: relative; background: var(--surface-2); }
.badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 8px 0 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.yearly { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 0.97rem; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pricing-note { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--purple-light); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #3b0f80, #6d28d9 55%, #8b5cf6); border: 1px solid rgba(196, 181, 253, 0.25); color: #ede9fe; border-radius: 28px; padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* Footer */
.site-footer { background: #0a0717; border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--ink); margin: 0 0 12px; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--body); }
.legal-line { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 2.3rem; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc .updated { color: var(--muted); }
.doc li { margin-bottom: 6px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero-grid, .split, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 44px; }
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; flex-direction: column; width: 100%; margin: 0; gap: 14px; }
  .nav.open .nav-links { padding-top: 10px; }
  .nav.open .nav-cta .btn { width: 100%; }
  .audience, .cta-band { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
