/* ─── ORDER NOTES ─── */
/* Note input — device simulator (dsv-2) */
.sv-note-row { padding: 6px 0 0; flex-shrink: 0; }
.sv-note-input {
  width: 100%; box-sizing: border-box; padding: 6px 9px;
  font-size: 10px; font-family: 'Inter', sans-serif;
  color: #0A101E; background: #F8FAFC;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 6px;
  outline: none;
}
.sv-note-input::placeholder { color: #94A3B8; }
/* Note display — device screen views (Steps 3, 5, 6) */
.sv-item-note {
  font-size: 8px; color: #94A3B8; line-height: 1.3;
  padding: 1px 0 3px 14px;
}
.sv-note-input:focus { border-color: var(--accent); background: #fff; }
/* Note display — POS order panel (FOH) */
.pos-order-note {
  margin: 5px 0 0; padding: 5px 9px 5px 10px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  border-left: 3px solid rgba(245,158,11,0.5);
  border-radius: 0 5px 5px 0;
}
.pos-order-note-label {
  font-size: 9px; font-weight: 700; font-family: var(--mono);
  color: #D97706; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1px;
}
.pos-order-note-text { font-size: 11px; color: #78350F; line-height: 1.35; }
/* Note display — KDS ticket card */
.kds-ticket-note {
  margin-top: 8px; padding: 6px 9px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.18);
  border-left: 3px solid #F59E0B;
  border-radius: 0 4px 4px 0; line-height: 1.4;
}
.kds-ticket-note-label {
  font-size: 9px; font-family: var(--mono); font-weight: 700;
  color: #F59E0B; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px;
}
.kds-ticket-note-text { font-size: 11px; color: rgba(255,255,255,0.65); }

/* ─── HERO TERMINAL NOTE ANIMATION ─── */
/* Wraps the typing text + cursor inside the hero sv-2 note row */
.sv-hero-note { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
/* Blinking caret shown while typing */
.sv-hero-cursor {
  display: inline-block; margin-left: 1px;
  width: 1px; height: 10px; background: #5B73F0;
  animation: svCursorBlink 0.65s step-end infinite;
  vertical-align: middle; flex-shrink: 0;
}
.sv-hero-cursor.done { opacity: 0; animation: none; }
@keyframes svCursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
/* Brief highlight flash on the note area when typing completes */
.sv-hero-note.highlight {
  background: rgba(91,115,240,0.1);
  border-color: rgba(91,115,240,0.35);
  animation: noteFlash 0.6s ease forwards;
}
@keyframes noteFlash {
  0%   { background: rgba(91,115,240,0.14); }
  100% { background: rgba(91,115,240,0.04); }
}

/* ─── CONTACT SECTION ─────────────────────────────────────────── */
#contact {
  padding: 96px 60px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(120,120,150,0.02) 0%, transparent 65%);
  pointer-events: none;
}
.contact-title {
  font-size: 32px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 12px;
}
.contact-sub {
  font-size: 15px; line-height: 1.7; color: rgba(148,163,184,0.85);
  max-width: 400px; margin: 0 auto 48px;
}
.contact-options {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.contact-option {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  color: inherit; text-decoration: none;
  min-width: 168px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.contact-option:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.05);
}
.contact-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.75;
}
.contact-label {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.1px;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  padding: 28px 60px; border-top: 1px solid var(--border);
  text-align: center; margin-top: 0;
}
footer p { font-size: 14px; color: #64748B; }

/* ═══════════════════════════════════════════════════════
   HERO TERMINAL — live animated preview only (no click)
═══════════════════════════════════════════════════════ */
.hero-right { cursor: default; }
.hero-right .pos-device {
  transition: none;
}

/* ── Try Demo button ── */
.btn-demo {
  padding: 14px 26px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.18s, color 0.18s;
}
.btn-demo:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ── Features demo CTA ── */
.features-demo-cta {
  padding: 26px 60px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
}
.features-demo-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  cursor: pointer; transition: gap 0.2s;
  background: none; border: none; font-family: 'Inter', sans-serif;
}
.features-demo-link:hover { gap: 12px; }

/* ═══════════════════════════════════════════════════════
   FLOW DEVICE AREA — interactive terminal inside End-to-End Flow
═══════════════════════════════════════════════════════ */
.flow-device-area {
  flex: 1; display: flex; align-items: center; justify-content: center;
  overflow: auto; background: #050507; position: relative; padding: 16px 0;
}
.flow-device-area .pos-device {
  transform: none !important; width: 250px; flex-shrink: 0;
}
.flow-device-area .pos-device .pos-island {
  top: 11px; width: 8px; height: 8px;
}
.flow-device-area .pos-device .pos-screen  { border-radius: 27px; }
.flow-device-area .pos-device .pos-statusbar {
  height: 42px; font-size: 9px; padding: 0 18px 6px;
}
.flow-device-area .pos-device .pos-appheader { padding: 5px 12px 7px; }
.flow-device-area .pos-device .pos-appheader-logo img { height: 16px; }
.flow-device-area .pos-device .pos-session-name { font-size: 9px; }
.flow-device-area .pos-device .pos-session-sub  { font-size: 7.5px; }

/* ── DSV interactive table cells ── */
.dsv-table { cursor: pointer; transition: all 0.12s; }
.dsv-table:hover:not(.sel):not(.occ) {
  border-color: rgba(91,115,240,0.3);
  background: rgba(91,115,240,0.05); color: #8B9EF0;
}
.dsv-table.sel {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(91,115,240,0.32);
}

/* ── Confirm row (bottom of table/review screens) ── */
.sv-confirm-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1.5px solid rgba(0,0,0,0.08);
  margin-top: auto; flex-shrink: 0;
}
.sv-confirm-label { font-size: 9px; color: #64748B; font-family: var(--mono); }
.sv-confirm-btn {
  padding: 7px 13px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; border: none;
  border-radius: 8px; cursor: pointer; font-family: inherit;
  transition: opacity 0.15s;
}
.sv-confirm-btn:disabled { opacity: 0.35; cursor: default; }
