/* ============================================================
   SMARTCASHIER — "Thermal Receipt" aesthetic
   Paper cream + ink + approved-blue + signal-orange
   ============================================================ */

:root {
  --paper: #f5efe2;
  --paper-2: #ede5d2;
  --paper-3: #e4dac2;
  --ink: #181c21;
  --ink-soft: #424850;
  --blue: #0e5fa8;
  --blue-bright: #2b9fe8;
  --orange: #f04a1d;
  --orange-deep: #d4380f;
  --dark: #12161b;
  --dark-2: #1a2027;
  --cream-on-dark: #f0e9d8;

  --font-display: "Unbounded", sans-serif;
  --font-body: "Commissioner", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius: 14px;
  --container: 1180px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 2000;
  opacity: .55;
}

::selection { background: var(--orange); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; }
h2 em, h1 em { font-style: normal; color: var(--blue); position: relative; }

a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600;
  text-decoration: none;
  padding: 1em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 0 var(--orange-deep), 0 12px 28px -8px rgba(240,74,29,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-deep), 0 18px 34px -8px rgba(240,74,29,.6); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: var(--cream-on-dark); color: var(--cream-on-dark); }
.btn-ghost-light:hover { background: var(--cream-on-dark); color: var(--ink); }
.btn-sm { padding: .7em 1.3em; font-size: .74rem; }
.btn-lg { padding: 1.15em 2.1em; font-size: .92rem; }
.btn-icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Kicker ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue);
  display: flex; align-items: center; gap: .6em;
  margin-bottom: 1.1rem;
}
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(43,159,232,.18); }
.kicker.light { color: var(--blue-bright); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; }
.section-dark .lead { color: #abb5c0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 74px; }

.logo {
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  text-decoration: none; letter-spacing: -.02em;
}
.logo strong { font-weight: 800; color: var(--blue); }
.logo-mark { width: 30px; height: 30px; color: var(--ink); }
.site-footer .logo-mark { color: var(--cream-on-dark); }

.main-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  position: relative; padding: .3em 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 85% 15%, rgba(43,159,232,.13), transparent 65%),
    radial-gradient(600px 420px at 5% 90%, rgba(240,74,29,.09), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 70% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  color: var(--blue);
  background: linear-gradient(transparent 62%, rgba(43,159,232,.28) 62%);
}
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-proof {
  list-style: none;
  display: flex; gap: 2.4rem; flex-wrap: wrap;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
}
.hero-proof li { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-soft); }
.hero-proof strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }

/* ---------- Receipt visual ---------- */
.hero-visual { display: flex; justify-content: center; }
.receipt-stack { position: relative; animation: float 7s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.receipt {
  width: min(330px, 82vw);
  background: #fdfaf2;
  color: #22262b;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.55;
  padding: 1.5rem 1.4rem 2rem;
  transform: rotate(2.5deg);
  box-shadow:
    0 1px 2px rgba(20,24,19,.18),
    0 18px 40px -12px rgba(20,24,19,.35),
    0 40px 80px -30px rgba(20,24,19,.3);
  /* zig-zag torn bottom edge */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px),
    96% 100%, 92% calc(100% - 9px), 88% 100%, 84% calc(100% - 9px), 80% 100%,
    76% calc(100% - 9px), 72% 100%, 68% calc(100% - 9px), 64% 100%,
    60% calc(100% - 9px), 56% 100%, 52% calc(100% - 9px), 48% 100%,
    44% calc(100% - 9px), 40% 100%, 36% calc(100% - 9px), 32% 100%,
    28% calc(100% - 9px), 24% 100%, 20% calc(100% - 9px), 16% 100%,
    12% calc(100% - 9px), 8% 100%, 4% calc(100% - 9px), 0 100%);
}

.r-head { display: flex; flex-direction: column; text-align: center; gap: .15em; margin-bottom: .9rem; }
.r-logo { font-weight: 700; font-size: .95rem; letter-spacing: .18em; }
.r-dim { opacity: .62; }

.r-tear { border-top: 1.5px dashed #b9b29c; margin: .8rem 0; }

.r-items { width: 100%; border-collapse: collapse; }
.r-items td { padding: .14em 0; }
.r-items td:last-child { text-align: right; }

.r-vat { display: flex; justify-content: space-between; opacity: .65; font-size: .68rem; }

.r-total {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 1rem;
  margin-top: .5rem;
  padding: .35em .5em;
  background: #22262b; color: #fdfaf2;
}
.r-paid { text-align: center; margin-top: .55rem; color: var(--blue); font-weight: 700; letter-spacing: .08em; }

.r-foot { display: flex; gap: .9rem; align-items: center; }
.r-qr { width: 58px; height: 58px; flex: none; color: #22262b; }
.r-foot div { display: flex; flex-direction: column; gap: .25em; font-size: .66rem; }
.r-mark { opacity: .65; }
.r-aade { color: var(--blue); font-weight: 700; }
.r-aade b { display: inline-block; animation: pop-check 2.6s ease infinite; }

@keyframes pop-check {
  0%, 78%, 100% { transform: scale(1); }
  86% { transform: scale(1.45); }
}

.card-approved {
  position: absolute;
  top: -26px; left: -64px;
  z-index: 2;
  display: flex; align-items: center; gap: .7em;
  background: var(--dark); color: var(--cream-on-dark);
  font-family: var(--font-mono); font-size: .68rem; line-height: 1.45;
  padding: .85em 1.15em;
  border-radius: 12px;
  transform: rotate(-5deg);
  box-shadow: 0 16px 36px -10px rgba(20,24,19,.5);
  animation: float 7s ease-in-out infinite reverse;
}
.card-approved strong { font-size: .95rem; }
.ca-icon {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-bright); color: var(--dark);
  border-radius: 50%;
  font-weight: 700; font-size: 1rem;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  padding: .85rem 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.ticker-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.ticker-track i { font-style: normal; color: var(--blue-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); max-width: 720px; }
.section-head .lead { margin-top: 1.1rem; }

.section-dark {
  background: var(--dark); color: var(--cream-on-dark);
}
.section-dark h2 em { color: var(--blue-bright); }
.section-paper { background: var(--paper-2); }

/* tear edges between light & dark sections */
.section-dark { position: relative; }
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background-image: linear-gradient(45deg, var(--dark) 25%, transparent 25%), linear-gradient(-45deg, var(--dark) 25%, transparent 25%);
  background-size: 22px 22px;
  background-repeat: repeat-x;
}
.section-dark::before { top: -11px; background-position: bottom; transform: rotate(180deg); }
.section-dark::after { bottom: -11px; background-position: bottom; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.b-wide { grid-column: span 2; }

.b-card {
  position: relative;
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.9rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.b-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 22px 44px -18px rgba(20,24,19,.28);
}
.b-card::after {
  content: ""; position: absolute; top: 0; left: 1.7rem; right: 1.7rem; height: 0;
  border-top: 1.5px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  opacity: 0; transition: opacity .25s;
}
.b-card:hover::after { opacity: 1; }

.b-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--blue-bright);
  border-radius: 12px;
  margin-bottom: 1.2rem;
  transition: background .25s, transform .25s;
}
.b-card:hover .b-icon { background: var(--blue); color: #fff; transform: rotate(-4deg) scale(1.05); }
.b-icon svg { width: 26px; height: 26px; }

.b-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .6rem; }
.b-card p { font-size: .94rem; color: var(--ink-soft); }
.b-card p strong { color: var(--ink); }

.b-tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue);
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: .35em .8em;
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split-rev .split-visual { order: -1; }

.check-list { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; font-size: .98rem; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: .05em;
  width: 1.35em; height: 1.35em;
  display: grid; place-items: center;
  background: var(--blue-bright); color: var(--dark);
  font-size: .8em; font-weight: 800;
  border-radius: 50%;
}
.section-dark .check-list li { color: #c5cdd6; }

/* ---------- Floorplan (estiasi) ---------- */
.floorplan {
  background: var(--dark-2);
  border: 1.5px solid #313a44;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.fp-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  color: #8291a0; margin-bottom: 1.1rem;
}
.fp-live { color: var(--blue-bright); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }

.fp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.fp-table {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em;
  border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  border: 1.5px solid transparent;
  transition: transform .2s;
}
.fp-table:hover { transform: scale(1.06); }
.fp-table small { font-family: var(--font-mono); font-size: .58rem; font-weight: 500; opacity: .85; }
.is-free  { background: #212933; color: #91a1b1; border-color: #36414d; }
.is-busy  { background: var(--blue); color: #fff; }
.is-res   { background: #6a5314; color: #f3d784; }
.is-clean { background: #2b3036; color: #9fb4c7; }
.is-pulse { box-shadow: 0 0 0 0 rgba(43,159,232,.7); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43,159,232,.55); }
  70% { box-shadow: 0 0 0 14px rgba(43,159,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,159,232,0); }
}

.fp-legend {
  display: flex; flex-wrap: wrap; gap: 1.1rem;
  margin-top: 1.2rem;
  font-size: .72rem; color: #8291a0;
}
.fp-legend span { display: flex; align-items: center; gap: .45em; }
.fp-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-free { background: #36414d; } .lg-busy { background: var(--blue-bright); }
.lg-res { background: #f3d784; } .lg-clean { background: #9fb4c7; }

/* ---------- Payments ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 3rem; }
.chip {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  padding: .65em 1.25em;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: transform .2s, background .2s;
}
.chip:hover { transform: translateY(-3px) rotate(-1deg); background: var(--blue); color: #fff; }
.chip-alt { background: transparent; color: var(--ink); border: 1.5px dashed color-mix(in srgb, var(--ink) 45%, transparent); }
.chip-alt:hover { background: var(--paper-3); color: var(--ink); }

.pay-flow {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .74rem; line-height: 1.5;
}
.pf-node {
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 10px;
  padding: .8em 1.2em;
  text-align: center;
}
.pf-node b { font-size: .92rem; }
.pf-ok { background: var(--blue); border-color: var(--blue); color: #fff; }
.pf-arrow { font-size: 1.3rem; color: var(--orange); font-weight: 700; }

/* ---------- Delivery card ---------- */
.delivery-card {
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 26px 50px -22px rgba(20,24,19,.3);
  font-family: var(--font-mono);
}
.dc-row { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; }
.dc-head { font-weight: 700; letter-spacing: .04em; margin-bottom: 1.5rem; }
.dc-badge {
  background: #6a5314; color: #f3d784;
  font-size: .62rem; letter-spacing: .1em;
  padding: .4em .9em; border-radius: 999px;
}
.dc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: 1.5rem; }
.dc-step { display: flex; flex-direction: column; gap: .6em; font-size: .62rem; line-height: 1.5; color: var(--ink-soft); position: relative; }
.dc-step i {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper-3); border: 2px solid #c7bda1;
  position: relative; z-index: 1;
}
.dc-step::before {
  content: ""; position: absolute; top: 7px; left: 16px; right: -4px; height: 2px;
  background: #d9d0b8;
}
.dc-step:last-child::before { display: none; }
.dc-step.done i { background: var(--blue-bright); border-color: var(--blue); }
.dc-step.done::before { background: var(--blue-bright); }
.dc-step.active i { background: #f3d784; border-color: #6a5314; animation: blink 1.4s steps(2) infinite; }
.dc-step b { color: var(--ink); }
.dc-foot { padding-top: 1rem; border-top: 1.5px dashed #c7bda1; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.steps li {
  background: var(--dark-2);
  border: 1.5px solid #2c3540;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: border-color .25s, transform .25s;
}
.steps li:hover { border-color: var(--blue-bright); transform: translateY(-4px); }
.step-no {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
  color: var(--blue-bright);
  display: inline-block;
  border: 1.5px dashed color-mix(in srgb, var(--blue-bright) 55%, transparent);
  border-radius: 8px;
  padding: .35em .7em;
  margin-bottom: 1.2rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.steps p { font-size: .92rem; color: #abb5c0; }
.step-link { color: var(--blue-bright); font-weight: 600; text-decoration-thickness: 1.5px; }
.step-link:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-list details {
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  padding: 1.2rem 1.5rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-x {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--font-mono); font-weight: 700;
  transition: transform .25s, background .25s, color .25s;
}
details[open] .faq-x { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-list p { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: .95rem; max-width: 64ch; }
.faq-list a { color: var(--blue); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  background: var(--blue);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .5;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 110%, rgba(43,159,232,.9), transparent 70%),
              radial-gradient(500px 360px at 10% -10%, rgba(10,62,110,.8), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.cta h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 1.2rem; }
.cta h2 em { color: #ffd97a; background: linear-gradient(transparent 64%, rgba(0,0,0,.22) 64%); }
.cta .lead { color: rgba(255,255,255,.85); margin: 0 auto 2.4rem; }
.cta .hero-actions { justify-content: center; }
.cta .btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.cta .btn-ghost-light:hover { background: #fff; color: var(--blue); }

.cta-receipt {
  display: inline-flex; flex-direction: column; gap: .15em;
  font-family: var(--font-mono); font-size: .72rem; text-align: left;
  background: #fdfaf2; color: #22262b;
  padding: 1em 1.3em 1.2em;
  margin-bottom: 2.2rem;
  transform: rotate(-2deg);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px),
    94% 100%, 88% calc(100% - 7px), 82% 100%, 76% calc(100% - 7px), 70% 100%,
    64% calc(100% - 7px), 58% 100%, 52% calc(100% - 7px), 46% 100%,
    40% calc(100% - 7px), 34% 100%, 28% calc(100% - 7px), 22% 100%,
    16% calc(100% - 7px), 10% 100%, 4% calc(100% - 7px), 0 100%);
}
.cta-receipt span:first-child { font-weight: 700; letter-spacing: .14em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #abb5c0;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1.5px dashed #37424d;
}
.f-brand .logo { color: var(--cream-on-dark); margin-bottom: 1rem; }
.f-brand p { font-size: .88rem; max-width: 30ch; }
.f-brand a:not(.logo) { color: var(--blue-bright); text-decoration: none; }
.f-brand a:not(.logo):hover { text-decoration: underline; }
.f-col { display: flex; flex-direction: column; gap: .65rem; }
.f-col h4 {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: #76828e; margin-bottom: .4rem;
}
.f-col a { text-decoration: none; font-size: .92rem; transition: color .2s; }
.f-col a:hover { color: var(--blue-bright); }
.f-yt { display: inline-flex; align-items: center; gap: .5em; }
.f-yt svg { width: 18px; height: 18px; color: #e33; flex: none; }
.f-note { font-size: .82rem; line-height: 1.6; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.8rem;
  font-family: var(--font-mono); font-size: .72rem; color: #76828e;
}
.f-receipt-end { letter-spacing: .12em; }

/* ============================================================
   LIVE DEMO — phone mockup + έκδοση απόδειξης
   ============================================================ */
.demo-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.phone {
  position: relative;
  width: 320px;
  background: #10141a;
  border: 1.5px solid #2c3540;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px -22px rgba(20,24,19,.45), inset 0 0 0 2px #1d242d;
}
.phone-notch {
  position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 18px;
  background: #10141a;
  border-radius: 10px;
  z-index: 2;
}
.phone-screen {
  display: flex; flex-direction: column;
  height: 560px;
  background: var(--paper);
  border-radius: 32px;
  overflow: hidden;
}

/* --- Πιστή απομίμηση του Ionic UI της εφαρμογής (Template 1) --- */
.phone-screen {
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
}
.app-cashier { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.app-cashier[hidden] { display: none; }

.app-tabs {
  display: flex;
  background: #f8f8f8;
  border-bottom: 1px solid #d8d8d8;
  padding-top: 16px; /* χώρος για το notch */
}
.app-tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: 0;
  font-family: inherit; font-size: 9px;
  color: #8e8e93;
  padding: 5px 0 6px;
  cursor: pointer;
}
.app-tab svg { width: 21px; height: 21px; }
.app-tab.is-active { color: #3880ff; }

.app-lezanta {
  display: flex; align-items: center; justify-content: space-between;
  background: cornflowerblue;
  color: #fff;
  font-size: 10px;
  padding: 4px 7px;
  white-space: nowrap;
  gap: 4px;
}
.app-ver { color: #000; font-weight: 700; }

.app-table-wrap { flex: 1; overflow-y: auto; min-height: 70px; background: #fff; }
.app-table { width: 100%; border-collapse: collapse; font-size: 10px; color: #222; }
.app-table th {
  position: sticky; top: 0;
  background: #fff;
  font-weight: 700;
  padding: 4px 3px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.app-table td { padding: 4px 3px; border-bottom: 1px solid #f0f0f0; text-align: center; }
.app-table .app-td-name { text-align: left; }
.app-table tfoot td {
  position: sticky; bottom: 0;
  background: #fff;
  border-top: 1px solid #ddd; border-bottom: 0;
  font-weight: 700; font-size: 11px;
  text-align: right;
}
.app-empty td { color: #9a9a9a; font-style: italic; padding: 14px 6px; }

.app-display {
  display: flex; align-items: center; gap: 6px;
  background: #000;
  padding: 5px 8px;
}
.app-net { width: 16px; height: 16px; color: #fff; flex: none; }
.app-x { color: #ffc409; font-size: 18px; font-weight: 700; }
.app-display output {
  flex: 1;
  text-align: right;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.app-display-flash { animation: dispflash .35s ease 2; }
@keyframes dispflash { 50% { background: #5a0000; } }

.app-customer {
  background: rgb(71, 123, 255);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
}

.app-pads {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4px;
  padding: 5px;
  background: #ececec;
}
.app-numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.app-endpad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 4px;
}
.k {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 0; border-bottom: 1px solid #b5b5b5;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  color: #1a1a1a;
  min-height: 36px;
  cursor: pointer;
  padding: 0 2px;
  box-shadow: 0 0 3px -1px rgba(0,0,0,.3);
}
.k:active { background: #e4e4e4; transform: translateY(1px); }
.k-red { background: rgb(255, 4, 4); color: #fff; }
.k-red:active { background: #c00; }
.k-gray { background: #aeaeae; color: #3a3a3a; }
.k-gray:active { background: #9a9a9a; }
.k-ico svg { width: 19px; height: 19px; color: #3880ff; }
.k-sm { font-size: 9px; font-weight: 700; }
.k-tm { font-size: 9px; font-weight: 700; background: #f4f4f4; }
.k-cards {
  grid-column: span 2;
  background: #2059a2; color: #fff;
  font-size: 11px; font-weight: 700;
}
.k-cards:active { background: #17467f; }
.k-cash {
  grid-column: span 2;
  background: #81ff48; color: #000;
  font-size: 11px; font-weight: 700;
}
.k-cash:active { background: #6be035; }

/* Οθόνη μετά την έκδοση — όπως το tab1-post-invoice-panel */
.app-post {
  display: flex; flex-direction: column; align-items: center;
  height: 100%;
  overflow-y: auto;
  padding: 34px 14px 14px;
  background: #fff;
  text-align: center;
}
.app-post[hidden] { display: none; }
.app-post-title { font-size: 13px; color: #222; line-height: 1.5; margin-bottom: 12px; }
.app-post-title span { font-weight: 700; }
.app-post-qr { width: 132px; margin-bottom: 10px; }
.app-post-qr svg { width: 100%; height: auto; display: block; }
.app-post-hint { font-size: 11px; color: #555; margin-bottom: 14px; }
.app-post-btns { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.app-btn-warning, .app-btn-success {
  border: 0; border-radius: 4px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em;
  padding: 10px 0;
  cursor: pointer;
}
.app-btn-warning { background: #ffc409; color: #000; }
.app-btn-warning:active { background: #e0ac06; }
.app-btn-success { background: #2dd36f; color: #000; }
.app-btn-success:active { background: #28ba62; }

.demo-result {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: flex-start;
}
.demo-receipt { flex: 0 1 320px; }
.demo-receipt .receipt { width: 100%; }

.receipt-flat {
  transform: none !important;
  animation: none;
}
.demo-result.printing .receipt-flat {
  animation: printout .9s cubic-bezier(.2,.7,.3,1);
}
@keyframes printout {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-18px); }
  to   { clip-path: inset(0 0 0 0); transform: translateY(0); }
}

.r-demo-note {
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1.5px dashed #b9b29c;
  text-align: center;
  font-size: .58rem;
  letter-spacing: .08em;
  color: var(--orange-deep);
  font-weight: 700;
}

.demo-qr-box {
  flex: 0 1 230px;
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-align: center;
}
.demo-qr-title { font-family: var(--font-display); font-size: .82rem; font-weight: 700; margin-bottom: .9rem; }
.demo-qr { width: 150px; margin: 0 auto .9rem; }
.demo-qr svg { width: 100%; height: auto; display: block; }
.demo-qr-hint { font-size: .78rem; color: var(--ink-soft); margin-bottom: .7rem; }
.demo-qr-box a { color: var(--blue); font-weight: 600; font-size: .8rem; }

@media (max-width: 860px) {
  .demo-wrap { grid-template-columns: 1fr; justify-items: center; }
  .demo-output { width: 100%; }
}

/* ============================================================
   /r/ — προβολή απόδειξης στο κινητό
   ============================================================ */
.rview-body { display: flex; min-height: 100vh; }
.rview {
  margin: auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding: 2.5rem 1.2rem 3rem;
  width: 100%; max-width: 420px;
}
.rview .logo { color: var(--ink); }
.rview .logo-mark { color: var(--ink); }
.rview-intro { font-family: var(--font-display); font-size: 1rem; font-weight: 600; text-align: center; }
.rview-receipt { width: min(330px, 100%); }
.rview-receipt .receipt { width: 100%; }
.rview-receipt .receipt-flat { animation: printout 1s cubic-bezier(.2,.7,.3,1); }
.rview-error { color: var(--ink-soft); text-align: center; }
.rview-cta {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
  margin-top: .6rem;
  padding-top: 1.4rem;
  border-top: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  width: 100%;
}
.rview-cta p { font-size: .92rem; color: var(--ink-soft); }
.rview-home { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); text-decoration: none; }
.rview-home:hover { color: var(--blue); }

/* ============================================================
   LEGAL PAGES (privacy policy κ.λπ.)
   ============================================================ */
.legal { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
}
.legal section { margin-bottom: 2.4rem; }
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .9rem;
}
.legal p { color: var(--ink-soft); margin-bottom: .9rem; font-size: .97rem; }
.legal ul { margin: .4rem 0 .9rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.legal li { color: var(--ink-soft); font-size: .97rem; }
.legal-back a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-back a:hover { text-decoration: underline; }

/* ============================================================
   ΨΗΦΙΑΚΟΣ ΒΟΗΘΟΣ (ElevenLabs)
   ============================================================ */
.ai-assistant {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1500;
  display: flex; flex-direction: column; align-items: flex-end; gap: .8rem;
}
.ai-assistant[hidden] { display: none; }
.ai-launcher {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--blue-bright);
  border: 0; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px -4px rgba(20,24,19,.5);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ai-launcher:hover {
  background: var(--blue); color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px -6px rgba(14,95,168,.55);
}
.ai-launcher:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.ai-launcher svg { width: 26px; height: 26px; }

.ai-launcher-label {
  position: absolute;
  right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  background: var(--ink); color: var(--paper);
  padding: .6em 1.1em;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ai-launcher:hover .ai-launcher-label,
.ai-launcher:focus-visible .ai-launcher-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ai-consent {
  width: min(340px, calc(100vw - 40px));
  background: #fbf7ec;
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: 0 24px 48px -16px rgba(20,24,19,.4);
}
.ai-consent h3 { font-size: 1rem; margin-bottom: .6rem; }
.ai-consent p { font-size: .84rem; color: var(--ink-soft); margin-bottom: .7rem; }
.ai-consent p strong { color: var(--ink); }
.ai-consent a { color: var(--blue); font-weight: 600; }
.ai-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }

.ai-revoke {
  background: none; border: 0; padding: 0;
  font-family: inherit; font-size: .78rem;
  color: #76828e; text-decoration: underline;
  cursor: pointer; text-align: left;
}
.ai-revoke:hover { color: var(--blue-bright); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 2.5rem; }
  .card-approved { left: -10px; }
  .split { grid-template-columns: 1fr; }
  .split-rev .split-visual { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .main-nav {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
    padding: .5rem 0 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 28px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-inner .btn { margin-left: 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: span 1; }
  .hero-proof { gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 1rem; }
  .header-inner > .btn { display: none; }
  .pay-flow { font-size: .68rem; }
}
