/* Reluk PMS - Apple Cupertino Daylight Shared Stylesheet */
:root {
  --bg: #F5F5F7;
  --bg-subtle: #ECECEF;
  --surface: #FFFFFF;
  --surface-subtle: #FAFAFA;
  --header-bg: rgba(255, 255, 255, 0.82);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text: #1D1D1F;
  --text-muted: #6E6E73;
  --text-subtle: #86868B;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --accent-fg: #FFFFFF;
  --brand: #981F1F;
  --brand-hover: #7F1919;
  --brand-light: #FDF2F2;
  --brand-border: rgba(152, 31, 31, 0.15);
  --success: #15803D;
  --radius-card: 16px;
  --radius-ctrl: 10px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* 3-Step Type Scale & Numerals */
.tabular {
  font-variant-numeric: tabular-nums;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Surface & Card Geometry */
.surface-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.surface-card-subtle {
  background-color: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

/* Monoline Buttons & Controls (Min 44x44px, 150ms cubic-bezier transition, whitespace-nowrap shrink-0) */
.ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: var(--radius-ctrl);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 150ms cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.ctrl-btn-primary {
  background-color: var(--text);
  color: #FFFFFF;
  border: 1px solid var(--text);
}
.ctrl-btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
}

.ctrl-btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.ctrl-btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-strong);
}

.ctrl-btn-accent {
  background-color: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}
.ctrl-btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.ctrl-btn-brand {
  background-color: var(--brand);
  color: #FFFFFF;
  border: 1px solid var(--brand);
}
.ctrl-btn-brand:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
}

/* Touch Safety Utility */
.touch-target {
  min-height: 44px;
  min-width: 44px;
}

/* Subtle Pulse Target for Voice Action Callout */
.pulse-target {
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.4) !important;
  transition: box-shadow 300ms ease;
}

/* Interactive Demo Utility Animations (Clean Hairline) */
@keyframes scanLaser {
  0% { top: 3%; opacity: 0.9; }
  50% { top: 93%; opacity: 1; }
  100% { top: 3%; opacity: 0.9; }
}

.laser-line {
  animation: scanLaser 2.2s infinite ease-in-out;
}

@keyframes scanFlash {
  0% { background-color: rgba(21, 128, 61, 0.15); }
  100% { background-color: transparent; }
}

.scan-flash {
  animation: scanFlash 0.6s ease-out;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeInSlide 0.2s cubic-bezier(0.2, 0, 0, 1) forwards;
}

/* Scrollbar Hiding */
.no-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
