/* ==========================================================================
   GG Apps — Stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens (colours, fonts, spacing) — change the look here
   2.  Base & reset
   3.  Layout helpers
   4.  Buttons & badges
   5.  Header / navigation
   6.  Home hero + visual
   7.  Product cards
   8.  Feature / value cards
   9.  Spotlight, steps, CTA
   10. Inner page hero & breadcrumb
   11. Salon Connect dashboard mockup
   12. About page
   13. Contact page & form
   14. Legal pages
   15. Footer
   16. Animations
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f6f7fb;
  --c-surface: #ffffff;
  --c-border: #e5e7ef;
  --c-border-strong: #d4d8e4;
  --c-text: #0e1424;
  --c-text-muted: #4f586b;
  --c-text-subtle: #5d6679;

  /* The single accent colour. Change these to re-brand the site. */
  --c-accent: #3b4ef5;
  --c-accent-hover: #2a3be0;
  --c-accent-soft: #eef0ff;
  --c-accent-softer: #f5f6ff;

  --c-header-bg: rgba(255, 255, 255, 0.82);
  --c-header-bg-solid: rgba(255, 255, 255, 0.95);

  --c-success: #137a43;
  --c-success-soft: #e8f7ef;
  --c-warning: #9a5b00;
  --c-warning-soft: #fff4e0;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 20, 36, 0.05);
  --shadow-sm: 0 1px 2px rgba(14, 20, 36, 0.04), 0 2px 8px rgba(14, 20, 36, 0.04);
  --shadow-md: 0 2px 4px rgba(14, 20, 36, 0.04), 0 12px 32px -8px rgba(14, 20, 36, 0.12);
  --shadow-lg: 0 4px 8px rgba(14, 20, 36, 0.04), 0 28px 60px -16px rgba(14, 20, 36, 0.22);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 112px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base & reset ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--c-text);
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
}
h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--c-accent-hover);
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--c-accent-soft);
  color: var(--c-text);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.icon--sm {
  width: 16px;
  height: 16px;
}

/* 3. Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}
.section--soft {
  background: var(--c-bg-soft);
  border-block: 1px solid var(--c-border);
}
.section--tight-top {
  padding-top: 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
}
.section-header--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}
.section-header--split > div {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-text);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.text-link .icon {
  transition: transform 0.2s var(--ease);
}
.text-link:hover .icon {
  transform: translateX(3px);
}

/* 4. Buttons & badges ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9125rem;
}
.btn--lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 1.0313rem;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14, 20, 36, 0.1), 0 6px 16px -6px rgba(59, 78, 245, 0.55);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14, 20, 36, 0.1), 0 10px 22px -8px rgba(59, 78, 245, 0.65);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover {
  color: var(--c-text);
  border-color: var(--c-text);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-accent);
  border-color: transparent;
  padding-inline: 4px;
}
.btn--ghost:hover {
  color: var(--c-accent-hover);
}

.btn--light {
  background: #fff;
  color: #0e1424;
}
.btn--light:hover {
  background: #eef0ff;
  color: #0e1424;
  transform: translateY(-1px);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline-light:hover {
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge--available {
  background: var(--c-success-soft);
  color: var(--c-success);
}
.badge--coming-soon {
  background: var(--c-warning-soft);
  color: var(--c-warning);
}
.badge--in-development {
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

/* 5. Header / navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--c-header-bg-solid);
  border-bottom-color: var(--c-border);
  box-shadow: 0 6px 24px -18px rgba(14, 20, 36, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover {
  color: var(--c-text);
}
.brand img {
  width: 32px;
  height: 32px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
}
.nav-toggle:hover {
  background: var(--c-bg-soft);
}
.nav-toggle .icon {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon--close,
.is-menu-open .nav-toggle .icon--menu {
  display: none;
}
.is-menu-open .nav-toggle .icon--close {
  display: block;
}

.nav__links {
  list-style: none;
}
.nav__links a {
  display: block;
  color: var(--c-text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"],
.nav__links a.is-active {
  color: var(--c-text);
}

/* Mobile menu (below 900px) */
@media (max-width: 899.98px) {
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 24px 40px -24px rgba(14, 20, 36, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .is-menu-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav__links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--c-border);
    font-size: 1.0625rem;
  }
  .nav__links a[aria-current="page"],
  .nav__links a.is-active {
    color: var(--c-accent);
  }
  .nav__cta {
    width: 100%;
    margin-top: 20px;
  }
}

/* Desktop menu */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav__links {
    display: flex;
    gap: 4px;
  }
  .nav__links a {
    position: relative;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
  }
  .nav__links a:hover {
    background: var(--c-bg-soft);
  }
  .nav__links a[aria-current="page"]::after,
  .nav__links a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--c-accent);
  }
}

/* 6. Home hero + visual ---------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* soft dotted grid background */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(14, 20, 36, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(59, 78, 245, 0.14), transparent);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero__content {
  max-width: 640px;
}
.hero__content h1 {
  margin-bottom: 20px;
}
.hero__content .lead {
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  box-shadow: var(--shadow-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.hero__tag:hover {
  color: var(--c-text);
  border-color: var(--c-border-strong);
}
.hero__tag .badge {
  font-size: 0.6875rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta .icon {
  width: 18px;
  height: 18px;
  color: var(--c-success);
}

/* Abstract product visual (decorative, built with HTML/CSS) */
.hv {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 28px 0 40px;
}
.hv-window {
  position: relative;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.hv-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border-strong);
}
.hv-bar b {
  flex: 1;
  max-width: 180px;
  height: 10px;
  margin-left: 12px;
  border-radius: var(--radius-pill);
  background: var(--c-border);
}
.hv-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 300px;
}
.hv-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-right: 1px solid var(--c-border);
}
.hv-side i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--c-border);
}
.hv-side i.is-active {
  background: var(--c-accent);
}
.hv-main {
  padding: 20px;
}
.hv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hv-line {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--c-border);
}
.hv-line--title {
  width: 130px;
  height: 14px;
  background: var(--c-border-strong);
}
.hv-pill {
  width: 72px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--c-accent-soft);
}
.hv-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.hv-tile {
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.hv-tile i {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--c-accent-soft);
}
.hv-tile .hv-line + .hv-line {
  margin-top: 6px;
  width: 60%;
}
.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 104px;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: linear-gradient(var(--c-accent-softer), var(--c-surface));
}
.hv-chart span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: #cdd3ff;
}
.hv-chart span:nth-child(5) {
  background: var(--c-accent);
}

.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.hv-float strong {
  display: block;
  color: var(--c-text);
  font-size: 0.875rem;
}
.hv-float small {
  color: var(--c-text-subtle);
  font-size: 0.75rem;
}
.hv-float img {
  width: 36px;
  height: 36px;
}
.hv-float__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-success-soft);
  color: var(--c-success);
}
.hv-float--product {
  top: 0;
  left: -8px;
}
.hv-float--notify {
  right: -8px;
  bottom: 8px;
}
.hv-float--apps {
  top: 34%;
  right: -20px;
  display: grid;
  grid-template-columns: repeat(2, 30px);
  gap: 8px;
  padding: 12px;
}
.hv-float--apps span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1.5px dashed var(--c-border-strong);
}
.hv-float--apps span:first-child {
  border: 0;
  background: linear-gradient(135deg, var(--c-accent), #7a86ff);
}

@media (max-width: 599.98px) {
  .hv-float--apps {
    display: none;
  }
  .hv-float--product {
    left: 0;
  }
  .hv-float--notify {
    right: 0;
  }
  .hv-body {
    grid-template-columns: 40px 1fr;
    min-height: 250px;
  }
  .hv-main {
    padding: 14px;
  }
  .hv-tile {
    padding: 10px;
  }
}

/* 7. Product cards --------------------------------------------------------- */
.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.product-card.is-linked:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-md);
}
.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.product-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  overflow: hidden;
}
.product-card__icon img {
  width: 56px;
  height: 56px;
}
.product-card__icon--dashed {
  background: transparent;
  border: 1.5px dashed var(--c-border-strong);
  color: var(--c-text-subtle);
}
.product-card__initials {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.product-card__category {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-subtle);
}
.product-card__title {
  margin-bottom: 10px;
  font-size: 1.375rem;
}
.product-card__desc {
  flex: 1;
  margin-bottom: 24px;
  color: var(--c-text-muted);
}
.product-card__action {
  align-self: flex-start;
}
.product-card__action .icon {
  transition: transform 0.2s var(--ease);
}
.product-card__action:hover .icon {
  transform: translateX(3px);
}
.product-card--upcoming {
  background: transparent;
  border-style: dashed;
  border-color: var(--c-border-strong);
  box-shadow: none;
}
.product-card--upcoming .product-card__title {
  font-size: 1.1875rem;
}

/* 8. Feature / value cards ------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.feature {
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.feature__icon .icon {
  width: 24px;
  height: 24px;
}
.feature h3 {
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  color: var(--c-text-muted);
}

/* 9. Spotlight, steps, CTA ------------------------------------------------- */
.spotlight {
  display: grid;
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--c-border);
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(160deg, var(--c-surface) 40%, var(--c-accent-softer));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
@media (min-width: 960px) {
  .spotlight {
    grid-template-columns: 1fr 1fr;
  }
}
.spotlight__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.spotlight__logo img {
  width: 48px;
  height: 48px;
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  color: var(--c-text-muted);
}
.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--c-success-soft);
  color: var(--c-success);
}

/* Phone-style QR illustration used in the spotlight */
.phone-visual {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}
.qr-card {
  width: min(100%, 240px);
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.qr-card img {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 8px;
}
.qr-card strong {
  display: block;
  font-size: 1rem;
}
.qr-card small {
  color: var(--c-text-subtle);
}
.reminder-stack {
  display: grid;
  gap: 12px;
  width: min(100%, 250px);
}
.reminder {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.reminder strong {
  display: block;
  font-size: 0.875rem;
}
.reminder small {
  color: var(--c-text-subtle);
}
.reminder__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.reminder__icon .icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 559.98px) {
  .phone-visual {
    flex-direction: column;
  }
}

/* Steps (How it works) */
.steps {
  display: grid;
  gap: 20px;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.step__num {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-accent);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(59, 78, 245, 0.7);
}
.step__icon .icon {
  width: 24px;
  height: 24px;
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--c-text-muted);
}
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    /* connector line between steps */
    content: "";
    position: absolute;
    top: 58px;
    right: -25px;
    width: 26px;
    border-top: 2px dashed var(--c-border-strong);
  }
}

/* CTA band */
.cta {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: calc(var(--radius-lg) + 8px);
  background: #10162b;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 90% at 50% 0%, rgba(59, 78, 245, 0.55), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px;
}
.cta h2 {
  max-width: 720px;
  margin-inline: auto;
  color: #fff;
}
.cta p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
}
.cta .btn-group {
  justify-content: center;
}

/* 10. Inner page hero & breadcrumb ----------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 85% 0%, rgba(59, 78, 245, 0.1), transparent 70%),
    radial-gradient(rgba(14, 20, 36, 0.07) 1px, transparent 1px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}
.page-hero__inner {
  max-width: 760px;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  margin-bottom: 16px;
}
.page-hero .lead {
  margin-bottom: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  list-style: none;
  font-size: 0.875rem;
  color: var(--c-text-subtle);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--c-border-strong);
}
.breadcrumb a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--c-text);
  font-weight: 600;
}

/* Product page hero (Salon Connect) */
.product-hero {
  padding-bottom: clamp(56px, 8vw, 104px);
}
.product-hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .product-hero__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.product-hero__id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 20px;
}
.product-hero__id img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.product-hero__cat {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-subtle);
}
.product-hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
}
.product-hero .lead {
  margin-bottom: 32px;
}

/* 11. Salon Connect dashboard mockup (illustrative, not a screenshot) ------ */
.mockup {
  position: relative;
  margin: 0;
  padding: 0 0 44px;
}
.mockup__window {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  color: var(--c-text-subtle);
  font-size: 0.75rem;
  font-weight: 600;
}
.mockup__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border-strong);
}
.mockup__bar span {
  margin-left: 10px;
}
.mockup__body {
  display: grid;
  grid-template-columns: 168px 1fr;
}
.mockup__side {
  padding: 18px 12px;
  border-right: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.mockup__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px 18px;
  font-weight: 700;
  color: var(--c-text);
}
.mockup__brand img {
  width: 24px;
  height: 24px;
}
.mockup__nav {
  display: grid;
  gap: 2px;
  list-style: none;
}
.mockup__nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--c-text-muted);
  font-weight: 500;
}
.mockup__nav .icon {
  width: 16px;
  height: 16px;
}
.mockup__nav li.is-active {
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-weight: 600;
}
.mockup__main {
  min-width: 0;
  padding: 20px;
}
.mockup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.mockup__head small {
  display: block;
  color: var(--c-text-subtle);
}
.mockup__head strong {
  font-size: 1rem;
  color: var(--c-text);
}
.mockup__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.mockup__btn .icon {
  width: 14px;
  height: 14px;
}
.mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mockup__stat {
  padding: 12px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.mockup__stat small {
  display: block;
  margin-bottom: 4px;
  color: var(--c-text-subtle);
  font-size: 0.6875rem;
}
.mockup__stat strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.mockup__panel {
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.mockup__panel-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  font-weight: 600;
}
.mockup__panel-head small {
  color: var(--c-accent);
  font-weight: 600;
}
.mockup__rows {
  list-style: none;
}
.mockup__rows li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.mockup__rows li + li {
  border-top: 1px solid var(--c-border);
}
.mockup__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 0.6875rem;
  font-weight: 700;
}
.mockup__rows strong {
  display: block;
  color: var(--c-text);
  font-weight: 600;
}
.mockup__rows small {
  color: var(--c-text-subtle);
}
.mockup__chip {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--c-success-soft);
  color: var(--c-success);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.mockup__chip--soft {
  background: var(--c-bg-soft);
  color: var(--c-text-muted);
}
.mockup__qr {
  position: absolute;
  left: -16px;
  bottom: 0;
  width: 150px;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35;
}
.mockup__qr img {
  width: 100%;
  margin-bottom: 8px;
}
.mockup__qr strong {
  display: block;
  font-size: 0.8125rem;
}
.mockup__qr small {
  color: var(--c-text-subtle);
}
.mockup__caption {
  margin-top: 14px;
  padding-left: 150px;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  text-align: right;
}

@media (max-width: 1099.98px) {
  .mockup__qr {
    left: 0;
  }
}
@media (max-width: 639.98px) {
  .mockup__body {
    grid-template-columns: 1fr;
  }
  .mockup__side {
    display: none;
  }
  .mockup__main {
    padding: 14px;
  }
  .mockup__stats {
    gap: 6px;
  }
  .mockup__stat {
    padding: 10px 8px;
  }
  .mockup__stat strong {
    font-size: 1.0625rem;
  }
  .mockup__qr {
    display: none;
  }
  .mockup {
    padding-bottom: 0;
  }
  .mockup__caption {
    padding-left: 0;
    text-align: left;
  }
}

/* 12. About page ----------------------------------------------------------- */
.about-intro {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}
.about-intro__body p {
  font-size: 1.125rem;
  color: var(--c-text-muted);
}
.about-intro__body p:first-child {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.principles {
  display: grid;
  gap: 16px;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.principle {
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.principle:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.principle .feature__icon {
  margin-bottom: 16px;
}
.principle h3 {
  margin-bottom: 6px;
  font-size: 1.125rem;
}
.principle p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}

/* 13. Contact page & form -------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.form-card > p {
  color: var(--c-text-muted);
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-field--full {
    grid-column: 1 / -1;
  }
}
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.form-field .optional {
  font-weight: 500;
  color: var(--c-text-subtle);
}
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: 12px;
  background: var(--c-surface);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea {
  min-height: 150px;
  resize: vertical;
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: #b7bdcf;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(59, 78, 245, 0.15);
}
.form-field [aria-invalid="true"] {
  border-color: #c42b2b;
}
.form-field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(196, 43, 43, 0.15);
}
.field-error {
  min-height: 0;
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: #b42323;
}
.field-error:empty {
  display: none;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}
.form-note {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--c-text-subtle);
}
.form-status {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}
.form-status:empty {
  display: none;
}
.form-status.is-success {
  background: var(--c-success-soft);
  color: #0f5f34;
}
.form-status.is-error {
  background: #fdecec;
  color: #9e1f1f;
}
.form-status.is-info {
  background: var(--c-accent-soft);
  color: var(--c-accent-hover);
}

.info-stack {
  display: grid;
  gap: 16px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.info-card .feature__icon {
  margin: 0;
  flex-shrink: 0;
}
.info-card h2,
.info-card h3 {
  margin-bottom: 4px;
  font-size: 1.0625rem;
}
.info-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}
.info-card a {
  font-weight: 600;
  word-break: break-word;
}

/* 14. Legal pages ---------------------------------------------------------- */
.legal {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .legal {
    grid-template-columns: 240px 1fr;
    gap: 64px;
  }
}
.legal__toc {
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
}
@media (min-width: 960px) {
  .legal__toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.legal__toc p {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-subtle);
}
.legal__toc ol {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  font-size: 0.9375rem;
}
.legal__toc a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.legal__toc a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}
.legal__body {
  max-width: 740px;
}
.legal__body section + section {
  margin-top: 44px;
}
.legal__body h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.legal__body p,
.legal__body li {
  color: var(--c-text-muted);
}
.legal__body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1em;
  padding-left: 22px;
}
.legal__updated {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--c-text-subtle);
}

/* 15. Footer --------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 80px);
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: repeat(2, 1fr);
}
.footer__brand {
  grid-column: 1 / -1;
  max-width: 340px;
}
@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
  .footer__brand {
    grid-column: auto;
  }
}
.footer__brand p {
  margin: 14px 0 20px;
  color: var(--c-text-muted);
}
.footer__title {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
}
.footer__links {
  display: grid;
  gap: 10px;
  list-style: none;
}
.footer__links a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--c-accent);
}
.footer__links small {
  color: var(--c-text-subtle);
}

.social {
  display: flex;
  gap: 8px;
  list-style: none;
}
.social__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface);
  color: var(--c-text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social__link .icon {
  width: 18px;
  height: 18px;
}
a.social__link:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.social__link.is-placeholder {
  opacity: 0.45;
  cursor: default;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 24px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-subtle);
  font-size: 0.875rem;
}
.footer__bottom p {
  margin: 0;
}
.footer__bottom a {
  color: var(--c-text-muted);
}

/* 16. Animations ----------------------------------------------------------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-in {
  animation: fade-up 0.7s var(--ease) both;
}
.animate-in--delay {
  animation-delay: 0.15s;
}
.hv-float--product,
.mockup__qr {
  animation: float 6s ease-in-out infinite;
}
.hv-float--notify {
  animation: float 7s ease-in-out 1s infinite;
}

/* Scroll reveal — only hidden when JavaScript is running (html.js). */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 479.98px) {
  .hide-sm {
    display: none;
  }
}

/* App store badges (Salon Connect) ---------------------------------------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.store-badges--center {
  justify-content: center;
  margin-top: 24px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  border: 1px solid #0e1424;
  border-radius: 12px;
  background: #0e1424;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.store-badge[hidden] {
  display: none;
}
a.store-badge[href]:hover {
  color: #fff;
  background: #1c2440;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.store-badge__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.store-badge__text {
  display: flex;
  flex-direction: column;
}
.store-badge__text small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.store-badge__text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.store-badge.is-soon {
  background: var(--c-surface);
  border-color: var(--c-border-strong);
  color: var(--c-text-muted);
  border-style: dashed;
  cursor: default;
}
.store-badge.is-soon .store-badge__icon {
  filter: grayscale(1);
  opacity: 0.6;
}
.cta .store-badge {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.cta .store-badge.is-soon {
  color: rgba(255, 255, 255, 0.75);
}
.product-hero__site {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--c-text-subtle);
}
.product-hero__site a {
  font-weight: 600;
}

/* Salon Connect brand theme (purple, matches the app) ---------------------- */
.theme-salon-connect {
  --c-accent: #7c3aed;
  --c-accent-hover: #6d28d9;
  --c-accent-soft: #f1eafe;
  --c-accent-softer: #faf7ff;
}
.theme-salon-connect .btn--primary {
  box-shadow: 0 1px 2px rgba(14, 20, 36, 0.1), 0 6px 16px -6px rgba(124, 58, 237, 0.55);
}
.theme-salon-connect .step__icon {
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.7);
}
.theme-salon-connect .page-hero::before {
  background: radial-gradient(50% 80% at 85% 0%, rgba(124, 58, 237, 0.12), transparent 70%),
    radial-gradient(rgba(14, 20, 36, 0.07) 1px, transparent 1px) 0 0 / 22px 22px;
}
.theme-salon-connect .cta::before {
  background: radial-gradient(60% 90% at 50% 0%, rgba(124, 58, 237, 0.6), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px;
}

/* Salon Connect phone mockup (illustrative, modelled on the app) ----------- */
.app-mockup {
  position: relative;
  margin: 0;
  padding: 24px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone {
  width: min(100%, 320px);
  padding: 10px;
  border-radius: 44px;
  background: #121629;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2f48;
}
.phone__screen {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 22px 14px 0;
  border-radius: 34px;
  background: #f6f3fe;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #1c1733;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.app-top img {
  width: 28px;
  height: 28px;
}
.app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(100deg, #8b5cf6, #6d3fd6 55%, #4c1d95);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(76, 29, 149, 0.8);
}
.app-banner strong {
  display: block;
  font-size: 1rem;
}
.app-banner small {
  color: rgba(255, 255, 255, 0.78);
}
.app-banner__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.app-banner__icon .icon {
  width: 18px;
  height: 18px;
}
.app-label {
  margin: 18px 0 10px;
  font-weight: 600;
  font-size: 0.875rem;
}
.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app-action {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid #ebe6f7;
  border-radius: 16px;
  background: #fff;
  font-weight: 600;
  font-size: 0.75rem;
}
.app-action__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #efe7fe;
  color: #7c3aed;
}
.app-action__icon--green {
  background: #e3f6ec;
  color: #1c8a52;
}
.app-action__icon--amber {
  background: #fdf0de;
  color: #c2710c;
}
.app-action__icon--blue {
  background: #e4ecfd;
  color: #3563d9;
}
.app-action__icon .icon {
  width: 16px;
  height: 16px;
}
.app-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto -14px 0;
  padding: 10px 6px 16px;
  background: #fff;
  border-top: 1px solid #ebe6f7;
  font-size: 0.625rem;
  color: #5b5670;
  text-align: center;
}
.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.app-nav i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 26px;
  border-radius: 13px;
}
.app-nav .icon {
  width: 16px;
  height: 16px;
}
.app-nav .is-active {
  color: #6d28d9;
  font-weight: 600;
}
.app-nav .is-active i {
  background: #ebe2fd;
}
.app-float {
  position: absolute;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  line-height: 1.35;
}
.app-float strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--c-text);
}
.app-float small {
  color: var(--c-text-subtle);
}
.app-float--qr {
  left: 0;
  bottom: 90px;
  width: 136px;
  padding: 14px;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}
.app-float--qr img {
  width: 100%;
  margin-bottom: 8px;
}
.app-float--reminder {
  top: 470px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  animation: float 7s ease-in-out 1s infinite;
}
.app-float__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.app-float__icon .icon {
  width: 18px;
  height: 18px;
}
.app-mockup__caption {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  text-align: center;
}
@media (max-width: 639.98px) {
  .app-float {
    display: none;
  }
  .phone__screen {
    min-height: 500px;
  }
}

/* ==========================================================================
   17. Dark mode
   --------------------------------------------------------------------------
   Turned on by <html data-theme="dark"> (set by the toggle in the header,
   or automatically from the visitor's system setting). Change the dark
   colours here.
   ========================================================================== */
[data-theme="dark"] {
  color-scheme: dark;

  --c-bg: #090c16;
  --c-bg-soft: #0e1220;
  --c-surface: #121729;
  --c-border: #212a42;
  --c-border-strong: #313b5c;
  --c-text: #eef1f8;
  --c-text-muted: #aab3c8;
  --c-text-subtle: #8e98b0;

  --c-accent: #8b98ff;
  --c-accent-hover: #a7b1ff;
  --c-accent-soft: rgba(124, 140, 255, 0.14);
  --c-accent-softer: rgba(124, 140, 255, 0.06);

  --c-success: #6ee7a1;
  --c-success-soft: rgba(110, 231, 161, 0.12);
  --c-warning: #fbc36b;
  --c-warning-soft: rgba(251, 195, 107, 0.12);

  --c-header-bg: rgba(9, 12, 22, 0.72);
  --c-header-bg-solid: rgba(9, 12, 22, 0.92);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.3), 0 30px 70px -18px rgba(0, 0, 0, 0.75);
}

/* Salon Connect page: purple accents in dark mode */
[data-theme="dark"] .theme-salon-connect {
  --c-accent: #b69cff;
  --c-accent-hover: #cbb8ff;
  --c-accent-soft: rgba(167, 139, 250, 0.15);
  --c-accent-softer: rgba(167, 139, 250, 0.06);
}

/* Buttons keep enough contrast for white text */
[data-theme="dark"] .btn--primary {
  background: #4c5cf5;
  box-shadow: 0 0 0 1px rgba(139, 152, 255, 0.35), 0 10px 30px -10px rgba(76, 92, 245, 0.8);
}
[data-theme="dark"] .btn--primary:hover {
  background: #5d6cff;
  box-shadow: 0 0 0 1px rgba(139, 152, 255, 0.5), 0 14px 36px -10px rgba(93, 108, 255, 0.9);
}
[data-theme="dark"] .theme-salon-connect .btn--primary {
  background: #7c3aed;
  box-shadow: 0 0 0 1px rgba(182, 156, 255, 0.35), 0 10px 30px -10px rgba(124, 58, 237, 0.85);
}
[data-theme="dark"] .theme-salon-connect .btn--primary:hover {
  background: #8b4cf6;
}
[data-theme="dark"] .skip-link {
  color: var(--c-bg);
}

/* Glowing backgrounds */
[data-theme="dark"] .hero::before,
[data-theme="dark"] .page-hero::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
[data-theme="dark"] .hero::after {
  background: radial-gradient(closest-side, rgba(99, 114, 255, 0.3), transparent);
}
[data-theme="dark"] .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(99, 114, 255, 0.2), transparent);
  pointer-events: none;
}
[data-theme="dark"] .theme-salon-connect .page-hero::after {
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.26), transparent);
}
[data-theme="dark"] .hv-chart span {
  background: rgba(124, 140, 255, 0.32);
}
[data-theme="dark"] .hv-chart span:nth-child(5) {
  background: #6f7dff;
  box-shadow: 0 0 18px rgba(111, 125, 255, 0.6);
}

/* Cards get a soft glowing edge on hover */
[data-theme="dark"] .product-card.is-linked:hover,
[data-theme="dark"] .feature:hover,
[data-theme="dark"] .principle:hover {
  border-color: rgba(139, 152, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 152, 255, 0.15), 0 20px 50px -20px rgba(99, 114, 255, 0.45);
}

/* Call-to-action band */
[data-theme="dark"] .cta {
  background: linear-gradient(135deg, #151b36, #1a1238);
  border: 1px solid var(--c-border-strong);
}

/* Phone mockup and store badges */
[data-theme="dark"] .phone {
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), inset 0 0 0 2px #3a4168, 0 0 60px -10px rgba(139, 92, 246, 0.35);
}
[data-theme="dark"] .store-badge {
  background: #03050b;
  border-color: var(--c-border-strong);
}
[data-theme="dark"] .store-badge.is-soon {
  background: transparent;
}

/* Forms */
[data-theme="dark"] .form-field input:hover,
[data-theme="dark"] .form-field textarea:hover {
  border-color: #4a557a;
}
[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field textarea:focus {
  box-shadow: 0 0 0 4px rgba(124, 140, 255, 0.22);
}
[data-theme="dark"] .field-error {
  color: #fca5a5;
}
[data-theme="dark"] .form-field [aria-invalid="true"] {
  border-color: #f87171;
}
[data-theme="dark"] .form-status.is-success {
  color: #86efac;
}
[data-theme="dark"] .form-status.is-error {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}
[data-theme="dark"] .form-status.is-info {
  color: var(--c-accent);
}

/* Theme toggle button (sun / moon) ----------------------------------------- */
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-text);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
  transform: rotate(-12deg);
}
.theme-toggle .icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.theme-toggle .icon--moon {
  color: #5b54e8;
}
.theme-toggle .icon--sun {
  color: #fbbf24;
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}
[data-theme="dark"] .theme-toggle .icon--moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}
[data-theme="dark"] .theme-toggle .icon--sun {
  opacity: 1;
  transform: none;
}
[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15), 0 0 24px rgba(251, 191, 36, 0.25);
}

/* Header layout with the toggle: logo … menu … toggle (… hamburger) */
.nav {
  justify-content: flex-start;
  gap: 8px;
}
.nav .brand {
  margin-right: auto;
}
@media (min-width: 900px) {
  .nav__menu {
    order: 2;
    margin-right: 16px;
  }
  .theme-toggle {
    order: 3;
  }
}

/* Smooth colour change while switching themes */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease),
    fill 0.4s var(--ease), box-shadow 0.4s var(--ease) !important;
}

/* Gym Connect brand theme (orange) ----------------------------------------- */
.theme-gym-connect {
  --c-accent: #c2410c;
  --c-accent-hover: #9a3412;
  --c-accent-soft: #fff1e6;
  --c-accent-softer: #fff8f2;
}
.theme-gym-connect .btn--primary {
  box-shadow: 0 1px 2px rgba(14, 20, 36, 0.1), 0 6px 16px -6px rgba(194, 65, 12, 0.55);
}
.theme-gym-connect .page-hero::before {
  background: radial-gradient(50% 80% at 85% 0%, rgba(234, 88, 12, 0.12), transparent 70%),
    radial-gradient(rgba(14, 20, 36, 0.07) 1px, transparent 1px) 0 0 / 22px 22px;
}
.theme-gym-connect .hv-chart span {
  background: #fed7aa;
}
.theme-gym-connect .hv-chart span:nth-child(5),
.theme-gym-connect .hv-side i.is-active {
  background: #ea580c;
}
.theme-gym-connect .cta::before {
  background: radial-gradient(60% 90% at 50% 0%, rgba(234, 88, 12, 0.5), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px;
}
[data-theme="dark"] .theme-gym-connect {
  --c-accent: #fb923c;
  --c-accent-hover: #fdba74;
  --c-accent-soft: rgba(251, 146, 60, 0.15);
  --c-accent-softer: rgba(251, 146, 60, 0.06);
}
[data-theme="dark"] .theme-gym-connect .btn--primary {
  background: #c2410c;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35), 0 10px 30px -10px rgba(194, 65, 12, 0.85);
}
[data-theme="dark"] .theme-gym-connect .btn--primary:hover {
  background: #d9480f;
}
[data-theme="dark"] .theme-gym-connect .page-hero::after {
  background: radial-gradient(closest-side, rgba(234, 88, 12, 0.22), transparent);
}
[data-theme="dark"] .theme-gym-connect .hv-chart span {
  background: rgba(251, 146, 60, 0.3);
}
[data-theme="dark"] .theme-gym-connect .hv-chart span:nth-child(5) {
  background: #f97316;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.55);
}

/* Address text inside the decorative browser bar */
.hv-url {
  flex: 1;
  max-width: 220px;
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Two platform cards, centred */
.platforms {
  max-width: 760px;
  margin-inline: auto;
}
.theme-gym-connect .hv-bar .hv-url {
  margin-left: auto;
}

/* Gym Connect dashboard mockup (illustrative, modelled on the app) --------- */
.gm {
  margin: 0;
}
.gm-window {
  border: 1px solid #1f2a3d;
  border-radius: var(--radius-lg);
  background: #0b1120;
  box-shadow: var(--shadow-lg), 0 0 60px -20px rgba(234, 88, 12, 0.45);
  overflow: hidden;
  color: #e5e7eb;
  font-size: 0.75rem;
  line-height: 1.35;
}
.gm-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #111827;
  border-bottom: 1px solid #1f2a3d;
}
.gm-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}
.gm-bar span {
  margin-left: auto;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  background: #0b1120;
  border: 1px solid #1f2a3d;
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 600;
}
.gm-body {
  display: grid;
  grid-template-columns: 150px 1fr;
}
.gm-side {
  padding: 14px 10px;
  border-right: 1px solid #1f2a3d;
  background: #0d1424;
}
.gm-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
.gm-brand img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border-radius: 6px;
}
.gm-brand b {
  font-weight: 800;
  color: #fff;
}
.gm-brand em {
  font-style: normal;
  font-weight: 800;
  color: #f97316;
}
.gm-nav {
  display: grid;
  gap: 2px;
  list-style: none;
}
.gm-nav li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #a8b3c7;
  font-weight: 500;
}
.gm-nav .icon {
  width: 14px;
  height: 14px;
}
.gm-nav li.is-active {
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px -8px rgba(234, 88, 12, 0.9);
}
.gm-main {
  min-width: 0;
  padding: 14px;
}
.gm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.gm-top strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
}
.gm-top small {
  color: #94a3b8;
  font-size: 0.625rem;
}
.gm-search {
  flex: 1;
  max-width: 170px;
  padding: 5px 10px;
  border: 1px solid #1f2a3d;
  border-radius: var(--radius-pill);
  background: #111827;
  color: #64748b;
  font-size: 0.625rem;
}
.gm-banner {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #1f2a3d;
  border-radius: 14px;
  background: radial-gradient(70% 140% at 85% 50%, rgba(234, 88, 12, 0.28), transparent 70%), #111827;
}
.gm-banner small {
  display: block;
  color: #cbd5e1;
  font-size: 0.6875rem;
}
.gm-banner strong {
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.gm-qas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.gm-qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid #1f2a3d;
  border-radius: 12px;
  background: #111827;
  color: #f1f5f9;
  font-size: 0.625rem;
  font-weight: 600;
  text-align: center;
}
.gm-qa__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
}
.gm-qa__icon .icon {
  width: 14px;
  height: 14px;
}
.gm-c-o { background: linear-gradient(135deg, #fb923c, #ea580c); }
.gm-c-g { background: linear-gradient(135deg, #64748b, #334155); }
.gm-c-b { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.gm-c-gr { background: linear-gradient(135deg, #34d399, #059669); }
.gm-c-p { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.gm-c-y { background: linear-gradient(135deg, #fbbf24, #d97706); }
.gm-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gm-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #1f2a3d;
  border-radius: 12px;
  background: #111827;
}
.gm-stat small {
  display: block;
  color: #94a3b8;
  font-size: 0.625rem;
}
.gm-stat strong {
  font-size: 0.9375rem;
  color: #fff;
}
.gm-stat__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.gm-stat__icon .icon {
  width: 14px;
  height: 14px;
}
.gm-t-n { background: #1e293b; color: #cbd5e1; }
.gm-t-gr { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.gm-t-y { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.gm-t-r { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.gm-caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--c-text-subtle);
  text-align: right;
}
@media (max-width: 639.98px) {
  .gm-body {
    grid-template-columns: 1fr;
  }
  .gm-side {
    display: none;
  }
  .gm-caption {
    text-align: left;
  }
}
