/* ==========================================================================
   Kılıç Berber — Randevu Sistemi
   Referans ekran görüntüsüyle eşleşen temiz / SaaS tarzı tasarım.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --blue: #1291e6;
  --blue-dark: #0d6fb8;
  --grad-start: #7b5cff;
  --grad-end: #2f8bff;
  --navy: #16233f;
  --text: #23324a;
  --muted: #8a93a3;
  --border: #e6e9ef;
  --page-bg: #f5f7fa;
  --white: #ffffff;
  --danger-bg: #fdecec;
  --danger-text: #c0392b;
  --success-bg: #e8f6ec;
  --success-text: #1f8a4c;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  animation: brandTextPulse 4.8s ease-in-out infinite;
}
.brand .mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(18,145,230,0);
  animation: brandMarkGlow 4.8s ease-in-out infinite;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.72) 50%, transparent 65%);
  transform: translateX(-130%) rotate(12deg);
  animation: brandShine 4.8s ease-in-out infinite;
  pointer-events: none;
}
.brand .mark svg { width: 18px; height: 18px; }
.brand .mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
@keyframes brandShine {
  0%, 58%, 100% { transform: translateX(-130%) rotate(12deg); }
  70% { transform: translateX(130%) rotate(12deg); }
}
@keyframes brandMarkGlow {
  0%, 58%, 100% { box-shadow: 0 0 0 rgba(18,145,230,0); }
  68% { box-shadow: 0 0 22px rgba(18,145,230,.32); }
}
@keyframes brandTextPulse {
  0%, 58%, 100% { color: var(--navy); }
  68% { color: var(--blue-dark); }
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.pill-btn .info-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 247, 250, .74);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.page-loading-overlay.show {
  opacity: 1;
}
.page-loading-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 22px 26px 20px;
  border: 1px solid rgba(230, 233, 239, .92);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(22, 35, 63, .15);
  transform: translateY(8px) scale(.98);
  transition: transform .18s ease;
}
.page-loading-overlay.show .page-loading-card {
  transform: translateY(0) scale(1);
}
.page-loading-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(18, 145, 230, .14);
  border-top-color: var(--blue);
  animation: loadingSpin .8s linear infinite;
}
.page-loading-card #page-loading-text {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}
.page-loading-bar {
  position: relative;
  width: 150px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5;
}
.page-loading-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #7b5cff);
  animation: loadingBar 1s ease-in-out infinite;
}
@keyframes loadingSpin {
  to { transform: rotate(360deg); }
}
@keyframes loadingBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(240%); }
}

/* ---------- Stepper ---------- */
.stepper-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stepper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px 18px;
  display: flex;
  align-items: flex-start;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 90px;
}
.step .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef0f4;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s, color .15s;
  z-index: 1;
}
.step .label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.step.active .circle { background: var(--blue); color: #fff; }
.step.active .label { color: var(--navy); font-weight: 600; }
.step.done .circle { background: var(--blue); color: #fff; }
.step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-top: 15px;
  min-width: 40px;
}
.step-line.done { background: var(--blue); }

/* ---------- Section ---------- */
.step-panel { display: none; }
.step-panel.active { display: block; }

.content-area {
  padding: 40px 0 80px;
}
.content-area h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

/* ---------- List cards (services / staff) ---------- */
.list-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.list-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  cursor: pointer;
  transition: border-color .12s, box-shadow .12s;
  position: relative;
}
.list-card:hover { border-color: #c9d3e0; }
.list-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.list-card input { position: absolute; opacity: 0; pointer-events: none; }
.list-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.list-card .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}
.list-card .meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.service-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.list-card .subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.list-card .check {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d5dae2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-card.selected .check {
  background: var(--blue);
  border-color: var(--blue);
}
.list-card.selected .check::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Staff cards: avatar + name in a row */
.list-card-staff {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
}
.list-card-staff .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-card-staff .avatar img { width: 100%; height: 100%; object-fit: cover; }
.list-card-staff h3 { margin: 0; }

/* ---------- Date & time step ---------- */

/* Tarih seçici (kaydırılabilir gün şeridi) */
.date-picker { margin-bottom: 28px; }

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.date-picker-month {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: capitalize;
}
.date-picker-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-calendar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}
.btn-calendar svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-calendar:hover { border-color: var(--blue); color: var(--blue); }
/* Native date input, görünmez ama tıklanabilir; takvim açılışını sağlıyor */
.btn-calendar input[type=date] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.date-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: border-color .12s, color .12s;
  flex-shrink: 0;
}
.date-nav-btn svg { width: 16px; height: 16px; }
.date-nav-btn:hover { border-color: var(--blue); color: var(--blue); }
.date-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.date-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }

.day-card {
  scroll-snap-align: start;
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .12s, background .12s, color .12s;
}
.day-card:hover:not(.day-card-disabled) { border-color: var(--blue); }
.day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  text-transform: uppercase;
}
.day-card.weekend .day-name { color: #e0663f; }
.day-num { font-size: 17px; font-weight: 700; color: var(--navy); }
.day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success-text);
}
.day-card.day-card-disabled {
  cursor: not-allowed;
  opacity: .55;
}
.day-card.day-card-disabled .day-name { color: var(--muted); }
.day-card.day-card-disabled .day-dot { background: transparent; }

.day-card.selected {
  background: var(--blue);
  border-color: var(--blue);
}
.day-card.selected .day-name,
.day-card.selected .day-num { color: #fff; }
.day-card.selected .day-dot { background: #fff; }

.slots-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 44px 20px;
  background: var(--page-bg);
  border-radius: 12px;
  color: var(--muted);
}
.slots-placeholder svg { width: 34px; height: 34px; opacity: .8; }
.slots-placeholder p { margin: 0; font-size: 13.5px; font-weight: 500; }

.field { margin-bottom: 22px; max-width: 320px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input[type=text],
.field input[type=tel],
.field input[type=date],
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,145,230,0.12);
}
.field textarea { resize: vertical; min-height: 70px; max-width: 100%; }

.slots-label {
  display: none;
}
.slots-grid {
  display: block;
  max-width: none;
}
.slots-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.legend-items { display: flex; align-items: center; gap: 18px; }
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-available { background: var(--success-text); }
.dot-taken { background: #d64545; }

.btn-toggle-taken {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}
.btn-toggle-taken svg { width: 14px; height: 14px; }
.btn-toggle-taken:hover { border-color: var(--blue); color: var(--blue); }

.slots-section { margin-bottom: 22px; }
.slots-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.slots-section-title svg { width: 15px; height: 15px; color: var(--muted); }

.slots-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 560px) {
  .slots-row-grid { grid-template-columns: repeat(3, 1fr); }
}

.slot-btn {
  position: relative;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 34px;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 9px;
  cursor: pointer;
  transition: all .12s;
}
.slot-btn .dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 6px;
  height: 6px;
}
.slot-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.slot-btn.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.slot-btn.selected .dot { background: #fff; }
.slot-btn:disabled,
.slot-btn.taken {
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--muted);
  background: #f6f7f9;
}
.slots-grid.hide-taken .slot-btn.taken { display: none; }
.slots-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
  grid-column: 1 / -1;
}

/* ---------- Summary & info card (step 4) ---------- */
.summary-card {
  background: linear-gradient(135deg, rgba(123,92,255,0.08), rgba(47,139,255,0.08));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.summary-card h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.summary-item { display: flex; flex-direction: column; gap: 4px; }
.summary-item span:last-child { font-size: 14px; font-weight: 600; color: var(--navy); }
.summary-label { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.info-card-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.link-muted { color: var(--blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.link-muted:hover { text-decoration: underline; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.superadmin-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.field-grid .field { margin-bottom: 0; max-width: none; }
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .telegram-actions-field .login-submit {
    max-width: none;
    width: 100%;
  }
}
.req { color: #d64545; }
.field-hint {
  display: block;
  font-size: 11.5px;
  color: var(--blue);
  margin-top: 6px;
}
.telegram-actions-field .login-submit {
  max-width: 240px;
}
.telegram-clear-row {
  margin-top: 10px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
  margin-top: 12px;
  cursor: pointer;
}
.checkbox-row input[type=checkbox] {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}
.removed-checkbox-row {
  display: none;
}

/* ---------- Nav buttons ---------- */
.step-nav {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}
.btn-back-icon {
  width: 52px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-back-icon:hover { border-color: #c9d3e0; }
.btn-back-icon svg { width: 18px; height: 18px; }

.btn-continue {
  flex: 1;
  height: 52px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  transition: background .12s;
}
.btn-continue svg { width: 17px; height: 17px; }
.btn-continue:hover:not(:disabled) { background: var(--blue-dark); }
.btn-continue:disabled {
  background: #e5e8ec;
  color: #9aa3b2;
  cursor: not-allowed;
}
.btn-continue.is-loading {
  background: var(--blue-dark);
  color: #fff;
  cursor: wait;
}
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .8s linear infinite;
}
.booking-submit-status {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  background: #f3f7ff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 640px) {
  .booking-submit-status:not([hidden]) {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 120;
    margin-top: 0;
    box-shadow: 0 12px 30px rgba(15, 20, 30, .16);
  }
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.phone-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 20, .64);
  backdrop-filter: blur(5px);
}
.phone-confirm-overlay.open {
  display: flex;
}
.phone-confirm-modal {
  width: min(100%, 346px);
  border-radius: 14px;
  background: var(--white);
  color: #111827;
  padding: 29px 29px 28px;
  text-align: center;
  box-shadow: 0 26px 70px rgba(10, 15, 25, .28);
}
.phone-confirm-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #3b82f6;
}
.phone-confirm-icon svg {
  width: 28px;
  height: 28px;
}
.phone-confirm-modal h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}
.phone-confirm-modal p {
  margin: 0 0 23px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}
.phone-confirm-number-box {
  border-radius: 10px;
  background: #f8fafc;
  padding: 15px 18px 16px;
  margin-bottom: 22px;
}
.phone-confirm-number-box span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
}
.phone-confirm-number-box strong {
  display: block;
  color: #111827;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 2px;
}
.phone-confirm-question {
  margin-bottom: 18px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}
.phone-confirm-actions {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 11px;
}
.phone-confirm-actions button {
  min-height: 43px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.phone-confirm-actions svg {
  width: 15px;
  height: 15px;
}
.phone-confirm-edit {
  border: 1px solid #d9dee8;
  background: var(--white);
  color: #4b5563;
}
.phone-confirm-edit:hover {
  border-color: #b9c3d3;
}
.phone-confirm-continue {
  border: 1px solid #159cdb;
  background: #14a2df;
  color: #fff;
}
.phone-confirm-continue:hover {
  background: #0d91ca;
}
body.phone-confirm-open {
  overflow: hidden;
}
@media (max-width: 420px) {
  .phone-confirm-overlay {
    padding: 16px;
  }
  .phone-confirm-modal {
    padding: 26px 20px 22px;
  }
  .phone-confirm-actions {
    grid-template-columns: 1fr;
  }
  .phone-confirm-number-box strong {
    font-size: 25px;
  }
}

/* ---------- Flash messages ---------- */
.flash {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 32px;
}
.flash-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}
.flash-msg.error { background: var(--danger-bg); color: var(--danger-text); }
.flash-msg.success { background: var(--success-bg); color: var(--success-text); }

/* ---------- Confirmation ---------- */
.confirm-wrap {
  max-width: 480px;
  margin: 60px auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
}
.confirm-wrap .icon-ok {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.confirm-wrap h2 {
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 4px;
}
.confirm-wrap .sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.confirm-wrap .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
}
.confirm-wrap .row:last-of-type { border-bottom: none; }
.confirm-wrap .row span:first-child { color: var(--muted); }
.confirm-wrap .row span:last-child { color: var(--navy); font-weight: 600; }
.confirm-wrap a.back {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  margin-top: 28px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18,145,230,.32);
  overflow: hidden;
  font-size: 14px;
  text-decoration: none;
  font-weight: 800;
  animation: confirm-cta-pulse 1.9s ease-in-out infinite;
}
.confirm-wrap a.back::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: confirm-cta-shine 2.4s ease-in-out infinite;
}
.confirm-wrap a.back:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(18,145,230,.4);
}
@keyframes confirm-cta-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(18,145,230,.28); }
  50% { box-shadow: 0 10px 28px rgba(18,145,230,.55), 0 0 0 7px rgba(18,145,230,.1); }
}
@keyframes confirm-cta-shine {
  0% { left: -55%; }
  45%, 100% { left: 115%; }
}
@media (prefers-reduced-motion: reduce) {
  .confirm-wrap a.back,
  .confirm-wrap a.back::after {
    animation: none;
  }
}

/* ---------- Admin panel ---------- */
.panel-wrap { max-width: 1200px; margin: 0 auto; padding: 32px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.panel-head h1 { font-size: 22px; color: var(--navy); margin: 0; }
.panel-head .count { font-size: 13px; color: var(--muted); }
table.ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
table.ledger th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
}
table.ledger td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
table.ledger tr:last-child td { border-bottom: none; }
table.ledger tr:hover td { background: #fafbfc; }
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge.onaylandi { background: #e6f0fb; color: var(--blue-dark); }
.badge.tamamlandi { background: var(--success-bg); color: var(--success-text); }
.badge.iptal { background: var(--danger-bg); color: var(--danger-text); text-decoration: line-through; }
.phone-link {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}
.phone-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-actions button {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.row-actions button:hover { border-color: var(--blue); color: var(--blue); }
.inline-upload-form {
  display: inline-flex;
  margin: 0;
}
.file-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.file-action:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.file-action input {
  display: none;
}
.business-logo-admin {
  display: flex;
  align-items: center;
  gap: 10px;
}
.business-logo-preview {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
}
.business-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duration-setting-form,
.display-setting-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.duration-setting-row {
  margin: 0;
  white-space: nowrap;
}
.duration-setting-form button,
.row-actions button[form] {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.duration-setting-form button:hover,
.row-actions button[form]:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.table-select {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  padding: 5px 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.row-action-link {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
}
.row-action-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.appointment-action-select {
  width: 118px;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 0 9px;
  cursor: pointer;
}
.appointment-action-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,145,230,0.12);
}
.appointment-edit-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.appointment-edit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.appointment-edit-grid select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.secondary-action:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

@media (max-width: 760px) {
  .panel-wrap {
    padding-top: 22px;
    padding-bottom: 42px;
  }
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }
  .panel-head h1 {
    font-size: 20px;
    line-height: 1.25;
  }
  .panel-head .count {
    align-self: flex-start;
  }
  .appointment-edit-form {
    padding: 18px;
  }
  .appointment-edit-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .form-actions .login-submit,
  .secondary-action {
    width: 100%;
    max-width: none;
  }
  table.ledger {
    display: block;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  table.ledger thead {
    display: none;
  }
  table.ledger tbody {
    display: grid;
    gap: 14px;
  }
  table.ledger tr {
    display: grid;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  table.ledger td {
    display: grid;
    grid-template-columns: minmax(108px, 38%) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    min-width: 0;
  }
  table.ledger tr:last-child td {
    border-bottom: 1px solid var(--border);
  }
  table.ledger tr td:last-child {
    border-bottom: 0;
  }
  table.ledger td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
  }
  table.ledger tr:hover td {
    background: transparent;
  }
  .row-actions {
    justify-content: flex-start;
    gap: 8px;
  }
  .row-actions form,
  .row-actions a {
    display: inline-flex;
  }
  .row-actions button,
  .row-actions .link-muted {
    min-height: 34px;
  }
  .table-input,
  .table-input.narrow,
  .file-input {
    max-width: 100%;
    min-width: 0;
  }
  .staff-photo {
    width: 48px;
    height: 48px;
  }
  .mobile-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
  }
  table.ledger.compact-mobile-table {
    display: table;
    min-width: 860px;
    border: 0;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 0;
  }
  table.ledger.compact-mobile-table thead {
    display: table-header-group;
  }
  table.ledger.compact-mobile-table tbody {
    display: table-row-group;
  }
  table.ledger.compact-mobile-table tr {
    display: table-row;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  table.ledger.compact-mobile-table th {
    padding: 9px 10px;
    font-size: 10px;
    white-space: nowrap;
  }
  table.ledger.compact-mobile-table td {
    display: table-cell;
    padding: 9px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    white-space: nowrap;
    vertical-align: middle;
  }
  table.ledger.compact-mobile-table th:last-child,
  table.ledger.compact-mobile-table td.appointment-action-cell {
    min-width: 126px;
  }
  table.ledger.compact-mobile-table td::before {
    content: none;
  }
  table.ledger.compact-mobile-table .row-actions {
    flex-wrap: nowrap;
    gap: 5px;
    width: auto;
    min-width: max-content;
  }
  table.ledger.compact-mobile-table .row-actions form {
    flex: 0 0 auto;
  }
  table.ledger.compact-mobile-table .row-actions button {
    min-height: 30px;
    min-width: 54px;
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap;
    color: var(--text);
  }
  table.ledger.compact-mobile-table .appointment-action-select {
    width: 106px;
    min-height: 30px;
    font-size: 11px;
    padding: 0 7px;
  }
}

@media (max-width: 420px) {
  table.ledger td {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .row-actions {
    width: 100%;
  }
  .row-actions form {
    flex: 1 1 auto;
  }
  .row-actions button {
    width: 100%;
  }
  table.ledger.compact-mobile-table td {
    display: table-cell;
  }
  table.ledger.compact-mobile-table .row-actions button {
    width: auto;
  }
  table.ledger.compact-mobile-table .row-actions form {
    flex: 0 0 auto;
  }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

@media (max-width: 640px) {
  .wrap, .topbar-inner, .stepper, .panel-wrap { padding-left: 16px; padding-right: 16px; }
  .content-area h2 {
    margin-bottom: 16px;
  }
  .list-cards {
    gap: 8px;
  }
  .list-card[data-kind="service"] {
    padding: 11px 16px;
    border-radius: 8px;
  }
  .list-card[data-kind="service"] h3 {
    margin-bottom: 3px;
    padding-right: 30px;
    font-size: 13.5px;
    line-height: 1.25;
  }
  .list-card[data-kind="service"] .meta {
    font-size: 12px;
  }
  .list-card[data-kind="service"] .meta svg {
    width: 13px;
    height: 13px;
  }
  .list-card[data-kind="service"] .check {
    top: 13px;
    right: 16px;
    width: 17px;
    height: 17px;
  }
  .list-card-staff {
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
  }
  .list-card-staff .avatar {
    width: 42px;
    height: 42px;
  }
  .list-card-staff h3 {
    padding-right: 28px;
    font-size: 13.5px;
    line-height: 1.25;
  }
  .date-picker {
    margin-bottom: 22px;
  }
  .date-picker-header {
    margin-bottom: 10px;
    gap: 8px;
  }
  .date-picker-month {
    font-size: 14px;
  }
  .date-picker-controls {
    gap: 6px;
  }
  .btn-calendar {
    gap: 6px;
    padding: 7px 11px;
    font-size: 12px;
    border-radius: 7px;
  }
  .btn-calendar svg {
    width: 14px;
    height: 14px;
  }
  .date-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .date-nav-btn svg {
    width: 14px;
    height: 14px;
  }
  .date-strip {
    gap: 7px;
    padding-bottom: 2px;
  }
  .day-card {
    flex-basis: 54px;
    gap: 3px;
    padding: 9px 5px 8px;
    border-radius: 9px;
  }
  .day-name {
    font-size: 10px;
  }
  .day-num {
    font-size: 15px;
  }
  .day-dot {
    width: 4px;
    height: 4px;
  }
  .slots-legend {
    margin-bottom: 12px;
  }
  .legend-items {
    gap: 12px;
  }
  .legend-item,
  .btn-toggle-taken {
    font-size: 11.5px;
  }
  .btn-toggle-taken {
    padding: 5px 10px;
  }
  .slots-section {
    margin-bottom: 18px;
  }
  .slots-section-title {
    margin-bottom: 9px;
    font-size: 12.5px;
  }
  .slot-btn {
    min-height: 42px;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 8px;
  }
  .slot-btn .dot {
    top: 9px;
    right: 10px;
    width: 5px;
    height: 5px;
  }
  .info-card {
    padding: 16px 18px;
    border-radius: 9px;
    margin-bottom: 18px;
  }
  .info-card-header {
    gap: 6px;
    margin-bottom: 14px;
  }
  .info-card-header h3 {
    font-size: 14px;
  }
  .link-muted {
    font-size: 12px;
  }
  .field-grid {
    gap: 12px;
  }
  .field label {
    margin-bottom: 6px;
    font-size: 12px;
  }
  .field input[type=text],
  .field input[type=tel],
  .field input[type=date],
  .field textarea {
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 13px;
  }
  .field textarea {
    min-height: 44px;
  }
  .field-hint {
    margin-top: 5px;
    font-size: 10.5px;
  }
  .checkbox-row {
    gap: 7px;
    margin-top: 10px;
    font-size: 12px;
  }
  .checkbox-row input[type=checkbox] {
    width: 14px;
    height: 14px;
  }
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand {
    max-width: 100%;
    min-width: 0;
    font-size: 15px;
  }
  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .pill-btn,
  .login-link {
    min-height: 36px;
    font-size: 12px;
  }
  .pill-btn {
    border-radius: 8px;
    padding: 8px 12px;
  }
  .step .label { display: none; }
  .step { min-width: 40px; }
}

/* ---------- İşletme Bilgileri paneli ---------- */
.biz-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 30, 0.55);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
  overflow-y: auto;
}
.biz-overlay.open { display: flex; }

.biz-modal {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(15, 20, 30, 0.25);
}
.biz-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .12s, color .12s;
}
.biz-close:hover { background: #f0f2f5; color: var(--text); }
.biz-close svg { width: 18px; height: 18px; }

.biz-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-right: 30px;
}
.biz-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .03em;
}
.biz-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.biz-header h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 700; color: var(--navy); }
.biz-desc { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.biz-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.biz-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.biz-contact-row svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.biz-contact-row a { color: var(--blue); text-decoration: none; font-weight: 600; }
.biz-contact-row a:hover { text-decoration: underline; }

.biz-hr { border: none; border-top: 1px solid var(--border); margin: 4px 0 20px; }

.biz-section-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--navy); }

.biz-hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.biz-hours-card {
  background: var(--page-bg);
  border-radius: 10px;
  padding: 12px 14px;
}
.biz-hours-day { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.biz-hours-time { display: block; font-size: 13px; color: var(--muted); }
.biz-hours-card.closed .biz-hours-time { color: #d64545; font-weight: 600; }
@media (max-width: 560px) {
  .biz-hours-grid { grid-template-columns: repeat(2, 1fr); }
}

.biz-map {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (max-width: 560px) {
  .biz-modal { padding: 22px 18px 18px; }
  .biz-overlay { padding: 24px 12px; }
}

/* ---------- Landing page ---------- */
.landing-page {
  background: #fff;
}
.landing-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.landing-brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0ea5a4, var(--blue));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.landing-brand .mark svg { width: 19px; height: 19px; }
.landing-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #536074;
  font-size: 13px;
  font-weight: 700;
}
.landing-links a,
.landing-login {
  text-decoration: none;
}
.landing-links a:hover,
.landing-login:hover { color: var(--blue); }
.landing-login {
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
}
.landing-hero {
  max-width: 1180px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 56px 28px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 54px;
  align-items: center;
}
.landing-hero-copy h1 {
  margin: 12px 0 18px;
  max-width: 690px;
  color: #111827;
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
}
.landing-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #566276;
  font-size: 18px;
  line-height: 1.7;
}
.eyebrow {
  display: inline-flex;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
}
.hero-primary { background: #111827; color: #fff; }
.hero-secondary { background: #f3f6f9; color: var(--navy); }
.hero-product {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}
.product-top {
  display: flex;
  gap: 7px;
  padding-bottom: 16px;
}
.product-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}
.product-card.strong {
  background: #102033;
  border-color: #102033;
  color: #fff;
}
.product-card small {
  display: block;
  margin-bottom: 6px;
  color: #8b98aa;
  font-weight: 700;
}
.product-card strong {
  display: block;
  color: inherit;
  font-size: 22px;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.slot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 8px;
  text-align: center;
  color: var(--navy);
  font-weight: 800;
}
.slot.active {
  background: #e8f6ec;
  border-color: #bde7cc;
  color: var(--success-text);
}
.landing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 28px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
}
.stats-row div {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.stats-row strong {
  display: block;
  color: #111827;
  font-size: 28px;
}
.stats-row span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--border);
}
.split-section h2,
.section-head h2 {
  margin: 10px 0 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.12;
}
.split-section p {
  margin: 0;
  color: #536074;
  font-size: 17px;
  line-height: 1.8;
}
.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.feature-grid,
.pricing-grid,
.example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid article,
.price-card,
.example-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.feature-grid article {
  padding: 22px;
}
.feature-grid h3,
.price-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
}
.feature-grid p,
.price-card p,
.price-card li {
  color: #64748b;
  font-size: 14px;
}
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  padding: 24px;
}
.price-card.featured {
  border-color: #0ea5a4;
  box-shadow: 0 14px 34px rgba(14, 165, 164, .16);
}
.price {
  margin: 8px 0 12px;
  color: #111827 !important;
  font-size: 34px !important;
  font-weight: 800;
}
.price span {
  font-size: 14px;
  color: #64748b;
}
.price-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}
.example-grid { grid-template-columns: repeat(3, 1fr); }
.example-card {
  padding: 18px;
  text-decoration: none;
  display: grid;
  gap: 6px;
}
.example-card span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef8f7;
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.example-card strong { color: var(--navy); }
.example-card small { color: #64748b; }
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}
.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}
.faq-list p {
  margin: 12px 0 0;
  color: #64748b;
}
.landing-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- Super admin service/staff manager ---------- */
.panel-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.manager-section {
  margin-top: 28px;
}
.panel-head.compact {
  margin-bottom: 16px;
}
.panel-head.compact h1 {
  font-size: 18px;
}
.form-title {
  margin-top: 28px;
}
.table-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.table-input.narrow { max-width: 110px; }
.file-input { font-size: 12px; }
.delete-actions {
  margin-top: 14px;
  flex-wrap: wrap;
}
.danger-action { color: var(--danger-text); }
.manager-form-grid {
  display: grid;
  gap: 18px 24px;
  align-items: end;
}
.manager-form-grid.services-form {
  grid-template-columns: 2fr 1fr 1fr auto;
}
.manager-form-grid.staff-form {
  grid-template-columns: 1.4fr 1.4fr auto;
}
.manager-form-grid .field {
  margin-bottom: 0;
  max-width: none;
}
.manager-form-grid .login-submit {
  width: 100%;
  min-width: 112px;
}
.staff-photo {
  width: 56px;
  height: 56px;
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  background: #111827;
  border: 1px solid var(--border);
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .landing-nav { align-items: flex-start; flex-wrap: wrap; }
  .landing-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; }
  .landing-hero-copy h1 { font-size: 42px; }
  .stats-row,
  .feature-grid,
  .pricing-grid,
  .example-grid,
  .split-section,
  .superadmin-form-grid,
  .manager-form-grid.services-form,
  .manager-form-grid.staff-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .superadmin-form-grid .field[style*="grid-column"] {
    grid-column: auto !important;
  }
  .manager-form-grid .login-submit {
    margin-top: 0;
  }
}

/* ---------- Admin giriş formu ---------- */
.login-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.login-label { font-size: 13px; color: var(--muted); margin-top: 10px; }
.login-input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}
.login-input:focus { outline: none; border-color: var(--blue); }
.login-submit {
  margin-top: 18px;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.login-submit:hover { background: var(--blue-dark); }

/* ---------- Landing page v2 ---------- */
.landing-v2 {
  background:
    linear-gradient(90deg, rgba(202, 64, 255, .06), rgba(18, 145, 230, .08)),
    #fbfdff;
  color: #111827;
}
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 8%;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  min-width: 0;
}
.lp-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}
.lp-logo-mark svg { width: 23px; height: 23px; }
.lp-links {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.lp-links a,
.lp-login,
.lp-nav-demo,
.lp-trial {
  color: inherit;
  text-decoration: none;
}
.lp-links a:hover,
.lp-login:hover { color: #2563eb; }
.lp-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}
.lp-login { color: #475569; }
.lp-nav-demo {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #ff6b4a, #fb4d62);
  box-shadow: 0 12px 26px rgba(248, 81, 86, .28);
  white-space: nowrap;
  animation: lpNavDemoPulse 1.6s ease-in-out infinite;
}
.lp-nav-demo span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.55);
  animation: lpNavDemoDot 1.6s ease-in-out infinite;
}
.lp-nav-demo:hover {
  color: #fff;
  transform: translateY(-1px);
}
.lp-trial {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #c445f5, #3b82f6);
  box-shadow: 0 10px 22px rgba(99, 102, 241, .25);
}
.lp-trial svg { width: 16px; height: 16px; }
@keyframes lpNavDemoPulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(248, 81, 86, .28); }
  50% { box-shadow: 0 16px 34px rgba(248, 81, 86, .42); }
}
@keyframes lpNavDemoDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}
.lp-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 0 24px 64px;
  overflow: hidden;
  background:
    linear-gradient(rgba(148, 163, 184, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .1) 1px, transparent 1px);
  background-size: 18px 18px;
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 72px;
  text-align: center;
}
.lp-delivery-badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
}
.lp-delivery-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
  flex: 0 0 auto;
}
.lp-hero h1 {
  margin: 0 auto;
  max-width: 760px;
  color: #111827;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: 0;
}
.lp-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #c02ff0, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
}
.lp-hero p {
  max-width: 680px;
  margin: 24px auto 0;
  color: #64748b;
  font-size: 20px;
  line-height: 1.45;
}
.lp-hero p strong { color: #1f2937; }
.lp-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 42px;
}
.lp-main-cta,
.lp-demo-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 9px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
}
.lp-main-cta { background: linear-gradient(90deg, #bf46f2, #3b82f6); }
.lp-demo-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ff7048, #ef4444);
  animation: lpAttentionPulse 1.2s ease-in-out infinite;
}
.lp-demo-cta::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -70%;
  width: 55%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  animation: lpButtonShine 1.8s ease-in-out infinite;
}
.lp-demo-cta svg {
  position: relative;
  z-index: 1;
}
.lp-demo-cta span {
  position: relative;
  z-index: 1;
}
.lp-main-cta svg,
.lp-demo-cta svg { width: 18px; height: 18px; }
.lp-contact-actions {
  width: min(760px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  scroll-margin-top: 96px;
}
.lp-contact-card {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  color: #0f172a;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}
.lp-contact-card span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.lp-contact-card strong {
  font-size: 18px;
  font-weight: 950;
}
.lp-contact-card b {
  font-size: 15px;
  font-weight: 900;
}
.lp-contact-whatsapp {
  border: 1px solid rgba(16, 185, 129, .28);
  background: linear-gradient(135deg, rgba(236, 253, 245, .99), rgba(209, 250, 229, .96));
}
.lp-contact-whatsapp span,
.lp-contact-whatsapp b { color: #047857; }
.lp-contact-call {
  border: 1px solid rgba(37, 99, 235, .24);
  background: linear-gradient(135deg, rgba(239, 246, 255, .99), rgba(219, 234, 254, .96));
}
.lp-contact-call span,
.lp-contact-call b { color: #2563eb; }
.lp-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  color: #8a93a3;
  font-size: 13px;
  font-weight: 700;
}
.lp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lp-trust span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: inset 0 0 0 4px #d1fae5;
}
@keyframes lpAttentionPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 34px rgba(239, 68, 68, .22);
  }
  50% {
    transform: translateY(-2px) scale(1.035);
    box-shadow: 0 22px 44px rgba(239, 68, 68, .36);
  }
}
@keyframes lpButtonShine {
  0% { left: -70%; }
  58%, 100% { left: 125%; }
}
@keyframes lpCardShine {
  0% { left: -80%; }
  100% { left: 130%; }
}
@keyframes lpDemoCardPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 22px 52px rgba(239, 68, 68, .18);
  }
  50% {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 30px 64px rgba(239, 68, 68, .3);
  }
}
.lp-calendar-preview {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 32px));
  margin: 74px auto 0;
  padding: 32px;
  border: 10px solid rgba(255,255,255,.76);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 36px 70px rgba(15, 23, 42, .18);
}
.lp-preview-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.lp-preview-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #06b6d4, #d946ef);
}
.lp-preview-top b,
.lp-preview-top i,
.lp-preview-top em {
  display: block;
  border-radius: 6px;
  background: #e5e7eb;
}
.lp-preview-top b { width: 104px; height: 13px; margin-bottom: 8px; }
.lp-preview-top i { width: 78px; height: 9px; }
.lp-preview-top em { width: 28px; height: 28px; }
.lp-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.lp-calendar-grid span {
  aspect-ratio: 1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
  color: #7a8494;
  font-size: 12px;
  font-weight: 800;
}
.lp-calendar-grid span.soft {
  background: #dff3ff;
  color: #1687c7;
}
.lp-calendar-grid span.selected {
  background: linear-gradient(135deg, #10a9d8, #d43bf0);
  color: #fff;
}
.lp-appointment {
  margin-top: 14px;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.lp-appointment span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.lp-appointment strong,
.lp-appointment small { display: block; }
.lp-appointment strong { color: #1f2937; font-size: 13px; }
.lp-appointment small { color: #64748b; font-size: 12px; margin-top: 2px; }
.lp-appointment b {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
}
.lp-appointment.approved span,
.lp-appointment.approved b { background: #dff3ff; color: #1687c7; }
.lp-appointment.pending span,
.lp-appointment.pending b { background: #fbe2ff; color: #c236d9; }
.lp-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}
.lp-demo {
  background: linear-gradient(180deg, rgba(240, 249, 255, .74), rgba(255, 255, 255, 0));
  max-width: none;
}
.lp-demo > * {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.lp-section-head {
  text-align: center;
  margin-bottom: 34px;
}
.lp-section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
}
.lp-section-head p {
  margin: 10px auto 0;
  max-width: 620px;
  color: #64748b;
  font-size: 15px;
}
.lp-test-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 32px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(100deg, #16a5dd, #d43bf0);
  box-shadow: 0 18px 34px rgba(99, 102, 241, .2);
}
.lp-test-banner > span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #16a5dd;
  font-weight: 900;
}
.lp-test-banner strong { display: block; font-size: 19px; margin-bottom: 8px; }
.lp-test-banner p { margin: 0; line-height: 1.55; }
.lp-subtitle {
  margin-top: 44px;
  margin-bottom: 28px;
  text-align: center;
  color: #0f172a;
  font-size: 28px;
}
.lp-sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-sector-grid article,
.lp-system-grid div,
.lp-how-grid article,
.lp-price-grid article,
.lp-example-grid a {
  background: rgba(255,255,255,.9);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.lp-sector-grid article {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 28px 32px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.lp-sector-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #10b981);
  opacity: .78;
}
.lp-sector-grid article::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -48px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, .2), transparent 68%);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.lp-sector-grid article:hover {
  transform: translateY(-7px);
  border-color: rgba(14, 165, 233, .38);
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, .11);
}
.lp-sector-grid article:hover::after {
  opacity: 1;
  transform: scale(1.14);
}
.lp-sector-grid article > * {
  position: relative;
  z-index: 1;
}
.lp-sector-icon {
  width: 64px;
  height: 64px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  background: linear-gradient(135deg, #e0f2fe, #f3e8ff);
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.76), 0 12px 24px rgba(14, 165, 233, .16);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lp-sector-grid article:hover .lp-sector-icon {
  transform: rotate(-3deg) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.88), 0 16px 30px rgba(139, 92, 246, .2);
}
.lp-sector-grid h4 {
  margin: 22px 0 14px;
  color: #0f172a;
  font-size: 18px;
}
.lp-sector-grid ul {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: #475569;
  font-size: 13px;
}
.lp-sector-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-sector-grid li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: inset 0 0 0 3px #d1fae5;
}
.lp-sector-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0284c7;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.lp-sector-grid a::after {
  content: ">";
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease;
}
.lp-sector-grid article:hover a {
  color: #7c3aed;
  transform: translateX(2px);
}
.lp-sector-grid article:hover a::after {
  transform: translateX(4px);
}
.lp-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 740px;
  margin: 0 auto;
}
.lp-system-grid div {
  min-height: 126px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
}
.lp-system-grid span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  background: #e0f2fe;
  font-weight: 900;
  font-size: 12px;
}
.lp-system-grid strong { color: #0f172a; font-size: 14px; }
.lp-system-grid small { color: #64748b; }
.lp-how-grid,
.lp-price-grid,
.lp-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-how-grid article,
.lp-price-grid article,
.lp-example-grid a {
  padding: 24px;
  text-decoration: none;
}
.lp-how-grid span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #d946ef);
  font-weight: 900;
}
.lp-how-grid h3,
.lp-price-grid h3 {
  margin: 18px 0 8px;
  color: #0f172a;
}
.lp-how-grid p,
.lp-price-grid p { color: #64748b; margin: 0; line-height: 1.55; }
.lp-price-grid strong {
  display: block;
  margin: 14px 0 12px;
  color: #0f172a;
  font-size: 34px;
}
.lp-price-grid small { font-size: 14px; color: #64748b; }
.lp-price-grid .popular {
  border-color: #c445f5;
  box-shadow: 0 16px 34px rgba(196, 69, 245, .13);
}
.lp-example-grid a {
  display: grid;
  gap: 7px;
  color: #0f172a;
}
.lp-demo-page-grid {
  width: min(100%, 460px);
  grid-template-columns: 1fr;
  margin-left: auto;
  margin-right: auto;
}
.lp-demo-page-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border-color: rgba(239, 68, 68, .35) !important;
  background: linear-gradient(135deg, #fff, #fff7ed 46%, #eff6ff) !important;
  box-shadow: 0 22px 52px rgba(239, 68, 68, .18);
  animation: lpDemoCardPulse 1.35s ease-in-out infinite;
}
.lp-demo-page-card::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -75%;
  width: 58%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: lpButtonShine 2s ease-in-out infinite;
}
.lp-demo-page-card span,
.lp-demo-page-card strong,
.lp-demo-page-card small,
.lp-demo-page-card em {
  position: relative;
  z-index: 1;
}
.lp-demo-page-card strong {
  font-size: 20px;
}
.lp-demo-page-card small {
  overflow-wrap: anywhere;
}
.lp-demo-page-card em {
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7048, #ef4444);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 12px 24px rgba(239, 68, 68, .22);
}
.lp-example-grid span {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  background: #e0f2fe;
  font-weight: 900;
}
.lp-example-grid .lp-business-logo {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  color: #f8d65a;
  background: #080504;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
}
.lp-business-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-example-grid small { color: #64748b; }
.lp-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  background: transparent;
}
.lp-footer strong { color: #0f172a; }

.lp-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 900;
}
.lp-system-head { margin-top: 70px; }
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-feature-grid article,
.lp-testimonial-grid article {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .04);
}
.lp-feature-grid article {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.lp-feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, .12), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(217, 70, 239, .14), transparent 30%);
  opacity: 0;
  transition: opacity .22s ease;
}
.lp-feature-grid article::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -80%;
  width: 42%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  opacity: 0;
}
.lp-feature-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, .28);
  background: #fff;
  box-shadow: 0 24px 52px rgba(15, 23, 42, .1);
}
.lp-feature-grid article:hover::before {
  opacity: 1;
}
.lp-feature-grid article:hover::after {
  opacity: 1;
  animation: lpCardShine 1.05s ease forwards;
}
.lp-feature-grid article > * {
  position: relative;
  z-index: 1;
}
.lp-feature-grid article > span {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  background: linear-gradient(135deg, #e0f2fe, #f3e8ff);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(14, 165, 233, .14);
  transition: transform .22s ease, color .22s ease;
}
.lp-feature-grid article:hover > span {
  color: #7c3aed;
  transform: scale(1.08) rotate(3deg);
}
.lp-feature-grid h3 { margin: 18px 0 8px; color: #0f172a; font-size: 18px; }
.lp-feature-grid p { margin: 0 0 16px; color: #64748b; line-height: 1.55; }
.lp-feature-grid ul,
.lp-price-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #475569;
  font-size: 13px;
}
.lp-feature-grid li,
.lp-price-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-feature-grid li::before,
.lp-price-grid li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: inset 0 0 0 3px #d1fae5;
  flex: 0 0 auto;
}
.lp-feature-grid article:hover li::before {
  background: #0ea5e9;
  box-shadow: inset 0 0 0 3px #dff3ff, 0 0 0 4px rgba(14, 165, 233, .08);
}
.lp-price-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
}
.lp-price-grid a,
.lp-final-cta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #c445f5, #3b82f6);
  font-weight: 900;
  text-decoration: none;
}
.lp-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #ef4444, #c445f5);
  font-size: 11px;
}
.lp-stats {
  max-width: none;
  background: #0f172a;
  color: #fff;
}
.lp-stats .lp-section-head h2,
.lp-stats .lp-section-head p { color: #fff; }
.lp-stats-grid,
.lp-cert-grid { max-width: 960px; margin-left: auto; margin-right: auto; }
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lp-stats-grid div {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  text-align: center;
  background: rgba(255,255,255,.05);
}
.lp-stats-grid strong { display: block; font-size: 34px; color: #fff; }
.lp-stats-grid span { color: #cbd5e1; font-weight: 700; }
.lp-cert-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.lp-cert-grid span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #dbeafe;
  font-weight: 800;
  font-size: 13px;
}
.lp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-testimonial-grid p { margin: 0 0 18px; color: #475569; line-height: 1.65; }
.lp-testimonial-grid strong,
.lp-testimonial-grid small { display: block; }
.lp-testimonial-grid strong { color: #0f172a; }
.lp-testimonial-grid small { color: #64748b; margin-top: 4px; }
.lp-final-cta {
  max-width: 960px;
  margin-bottom: 70px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #0ea5e9, #c445f5);
  box-shadow: 0 24px 54px rgba(99, 102, 241, .18);
}
.lp-final-cta h2 { margin: 0; font-size: 38px; }
.lp-final-cta p {
  max-width: 620px;
  margin: 14px auto 0;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}
.lp-final-cta a {
  width: fit-content;
  min-width: 180px;
  margin: 26px auto 0;
  padding: 0 24px;
  background: #fff;
  color: #2563eb;
}
.lp-final-demo-cta {
  animation: lpAttentionPulse 1.2s ease-in-out infinite;
}
.lp-final-cta div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

@media (max-width: 980px) {
  .lp-nav {
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }
  .lp-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 4px;
  }
  .lp-hero h1 { font-size: 52px; }
  .lp-sector-grid,
  .lp-feature-grid,
  .lp-how-grid,
  .lp-price-grid,
  .lp-testimonial-grid,
  .lp-example-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-demo-page-grid { grid-template-columns: 1fr; }
  .lp-system-grid,
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .lp-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: 8px;
    font-size: 12px;
  }
  .lp-login {
    white-space: nowrap;
  }
  .lp-nav-demo,
  .lp-trial {
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 11px;
  }
  .lp-nav-demo {
    gap: 7px;
    box-shadow: 0 8px 18px rgba(248, 81, 86, .22);
  }
  .lp-nav-demo span {
    width: 8px;
    height: 8px;
  }
  .lp-trial {
    gap: 7px;
    box-shadow: 0 8px 18px rgba(99, 102, 241, .2);
  }
  .lp-trial svg {
    width: 13px;
    height: 13px;
  }
  .lp-logo span:last-child { font-size: 14px; }
  .lp-hero {
    min-height: auto;
    padding: 0 14px 42px;
  }
  .lp-hero-inner {
    padding-top: 42px;
  }
  .lp-delivery-badge {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .lp-hero h1 {
    font-size: 38px;
  }
  .lp-hero p {
    font-size: 16px;
  }
  .lp-main-cta,
  .lp-demo-cta {
    width: 100%;
  }
  .lp-contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lp-contact-card {
    min-height: 78px;
    align-items: center;
    padding: 14px;
    text-align: center;
  }
  .lp-contact-card strong {
    font-size: 16px;
  }
  .lp-trust {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .lp-calendar-preview {
    width: 100%;
    margin-top: 42px;
    padding: 16px;
    border-width: 6px;
  }
  .lp-preview-top {
    grid-template-columns: auto 1fr auto auto;
  }
  .lp-preview-top em:last-child { display: none; }
  .lp-calendar-grid {
    gap: 5px;
  }
  .lp-calendar-grid span {
    font-size: 10px;
  }
  .lp-appointment {
    grid-template-columns: auto 1fr;
  }
  .lp-appointment b {
    grid-column: 2;
    justify-self: start;
  }
  .lp-section {
    padding: 52px 16px;
  }
  .lp-demo {
    padding-top: 34px;
  }
  .lp-demo .lp-section-head {
    margin-bottom: 18px;
  }
  .lp-section-head h2 {
    font-size: 28px;
  }
  .lp-demo .lp-section-head h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .lp-demo .lp-section-head p {
    margin-top: 6px;
    font-size: 13px;
  }
  .lp-test-banner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 9px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, .14);
  }
  .lp-test-banner > span {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .lp-test-banner strong {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .lp-test-banner p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .lp-subtitle {
    margin-top: 28px;
    margin-bottom: 18px;
    font-size: 22px;
  }
  .lp-sector-grid,
  .lp-feature-grid,
  .lp-how-grid,
  .lp-price-grid,
  .lp-testimonial-grid,
  .lp-example-grid,
  .lp-system-grid,
  .lp-stats-grid {
    grid-template-columns: 1fr;
  }
  .lp-demo-page-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .lp-demo-page-card {
    min-height: 176px;
    padding: 22px;
  }
  .lp-demo-page-card em {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-size: 12px;
  }
  .lp-final-cta {
    border-radius: 0;
    margin-bottom: 0;
  }
  .lp-final-cta h2 {
    font-size: 28px;
  }
  .lp-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand .mark,
  .brand .mark::after,
  .lp-nav-demo,
  .lp-nav-demo span,
  .lp-sector-grid article,
  .lp-sector-icon,
  .lp-sector-grid a,
  .lp-sector-grid a::after,
  .lp-feature-grid article,
  .lp-feature-grid article::before,
  .lp-feature-grid article > span {
    transition: none;
  }
  .lp-feature-grid article:hover::after {
    animation: none;
  }
}
