.demo-body {
  background: #f7f5f1;
  color: #17211d;
  user-select: text;
}

.demo-body .app-content {
  min-height: 100vh;
  padding: 0;
}

.demo-landing {
  --demo-green: #183f62;
  --demo-green-dark: #15242f;
  --demo-mint: #f2e4e1;
  overflow: hidden;
  background: #f7f5f1;
}

.demo-nav {
  width: calc(100% - 48px);
  max-width: 1180px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #17211d;
  text-decoration: none;
}

.demo-brand > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--demo-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.demo-brand strong {
  font-size: 1rem;
}

.demo-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.demo-nav nav a {
  color: #52605a;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

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

.demo-nav .demo-nav__login {
  border: 1px solid #cdd6d1;
  border-radius: 9px;
  padding: 9px 17px;
  color: #17211d;
}

.demo-hero {
  width: calc(100% - 48px);
  max-width: 1180px;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 0.86fr);
  gap: 72px;
  align-items: center;
  margin: 0 auto;
  padding: 42px 0 82px;
}

.demo-hero__copy {
  position: relative;
  z-index: 2;
}

.demo-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--demo-green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.demo-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b52b35;
  box-shadow: 0 0 0 5px rgba(181, 43, 53, 0.12);
}

.demo-hero h1 {
  max-width: 650px;
  margin: 21px 0 23px;
  color: #16201c;
  font-size: clamp(3.1rem, 5.2vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.demo-hero h1 em {
  display: inline-block;
  color: var(--demo-green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.demo-hero__lead {
  max-width: 590px;
  color: #66716c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.demo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.demo-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 10px;
  padding: 0 21px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.demo-button--primary {
  background: var(--demo-green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 107, 77, 0.2);
}

.demo-button--primary:hover {
  background: var(--demo-green-dark);
  transform: translateY(-1px);
}

.demo-button--quiet {
  border: 1px solid #d7ddda;
  background: rgba(255, 255, 255, 0.6);
  color: #34413b;
}

.demo-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 37px;
}

.demo-proof__avatars {
  display: flex;
}

.demo-proof__avatars span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: -7px;
  border: 3px solid #f7f5f1;
  border-radius: 50%;
  background: #c8ded3;
  color: var(--demo-green-dark);
  font-size: 0.58rem;
  font-weight: 900;
}

.demo-proof__avatars span:first-child { margin-left: 0; background: #f2d7bb; }
.demo-proof__avatars span:last-child { background: #d9d7f0; }
.demo-brand img { display: block; width: 29px; height: 29px; object-fit: contain; }
.demo-proof__avatars img { width: 20px; height: 20px; object-fit: contain; }
.demo-chat__avatar img { width: 28px; height: 28px; object-fit: contain; }
.demo-proof p, .demo-proof small { display: block; }
.demo-proof strong { font-size: 0.79rem; }
.demo-proof small { color: #7b8681; font-size: 0.72rem; }

.demo-chat-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.demo-chat-stage::before {
  position: absolute;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: var(--demo-mint);
  content: "";
}

.demo-glow {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
  filter: blur(1px);
}

.demo-glow--one { width: 100px; height: 100px; top: 30px; right: 10px; }
.demo-glow--two { width: 54px; height: 54px; bottom: 50px; left: 22px; }

.demo-chat {
  position: relative;
  z-index: 2;
  width: 356px;
  height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 49, 0.1);
  border-radius: 22px;
  background: #f5f0e9;
  box-shadow: 0 36px 70px rgba(35, 67, 54, 0.19);
  transform: rotate(1.5deg);
}

.demo-chat__head {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 15px;
}

.demo-chat__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce9e2;
  color: var(--demo-green);
  font-size: 0.72rem;
  font-weight: 900;
}

.demo-chat__head strong, .demo-chat__head span { display: block; }
.demo-chat__head strong { font-size: 0.8rem; }
.demo-chat__head span { color: #7c8882; font-size: 0.65rem; }
.demo-chat__head i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #38b47d; }
.demo-chat__head button { border: 0; background: transparent; color: #77817c; letter-spacing: 0.08em; }

.demo-chat__day {
  align-self: center;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  padding: 4px 10px;
  color: #8a918e;
  font-size: 0.58rem;
  font-weight: 800;
}

.demo-chat__messages {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 16px 58px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.demo-chat__messages::-webkit-scrollbar {
  display: none;
}

.demo-message {
  max-width: 84%;
  opacity: 0;
  border-radius: 12px;
  padding: 10px 12px 7px;
  color: #3c4742;
  font-size: 0.75rem;
  line-height: 1.45;
  box-shadow: 0 2px 7px rgba(35, 67, 54, 0.07);
  transform: translateY(9px);
  animation: demo-message-in 0.35s ease forwards;
}

.demo-message--in { align-self: flex-start; border-top-left-radius: 3px; background: #fff; }
.demo-message--out { align-self: flex-end; border-top-right-radius: 3px; background: #d9f2e4; }
.demo-message time { display: block; margin-top: 3px; color: #8a9690; font-size: 0.55rem; text-align: right; }

.demo-chat__typing {
  position: absolute;
  z-index: 3;
  bottom: 62px;
  left: 16px;
  width: max-content;
  display: flex;
  gap: 4px;
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px;
  box-shadow: 0 2px 7px rgba(35, 67, 54, 0.07);
}

.demo-chat__typing[hidden] { display: none; }
.demo-chat__typing span { width: 5px; height: 5px; border-radius: 50%; background: #97a29c; animation: demo-typing 1s infinite; }
.demo-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.demo-chat__typing span:nth-child(3) { animation-delay: 0.3s; }

.demo-chat__composer {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 25px 1fr 34px;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  background: #fff;
  padding: 11px 13px;
  color: #97a09c;
}

.demo-chat__composer p { font-size: 0.69rem; }
.demo-chat__composer button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--demo-green); color: #fff; font-weight: 900; }

.demo-status-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 63, 49, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 11px 14px;
  box-shadow: 0 16px 35px rgba(35, 67, 54, 0.14);
}

.demo-status-card--stock { top: 100px; left: -15px; }
.demo-status-card--booking { right: -30px; bottom: 92px; }
.demo-status-card__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #f4e8e6; color: var(--demo-green); font-weight: 900; }
.demo-status-card__icon img { width: 22px; height: 22px; object-fit: contain; }
.demo-status-card small, .demo-status-card strong { display: block; white-space: nowrap; }
.demo-status-card small { color: #89938e; font-size: 0.57rem; font-weight: 800; text-transform: uppercase; }
.demo-status-card strong { font-size: 0.7rem; }

.demo-values {
  padding: 96px 24px;
  background: #fff;
}

@media (min-width: 1228px) {
  .demo-values {
    padding-right: calc((100% - 1180px) / 2);
    padding-left: calc((100% - 1180px) / 2);
  }
}

.demo-section-title {
  max-width: 640px;
}

.demo-section-title h2, .demo-flow h2, .demo-cta h2 {
  margin: 15px 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.demo-section-title > p:last-child { color: #727d77; }

.demo-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 55px;
  background: #e2e7e4;
  border: 1px solid #e2e7e4;
}

.demo-values__grid article {
  min-height: 270px;
  background: #fff;
  padding: 29px;
}

.demo-values__grid article > span { width: 38px; height: 38px; display: grid; place-items: center; color: #b52b35; font-family: Georgia, serif; font-size: 1.15rem; }
.demo-values__grid article > span img { width: 34px; height: 34px; object-fit: contain; }
.demo-values__grid h3 { margin: 58px 0 12px; font-size: 1.05rem; }
.demo-values__grid p { color: #748079; font-size: 0.84rem; line-height: 1.7; }

.demo-flow {
  width: calc(100% - 48px);
  max-width: 1180px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 100px;
  margin: 0 auto;
  padding: 105px 0;
}

.demo-flow ol { list-style: none; }
.demo-flow li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-top: 1px solid #dfe5e1; padding: 24px 0; }
.demo-flow li > strong { color: #b52b35; font-family: Georgia, serif; }
.demo-flow li span, .demo-flow li b { display: block; }
.demo-flow li b { margin-bottom: 5px; font-size: 1rem; }
.demo-flow li span { color: #737e78; font-size: 0.84rem; }

.demo-cta {
  width: calc(100% - 48px);
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--demo-green-dark);
  padding: 48px 54px;
  color: #fff;
}

.demo-cta p { color: #9ec6b7; font-size: 0.77rem; font-weight: 800; text-transform: uppercase; }
.demo-cta h2 { margin-bottom: 0; }
.demo-button--light { flex: 0 0 auto; background: #fff; color: var(--demo-green-dark); }

.demo-footer {
  width: calc(100% - 48px);
  max-width: 1180px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 52px 0;
  color: #7c8781;
  font-size: 0.76rem;
}

.demo-footer strong { color: #28342e; font-size: 0.9rem; }

@keyframes demo-message-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes demo-typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-3px); }
}

@media (max-width: 980px) {
  .demo-hero { grid-template-columns: 1fr; gap: 25px; }
  .demo-hero__copy { padding-top: 35px; }
  .demo-chat-stage { margin-top: 10px; }
  .demo-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-flow { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 620px) {
  .demo-nav { width: calc(100% - 30px); }
  .demo-nav nav > a:not(.demo-nav__login) { display: none; }
  .demo-hero, .demo-flow, .demo-cta, .demo-footer { width: calc(100% - 30px); }
  .demo-hero { display: block; padding-top: 30px; }
  .demo-hero h1 { font-size: 3.2rem; }
  .demo-hero__actions { align-items: stretch; flex-direction: column; }
  .demo-chat-stage { min-height: 570px; transform: scale(0.88); margin: -5px -30px -30px; }
  .demo-status-card--stock { left: 0; }
  .demo-status-card--booking { right: 0; }
  .demo-values { padding-top: 72px; padding-bottom: 72px; }
  .demo-values__grid { grid-template-columns: 1fr; }
  .demo-values__grid article { min-height: 220px; }
  .demo-values__grid h3 { margin-top: 35px; }
  .demo-cta { align-items: flex-start; flex-direction: column; padding: 35px 27px; }
  .demo-footer { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-message, .demo-chat__typing span { animation: none; opacity: 1; transform: none; }
}
