:root {
  --paper: #f7f2ea;
  --linen: #eee5d8;
  --ink: #171412;
  --soft-ink: #4b4038;
  --muted: #847569;
  --copper: #a8623c;
  --deep: #231816;
  --card: rgba(255, 255, 255, 0.62);
  --border: rgba(35, 24, 22, 0.12);
  --header-bg: rgba(247, 242, 234, 0.84);
  --body-bg:
    radial-gradient(circle at 12% 0%, rgba(168, 98, 60, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--paper), #fbf8f3 42%, var(--linen));
  --alt-bg: rgba(255, 250, 244, 0.42);
  --surface: rgba(255, 250, 244, 0.78);
  --phone-shell: #211713;
  --phone-screen:
    linear-gradient(145deg, #fffaf4, #eadccb);
  --button-text: #fffaf4;
}

:root[data-theme="dark"] {
  --paper: #130f0c;
  --linen: #0d0b09;
  --ink: #fff7ed;
  --soft-ink: #d8c3ad;
  --muted: #947d68;
  --copper: #c47f4d;
  --deep: #f0c38a;
  --card: rgba(255, 244, 230, 0.055);
  --border: rgba(255, 229, 199, 0.12);
  --header-bg: rgba(19, 15, 12, 0.86);
  --body-bg:
    radial-gradient(circle at 24% 0%, rgba(196, 127, 77, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(240, 195, 138, 0.12), transparent 26rem),
    linear-gradient(180deg, #170f0b 0%, #130f0c 46%, #0d0b09 100%);
  --alt-bg: rgba(37, 24, 19, 0.68);
  --surface: rgba(19, 15, 12, 0.82);
  --phone-shell: #080504;
  --phone-screen:
    radial-gradient(circle at 50% 0%, rgba(196, 127, 77, 0.18), transparent 18rem),
    linear-gradient(145deg, #3a241b, #130f0c);
  --button-text: #1a100b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
  transition: background 220ms ease, color 220ms ease;
}

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

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.section-shell {
  width: min(100% - 44px, 1160px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--copper);
}

.nav-links,
.site-footer nav,
.header-actions {
  display: flex;
  align-items: center;
}

.nav-links,
.site-footer nav {
  gap: 25px;
  color: var(--soft-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-actions {
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--soft-ink);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  border-color: rgba(168, 98, 60, 0.35);
}

.toggle-track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(168, 98, 60, 0.16);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--copper);
  transition: transform 180ms ease;
}

:root[data-theme="dark"] .toggle-thumb {
  transform: translateX(16px);
}

.nav-links a:hover,
.site-footer nav a:hover {
  color: var(--copper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--button-text);
  box-shadow: 0 18px 34px rgba(35, 24, 22, 0.16);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(168, 98, 60, 0.35);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 70px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

h1 {
  max-width: 810px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 6.9rem);
  font-weight: 500;
  line-height: 0.95;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-copy {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin-top: 38px;
  color: var(--soft-ink);
  font-size: 0.9rem;
}

.hero-points span {
  border-top: 1px solid rgba(168, 98, 60, 0.32);
  padding-top: 12px;
}

.phone-stage {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
}

.ar-glow {
  position: absolute;
  inset: -26px;
  border-radius: 40px;
  background: rgba(168, 98, 60, 0.11);
  filter: blur(34px);
}

.ar-ring {
  position: absolute;
  top: 132px;
  left: 42px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(168, 98, 60, 0.24);
  border-radius: 999px;
}

.phone {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(35, 24, 22, 0.16);
  border-radius: 30px;
  background: var(--phone-shell);
  box-shadow: 0 34px 64px rgba(80, 47, 31, 0.22);
}

.phone-screen {
  min-height: 620px;
  padding: 20px;
  border-radius: 24px;
  background: var(--phone-screen);
  color: var(--ink);
}

.phone-speaker {
  width: 78px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: rgba(35, 24, 22, 0.16);
}

.restaurant-card,
.menu-preview-card,
.panel-card,
.glass-card {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 18px 42px rgba(80, 47, 31, 0.08);
}

.restaurant-card,
.menu-preview-card,
.panel-card {
  border-radius: 14px;
}

.restaurant-card {
  padding: 18px;
}

.restaurant-card span,
.demo-header span,
.panel-card span {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.restaurant-card h2 {
  margin: 12px 0 2px;
  font-size: 1.45rem;
  font-family: Georgia, "Times New Roman", serif;
}

.restaurant-card p,
.menu-preview-card p,
.glass-card p,
.demo-card p,
.site-footer p {
  color: var(--soft-ink);
}

.menu-preview-card {
  margin-top: 18px;
  padding: 18px;
  background: var(--surface);
}

.dish-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(168, 98, 60, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle, rgba(168, 98, 60, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(35, 24, 22, 0.08), rgba(168, 98, 60, 0.12));
}

.plate-shadow,
.plate,
.dish-core,
.dish-piece {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.plate-shadow {
  width: 68%;
  height: 24%;
  top: 66%;
  background: rgba(35, 24, 22, 0.14);
  filter: blur(12px);
}

.plate {
  width: 66%;
  height: 54%;
  border: 10px solid rgba(255, 250, 244, 0.74);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(168, 98, 60, 0.14);
}

.dish-core {
  width: 36%;
  height: 28%;
  background:
    radial-gradient(circle at 38% 32%, #fff4df 0 11%, transparent 12%),
    radial-gradient(circle at 68% 58%, #593027 0 11%, transparent 12%),
    linear-gradient(135deg, #d78955, #754231);
  box-shadow: 0 12px 24px rgba(80, 47, 31, 0.18);
}

.dish-piece {
  width: 16%;
  height: 13%;
  background: #f5c36f;
  box-shadow: 0 8px 18px rgba(80, 47, 31, 0.14);
}

.dish-piece.one {
  top: 38%;
  left: 36%;
  background: #f0a34d;
}

.dish-piece.two {
  top: 58%;
  left: 62%;
  background: #86a66b;
}

.dish-piece.three {
  top: 48%;
  left: 68%;
  background: #f8df9b;
}

.dish-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.dish-row strong,
.demo-header strong {
  color: var(--copper);
  white-space: nowrap;
}

.menu-preview-card button,
.demo-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 1px solid rgba(168, 98, 60, 0.28);
  border-radius: 8px;
  background: var(--deep);
  color: var(--button-text);
  font-weight: 800;
  cursor: pointer;
}

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

.phone-menu-tabs button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.phone-menu-tabs button.is-active {
  border-color: rgba(168, 98, 60, 0.42);
  background: rgba(168, 98, 60, 0.14);
  color: var(--ink);
}

.section {
  padding: 96px 0;
}

.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--alt-bg);
}

.card-grid,
.step-grid {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.three,
.benefits {
  grid-template-columns: repeat(3, 1fr);
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.glass-card {
  border-radius: 14px;
  padding: 26px;
}

.line-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(168, 98, 60, 0.26);
  border-radius: 10px;
  background: rgba(168, 98, 60, 0.08);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.product-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.panel-card {
  padding: 22px;
}

.panel-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.panel-card.wide {
  grid-column: 1 / -1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feature-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 9px 12px;
  color: var(--soft-ink);
  font-size: 0.86rem;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(168, 98, 60, 0.26);
  border-radius: 10px;
  background: rgba(168, 98, 60, 0.08);
  color: var(--copper);
  font-weight: 900;
}

.note {
  margin: 28px 0 0;
  color: var(--soft-ink);
  font-weight: 700;
}

.benefits .glass-card {
  transition: border-color 180ms ease, background 180ms ease;
}

.benefits .glass-card:hover {
  border-color: rgba(168, 98, 60, 0.32);
  background: var(--surface);
}

.demo-card,
.live-demo-card,
.trumenu-demo {
  position: relative;
  overflow: hidden;
}

.demo-card::before,
.trumenu-demo::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 40px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(168, 98, 60, 0.1);
  filter: blur(38px);
}

.demo-header,
.demo-content {
  position: relative;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.dish-visual.large {
  min-height: 260px;
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 44px;
  align-items: center;
}

.demo-actions,
.demo-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-actions {
  margin-top: 30px;
}

.demo-proof {
  margin-top: 30px;
}

.demo-proof span {
  border-top: 1px solid rgba(168, 98, 60, 0.32);
  padding-top: 10px;
  color: var(--soft-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.live-demo-card {
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(168, 98, 60, 0.34);
}

.browser-chrome strong {
  margin-left: 8px;
  color: var(--soft-ink);
  font-weight: 800;
}

.live-demo-card iframe {
  display: block;
  width: 100%;
  height: min(72vh, 680px);
  min-height: 520px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.ar-demo-card {
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 14px;
  background: var(--surface);
}

.restaurant-demo-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(168, 98, 60, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(168, 98, 60, 0.13));
  padding: 16px;
}

.restaurant-demo-banner span,
.restaurant-demo-banner small {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.restaurant-demo-banner strong {
  display: block;
  margin-top: 5px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.restaurant-demo-banner small {
  white-space: nowrap;
}

.ar-dish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.ar-dish-grid.single {
  grid-template-columns: 1fr;
}

.ar-dish-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(80, 47, 31, 0.08);
}

.featured-dish {
  max-width: 660px;
  margin: 0 auto;
}

.ar-dish-stage {
  position: relative;
  height: 440px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 98, 60, 0.18), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(134, 166, 107, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(238, 229, 216, 0.72));
}

.ar-dish-stage model-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}

.dish-poster {
  position: absolute;
  inset: 8%;
  z-index: 0;
  opacity: 0.9;
  filter: saturate(1.08);
}

.poster-plate,
.poster-food,
.poster-garnish {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.poster-plate {
  width: min(72%, 380px);
  height: min(52%, 250px);
  border: 18px solid rgba(255, 253, 248, 0.78);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0 34%, rgba(223, 208, 188, 0.5) 35% 62%, transparent 63%),
    rgba(255, 250, 244, 0.62);
  box-shadow: 0 34px 60px rgba(80, 47, 31, 0.18);
}

.poster-food {
  box-shadow: 0 10px 20px rgba(80, 47, 31, 0.15);
}

.poster-food.main {
  width: 28%;
  height: 18%;
  background: linear-gradient(135deg, #7b4638, #c77645 54%, #f1c074);
}

.poster-food.bright {
  left: 59%;
  top: 45%;
  width: 18%;
  height: 12%;
  background: linear-gradient(135deg, #f2a24d, #fff0bf);
}

.poster-food.green {
  left: 43%;
  top: 58%;
  width: 16%;
  height: 11%;
  background: linear-gradient(135deg, #78975f, #e4d39b);
}

.poster-garnish {
  width: 7px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.84);
}

.poster-garnish.one {
  left: 48%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(48deg);
}

.poster-garnish.two {
  left: 57%;
  top: 58%;
  transform: translate(-50%, -50%) rotate(-38deg);
}

.ar-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(168, 98, 60, 0.28);
  border-radius: 999px;
  background: var(--deep);
  color: var(--button-text);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(80, 47, 31, 0.16);
  cursor: pointer;
}

.ar-dish-body {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.ar-dish-body h3 {
  margin-bottom: 7px;
}

.ar-dish-body p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.ar-dish-body strong {
  color: var(--copper);
  white-space: nowrap;
}

.trumenu-demo {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
}

.trumenu-demo-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 26px;
}

.table-scene {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(255, 250, 244, 0.86), rgba(238, 229, 216, 0.62)),
    repeating-linear-gradient(90deg, rgba(168, 98, 60, 0.08) 0 1px, transparent 1px 72px);
}

.table-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(62vw, 420px);
  height: min(62vw, 420px);
  border: 1px solid rgba(168, 98, 60, 0.2);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotateX(66deg);
  animation: orbitPulse 2800ms ease-in-out infinite;
}

.table-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 190px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 244, 0.95) 0 34%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(168, 98, 60, 0.16) 0 48%, transparent 49%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 48px rgba(80, 47, 31, 0.16);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.table-plate span {
  position: absolute;
  width: 74px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c67845, #f2c276);
  box-shadow: 0 10px 18px rgba(80, 47, 31, 0.16);
}

.table-plate span:nth-child(1) {
  left: 72px;
  top: 56px;
}

.table-plate span:nth-child(2) {
  left: 124px;
  top: 80px;
  background: linear-gradient(135deg, #7b4638, #d18a53);
}

.table-plate span:nth-child(3) {
  left: 92px;
  top: 108px;
  background: linear-gradient(135deg, #86a66b, #f6dda0);
}

.table-plate span:nth-child(4) {
  left: 144px;
  top: 42px;
  background: linear-gradient(135deg, #f4a84f, #fff0c9);
}

.scan-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  width: min(220px, calc(100% - 36px));
  border: 1px solid rgba(168, 98, 60, 0.22);
  border-radius: 10px;
  background: rgba(255, 250, 244, 0.86);
  padding: 14px;
  box-shadow: 0 18px 32px rgba(80, 47, 31, 0.1);
}

.scan-card small {
  color: var(--copper);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.demo-menu-stack {
  display: grid;
  gap: 16px;
}

.demo-menu-stack article {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 20px;
}

.demo-menu-stack span {
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.demo-menu-stack h4 {
  margin: 8px 0 8px;
  font-size: 1.18rem;
}

.demo-menu-stack p {
  margin-bottom: 0;
  color: var(--soft-ink);
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) rotateX(66deg) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) rotateX(66deg) scale(1.04);
  }
}

.local-panel {
  padding: clamp(32px, 5vw, 56px);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(168, 98, 60, 0.3);
  background: var(--surface);
}

.tier-line {
  color: var(--copper);
  font-weight: 900;
}

.pricing-card .button {
  margin-top: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form label span {
  color: #c2362b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form input:invalid,
.contact-form textarea:invalid {
  box-shadow: none;
}

.contact-form.was-validated input:invalid,
.contact-form.was-validated textarea:invalid {
  border-color: #c2362b;
  background:
    linear-gradient(0deg, rgba(194, 54, 43, 0.06), rgba(194, 54, 43, 0.06)),
    var(--surface);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4em;
  font-weight: 800;
}

.form-status.is-error {
  color: #c2362b;
}

.form-status.is-success {
  color: var(--copper);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 42px 0 26px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  max-width: 430px;
  margin: 16px 0 0;
}

.copyright {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split-layout,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .three,
  .benefits,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 32px, 1160px);
  }

  .hero-points,
  .three,
  .benefits,
  .step-grid,
  .product-panel,
  .demo-content,
  .ar-dish-grid,
  .trumenu-demo-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .live-demo-card iframe {
    height: 540px;
    min-height: 460px;
  }

  .restaurant-demo-banner,
  .ar-dish-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .restaurant-demo-banner small {
    white-space: normal;
  }

  .ar-dish-stage {
    height: 360px;
  }

  .table-scene {
    min-height: 300px;
  }

  .phone-screen {
    min-height: auto;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
