/* Bookable — landing page styles
   Soft, warm light tone. Cloud (Typomancer) primary, Quicksand fallback.
   ────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Cloud';
  src: url('fonts/CloudLight.otf') format('opentype'),
       url('fonts/CloudLight.ttf') format('truetype');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cloud';
  src: url('fonts/CloudBold.otf') format('opentype'),
       url('fonts/CloudBold.ttf') format('truetype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #2563EB;
  --accent-2: #06B6D4;       /* cyan teal secondary */
  --accent-soft: #2563EB18;
  --accent-tint: #2563EB0d;

  --bg:       #F6F9FF;       /* near-white blue tint */
  --bg-alt:   #EBF2FF;       /* very light blue */
  --bg-grad-start: #D8E9FF;  /* soft blue */
  --bg-grad-end:   #D0EEFA;  /* soft sky */
  --ink:      #0F1B2D;       /* deep navy */
  --ink-2:    #1E3A5F;       /* navy secondary */
  --ink-3:    #5A8FBF;       /* mid-blue tertiary */
  --line:     rgba(37,99,235,.12);
  --line-2:   rgba(37,99,235,.07);
  --card:     #FFFFFF;

  --gap: 120px;
  --radius: 18px;
  --radius-sm: 10px;

  /* Cloud (Typomancer) — drop CloudLight.woff2 + CloudBold.woff2 in /fonts to activate.
     Falls back to Quicksand (similar rounded geometric feel) until then. */
  --font-display: 'Cloud', 'Quicksand', 'Sarabun', system-ui, sans-serif;
  --font-body: 'Cloud', 'Quicksand', 'Sarabun', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% -10%, #D0EEFA 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, #D8E9FF 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 10% 90%, #EBF2FF 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 80%, #D0EEFA 0%, transparent 50%);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--font-display); font-weight: 500; color: var(--accent); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,249,255,.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: .5px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent); color: white;
  border-radius: 9px;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px; color: var(--ink-2);
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--accent); color: white;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .15s ease, background .15s ease, box-shadow .15s;
}
.nav-cta:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.nav-cta .arr { transition: transform .15s; }
.nav-cta:hover .arr { transform: translateX(3px); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  border: 0;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 18px rgba(37,99,235,.28);
}
.btn-primary:hover { background: #1D4ED8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.4); }
.btn-primary .arr { transition: transform .2s; }
.btn-primary:hover .arr { transform: translateX(4px); }
.btn-ghost {
  background: white; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 80px 0 var(--gap);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  column-gap: 60px;
  align-items: start;
  z-index: 1;
}
.hero[data-layout="center"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero[data-layout="center"] .hero-visual { margin-top: 60px; }
.hero[data-layout="mosaic"] .hero-grid {
  grid-template-columns: 1fr 1fr;
}
.hero[data-layout="mosaic"] .hero-title { font-size: clamp(48px, 6vw, 72px); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: white;
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
  width: fit-content;
  box-shadow: 0 2px 12px rgba(37,99,235,.1);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50%      { box-shadow: 0 0 0 6px var(--accent-tint); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 24px 0 0;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-2);
  margin: 28px 0 0;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}

.hero-meta {
  display: flex; gap: 56px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: .5px solid var(--line);
  max-width: 540px;
}
.meta { display: flex; flex-direction: column; gap: 4px; }
.meta-n {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.01em;
}
.meta-l { font-size: 13px; color: var(--ink-3); }

/* Hero visual — phone + slip + notif */
.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 5;
  height: 580px;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}
.hero[data-layout="center"] .hero-visual {
  grid-column: 1; grid-row: auto;
  margin: 60px auto 0;
}
.hero[data-layout="mosaic"] .hero-visual {
  grid-column: 2; grid-row: 1 / span 5;
}

.phone {
  position: absolute;
  top: 0; right: 30px;
  width: 280px; height: 560px;
  background: var(--card);
  border-radius: 38px;
  border: .5px solid rgba(37,99,235,.15);
  box-shadow:
    0 30px 60px -20px rgba(37,99,235,.3),
    0 12px 28px -12px rgba(0,0,0,.14),
    inset 0 0 0 6px rgba(255,255,255,.6);
  padding: 14px;
  overflow: hidden;
  transform: rotate(-3deg);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1C1633;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 26px;
  padding: 50px 18px 18px;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 12px;
  overflow: hidden;
}
.phone-screen.phone-screen-img {
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
}
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.ph-back { color: var(--ink-3); font-size: 16px; }
.ph-back.ph-invis { opacity: 0; }
.ph-title { font-weight: 600; font-size: 14px; }
.ph-section-h {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 6px;
}
.ph-svc {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--card);
  border: .5px solid var(--line);
  border-radius: 12px;
}
.ph-svc-thumb {
  width: 32px; height: 32px;
  background: var(--bg-alt); color: var(--ink-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ph-svc-body { flex: 1; }
.ph-svc-title { font-weight: 500; font-size: 12px; }
.ph-svc-meta { font-size: 11px; color: var(--ink-3); }
.ph-radio {
  width: 16px; height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
}
.ph-radio.on {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 4px, transparent 4px);
}
.ph-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ph-time {
  text-align: center;
  padding: 8px 0;
  background: var(--card);
  border: .5px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.ph-time.on { background: var(--accent); color: white; border-color: var(--accent); }
.ph-time.off { color: var(--ink-3); text-decoration: line-through; opacity: .55; }
.ph-btn {
  margin-top: auto;
  background: #7C3AED; color: white;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px; font-weight: 500;
  font-family: inherit;
}

/* Class noti card replacing slip */
.slip.slip-noti {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 16px 40px rgba(37,99,235,.18);
  overflow: hidden;
  border-radius: 18px;
  width: 220px;
}
.slip.slip-noti img {
  width: 100%;
  display: block;
  border-radius: 18px;
  mix-blend-mode: multiply;
}

.slip {
  position: absolute;
  bottom: 50px; left: 0;
  width: 240px;
  background: var(--card);
  border: .5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px -16px rgba(31,26,20,.18);
  transform: rotate(4deg);
}
.slip-h {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: .5px dashed var(--line);
  margin-bottom: 12px;
}
.slip-tick {
  width: 30px; height: 30px;
  background: #7C3AED; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.slip-tick svg { width: 16px; height: 16px; }
.slip-t { font-weight: 600; font-size: 13px; }
.slip-s { font-size: 11px; color: var(--ink-3); }
.slip-row {
  display: flex; justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  color: var(--ink-2);
}
.slip-row b { color: var(--ink); font-weight: 500; }

.notif {
  position: absolute;
  top: 60px; left: -10px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px;
  background: #0F1B2D; color: white;
  border-radius: 14px;
  box-shadow: 0 16px 32px -10px rgba(37,99,235,.4);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.notif-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.notif-t { font-size: 12px; font-weight: 500; }
.notif-s { font-size: 11px; color: rgba(255,255,255,.6); }

/* Hero background decor */
.bg-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg-arc {
  position: absolute; top: -200px; right: -100px;
  width: 900px; height: 700px;
  opacity: .8;
}
.grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(31,26,20,.04) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: .5;
}

/* ── Section header ────────────────────────────────────────────────────── */

.sec-h { max-width: 720px; margin-bottom: 72px; }
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 24px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.sec-sub {
  font-size: 18px; color: var(--ink-2);
  max-width: 580px;
  margin: 16px 0 0;
  line-height: 1.55;
}

/* ── Industries ────────────────────────────────────────────────────────── */

.industries { padding: var(--gap) 0; background: transparent; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ind-card {
  position: relative;
  background: white;
  border: 1px solid rgba(37,99,235,.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: default;
  box-shadow: 0 2px 12px rgba(37,99,235,.07);
}
.ind-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 40px -16px rgba(37,99,235,.22);
}
.ind-num {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink-3);
}
.ind-icon {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background .25s;
}
.ind-icon svg { width: 32px; height: 32px; }
.ind-card:hover .ind-icon { background: var(--accent); }
.ind-card:hover .ind-icon svg g { stroke: white !important; }
.ind-card:hover .ind-icon svg circle { fill: white !important; }

.ind-th {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.ind-en { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.ind-note { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ── Features ──────────────────────────────────────────────────────────── */

.features { padding: var(--gap) 0; background: transparent; }
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: .5px solid var(--line);
  border-left: .5px solid var(--line);
}
.feat-card {
  padding: 48px 40px;
  border-right: .5px solid var(--line);
  border-bottom: .5px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  transition: background .25s;
}
.feat-card:hover { background: rgba(37,99,235,.04); }
.feat-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 6px;
}
.feat-titles h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.feat-titles span {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.feat-card p {
  grid-column: 2;
  margin: 14px 0 0;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 440px;
}

/* ── Showcase — phone frames ─────────────────────────────────────────── */

.showcase { padding: var(--gap) 0; }
.show-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.show-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.show-phone-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
}
.show-phone-sub {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  text-align: center;
}

/* Phone bezel */
.pf {
  width: 220px;
  background: #1C1633;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 40px 80px -24px rgba(37,99,235,.38),
    0 16px 32px -8px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
}
.pf-inner {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pf-inner img {
  width: 100%;
  display: block;
  border-radius: 30px;
}

/* Screen: Booking (class calendar — blue) */
.sc {
  font-size: 11px;
  color: #1C1633;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sc-nav {
  background: white;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: .5px solid rgba(0,0,0,.06);
  font-weight: 600;
  font-size: 12px;
}
.sc-nav-back { color: #7C3AED; font-size: 15px; }
.sc-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sc-lbl { font-size: 10px; color: #9490B8; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.sc-cal-h { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; font-size: 10px; color: #9490B8; font-weight: 600; margin-bottom: 4px; }
.sc-cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.sc-day {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #1E3A8A;
  font-weight: 500;
  position: relative;
}
.sc-day.sel { background: #1E3A8A; color: white; border-radius: 8px; }
.sc-day.full { color: #DC2626; }
.sc-day.today { box-shadow: inset 0 0 0 1px #1E3A8A; border-radius: 8px; }
.sc-day-dot { position: absolute; bottom: 1px; width: 3px; height: 3px; background: #DC2626; border-radius: 50%; }
.sc-class {
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sc-class-time { font-weight: 700; font-size: 13px; color: #1E3A8A; }
.sc-class-row { font-size: 11px; color: #4C4878; }
.sc-class-avail { font-size: 10px; color: #6B7280; }
.sc-cta {
  margin: 0 0 2px;
  background: #1E3A8A; color: white;
  border: 0; border-radius: 8px;
  padding: 10px; font-size: 12px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

/* Screen: Payment */
.sc-pay-hdr {
  background: white;
  padding: 10px 14px 8px;
  font-weight: 700; font-size: 13px;
  text-align: center;
  border-bottom: .5px solid rgba(0,0,0,.06);
}
.sc-pay-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-bank {
  background: white; border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sc-bank-lbl { font-size: 9px; color: #9490B8; font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.sc-bank-row { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; margin-bottom: 6px; }
.sc-bank-logo {
  width: 22px; height: 22px; border-radius: 50%;
  background: #16A34A; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
}
.sc-bank-num {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em;
  color: #1C1633; padding: 6px 0;
}
.sc-bank-name { font-size: 11px; color: #4C4878; }
.sc-upload {
  flex: 1;
  border: 1.5px dashed rgba(37,99,235,.3);
  border-radius: 10px;
  padding: 20px 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; text-align: center;
  background: rgba(37,99,235,.04);
}
.sc-upload-icon { font-size: 22px; }
.sc-upload-t { font-size: 11px; font-weight: 600; color: var(--accent); }
.sc-upload-s { font-size: 10px; color: #9490B8; }
.sc-confirm-btn {
  background: #7C3AED; color: white;
  border: 0; border-radius: 8px;
  padding: 10px; font-size: 12px; font-weight: 700;
  font-family: inherit; cursor: pointer; opacity: .4;
}

/* Screen: LINE notification */
.sc-line { background: #EFEFEF; flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sc-line-hdr {
  background: #06C755;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  border-radius: 10px 10px 0 0;
  margin: -10px -10px 0;
}
.sc-line-hdr-dot { width: 26px; height: 26px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sc-line-hdr-t { font-weight: 700; font-size: 11px; color: white; }
.sc-line-hdr-s { font-size: 9px; color: rgba(255,255,255,.8); }
.sc-bubble {
  background: white; border-radius: 0 12px 12px 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  max-width: 88%;
}
.sc-bubble-hdr {
  background: #1E3A5F; color: white;
  padding: 8px 10px; font-weight: 700; font-size: 10px;
}
.sc-bubble-img {
  height: 60px;
  background: linear-gradient(135deg, #93C5FD, #C4B5FD, #FED7AA);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600; color: rgba(255,255,255,.9);
}
.sc-bubble-body { padding: 8px 10px; }
.sc-bubble-t { font-weight: 700; font-size: 10px; margin-bottom: 4px; }
.sc-bubble-row { display: flex; justify-content: space-between; font-size: 9px; color: #4C4878; padding: 2px 0; }
.sc-bubble-row b { font-weight: 700; color: #1C1633; }
.sc-time { font-size: 9px; color: #9490B8; text-align: right; margin-top: 2px; }
.sc-bubble-yellow { background: white; border-radius: 0 12px 12px 12px; max-width: 88%; box-shadow: 0 2px 6px rgba(0,0,0,.08); overflow: hidden; }
.sc-bubble-yellow-hdr { background: #F59E0B; color: white; padding: 7px 10px; font-weight: 700; font-size: 10px; }
.sc-bubble-yellow-body { padding: 8px 10px; }
.sc-bubble-yellow-t { font-weight: 700; font-size: 11px; color: #1C1633; }
.sc-bubble-yellow-pkg { font-size: 9px; color: #6B7280; margin-bottom: 6px; }
.sc-bubble-yellow-box {
  background: #FFFBEB; border-radius: 6px; padding: 8px;
  text-align: center;
}
.sc-bubble-yellow-warn { font-size: 9px; color: #D97706; font-weight: 600; }
.sc-bubble-yellow-date { font-size: 14px; font-weight: 800; color: #1C1633; }

/* Screen: Barber calendar */
.sc-barber { background: white; flex: 1; }
.sc-barber-hdr {
  padding: 10px 14px 8px;
  background: white;
  border-bottom: .5px solid rgba(0,0,0,.06);
}
.sc-barber-shop { font-weight: 700; font-size: 11px; color: #1C1633; }
.sc-barber-staff { font-size: 9px; color: #9490B8; }
.sc-barber-body { padding: 10px 12px; background: #F5F3FF; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sc-barber-month-row { display: flex; justify-content: space-between; align-items: center; }
.sc-barber-month { font-weight: 700; font-size: 11px; color: #1E3A8A; }
.sc-barber-nav { font-size: 14px; color: #7C3AED; }
.sc-b-cal-h { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; font-size: 9px; font-weight: 700; color: #1E3A8A; margin-bottom: 4px; }
.sc-b-cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.sc-b-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  font-size: 10px; font-weight: 600;
  color: #1E3A8A;
  background: white;
  border: .5px solid #DBEAFE;
}
.sc-b-day.full { background: #FEE2E2; color: #DC2626; border-color: #FCA5A5; }
.sc-b-day.sel { background: #1E3A8A; color: white; border-color: #1E3A8A; box-shadow: 0 2px 6px rgba(30,58,138,.4); }
.sc-b-day.part { background: #EFF6FF; }
.sc-barber-legend {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 9px; color: #4C4878;
}
.sc-barber-legend span { display: flex; align-items: center; gap: 4px; }
.sc-lg { width: 8px; height: 8px; border-radius: 2px; }
.sc-lg-a { background: white; border: .5px solid #DBEAFE; }
.sc-lg-p { background: #EFF6FF; border: .5px solid #DBEAFE; }
.sc-lg-f { background: #FEE2E2; border: .5px solid #FCA5A5; }
.sc-lg-s { background: #1E3A8A; }

/* Mock — booking */
.mock { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.mock-booking { gap: 14px; }
.mk-row { display: flex; justify-content: space-between; font-size: 13px; }
.mk-row b { font-weight: 500; }
.mk-row.mk-h { font-weight: 500; font-size: 14px; }
.mk-mute { color: var(--ink-3); }
.mk-cal-h {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; font-size: 11px; color: var(--ink-3);
  text-align: center;
}
.mk-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mk-day {
  position: relative;
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
}
.mk-day.on { background: #1F3A8A; color: white; font-weight: 600; }
.mk-day.today { box-shadow: inset 0 0 0 1px var(--ink); border-radius: 8px; }
.mk-day-dot {
  position: absolute; bottom: 2px;
  width: 4px; height: 4px;
  background: #DC2626; border-radius: 50%;
}
.mk-class-card {
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px;
}
.mk-class-time { font-weight: 600; font-size: 14px; color: var(--ink); }
.mk-class-row { color: var(--ink-2); }
.mk-class-mute { color: var(--ink-3); }
.mk-cta {
  margin-top: auto;
  background: var(--ink); color: white;
  padding: 14px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.mk-cta-blue { background: #1F3A8A; }

/* Mock — payment (anonymized) */
.mk-bank-card {
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.mk-bank-lbl { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.mk-bank-lbl:first-child { margin-top: 0; }
.mk-bank-row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.mk-bank-logo {
  width: 28px; height: 28px;
  background: #16A34A; color: white;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.mk-bank-num {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 8px 0;
}
.mk-bank-name { font-size: 14px; font-weight: 500; }
.mk-upload {
  flex: 1;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  text-align: center;
}
.mk-upload-icon {
  width: 36px; height: 36px;
  background: #DBEAFE; color: #1F3A8A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 4px;
}
.mk-upload-t { font-size: 13px; font-weight: 600; }
.mk-upload-s { font-size: 11px; color: var(--ink-3); }

/* Mock — LINE notification */
.mock-line { gap: 12px; }
.line-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  border: .5px solid var(--line);
}
.line-card-h {
  background: #1E3A5F; color: white;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
}
.line-card-h.yellow { background: #F59E0B; color: white; }
.line-card-img {
  height: 100px;
  background: linear-gradient(135deg, #93C5FD 0%, #DBEAFE 50%, #FED7AA 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
}
.line-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.15) 0 12px, transparent 12px 24px);
}
.line-card-img span { position: relative; z-index: 1; }
.line-card-body { padding: 14px 16px; }
.line-card-t { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.line-card-t.small { font-size: 14px; margin-bottom: 4px; }
.line-card-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 3px 0; }
.line-card-row b { font-weight: 600; color: var(--ink); }
.line-card-sub { font-size: 12px; color: var(--ink-3); }

/* Mock — barber calendar (blue tones) */
.mock-barber { gap: 14px; }
.barb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.barb-shop {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: #1E3A8A;
  letter-spacing: -0.01em;
}
.barb-staff { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.barb-month {
  font-weight: 600; font-size: 14px;
  color: #1E3A8A;
  padding: 8px 14px;
  background: #DBEAFE;
  border-radius: 999px;
}
.barb-cal { background: var(--bg); border-radius: 14px; padding: 16px; }
.barb-cal-h {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 6px; font-size: 11px; font-weight: 600;
  color: #1E3A8A;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #DBEAFE;
  margin-bottom: 10px;
}
.barb-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.barb-day {
  position: relative;
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1E3A8A;
  background: white;
  border: 1px solid #DBEAFE;
  font-variant-numeric: tabular-nums;
}
.barb-day.part { background: #EFF6FF; }
.barb-day.full { background: #FEE2E2; color: #DC2626; border-color: #FCA5A5; }
.barb-day.sel { background: #1E3A8A; color: white; border-color: #1E3A8A; box-shadow: 0 4px 10px -2px rgba(30,58,138,.4); }
.barb-day-n { font-size: 14px; font-weight: 600; }
.barb-day-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.barb-day-tag.part { color: #1E3A8A; opacity: .7; }
.barb-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--ink-2);
}
.barb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-avail { background: white; border: 1px solid #DBEAFE; }
.lg-part { background: #EFF6FF; border: 1px solid #DBEAFE; }
.lg-full { background: #FEE2E2; border: 1px solid #FCA5A5; }
.lg-sel { background: #1E3A8A; }

/* Mock — slip */
.mk-slip-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--accent-tint);
  border: .5px solid var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 4px;
}
.mk-slip-check {
  width: 32px; height: 32px;
  background: var(--accent); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.mk-slip-t { font-weight: 600; font-size: 14px; }
.mk-slip-s { font-size: 12px; color: var(--ink-3); }
.mock-slip .mk-row {
  padding: 10px 0;
  border-bottom: .5px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.mock-slip .mk-row:last-child { border-bottom: 0; }
.mono { font-family: var(--font-mono); font-size: 12px; }

/* Mock — admin */
.mk-adm-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.mk-adm-tabs {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--bg);
  border-radius: 10px;
}
.mk-adm-tabs span {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.mk-adm-tabs span.on { background: var(--card); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.mk-adm-stats {
  display: flex; gap: 24px;
  font-size: 13px;
  color: var(--ink-3);
}
.mk-adm-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.mk-adm-grid { margin-top: 20px; }
.mk-adm-cols {
  display: grid;
  grid-template-columns: 100px repeat(8, 1fr);
  gap: 4px;
  padding: 8px 0;
  border-bottom: .5px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.mk-adm-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: .5px solid var(--line-2);
  align-items: center;
}
.mk-adm-staff { font-size: 13px; font-weight: 500; }
.mk-adm-track { position: relative; height: 28px; }
.mk-adm-blk {
  position: absolute; top: 0; bottom: 0;
  border-radius: 6px;
  margin-right: 4px;
  width: calc(100% - 4px) !important; /* visual hack: shrink */
}
.mk-adm-blk { width: auto; } /* unset hack above */
.mk-adm-blk.k-a { background: var(--accent); }
.mk-adm-blk.k-b { background: var(--ink); opacity: .82; }
.mk-adm-blk.k-c { background: var(--accent-soft); border: 1px solid var(--accent); }

/* ── Proof ─────────────────────────────────────────────────────────────── */

.proof { display: none; }
.proof-row {
  display: flex; gap: 0;
  align-items: stretch;
}
.proof-item {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 0 32px;
}
.proof-item:first-child { padding-left: 0; }
.proof-metric {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.proof-note { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 8px; }
.proof-biz { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.proof-sep {
  width: .5px;
  background: rgba(255,255,255,.18);
}

/* ── Process ───────────────────────────────────────────────────────────── */

.process { padding: var(--gap) 0; background: transparent; }
.proc-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proc-step { display: flex; flex-direction: column; gap: 24px; }
.proc-line {
  display: flex; align-items: center;
  height: 2px;
  position: relative;
}
.proc-dot {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  flex-shrink: 0;
}
.proc-conn {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #2563EB, rgba(37,99,235,.15));
  margin-left: 4px;
}
.proc-body {}
.proc-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.proc-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.proc-en { font-size: 12px; color: var(--accent); font-family: var(--font-mono); }
.proc-body p { color: var(--ink-2); margin: 14px 0 0; line-height: 1.55; font-size: 15px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { padding: var(--gap) 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-side .sec-h { margin-bottom: 32px; }
.faq-btn { margin-top: 16px; }
.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-item { border-bottom: .5px solid var(--line); }
.faq-item:first-child { border-top: .5px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent; border: 0;
  font: inherit;
  padding: 28px 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-plus {
  font-size: 24px; color: var(--accent);
  font-family: var(--font-display);
  font-weight: 300;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: .5px solid var(--line);
  transition: transform .2s, background .2s;
}
.faq-item.open .faq-plus {
  background: var(--accent);
  color: white;
}
.faq-a {
  padding: 0 0 28px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
}

/* ── Contact ───────────────────────────────────────────────────────────── */

.contact { padding: var(--gap) 0; }
.contact-card {
  background: linear-gradient(135deg, #1E55C8 0%, #2563EB 55%, #0EA5E9 100%);
  color: white;
  border-radius: 32px;
  padding: 80px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .35;
  pointer-events: none;
}
.contact-l { position: relative; }
.contact-l .sec-eyebrow { color: var(--accent); }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 20px;
}
.contact-title em { color: var(--accent); }
.contact-sub {
  color: rgba(255,255,255,.7);
  font-size: 17px;
  margin: 0 0 32px;
  max-width: 380px;
}
.contact-meta {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact-r { display: flex; flex-direction: column; gap: 12px; position: relative; }

.ct {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(255,255,255,.1);
  border-radius: 18px;
  transition: background .2s, transform .2s, border-color .2s;
}
.ct:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--accent);
  transform: translateX(4px);
}
.ct-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ct-icon svg { width: 26px; height: 26px; }
.ct-line     { background: #06C755; color: white; }
.ct-fastwork { background: var(--accent); color: white; }
.ct-facebook { background: #1877F2; color: white; }

.ct-label {
  font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  font-family: var(--font-mono);
}
.ct-handle {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2px 0 4px;
}
.ct-note { font-size: 13px; color: rgba(255,255,255,.5); }
.ct-arr {
  font-size: 22px;
  color: rgba(255,255,255,.4);
  transition: transform .2s, color .2s;
}
.ct:hover .ct-arr { color: var(--accent); transform: translateX(4px); }

/* ── Footer ────────────────────────────────────────────────────────────── */

.foot {
  padding: 32px 0;
  border-top: .5px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot a:hover { color: var(--accent); }

/* ── Demo Section ────────────────────────────────────────────────────────── */

.demo-section { padding: var(--gap) 0; }

.demo-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}

/* Phone shell */
.demo-phone-wrap { display: flex; justify-content: center; }
.demo-phone {
  width: 280px;
  background: #0F1B2D;
  border-radius: 44px;
  padding: 14px 10px;
  box-shadow:
    0 40px 80px -20px rgba(37,99,235,.30),
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 2px rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.demo-phone-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-phone-cam {
  width: 10px; height: 10px;
  background: #1a2a40;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12);
}
.demo-phone-screen {
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: stretch;
}
.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}
.demo-phone-chin {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-phone-chin::after {
  content: '';
  width: 72px; height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
}

/* Copy side */
.demo-layout-showcase {
  margin: 0 auto 56px;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  max-width: 680px;
}
.demo-copy-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.demo-copy-center .demo-bullets {
  text-align: left;
}

.demo-desc {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}
.demo-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.demo-bullets li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--ink-2);
}
.demo-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .demo-layout { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .demo-phone { width: 240px; }
}

/* ── Mobile/iPad responsive overrides ──────────────────────────────────── */

/* Showcase phones — remove filter on mobile for compatibility */
@media (max-width: 980px) {
  .show-phone-item img {
    filter: none;
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
  }
  .show-phone-item:hover img {
    filter: none;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(37,99,235,.18);
  }
  /* Demo section: stack on mobile */
  .demo-layout-showcase {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .demo-copy-center {
    align-items: flex-start;
    max-width: 100%;
  }
  /* Admin scene: simplify on mobile */
  .show-admin-scene {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .admin-scene-left, .admin-scene-center, .admin-scene-right {
    flex: none !important;
    width: 90% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .show-phones-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .show-phone-item img {
    filter: none;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(37,99,235,.10);
  }
  .demo-phone { width: 220px !important; }
  .demo-layout-showcase {
    max-width: 260px !important;
  }
}

/* Ensure reveal elements always visible if JS fails */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────
   TECH-SAVVY ANIMATIONS
   Scroll reveals · cursor glow · magnetic CTAs · animated grid ·
   typewriter title · counting meta · phone-flow loop · drawn process line.
   ────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {

  /* Scroll-reveal — applied via .reveal class, flipped to .in by JS observer */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity .8s cubic-bezier(.2,.7,.2,1),
      transform .8s cubic-bezier(.2,.7,.2,1),
      filter .8s ease;
    filter: blur(6px);
    will-change: transform, opacity, filter;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  .reveal[data-delay="1"].in { transition-delay: 80ms; }
  .reveal[data-delay="2"].in { transition-delay: 160ms; }
  .reveal[data-delay="3"].in { transition-delay: 240ms; }
  .reveal[data-delay="4"].in { transition-delay: 320ms; }
  .reveal[data-delay="5"].in { transition-delay: 400ms; }
  .reveal[data-delay="6"].in { transition-delay: 480ms; }

  /* Hero: layered grid + scan + aurora ──────────────────────────────── */
  .hero { position: relative; overflow: hidden; }

  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
    animation: gridDrift 28s linear infinite;
    pointer-events: none;
    z-index: 0;
  }
  @keyframes gridDrift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 48px 48px, 48px 48px; }
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 60%;
    background:
      radial-gradient(ellipse 50% 60% at 30% 40%, var(--accent-soft), transparent 60%),
      radial-gradient(ellipse 40% 50% at 70% 30%, rgba(6,182,212,.18), transparent 60%);
    filter: blur(20px);
    animation: aurora 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }
  @keyframes aurora {
    0%, 100% { transform: translate3d(0,0,0) scale(1);   opacity: .9; }
    33%      { transform: translate3d(3%,2%,0) scale(1.05); opacity: 1; }
    66%      { transform: translate3d(-2%,-1%,0) scale(.97); opacity: .85; }
  }

  .hero .container { position: relative; z-index: 1; }

  /* Eyebrow chip — typewriter caret ─────────────────────────────────── */
  .hero-eyebrow .dot {
    animation: pulse 2.4s ease-in-out infinite, hueShift 8s linear infinite;
  }
  @keyframes hueShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50%      { filter: hue-rotate(20deg); }
  }

  /* Hero title — char/word reveal (driven by JS that wraps spans) ───── */
  .hero-title .ch {
    display: inline-block;
    opacity: 0;
    transform: translateY(.6em) rotateX(-40deg);
    transform-origin: 50% 100%;
    animation: chIn .7s cubic-bezier(.2,.8,.2,1) forwards;
    animation-delay: calc(var(--i, 0) * 22ms + 180ms);
  }
  @keyframes chIn {
    to { opacity: 1; transform: none; }
  }
  .hero-title em {
    background: linear-gradient(120deg,
      var(--accent) 0%, var(--accent) 25%,
      #06B6D4 50%,
      var(--accent) 75%, var(--accent) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
  }
  @keyframes shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

  /* Sub + CTA enter after title */
  .hero-sub      { animation: rise .8s .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero-cta-row  { animation: rise .8s 1.05s cubic-bezier(.2,.8,.2,1) both; }
  .hero-meta     { animation: rise .8s 1.2s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
  }

  /* Magnetic CTA — soft glow halo on hover */
  .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .btn-primary::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: conic-gradient(from var(--ang, 0deg),
      transparent 0deg,
      var(--accent) 90deg,
      #06B6D4 180deg,
      var(--accent) 270deg,
      transparent 360deg);
    opacity: 0;
    transition: opacity .25s;
    z-index: -1;
    border-radius: inherit;
    animation: spin 4s linear infinite;
  }
  .btn-primary:hover::before { opacity: .85; }
  .btn-primary::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    background: var(--accent);
    border-radius: inherit;
    z-index: -1;
    transition: background .2s;
  }
  .btn-primary:hover::after { background: #6D28D9; }
  @property --ang {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
  }
  @keyframes spin {
    to { --ang: 360deg; }
  }

  /* Sweep highlight across primary button */
  .btn-primary {
    background-image: linear-gradient(120deg,
      transparent 0%, transparent 40%,
      rgba(255,255,255,.25) 50%,
      transparent 60%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition:
      transform .15s ease,
      box-shadow .15s,
      background-position .9s ease;
  }
  .btn-primary:hover {
    background-position: -100% 0;
  }

  /* Phone mock — floating + parallax-y shadow */
  .phone-front, .phone {
    animation: floatPhone 7s ease-in-out infinite;
  }
  @keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-10px) rotate(-1.4deg); }
  }
  .slip {
    animation: floatSlip 8s ease-in-out infinite;
  }
  @keyframes floatSlip {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50%      { transform: translateY(-7px) rotate(2deg); }
  }
  .notif {
    animation: notifPop 6s cubic-bezier(.4,.1,.2,1) infinite;
  }
  @keyframes notifPop {
    0%, 8%, 100% { transform: translateY(8px) scale(.95); opacity: 0; }
    14%          { transform: translateY(0) scale(1.02); opacity: 1; }
    22%, 70%     { transform: translateY(0) scale(1);    opacity: 1; }
    80%          { transform: translateY(-4px) scale(.98); opacity: 0; }
  }
  .notif-dot {
    animation: notifPing 1.6s ease-out infinite;
  }
  @keyframes notifPing {
    0%   { box-shadow: 0 0 0 0 var(--accent-soft); }
    100% { box-shadow: 0 0 0 12px transparent; }
  }

  /* Phone booking flow — cycle time-slot selection */
  .ph-time {
    transition: background .35s ease, color .35s ease, border-color .35s ease;
  }
  .ph-time.on {
    animation: slotCycle 6s ease-in-out infinite;
  }
  @keyframes slotCycle {
    0%, 18%, 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
    8%            { transform: scale(1.06); box-shadow: 0 6px 20px var(--accent-soft); }
  }
  .ph-btn {
    position: relative;
    overflow: hidden;
  }
  .ph-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
      transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: btnSheen 3.5s ease-in-out infinite;
  }
  @keyframes btnSheen {
    0%, 60% { transform: translateX(-100%); }
    80%     { transform: translateX(100%); }
    100%    { transform: translateX(100%); }
  }

  /* Slip — animated tick stroke */
  .slip-tick svg path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawTick 2.2s ease-out .6s forwards infinite;
  }
  @keyframes drawTick {
    0%       { stroke-dashoffset: 20; }
    40%, 90% { stroke-dashoffset: 0; }
    100%     { stroke-dashoffset: 0; }
  }

  /* Section reveal cascades — for industries & features */
  .ind-card, .feat-card {
    position: relative;
    overflow: hidden;
  }
  .ind-card::before, .feat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 50%),
      var(--accent-soft),
      transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
  }
  .ind-card:hover::before, .feat-card:hover::before { opacity: 1; }

  .ind-card:hover .ind-icon svg {
    animation: iconBounce .6s cubic-bezier(.34,1.6,.64,1);
  }
  @keyframes iconBounce {
    0%   { transform: scale(1) rotate(0); }
    40%  { transform: scale(1.15) rotate(-6deg); }
    100% { transform: scale(1) rotate(0); }
  }

  /* Process — drawn-in connector */
  .proc-conn {
    position: relative;
    overflow: hidden;
  }
  .proc-conn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    transform: translateY(-100%);
    animation: procFlow 3.2s ease-in-out infinite;
  }
  @keyframes procFlow {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }
  .proc-dot {
    animation: procPulse 2.4s ease-in-out infinite;
  }
  @keyframes procPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
    50%      { box-shadow: 0 0 0 8px transparent; }
  }

  /* Showcase phones — gentle hover lift + glow ring */
  .show-phone-wrap .pf {
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
  }
  .show-phone-wrap:hover .pf {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow:
      0 32px 60px -20px rgba(37,99,235,.35),
      0 0 0 6px var(--accent-soft);
  }

  /* FAQ — expand height with smooth transition */
  .faq-item {
    transition: background .25s ease, border-color .25s ease;
  }
  .faq-item .faq-a {
    animation: faqIn .35s cubic-bezier(.2,.7,.2,1);
  }
  @keyframes faqIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }

  /* Contact rows — slide-in shimmer */
  .ct {
    position: relative;
    overflow: hidden;
  }
  .ct::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      transparent, rgba(255,255,255,.06), transparent);
    transform: translateX(-100%);
    transition: transform .8s ease;
  }
  .ct:hover::before { transform: translateX(100%); }

  /* Brand mark — subtle blink */
  .brand-mark circle { animation: blink 3s ease-in-out infinite; }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
  }

  /* Counter — flip-up numeral */
  .meta-n, .proof-metric {
    background: linear-gradient(180deg, var(--ink), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Logo image in nav */
.brand-logo {
  background: none;
  border-radius: 0;
  padding: 0;
  width: auto; height: auto;
}
.brand-logo img {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
}

/* ── Showcase redesign ── phones row + admin row ────────────────── */
.show-sub-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.show-phones-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.show-phone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.show-phone-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 16px 32px rgba(37,99,235,.14));
  transition: filter .3s ease, transform .3s ease;
}
.show-phone-item:hover img {
  filter: drop-shadow(0 24px 48px rgba(37,99,235,.24));
  transform: translateY(-6px);
}
.show-phone-label-txt {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

/* Admin portal — overlapping scene composition */
.show-admin-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px 0 56px;
  gap: 0;
}
.admin-scene-center {
  position: relative;
  z-index: 2;
  flex: 0 0 62%;
  background: transparent;
}
.admin-scene-center img {
  width: 100%; height: auto; display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 28px 48px rgba(37,99,235,.28)) drop-shadow(0 4px 12px rgba(0,0,0,.14));
}
.admin-scene-left {
  position: relative;
  z-index: 3;
  flex: 0 0 34%;
  margin-right: -72px;
  margin-top: -32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(37,99,235,.20),
    0 4px 12px rgba(0,0,0,.10);
  transform: rotate(-3deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.admin-scene-left:hover {
  transform: rotate(-1deg) translateY(-6px);
  box-shadow: 0 32px 64px rgba(37,99,235,.28);
}
.admin-scene-left img {
  width: 100%; height: auto; display: block;
  image-rendering: -webkit-optimize-contrast;
}
.admin-scene-right {
  position: relative;
  z-index: 3;
  flex: 0 0 28%;
  margin-left: -60px;
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(37,99,235,.20),
    0 4px 12px rgba(0,0,0,.10);
  transform: rotate(3deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.admin-scene-right:hover {
  transform: rotate(1deg) translateY(-6px);
  box-shadow: 0 32px 64px rgba(37,99,235,.28);
}
.admin-scene-right img {
  width: 100%; height: auto; display: block;
  image-rendering: -webkit-optimize-contrast;
}
.admin-scene-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root { --gap: 80px; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { grid-column: 1; grid-row: auto; margin-top: 56px; height: 540px; max-width: 100%; }
  .hero-meta { gap: 28px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .show-phones-row { grid-template-columns: 1fr 1fr; }
  .show-admin-scene { flex-direction: column; gap: 24px; }
  .admin-scene-left, .admin-scene-right {
    margin: 0; transform: none; flex: 0 0 auto; width: 90%;
  }
  .admin-scene-center { flex: 0 0 auto; width: 100%; }
  .show-large, .show-wide, .show-card:not(.show-large):not(.show-wide) { grid-column: 1; min-height: 0; }
  .proc-rail { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .proof-row { flex-direction: column; gap: 24px; }
  .proof-sep { display: none; }
  .proof-item { padding: 0; }
}
@media (max-width: 600px) {
  .show-phones-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .show-phone-item img { border-radius: 6px; }
  .container { padding: 0 20px; }
  .hero-cta-row .btn { flex: 1; justify-content: center; }
  .ind-grid { grid-template-columns: 1fr; }
  .proc-rail { grid-template-columns: 1fr; }
  .feat-card { padding: 32px 24px; grid-template-columns: 1fr; }
  .feat-card p { grid-column: 1; }
  .contact-card { padding: 36px 24px; }
}
