:root {
  --hero-bg-image: url("assets/hero-restaurant-luxury.webp");
  --green: #123f32;
  --green-2: #1f6752;
  --gold: #d8a328;
  --charcoal: #222622;
  --ink: #111612;
  --muted: #647067;
  --cream: #fbf6ea;
  --cream-2: #f2eadb;
  --white: #fffdf8;
  --line: rgba(18, 63, 50, 0.14);
  --shadow: 0 24px 70px rgba(21, 42, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 246, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  display: block;
}

.brand-logo {
  width: 190px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--green);
}

.header-cta,
.primary-btn,
.secondary-btn,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-btn,
.chat-form button {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 63, 50, 0.2);
}

.header-cta {
  padding: 0 18px;
  font-size: 14px;
}

.primary-btn {
  padding: 0 22px;
}

.secondary-btn {
  padding: 0 20px;
  color: var(--green);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(410px, 0.78fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 72px) 34px;
}

.hero-cinematic {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 20, 16, 0.9) 0%, rgba(8, 29, 23, 0.72) 42%, rgba(8, 29, 23, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 17, 14, 0.18), rgba(7, 17, 14, 0.7)),
    var(--hero-bg-image) center / cover no-repeat;
  transition: background-image 320ms ease;
}

.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, transparent 0 39%, rgba(216, 163, 40, 0.18) 44%, transparent 49% 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 90px
    );
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: luxurySweep 11s ease-in-out infinite alternate;
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 11, 0.72));
  pointer-events: none;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(251, 246, 234, 0.08) 23%, transparent 30% 100%),
    linear-gradient(0deg, transparent 0 70%, rgba(216, 163, 40, 0.12) 84%, transparent 100%);
  opacity: 0.7;
  transform: translateX(-18%);
  animation: receptionGlow 8s ease-in-out infinite;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 0.94;
}

.hero-cinematic h1 {
  max-width: 840px;
  color: var(--white);
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
}

.hero-text {
  max-width: 650px;
  color: #3f4b43;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
}

.hero-cinematic .eyebrow {
  color: #f2d178;
}

.hero-cinematic .hero-text {
  color: rgba(255, 253, 248, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-chip {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.hero-cinematic .hero-chip {
  border-color: rgba(255, 253, 248, 0.2);
  background: rgba(9, 24, 20, 0.48);
  color: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
}

.hero-chip:hover {
  border-color: rgba(18, 63, 50, 0.34);
}

.hero-chip.active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(18, 63, 50, 0.18);
}

.hero-cinematic .hero-chip.active {
  background: rgba(216, 163, 40, 0.92);
  color: #101610;
  box-shadow: 0 18px 42px rgba(216, 163, 40, 0.25);
}

.hero-cinematic .primary-btn {
  background: #f0bf4b;
  color: #111612;
  box-shadow: 0 18px 42px rgba(216, 163, 40, 0.22);
}

.hero-cinematic .secondary-btn {
  border-color: rgba(255, 253, 248, 0.2);
  background: rgba(9, 24, 20, 0.44);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.mini-window,
.scenario-panel,
.chat-panel,
.admin-panel,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-window {
  width: min(100%, 520px);
  padding: 16px;
}

.hero-chat-window {
  width: min(100%, 560px);
}

.interactive-preview {
  position: relative;
  overflow: hidden;
}

.hero-cinematic .interactive-preview {
  border-color: rgba(255, 253, 248, 0.18);
  background: rgba(11, 26, 22, 0.66);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
  animation: previewFloat 6s ease-in-out infinite;
}

.interactive-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(216, 163, 40, 0.18), transparent 28%),
    linear-gradient(315deg, rgba(31, 103, 82, 0.13), transparent 34%);
}

.hero-cinematic .interactive-preview::before {
  background:
    linear-gradient(135deg, rgba(240, 191, 75, 0.2), transparent 29%),
    linear-gradient(315deg, rgba(255, 253, 248, 0.1), transparent 38%);
}

.interactive-preview > * {
  position: relative;
  z-index: 1;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 4px 0 16px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream-2);
}

.window-bar span:first-child {
  background: var(--gold);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.hero-cinematic .preview-header,
.hero-cinematic .hero-metrics div,
.hero-cinematic .flow-step {
  border-color: rgba(255, 253, 248, 0.13);
  background: rgba(255, 253, 248, 0.08);
}

.preview-header div {
  display: grid;
  gap: 3px;
}

.preview-header strong {
  color: var(--green);
}

.hero-cinematic .preview-header strong,
.hero-cinematic .flow-step strong,
.hero-cinematic .hero-metrics strong {
  color: var(--white);
}

.preview-header span {
  color: var(--muted);
  font-size: 13px;
}

.hero-cinematic .preview-header span,
.hero-cinematic .hero-metrics span {
  color: rgba(255, 253, 248, 0.62);
}

.preview-header b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(216, 163, 40, 0.18);
  color: #765508;
  font-size: 12px;
  white-space: nowrap;
}

.preview-chat {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 18px;
  background: #f7f1e5;
  border-radius: 8px;
}

.hero-chat-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 0;
  scrollbar-width: none;
}

.hero-chat-prompts::-webkit-scrollbar {
  display: none;
}

.hero-chat-prompts button {
  flex: 0 0 auto;
  max-width: 210px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.1);
  color: rgba(255, 253, 248, 0.88);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.hero-chat-prompts button:hover {
  border-color: rgba(240, 191, 75, 0.44);
}

.hero-chat-log {
  min-height: 240px;
  max-height: min(34vh, 310px);
  overflow: auto;
  align-content: start;
}

.hero-chat-form {
  margin-top: 14px;
  border-top-color: rgba(255, 253, 248, 0.13);
}

.hero-chat-form input {
  border-color: rgba(255, 253, 248, 0.13);
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
}

.hero-chat-form input::placeholder {
  color: rgba(255, 253, 248, 0.5);
}

.hero-chat-form input:focus {
  border-color: rgba(240, 191, 75, 0.64);
}

.hero-chat-form button {
  background: #f0bf4b;
  color: #111612;
  box-shadow: 0 14px 32px rgba(216, 163, 40, 0.2);
}

.hero-cinematic .preview-chat {
  background: rgba(2, 14, 11, 0.34);
}

.message {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.message.customer {
  justify-self: end;
  background: var(--green);
  color: var(--white);
}

.message.bot {
  justify-self: start;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
}

.hero-cinematic .message.bot {
  border-color: rgba(255, 253, 248, 0.13);
  background: rgba(255, 253, 248, 0.12);
  color: rgba(255, 253, 248, 0.9);
}

.hero-cinematic .message.customer {
  background: rgba(240, 191, 75, 0.95);
  color: #111612;
}

.interactive-preview .message {
  transform: translateY(0);
  animation: messageRise 380ms ease both;
}

.interactive-preview .message:nth-child(2) {
  animation-delay: 110ms;
}

.interactive-preview .message:nth-child(3) {
  animation-delay: 220ms;
}

.interactive-preview .message:nth-child(4) {
  animation-delay: 330ms;
}

.preview-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.flow-step {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.flow-step strong {
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.25;
}

.flow-step.active {
  border-color: rgba(31, 103, 82, 0.26);
  background: rgba(18, 63, 50, 0.07);
}

.hero-cinematic .flow-step.active {
  border-color: rgba(240, 191, 75, 0.38);
  background: rgba(240, 191, 75, 0.12);
}

.flow-step.active span {
  background: var(--green);
  color: var(--white);
}

.preview-admin {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #173f34;
  color: var(--white);
}

.hero-cinematic .preview-admin {
  background: rgba(3, 15, 12, 0.78);
  box-shadow: inset 0 0 0 1px rgba(240, 191, 75, 0.18);
}

.preview-admin div {
  display: grid;
  gap: 3px;
}

.preview-admin span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.preview-admin b {
  color: var(--gold);
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-mini-admin {
  margin-top: 14px;
}

.hero-metrics div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
}

.hero-metrics strong {
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

@keyframes luxurySweep {
  from {
    transform: translateX(-12%);
    opacity: 0.28;
  }
  to {
    transform: translateX(18%);
    opacity: 0.7;
  }
}

@keyframes receptionGlow {
  0%,
  100% {
    transform: translateX(-22%);
    opacity: 0.34;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.74;
  }
}

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

.demo-section,
.how-section,
.offer-section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
}

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--green);
  color: var(--white);
}

.demo-workspace {
  display: grid;
  grid-template-columns: 0.86fr minmax(360px, 1.18fr) 0.86fr;
  gap: 18px;
  align-items: stretch;
}

.scenario-panel,
.chat-panel,
.admin-panel {
  min-height: 560px;
  padding: 18px;
}

.scenario-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.scenario-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.scenario-header h3 {
  margin-bottom: 4px;
  color: var(--green);
}

.scenario-header p,
.panel-header span,
.scenario-facts span,
.handoff-box p,
.steps p,
.offer-section li {
  color: var(--muted);
  line-height: 1.5;
}

.scenario-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.fact {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8ef;
}

.fact strong,
.panel-header strong {
  color: var(--charcoal);
}

h4 {
  margin-bottom: 10px;
  color: var(--green);
}

.quick-prompts {
  display: grid;
  gap: 8px;
}

.quick-prompts button {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  line-height: 1.25;
}

.quick-prompts button:hover {
  border-color: rgba(18, 63, 50, 0.34);
}

.chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-header div {
  display: grid;
  gap: 3px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  min-height: 0;
  padding: 18px 2px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8ef;
  color: var(--charcoal);
  outline: none;
}

.chat-form input:focus {
  border-color: var(--green-2);
}

.chat-form button {
  border: 0;
  padding: 0 18px;
  cursor: pointer;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-item {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8ef;
}

.admin-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-item strong {
  color: var(--green);
}

.admin-item span {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(216, 163, 40, 0.16);
  color: #805e09;
  font-size: 12px;
  font-weight: 900;
}

.handoff-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
}

.handoff-box p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding: 22px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--gold);
  font-weight: 900;
}

.steps h3 {
  color: var(--green);
}

.steps p {
  margin-bottom: 0;
}

.offer-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.75fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) 56px;
  padding: 38px;
  border-radius: 8px;
  background: #173f34;
  color: var(--white);
}

.offer-section h2,
.offer-section .eyebrow {
  color: var(--white);
}

.offer-section ul {
  margin: 0;
  padding-left: 18px;
}

.offer-section li {
  color: rgba(255, 255, 255, 0.76);
  margin: 7px 0;
}

.offer-section .primary-btn {
  background: var(--gold);
  color: var(--ink);
}

@media (max-width: 1080px) {
  .hero,
  .demo-workspace,
  .offer-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .scenario-panel,
  .chat-panel,
  .admin-panel {
    min-height: auto;
  }

  .chat-log {
    max-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .brand {
    max-width: 170px;
  }

  .brand-logo {
    width: 166px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero {
    padding-top: 36px;
  }

  .preview-flow,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 0;
  }

  .preview-header,
  .preview-admin {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions,
  .industry-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .offer-section {
    margin-left: 18px;
    margin-right: 18px;
    padding: 24px;
  }
}
