*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --brand:        #2E5E8C;
  --brand-hover:  #254D73;
  --brand-soft:   #EAF2F8;
  --brand-mist:   #DCEAF6;
  --brand-accent: #A9C7E6;
  --action-ring:  rgba(46,94,140,0.22);

  --bg:           #F7F8FA;
  --bg-elevated:  #FCFCFD;
  --surface:      #FFFFFF;
  --surface-soft: #F5F7FA;

  --text-primary:   #111827;
  --text-secondary: #667085;
  --text-muted:     #98A2B3;

  --success-bg:   #EAF7EF;
  --success-text: #1F7A45;
  --warning-bg:   #FFF4E5;
  --warning-text: #B96A00;

  --border:       rgba(0,0,0,0.06);
  --border-input: #D0D5DD;

  --e1: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  --e2: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  --e3: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);

  --r-control: 12px;
  --r-card:    16px;
  --r-dialog:  20px;
  --r-pill:    999px;
  --release-banner-h: 44px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.6;
  padding-top: var(--release-banner-h);
}

/* RELEASE COUNTDOWN */
.release-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--release-banner-h);
  z-index: 210;
  border-bottom: 1px solid rgba(169, 199, 230, 0.42);
  background: #eaf2f8;
  box-shadow: 0 4px 18px rgba(46, 94, 140, 0.08);
}

.release-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.release-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}

.release-countdown {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(46, 94, 140, 0.24);
  background: rgba(255, 255, 255, 0.88);
  color: #1f4568;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* NAV */
nav {
  background: rgba(255,255,255,0.98);
  /* backdrop-filter removed — causes iOS Safari viewport blur when keyboard opens */
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--release-banner-h); z-index: 100;
  height: 60px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text-primary);
  text-decoration: none;
}

.logo-mark { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 28px; height: 28px; display: block; }
.logo-mark img { width: 28px; height: 28px; display: block; object-fit: contain; }

.nav-pill {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 12px; border-radius: var(--r-pill);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 100ms ease, box-shadow 150ms ease;
  box-shadow: var(--e1);
  white-space: nowrap;
}
.nav-cta:hover { border-color: var(--brand-accent); background: var(--brand-soft); color: var(--brand); }
.nav-cta:active { }
.nav-cta i, .nav-cta svg { width: 16px; height: 16px; }

/* HERO */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid; grid-template-columns: 1fr 388px;
  gap: 72px; align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}

.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 420px;
}

.benefits {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 40px;
}

.benefit {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 400;
  color: var(--text-secondary);
}

.check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success-bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--success-text);
}

.check svg, .check i { width: 10px; height: 10px; }

.stats-row {
  display: flex; gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  box-shadow: var(--e1);
}

.stat-ic svg, .stat-ic i { width: 16px; height: 16px; }

.stat-num {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.025em; display: block;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin-top: 2px; display: block;
}

/* FORM CARD */
.form-card {
  background: var(--surface); border-radius: var(--r-dialog);
  box-shadow: var(--e3); padding: 32px;
  position: sticky; top: calc(var(--release-banner-h) + 76px);
}

.form-title {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 4px;
}

.form-sub {
  font-size: 12px; color: var(--text-secondary);
  margin-bottom: 24px; line-height: 1.5;
}

.field { margin-bottom: 12px; }

.field-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}

.field input, .field select {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--border-input);
  border-radius: var(--r-control);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 400;
  color: var(--text-primary); background: var(--surface);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
}

.field input::placeholder { color: var(--text-muted); }

.field input:focus, .field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--action-ring);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}

.chip-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-top: 6px;
}

.chip {
  height: 36px; border: 1px solid var(--border-input);
  border-radius: var(--r-pill); background: var(--surface);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  display: flex; align-items: center; justify-content: center;
  user-select: none;
}

.chip:hover {
  border-color: var(--brand-accent);
  color: var(--brand); background: var(--brand-soft);
}

.chip.on {
  border-color: var(--brand-accent);
  color: var(--brand); background: var(--brand-soft); font-weight: 600;
}

.cta-btn {
  width: 100%; height: 52px; background: var(--brand); color: white;
  border: none; border-radius: var(--r-control);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 20px; letter-spacing: -0.01em;
  transition: background 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  box-shadow: 0 2px 12px rgba(46,94,140,0.25);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.cta-btn:hover { background: var(--brand-hover); box-shadow: 0 4px 20px rgba(46,94,140,0.3); }
.cta-btn:active { }

.btn-ic { width: 14px; height: 14px; }

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 12px;
}

.trust-item {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em;
}

.trust-sep {
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--border-input);
}

/* DASHBOARD PREVIEW */
.section-wrap {
  max-width: 1120px; margin: 0 auto;
  padding: 0 24px 80px;
}

.s-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 8px;
}

.s-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 6px;
}

.s-sub {
  font-size: 14px; color: var(--text-secondary);
  font-weight: 400; margin-bottom: 32px;
}

.dash-shell {
  background: var(--surface); border-radius: var(--r-dialog);
  box-shadow: var(--e3); overflow: hidden; border: 1px solid var(--border);
}

.shell-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.td { width: 10px; height: 10px; border-radius: 50%; }

.shell-body {
  display: grid; grid-template-columns: 192px 1fr;
  min-height: 380px;
}

.sb {
  border-right: 1px solid var(--border);
  padding: 16px 10px; background: var(--surface-soft);
}

.sb-user {
  padding: 4px 6px 14px; border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.sb-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }

.sb-role {
  display: inline-flex;
  font-size: 10px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 2px 8px;
  border-radius: var(--r-pill); margin-top: 4px;
  letter-spacing: 0.03em;
}

.nav-row {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px; height: 36px; border-radius: var(--r-control);
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 1px; cursor: default;
  transition: background 150ms ease, color 150ms ease;
}

.nav-row.act { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.nav-ic { width: 16px; height: 16px; opacity: 0.6; flex-shrink: 0; }
.nav-row.act .nav-ic { opacity: 1; }

.main { padding: 24px; }

.main-title {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 3px;
}

.main-sub { font-size: 12px; color: var(--text-secondary); margin-bottom: 20px; }

.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 16px;
}

.kpi {
  background: var(--bg-elevated); border-radius: var(--r-card);
  padding: 14px; box-shadow: var(--e2);
}

.kpi-lbl {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px;
}

.kpi-val {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em; color: var(--text-primary);
}

.kpi-val.b { color: var(--brand); }
.kpi-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.kpi-up { color: var(--success-text); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.mod {
  background: var(--bg-elevated); border-radius: var(--r-card);
  padding: 16px; box-shadow: var(--e1);
}

.mod-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.mod-sub { font-size: 11px; color: var(--text-muted); margin-bottom: 14px; }

.chart-wrap { display: flex; flex-direction: column; gap: 10px; }
.chart {
  width: 100%;
  height: 120px;
  display: block;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(46,94,140,0.06), rgba(46,94,140,0));
}
.chart-x {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
}
.chart-x span {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: no-preference) {
  .mod.reveal .col-bar {
    transform-origin: bottom;
    transform-box: fill-box;
    transform: scaleY(0.2);
    opacity: 0.65;
    transition: transform 700ms cubic-bezier(0.16,1,0.3,1), opacity 450ms ease;
  }
  .mod.reveal.in .col-bar { transform: scaleY(1); opacity: 1; }
  .mod.reveal.in .col-bar:nth-child(1) { transition-delay: 30ms; }
  .mod.reveal.in .col-bar:nth-child(2) { transition-delay: 70ms; }
  .mod.reveal.in .col-bar:nth-child(3) { transition-delay: 110ms; }
  .mod.reveal.in .col-bar:nth-child(4) { transition-delay: 150ms; }
  .mod.reveal.in .col-bar:nth-child(5) { transition-delay: 190ms; }
  .mod.reveal.in .col-bar:nth-child(6) { transition-delay: 230ms; }
  .mod.reveal.in .col-bar:nth-child(7) { transition-delay: 270ms; }
}

.metrics { display: flex; flex-direction: column; }

.met {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}

.met:last-child { border-bottom: none; }
.met-name { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.met-val { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }

.trend-chip {
  font-size: 11px; font-weight: 600;
  color: var(--success-text); background: var(--success-bg);
  padding: 2px 8px; border-radius: var(--r-pill);
}

/* FEATURES */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat {
  background: var(--surface); border-radius: var(--r-card);
  padding: 24px; box-shadow: var(--e1);
  transition: box-shadow 200ms ease, transform 200ms ease;
  cursor: default;
}

.feat:hover { box-shadow: var(--e2); }

.feat-icon {
  width: 36px; height: 36px; background: var(--brand-soft);
  border-radius: var(--r-control);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 14px;
}
.feat-icon svg, .feat-icon i { width: 18px; height: 18px; }

.feat-title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.feat-desc { font-size: 13px; line-height: 1.65; color: var(--text-secondary); font-weight: 400; }

/* PROOF BAR */
.proof-bar { background: var(--text-primary); padding: 32px 24px; }

.proof-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.proof-item:last-child { border-right: none; }
.proof-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  margin: 0 auto 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}
.proof-ic svg, .proof-ic i { width: 18px; height: 18px; }
.proof-num { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; color: #fff; display: block; margin-bottom: 4px; }
.proof-lbl { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.05em; }

/* FOOTER */
.footer-wrap { max-width: 1120px; margin: 0 auto; }

footer {
  border-top: 1px solid var(--border); padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.foot-copy { font-size: 12px; color: var(--text-muted); }
.foot-link { font-size: 12px; color: var(--brand); font-weight: 600; text-decoration: none; }
.foot-link:hover { text-decoration: underline; }

/* SUCCESS / URGENCY */
.urgency-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--warning-text);
  background: var(--warning-bg); padding: 5px 12px;
  border-radius: var(--r-pill); margin-bottom: 14px;
}

.warning-text { color: #B96A00; }
.warning-bg { background: #FFF4E5; }

.success { display: none; text-align: center; padding: 24px 0; }
.suc-icon {
  width: 48px; height: 48px; background: var(--success-bg);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
  color: var(--success-text);
}
.suc-icon svg, .suc-icon i { width: 18px; height: 18px; }
.suc-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.suc-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* CONFIRM MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 300;
}
.modal.on { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.5);
}
.modal-card {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-dialog);
  box-shadow: var(--e3);
  padding: 20px 18px;
}
.modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.modal-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--e1);
  overflow: hidden;
}
.modal-mark svg { width: 34px; height: 34px; display: block; }
.modal-mark img { width: 34px; height: 34px; display: block; object-fit: contain; }
.modal-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.modal-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-top: 2px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.modal-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--r-control);
  border: 1px solid var(--border-input);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.modal-btn.primary {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.modal-btn.primary:hover { background: var(--brand-hover); }

@media (prefers-reduced-motion: no-preference) {
  /* Avoid transform-based animations — can cause iOS/Safari text blur */
  .modal-card { animation: popIn 220ms ease-out both; }
  @keyframes popIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* MOTION */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transition:
      opacity 420ms cubic-bezier(0.16,1,0.3,1) var(--d, 0ms);
  }

  .reveal.in {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* SHOWCASE (2-col feature rows) */
.showcase-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 80px; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.showcase-text { display: flex; flex-direction: column; gap: 20px; }

.showcase-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--brand);
}

.showcase-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.22; color: var(--text-primary); margin: 0;
}

.showcase-sub { font-size: 14px; line-height: 1.75; color: var(--text-secondary); margin: 0; }

.showcase-checks { display: flex; flex-direction: column; gap: 10px; }

.sc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); }

.sc-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--success-text); margin-top: 1px;
}
.sc-dot i, .sc-dot svg { width: 10px; height: 10px; }

.stats-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.stat-pill {
  background: var(--surface); border-radius: var(--r-card); padding: 16px; box-shadow: var(--e1);
}

.stat-pill-num { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--brand); display: block; margin-bottom: 4px; }
.stat-pill-lbl { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }

.ph-shell {
  width: min(280px, 100%);
  background: var(--surface);
  border-radius: var(--r-dialog);
  box-shadow: var(--e3);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ph-inner { background: var(--bg); overflow: hidden; }

.ph-topbar {
  background: var(--surface); padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.ph-salon-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }

.ph-open-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--success-text);
  background: var(--success-bg); padding: 3px 8px; border-radius: var(--r-pill);
}

.ph-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }

.ph-cover {
  height: 90px; border-radius: 0; overflow: hidden;
}
.ph-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ph-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.ph-stars { color: #F59E0B; }

.ph-services { display: flex; flex-wrap: wrap; gap: 5px; }

.ph-svc {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
  background: var(--surface-soft); padding: 3px 9px; border-radius: var(--r-pill);
}

.ph-next-slot {
  background: var(--brand-soft); border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--brand-accent);
}

.ph-slot-lbl {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brand); display: block; margin-bottom: 2px;
}

.ph-slot-time { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }

.ph-btn {
  height: 28px; padding: 0 12px; background: var(--brand);
  color: white; border-radius: 8px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; cursor: default;
}

/* SMS notifications */
.sms-notif {
  background: var(--surface); border-radius: 12px; padding: 10px 12px;
  box-shadow: var(--e1); display: flex; gap: 8px;
}

.sms-ic {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.sms-ic i, .sms-ic svg { width: 16px; height: 16px; }

.sms-sender { font-size: 10px; font-weight: 700; margin-bottom: 1px; color: var(--text-primary); }
.sms-text { font-size: 10px; color: var(--text-secondary); line-height: 1.45; }
.sms-time { font-size: 9px; color: var(--text-muted); margin-top: 2px; }

/* STEPS / 3-COL BOOKING FLOW */
.steps-belt { background: var(--surface-soft); margin: 0 0 80px; }
.steps-inner { max-width: 1120px; margin: 0 auto; padding: 56px 24px 0; }

/* Client illustrations (copied from clients landing) */
.steps-belt .screens-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.steps-belt .screen-col { display: flex; flex-direction: column; gap: 10px; }

.steps-belt .phone {
  background: var(--surface);
  border-radius: var(--r-dialog);
  box-shadow: var(--e3);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* step labels (same as clients) */
.steps-belt .step-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.steps-belt .step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: white;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps-belt .step-text { white-space: nowrap; }
.steps-belt .step-hint {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.steps-belt .step-hint i, .steps-belt .step-hint svg { width: 14px; height: 14px; }

/* step copy under screens (match clients) */
.steps-belt .step-copy { padding-top: 2px; }
.steps-belt .step-desc { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }

/* Phone internals (same as clients) */
.steps-belt .ph-header {
  background: var(--surface-soft); padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.steps-belt .ph-city {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px;
}
.steps-belt .ph-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.steps-belt .ic-12 { width: 12px; height: 12px; color: var(--text-muted); }
.steps-belt .ic-13 { width: 13px; height: 13px; }
.steps-belt .search-bar {
  margin: 10px 14px;
  height: 38px; background: var(--surface-soft);
  border-radius: var(--r-control); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  font-size: 12px; color: var(--text-muted);
}
.steps-belt .cat-row { display: flex; gap: 6px; padding: 0 14px 10px; overflow: hidden; }
.steps-belt .cat-pill {
  flex-shrink: 0; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  display: flex; align-items: center;
}
.steps-belt .cat-pill.on { background: var(--brand); color: white; }
.steps-belt .cat-pill.off { background: var(--surface-soft); color: var(--text-secondary); box-shadow: var(--e1); }
.steps-belt .quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 10px; }
.steps-belt .quick-card {
  background: var(--bg); border-radius: var(--r-card);
  padding: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.steps-belt .quick-icon {
  width: 26px; height: 26px; background: var(--brand-soft);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  color: var(--brand);
}
.steps-belt .quick-icon svg, .steps-belt .quick-icon i { width: 14px; height: 14px; }
.steps-belt .quick-title { font-size: 11px; font-weight: 600; letter-spacing: -0.01em; }
.steps-belt .quick-sub { font-size: 10px; color: var(--text-muted); }
.steps-belt .sec-head {
  padding: 2px 14px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.steps-belt .sec-head-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.steps-belt .sec-head-link { font-size: 12px; font-weight: 600; color: var(--brand); }
.steps-belt .salon-list { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.steps-belt .salon-row { display: flex; gap: 10px; }
.steps-belt .salon-img {
  width: 56px; height: 56px; border-radius: var(--r-control);
  background: var(--brand-mist); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.steps-belt .salon-img svg, .steps-belt .salon-img i { width: 22px; height: 22px; }
.steps-belt .salon-info { flex: 1; min-width: 0; }
.steps-belt .salon-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.steps-belt .salon-addr { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.steps-belt .salon-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.steps-belt .salon-chip {
  font-size: 10px; font-weight: 500; color: var(--text-secondary);
  background: var(--surface-soft); padding: 2px 8px; border-radius: var(--r-pill);
}
.steps-belt .salon-actions { display: flex; gap: 6px; margin-top: 8px; }
.steps-belt .btn-res {
  flex: 1; height: 30px; background: var(--brand); color: white;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps-belt .btn-save {
  width: 30px; height: 30px; background: var(--surface-soft);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.steps-belt .btn-save i, .steps-belt .btn-save svg { width: 14px; height: 14px; }

/* Screen 2 – Booking */
.steps-belt .slot-header { padding: 14px; border-bottom: 1px solid var(--border); }
.steps-belt .slot-service { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.steps-belt .slot-salon { font-size: 11px; color: var(--text-secondary); }
.steps-belt .rec-slot {
  margin: 12px 14px;
  background: var(--brand-soft); border-radius: var(--r-card); padding: 14px;
  border: 1px solid var(--brand-accent);
}

.steps-belt .rec-tag {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brand); margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.steps-belt .rec-tag svg, .steps-belt .rec-tag i { width: 12px; height: 12px; }

.steps-belt .rec-time { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.steps-belt .rec-date { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

.steps-belt .other-lbl {
  padding: 4px 14px 8px;
  font-size: 10px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}

.steps-belt .slot-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 0 14px;
}
.steps-belt .slot-btn {
  height: 40px; border-radius: var(--r-control);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.steps-belt .slot-btn.av { background: var(--surface-soft); color: var(--text-primary); box-shadow: var(--e1); }
.steps-belt .slot-btn.dis { background: transparent; color: var(--text-muted); }
.steps-belt .confirm-bar {
  margin: 14px; background: var(--brand); border-radius: var(--r-control);
  height: 48px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 600;
}

/* Screen 3 – Confirmed */
.steps-belt .confirm-wrap { padding: 16px 14px; }

.steps-belt .confirm-success {
  background: var(--success-bg); border-radius: var(--r-card);
  padding: 16px; text-align: center; margin-bottom: 14px;
  color: var(--success-text);
}

.steps-belt .c-icon { display:flex; justify-content:center; margin-bottom: 8px; color: var(--success-text); }
.steps-belt .c-icon svg, .steps-belt .c-icon i { width: 22px; height: 22px; }
.steps-belt .c-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--text-primary); }
.steps-belt .c-sub { font-size: 11px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; }

.steps-belt .c-detail {
  background: var(--surface); border-radius: var(--r-control);
  padding: 10px; text-align: left;
  color: var(--text-primary);
}

.steps-belt .c-row {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid var(--border);
}

.steps-belt .c-row:last-child { border-bottom: none; }
.steps-belt .c-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.steps-belt .c-value { font-size: 11px; font-weight: 600; }

.steps-belt .promo-card {
  background: var(--brand-soft); border-radius: var(--r-card); padding: 12px;
}

.steps-belt .promo-tag {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brand); margin-bottom: 4px;
}

.steps-belt .promo-title { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.steps-belt .promo-salon { font-size: 11px; color: var(--text-secondary); margin-bottom: 8px; }

.steps-belt .promo-btn {
  height: 30px; background: var(--brand); color: white;
  border-radius: 8px; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.ms-slot-header { padding: 8px 10px; background: var(--surface); border-bottom: 1px solid var(--border); }
.ms-slot-service { font-size: 11px; font-weight: 700; letter-spacing: -0.01em; }
.ms-slot-salon { font-size: 9px; color: var(--text-secondary); }

.ms-rec {
  margin: 7px 8px; background: var(--brand-soft); border-radius: 8px;
  padding: 8px; border: 1px solid var(--brand-accent);
}
.ms-rec-tag { font-size: 9px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.ms-rec-time { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.ms-rec-date { font-size: 9px; color: var(--text-secondary); }

.ms-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 8px 6px; }

.ms-slot-btn { height: 26px; border-radius: 7px; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ms-slot-btn.av { background: var(--surface); box-shadow: var(--e1); }
.ms-slot-btn.dis { color: var(--text-muted); }

.ms-confirm-bar {
  margin: 0 8px 8px; background: var(--brand); border-radius: 7px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px; font-weight: 700;
}

.ms-confirm-wrap { padding: 8px; }

.ms-success { background: var(--success-bg); border-radius: 10px; padding: 10px; text-align: center; margin-bottom: 6px; }
.ms-check { display: flex; justify-content: center; margin-bottom: 4px; color: var(--success-text); }
.ms-check i, .ms-check svg { width: 18px; height: 18px; }
.ms-suc-title { font-size: 11px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; color: var(--text-primary); }
.ms-suc-sub { font-size: 9px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 8px; }

.ms-detail { background: var(--surface); border-radius: 7px; padding: 7px; text-align: left; }
.ms-d-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid var(--border); }
.ms-d-row:last-child { border-bottom: none; }
.ms-d-lbl { font-size: 8px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.ms-d-val { font-size: 9px; font-weight: 700; }

/* CALENDAR ILLUSTRATION */
.cal-preview {
  background: var(--surface); border-radius: var(--r-dialog);
  box-shadow: var(--e3); overflow: hidden; border: 1px solid var(--border);
  margin-top: 32px;
}

.cal-header {
  background: var(--surface-soft); padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.cal-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.cal-nav { font-size: 12px; font-weight: 600; color: var(--brand); cursor: default; }

.cal-scroll { overflow-x: auto; }

.cal-grid {
  display: grid;
  grid-template-columns: 44px repeat(5, 1fr);
  min-width: 520px;
}

.cal-corner { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-soft); }

.cal-day-head {
  padding: 8px 4px; text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.cal-day-name { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

.cal-day-num { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }

.cal-day-head.today .cal-day-num {
  background: var(--brand); color: white;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 2px auto 0; font-size: 13px;
}

.cal-time-cell {
  height: 38px; border-right: 1px solid var(--border); border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: flex-start; padding: 3px 4px 0;
  font-size: 9px; font-weight: 600; color: var(--text-muted);
}

.cal-col { border-right: 1px solid var(--border); position: relative; }
.cal-col:last-child { border-right: none; }

.cal-bg-cell { height: 38px; border-bottom: 1px solid rgba(0,0,0,0.04); }

.cal-col.today-col { background: rgba(46,94,140,0.02); }

.cal-event {
  position: absolute; left: 3px; right: 3px;
  border-radius: 6px; padding: 3px 5px;
  font-size: 9px; font-weight: 700; overflow: hidden; line-height: 1.35;
}
.cal-event.blu { background: var(--brand-soft); color: var(--brand); border-left: 3px solid var(--brand); }
.cal-event.grn { background: var(--success-bg); color: var(--success-text); border-left: 3px solid var(--success-text); }
.cal-event.org { background: var(--warning-bg); color: var(--warning-text); border-left: 3px solid var(--warning-text); }
.cal-event.mst { background: #DCEAF6; color: #254D73; border-left: 3px solid #A9C7E6; }

/* CLIENT MANAGEMENT */
.mgmt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }

.mgmt-card {
  background: var(--surface); border-radius: var(--r-card);
  padding: 20px; box-shadow: var(--e1);
  display: flex; flex-direction: column; gap: 12px;
}

.mgmt-icon {
  width: 40px; height: 40px; border-radius: var(--r-control);
  display: flex; align-items: center; justify-content: center;
}
.mgmt-icon i, .mgmt-icon svg { width: 20px; height: 20px; }

.mgmt-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.mgmt-desc { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

.mgmt-tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-pill); align-self: flex-start;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  :root { --release-banner-h: 56px; }
  .release-banner-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .release-label { font-size: 11px; letter-spacing: 0.03em; }
  .release-countdown { font-size: 12px; padding: 0 12px; min-height: 32px; }
  .hero { grid-template-columns: 1fr; padding: 48px 16px 40px; gap: 32px; }
  .form-card { position: static; }
  .hero-sub { max-width: 100%; }
  .stats-row { gap: 16px; flex-wrap: wrap; }
  .shell-body { grid-template-columns: 1fr; }
  .sb { display: none; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .proof-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .proof-item { border-right: none; }
  .section-wrap { padding-left: 16px; padding-right: 16px; }
  footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .showcase { grid-template-columns: 1fr; gap: 32px; direction: ltr !important; }
  .showcase-wrap { padding-left: 16px; padding-right: 16px; }
  .mgmt-grid { grid-template-columns: 1fr 1fr; }
  .stats-pair { grid-template-columns: 1fr 1fr; }

  /* Steps carousel for all smaller screens (phones + tablets) */
  .steps-belt .screens-wrap {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 22px;
    scroll-padding-right: 22px;
    gap: 14px;
    padding: 22px 22px 34px;
    overscroll-behavior-x: contain;
  }
  .steps-belt .screens-wrap::-webkit-scrollbar { display: none; }
  .steps-belt .screen-col {
    align-items: center;
    scroll-snap-align: start;
    /* Container-based width, so mobile previews do not overflow when the page is embedded or emulated. */
    flex: 0 0 min(94%, 420px);
    min-width: 0;
  }
  .steps-belt .phone { width: 100%; }
  .steps-belt .step-label { width: min(420px, 100%); justify-content: flex-start; font-size: 14px; }
  .steps-belt .step-num { width: 24px; height: 24px; font-size: 12px; }
  .steps-belt .step-hint { display: inline-flex; }
  .steps-belt .step-copy { width: min(420px, 100%); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hintNudge {
    0%, 70%, 100% { transform: translateX(0); opacity: 0.75; }
    85% { transform: translateX(6px); opacity: 1; }
  }
  @media (max-width: 860px) {
    .steps-belt .step-hint { animation: hintNudge 1.25s ease-in-out infinite; }
  }
}

@media (max-width: 520px) {
  :root { --release-banner-h: 50px; }
  .release-label { display: none; }
  .release-banner-inner { justify-content: center; }
  .nav-inner { padding: 0 16px; }
  .nav-pill { display: none; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(28px, 8vw, 36px); }
  .stats-row { padding-top: 24px; }
  .form-card { padding: 20px; }
  .benefits { gap: 10px; }
  .feat-grid { grid-template-columns: 1fr; }
  .mgmt-grid { grid-template-columns: 1fr; }
  .steps-belt .steps-inner { padding: 40px 16px 0; }
  .showcase { grid-template-columns: 1fr; gap: 28px; direction: ltr !important; }
  .stats-pair { grid-template-columns: 1fr 1fr; }
}
