/*
Theme Name: Venus Digital Menu
Theme URI: https://venust.ir
Author: Venus
Description: قالب لندینگ منوی دیجیتال کافه و رستوران. تمام متن‌ها و تصاویر از مسیر نمایش › سفارشی‌سازی قابل ویرایش است.
Version: 2.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: venus-menu
Tags: rtl-language-support, one-column, custom-logo
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-light: color-mix(in srgb, var(--primary) 10%, #ffffff);
  --primary-glow: color-mix(in srgb, var(--primary) 38%, transparent);
  --accent: #92400e;
  --ink: #1d130d;
  --bg-body: #fffaf3;
  --bg-muted: #f9f0e3;
  --bg-card: #ffffff;
  --text-main: #2b1b12;
  --text-muted: #6b5646;
  --text-light: #bda893;
  --border: #eaded0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(43, 27, 18, 0.04), 0 4px 14px rgba(43, 27, 18, 0.04);
  --shadow-md: 0 2px 4px rgba(43, 27, 18, 0.03), 0 18px 40px -12px rgba(43, 27, 18, 0.14);
  --shadow-lg: 0 30px 70px -20px rgba(43, 27, 18, 0.28);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: Vazirmatn, "IRANSansX", Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

section { padding: 104px 0; position: relative; }
.bg-muted { background: linear-gradient(180deg, var(--bg-muted), color-mix(in srgb, var(--bg-muted) 70%, var(--bg-body))); }

.block-gap { margin-bottom: 88px; }

.skip-link {
  position: fixed; top: -60px; inset-inline-start: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 14px; }

.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: right center; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--primary), #f59e0b); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: .95rem; line-height: 1.5;
  cursor: pointer; border: 1.5px solid transparent; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(-5px); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px -8px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 34px -8px var(--primary-glow); }

.btn-outline { background: #fff; color: var(--text-main); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text-main); border-color: color-mix(in srgb, var(--text-main) 18%, transparent); }
.btn-ghost:hover { background: #fff; border-color: var(--text-main); transform: translateY(-2px); }

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .86rem; }
.btn-block { width: 100%; }

/* =========================================================
   Section header + badges
   ========================================================= */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  font-weight: 700; font-size: .82rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); display: inline-block; flex-shrink: 0; }
.badge-live .dot, .card-tag .dot { box-shadow: 0 0 0 0 var(--primary-glow); animation: pulse 2s infinite; }

.section-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; line-height: 1.4; margin-bottom: 16px; letter-spacing: -.01em; }
.section-desc { color: var(--text-muted); font-size: 1.06rem; line-height: 2; }
.story-desc { margin-bottom: 28px; }
.section-cta { text-align: center; margin-top: 52px; }

/* =========================================================
   Navbar
   ========================================================= */
.navbar { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.navbar .container { position: relative; }

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px;
  padding-inline: 12px 12px; padding-inline-start: 20px;
  background: rgba(255, 252, 247, .72);
  backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  border: 1px solid rgba(234, 222, 208, .9); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(43,27,18,.04);
  transition: box-shadow .3s, background-color .3s;
}
.navbar.is-scrolled .navbar-inner { box-shadow: 0 14px 40px -14px rgba(43, 27, 18, .22); background: rgba(255, 252, 247, .9); }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1rem; min-width: 0; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--primary), var(--primary-hover)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 8px 18px -6px var(--primary-glow);
}
.brand-img { height: 40px; width: auto; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand-name b { font-weight: 900; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { font-size: .68rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 2px; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.nav-links a { padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text-main); background: rgba(43,27,18,.05); }
.nav-links a.is-active { color: var(--primary); background: var(--primary-light); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta { white-space: nowrap; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-main); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: calc(100% + 4px); inset-inline: 20px; z-index: 5;
  background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 14px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 10px;
  animation: menuIn .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; font-weight: 700; }
.mobile-menu nav a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu nav a .ico { opacity: .4; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 40px 0 96px; overflow: hidden; isolation: isolate; background: var(--bg-body); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43,27,18,.10) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb.o1 { width: 520px; height: 520px; top: -180px; inset-inline-end: -120px; background: color-mix(in srgb, var(--primary) 55%, transparent); animation: drift 14s ease-in-out infinite alternate; }
.orb.o2 { width: 420px; height: 420px; bottom: -160px; inset-inline-start: -140px; background: rgba(245, 158, 11, .4); animation: drift 18s ease-in-out infinite alternate-reverse; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.hero-title { font-size: clamp(2.1rem, 4.8vw, 3.7rem); font-weight: 900; line-height: 1.28; letter-spacing: -.02em; margin-bottom: 22px; }
.hero-title mark {
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--primary) 24%, transparent) 60% 92%, transparent 92%);
  color: var(--primary); padding: 0 .12em; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-desc { font-size: 1.14rem; color: var(--text-muted); margin-bottom: 34px; max-width: 540px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }

.live-updates { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.update-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8); backdrop-filter: blur(6px);
  border: 1px solid var(--border); padding: 6px 14px 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  opacity: 0; animation: pillIn .6s var(--ease) forwards; animation-delay: calc(.5s + var(--i, 0) * .12s);
}
.update-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.18); }

/* Hero visual */
.hero-media { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.hero-ring {
  position: absolute; width: 440px; max-width: 95%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 30% 30%, #fff, color-mix(in srgb, var(--primary) 14%, #fff) 70%);
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.5), 0 40px 80px -30px var(--primary-glow);
}
.hero-media .phone.back { position: absolute; transform: translateX(-125px) rotate(-8deg) scale(.86); opacity: .96; z-index: 1; animation: floatY 8s ease-in-out -2s infinite; }
.hero-media .phone.front { position: relative; z-index: 2; transform: translateX(35px) rotate(3deg); animation: floatY 7s ease-in-out infinite; }
.hero-media > .img-slot { border-radius: 32px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }

.float-chip {
  position: absolute; z-index: 3; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px 8px 10px; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-md);
  display: flex; gap: 9px; align-items: center; animation: floatY 6s ease-in-out infinite;
}
.float-chip.c1 { top: 300px; right: -18px; animation-delay: -1s; }
.float-chip.c2 { bottom: 70px; left: -6px; animation-delay: -3s; }
.chip-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.chip-ico.ok { background: rgba(22,163,74,.12); color: var(--success); }
.chip-ico .ico { width: 15px; height: 15px; }

/* Quote */
.quote-banner {
  position: relative; overflow: hidden; margin-top: 72px; border-radius: var(--radius-lg); padding: 44px 40px; text-align: center;
  background: var(--ink); color: #fff; isolation: isolate;
}
.quote-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(245,158,11,.25), transparent 60%);
}
.quote-banner::after {
  content: "”"; position: absolute; top: -34px; inset-inline-start: 28px; font-size: 11rem; line-height: 1; font-weight: 900; color: rgba(255,255,255,.07); z-index: -1;
}
.quote-banner p { font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 800; line-height: 1.8; max-width: 820px; margin: 0 auto; }

/* =========================================================
   Cards + grids
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.6; }
.card p { font-size: .94rem; color: var(--text-muted); }
.card .btn { margin-top: auto; }

.card-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 800;
  background: var(--primary-light); color: var(--primary); padding: 5px 12px; border-radius: 999px;
}
.card-tag .ico { width: 14px; height: 14px; }

/* Demo stages (phone display) */
.demo-stage {
  position: relative; height: 440px; overflow: hidden; border-radius: 16px; padding: 32px 18px 0;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--primary) 16%, #fff), transparent 75%), linear-gradient(180deg, var(--primary-light), #fff 90%);
}
.demo-stage .phone { box-shadow: 0 18px 40px rgba(43,27,18,.22), inset 0 0 0 2px #3a3a3a; transition: translate .6s var(--ease); }
.demo-card:hover .phone { translate: 0 -12px; }
.demo-stage.muted { background: linear-gradient(180deg, #efe9e2, #fff 90%); }

/* AI before/after */
.before-after-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-label { font-size: .78rem; font-weight: 700; text-align: center; margin-top: 8px; color: var(--text-muted); }
.ba-label.is-after { color: var(--primary); }

.ba-slider {
  position: relative; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; direction: ltr; background: #eee;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-slider .ba-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 20px rgba(0,0,0,.35); pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 3; pointer-events: none;
  border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ba-handle .ico { width: 22px; height: 22px; }
.ba-chip {
  position: absolute; top: 12px; z-index: 3; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  background: rgba(20,12,8,.62); backdrop-filter: blur(6px); color: #fff; pointer-events: none;
}
.ba-chip-a { left: 12px; background: var(--primary); }
.ba-chip-b { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; direction: ltr; }
.ba-hint { display: flex !important; align-items: center; justify-content: center; gap: 6px; font-size: .76rem !important; color: var(--text-light) !important; }
.ba-hint .ico { width: 14px; height: 14px; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse .feature-media { order: -1; }

/* Compare cards */
.cmp-card { padding: 26px; }
.cmp-good { border: 2px solid var(--primary); box-shadow: 0 30px 60px -28px var(--primary-glow); }
.cmp-bad { background: #faf6f1; }
.cmp-bad .demo-stage { filter: saturate(.55); }
.cmp-bad .card-tag { background: #ece5dc; color: #7d6d5f; }
.cmp-card .demo-stage { height: 400px; }

/* QR */
.qr-combo {
  display: flex; align-items: flex-end; justify-content: center; gap: 24px; min-height: 420px;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--primary) 18%, #fff), transparent 80%), linear-gradient(180deg, var(--primary-light), #fff);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 20px 0; overflow: hidden;
}
.qr-stand { background: #fff; border: 1px solid var(--border); border-radius: 100px 100px 16px 16px; padding: 36px 22px 22px; text-align: center; box-shadow: var(--shadow-md); width: 196px; margin-bottom: 36px; }
.qr-stand svg { width: 100%; height: auto; }
.qr-stand b { display: block; margin-top: 12px; font-size: .84rem; }
.qr-combo .phone { margin: 0 0 -70px; width: 200px; flex-shrink: 0; }

/* Table */
.table-wrapper { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; text-align: right; }
th, td { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: .95rem; vertical-align: middle; }
thead th { background: var(--bg-muted); font-weight: 800; color: var(--text-main); font-size: .9rem; }
thead th.highlight-col { background: var(--primary); color: #fff; }
tbody tr { transition: background-color .2s; }
tbody tr:hover td { background: #fffaf4; }
tbody tr:last-child td { border-bottom: none; }
td:first-child strong { font-weight: 800; }
thead th:first-child { width: 22%; }
thead th:nth-child(2) { width: 34%; }
td.highlight-cell, tbody tr:hover td.highlight-cell { background: var(--primary-light); font-weight: 700; color: var(--text-main); }
td:nth-child(2) { color: var(--text-muted); }

.table-note {
  margin-top: 24px; background: #fff; border: 1px solid var(--border); box-shadow: inset -4px 0 0 var(--primary);
  padding: 20px 28px; border-radius: 14px; font-size: .94rem; color: var(--text-muted); line-height: 2;
}

/* Business */
.biz-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 14px 24px; text-align: center;
  font-weight: 800; font-size: .98rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.biz-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); border-color: var(--primary); }
.biz-emoji {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; font-size: 1.9rem; line-height: 1;
  border-radius: 22px; background: var(--primary-light); transition: transform .4s var(--ease), background-color .3s;
}
.biz-card:hover .biz-emoji { transform: scale(1.12) rotate(6deg); background: color-mix(in srgb, var(--primary) 18%, #fff); }

.waiter-stage {
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--primary) 18%, #fff), transparent 80%), linear-gradient(180deg, var(--primary-light), #fff);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 20px 0; height: 480px; overflow: hidden;
}

/* Brands marquee */
.brands-marquee { display: flex; flex-direction: column; gap: 14px; }
.marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 14px; padding-inline-end: 14px; }
.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.brand-chip {
  direction: rtl; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 22px 8px 10px;
  font-size: .92rem; font-weight: 700; color: var(--text-muted); box-shadow: var(--shadow-sm);
  transition: color .2s, border-color .2s, transform .3s var(--ease);
}
.brand-chip i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: .9rem;
  background: var(--primary-light); color: var(--primary);
}
.brand-chip:hover { color: var(--text-main); border-color: var(--primary); transform: translateY(-2px); }

/* Image slots */
.img-placeholder {
  width: 100%; background: repeating-linear-gradient(135deg, #f6ece0 0 14px, #f1e5d6 14px 28px); border: 1.5px dashed #d4bfa8; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-muted);
  padding: 20px; gap: 8px; font-size: .85rem; position: relative; overflow: hidden;
}
.img-placeholder svg { width: 34px; height: 34px; stroke: #a8927f; fill: none; stroke-width: 1.6; }
.img-placeholder span { font-weight: 700; color: #5a4333; }
.img-placeholder small { color: #a8927f; font-size: .78rem; }
.img-slot { width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: #f6ece0; box-shadow: var(--shadow-md); }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.feature-media .img-slot:hover img { transform: scale(1.04); }

/* Steps */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; inset-inline: 16%; border-top: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent); z-index: 0; }
.step-card { position: relative; z-index: 1; padding: 32px 26px 30px; gap: 12px; }
.step-num {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-hover)); box-shadow: 0 14px 26px -10px var(--primary-glow);
  transform: rotate(-6deg); transition: transform .5s var(--ease);
}
.step-card:hover .step-num { transform: rotate(0) scale(1.08); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.price-card {
  position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 38px 34px 34px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(165deg, #2c1b11, #150d08); color: #f6ece0; border-color: transparent;
  box-shadow: 0 40px 80px -30px var(--primary-glow), 0 0 0 1px color-mix(in srgb, var(--primary) 50%, transparent);
}
.price-card.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 40% at 100% 0%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
}
.price-card > * { position: relative; }
.price-ribbon {
  position: absolute !important; top: -15px; inset-inline-start: 30px; display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, var(--primary), #f59e0b); color: #fff; font-size: .8rem; font-weight: 800; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 10px 22px -6px var(--primary-glow);
}
.price-ribbon .ico { width: 14px; height: 14px; }

.price-header { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.featured .price-header { border-color: rgba(255,255,255,.12); }
.plan-name { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; letter-spacing: .01em; }
.plan-price { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; }
.featured .plan-price { color: #fff; }
.plan-unit { font-size: 1rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0; }
.featured .plan-unit { color: #cdb9a6; }
.plan-period { font-size: .92rem; color: var(--text-muted); margin-top: 2px; }
.featured .plan-period { color: #cdb9a6; }
.plan-subnote { margin-top: 16px; background: var(--primary-light); color: var(--primary); font-size: .83rem; font-weight: 700; padding: 10px 14px; border-radius: 12px; line-height: 1.9; }
.featured .plan-subnote { background: rgba(255,255,255,.08); color: #ffd9bf; }

.feature-list { display: grid; gap: 12px; font-size: .92rem; color: var(--text-muted); margin-top: 24px; }
.featured .feature-list { color: #e6d7c6; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-list li strong { color: var(--text-main); font-weight: 800; }
.featured .feature-list li strong { color: #fff; }
.feature-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: rgba(22,163,74,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.featured .feature-list li::before {
  background-color: color-mix(in srgb, var(--primary) 25%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb98a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 6px 26px; transition: border-color .3s, box-shadow .3s; }
details.faq-item:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
details.faq-item[open] { border-color: var(--primary); box-shadow: 0 20px 40px -22px var(--primary-glow); }
details.faq-item summary { font-weight: 800; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--primary-light); transition: background-color .3s, transform .4s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--primary); transition: transform .4s var(--ease), background-color .3s; }
.faq-ico::after { transform: rotate(90deg); }
details[open] .faq-ico { background: var(--primary); transform: rotate(180deg); }
details[open] .faq-ico::before, details[open] .faq-ico::after { background: #fff; }
details[open] .faq-ico::after { transform: rotate(0); }
details.faq-item p { padding: 0 0 22px; color: var(--text-muted); font-size: .95rem; line-height: 2.1; animation: faqIn .45s var(--ease); }

/* CTA */
#consultation { padding-top: 40px; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 40px; padding: 64px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: radial-gradient(70% 90% at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 50px 90px -40px var(--primary-glow);
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); z-index: -1; }
.cta-box::before { width: 460px; height: 460px; top: -200px; inset-inline-start: -140px; }
.cta-box::after { width: 300px; height: 300px; bottom: -140px; inset-inline-end: 30%; }
.cta-box h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; line-height: 1.45; margin-bottom: 16px; }
.cta-box p { opacity: .92; font-size: 1.04rem; line-height: 2; }

.lead-form { position: relative; background: #fff; color: var(--text-main); padding: 28px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.4); }
.field { position: relative; display: block; }
.field .ico { position: absolute; top: 50%; inset-inline-start: 16px; margin-top: -9px; width: 18px; height: 18px; color: var(--text-light); transition: color .2s; pointer-events: none; }
.lead-form input, .lead-form select {
  width: 100%; height: 54px; padding: 0 16px; padding-inline-start: 46px; background: #fbf7f1; border: 1.5px solid transparent; border-radius: 16px;
  font-family: inherit; font-size: .94rem; color: var(--text-main); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lead-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b5646' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center; background-size: 16px; padding-inline-end: 44px; }
.lead-form input::placeholder { color: #a8927f; }
.lead-form input:hover, .lead-form select:hover { border-color: var(--border); }
.lead-form input:focus, .lead-form select:focus { outline: none; background-color: #fff; border-color: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 14%, transparent); }
.field:focus-within .ico { color: var(--primary); }
.lead-form .btn { margin-top: 4px; }
.lead-form .btn.is-loading { pointer-events: none; opacity: .75; }
.lead-form .btn.is-loading .ico { animation: spin 1s linear infinite; }

.hk-notice { background: #dcfce7; color: #166534; border: 1px solid #86efac; border-radius: 14px; padding: 12px 16px; font-size: .9rem; font-weight: 700; line-height: 1.9; }
.hk-notice.err { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.lead-form input.hp-field { position: absolute; right: 0; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; border: 0; padding: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #cdb9a6; padding: 80px 0 32px; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -200px; inset-inline-start: 50%; width: 700px; height: 400px; margin-inline-start: -350px; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 30%, transparent), transparent); opacity: .5; pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 20px; }
.site-footer p { line-height: 2; }
.site-footer ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer a { transition: color .2s; }
.site-footer li a:hover { color: #fff; }
.trust-badges { display: flex; gap: 12px; margin-top: 18px; }
.trust-box { background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); border-radius: 14px; padding: 14px; text-align: center; font-size: .8rem; flex: 1; }
.trust-box img { max-width: 100%; max-height: 70px; margin: 0 auto; display: block; }
.copyright { text-align: center; padding-top: 28px; font-size: .84rem; color: #9c8873; }

/* Floating helpers */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,250,243,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .5s var(--ease); display: none;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

.to-top {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--text-main); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s, color .2s;
}
.to-top .ico { width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Inner pages */
.hk-page { padding: 64px 20px 96px; max-width: 820px; }
.hk-page h1 { margin-bottom: 24px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.4; }
.hk-page .entry { color: var(--text-muted); line-height: 2.1; }
.hk-page .entry > * + * { margin-top: 1.1em; }
.hk-page .entry a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   Phone mockups
   ========================================================= */
.phone { position: relative; width: min(100%, 268px); margin: 0 auto; aspect-ratio: 9/19; background: #161616; border-radius: 42px; padding: 9px; box-shadow: 0 28px 55px rgba(43,27,18,.28), inset 0 0 0 2px #3a3a3a; }
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 32%; height: 19px; background: #000; border-radius: 12px; z-index: 4; }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 14%; background: #2a2a2a; border-radius: 0 3px 3px 0; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; position: relative; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone.sm { width: min(100%, 220px); }

.mk { height: 100%; padding: 38px 12px 10px; display: flex; flex-direction: column; gap: 9px; font-size: 10.5px; color: var(--text-main); background: #fffdf9; text-align: right; line-height: 1.6; }
.mk b { font-weight: 800; }
.mk small { display: block; color: var(--text-muted); font-size: 9px; font-weight: 400; }
.mk-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.mk-banner { border-radius: 14px; padding: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), #f59e0b); display: flex; justify-content: space-between; align-items: center; min-height: 62px; }
.mk-banner b { font-size: 12px; }
.mk-banner span { font-size: 26px; }
.mk-chips { display: flex; gap: 5px; overflow: hidden; }
.mk-chips i { font-style: normal; white-space: nowrap; padding: 4px 9px; border-radius: 99px; background: #f6ece0; font-size: 9.5px; font-weight: 700; }
.mk-chips i.on { background: var(--primary); color: #fff; }
.mk-item { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 7px; }
.mk-item > div { flex: 1; }
.mk-th { width: 38px; height: 38px; border-radius: 10px; background: #f6ece0; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.mk-item em { font-style: normal; font-weight: 800; color: var(--primary); font-size: 10px; white-space: nowrap; }
.mk-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--border); font-size: 15px; }
.mk-chat { background: #fbf3e8; }
.mk-bubble { max-width: 82%; padding: 7px 9px; border-radius: 12px; line-height: 1.6; font-size: 10px; }
.mk-bubble.u { align-self: flex-start; background: var(--primary); color: #fff; border-bottom-right-radius: 3px; }
.mk-bubble.b { align-self: flex-end; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.mk-input { margin-top: auto; background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 7px 12px; color: var(--text-light); font-size: 9.5px; }
.mk-plain { background: #fff; font-family: serif; }
.mk-plain h5 { text-align: center; font-size: 13px; border-bottom: 1px solid #999; padding-bottom: 6px; }
.mk-plain p { display: flex; justify-content: space-between; gap: 4px; border-bottom: 1px dotted #bbb; padding: 4px 0; font-size: 10px; }
.mk-qr { align-items: center; justify-content: center; text-align: center; gap: 12px; background: #fff; }
.mk-qr svg { width: 70%; height: auto; }

/* =========================================================
   Motion
   ========================================================= */
/* Content is visible by default. It is hidden ONLY after main.js has started successfully
   and added .reveal-ready to <html>; if JS fails, is blocked, or is delayed, nothing stays invisible. */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--primary-glow); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes pillIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .update-pill { opacity: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
}

@media (max-width: 1100px) {
  .nav-links { font-size: .84rem; }
  .nav-links a { padding: 8px 10px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  section { padding: 80px 0; }
  .block-gap { margin-bottom: 64px; }
  .hero-grid, .feature-row, .pricing-grid, .cta-box { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions, .live-updates { justify-content: center; margin-inline: auto; }
  .feature-row { gap: 40px; }
  .feature-row.reverse .feature-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .hero-media { min-height: 460px; }
  .hero-media .phone.back { transform: translateX(-80px) rotate(-8deg) scale(.82); }
  .float-chip.c1 { right: 0; }
  .float-chip.c2 { left: 0; }
  .steps::before { display: none; }
  .cta-box { padding: 48px 32px; }
  .price-card.featured { order: -1; }
  .feature-media { max-width: 640px; width: 100%; margin-inline: auto; }
}

@media (max-width: 768px) {
  .nav-cta { display: none; }
  .sticky-cta { display: block; }
  .to-top { display: none; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 700px) {
  /* table → stacked cards */
  .table-wrapper { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  table, tbody, tr, td { display: block; min-width: 0; width: 100%; }
  thead { display: none; }
  tbody { display: grid; gap: 16px; }
  tbody tr { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
  tbody tr:hover td { background: transparent; }
  td { padding: 14px 20px; border-bottom: 1px dashed var(--border); text-align: right; }
  td:first-child { background: var(--bg-muted); border-bottom: 1px solid var(--border); font-size: 1rem; }
  td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 800; color: var(--text-light); margin-bottom: 2px; letter-spacing: .02em; }
  td.highlight-cell::before { color: var(--primary); }
  tbody tr:last-child td { border-bottom: 0; }
  tr td:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .block-gap { margin-bottom: 48px; }
  .section-header { margin-bottom: 40px; }
  .navbar { padding: 10px 0; }
  .navbar-inner { height: 60px; padding-inline-start: 14px; }
  .brand-name { max-width: 200px; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-5 .biz-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-title { font-size: 2.15rem; }
  .hero-actions .btn { width: 100%; }
  .hero-media { min-height: 420px; }
  .hero-media .phone.front { transform: translateX(22px) rotate(3deg); }
  .hero-media .phone.back { transform: translateX(-70px) rotate(-8deg) scale(.78); }
  .float-chip { font-size: .72rem; padding: 6px 12px 6px 8px; }
  .float-chip.c1 { top: 250px; }
  .quote-banner { padding: 36px 22px; margin-top: 48px; border-radius: 24px; }
  .cta-box { padding: 36px 20px 20px; border-radius: 28px; gap: 28px; }
  .lead-form { padding: 20px; }
  .price-card { padding: 34px 24px 28px; }
  details.faq-item { padding: 2px 18px; }
  .qr-combo { flex-direction: column; align-items: center; }
  .qr-combo .phone { margin-bottom: -110px; }
  .demo-stage { height: 400px; }
  .waiter-stage { height: 440px; }
  .btn-lg { padding: 16px 26px; }
  .trust-badges { flex-wrap: wrap; }
}
