/* ============================================================
   POSResto — Restaurant MS · Landing Page Styles
   ============================================================ */
:root {
  --red: #F23A22;
  --red-dark: #D62817;
  --orange: #FF7A3C;
  --amber: #FFB03A;
  --ink: #1D1410;
  --ink-2: #5B4F49;
  --cream: #FFF8F2;
  --line: rgba(29, 20, 16, 0.08);
  --grad: linear-gradient(135deg, #FF7A3C 0%, #F23A22 100%);
  --shadow-lg: 0 30px 60px -20px rgba(214, 40, 23, 0.25);
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font: 400 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; }

section { scroll-margin-top: 90px; }

::selection { background: #FFD9CC; color: var(--ink); }

:focus-visible { outline: 3px solid rgba(242, 58, 34, 0.45); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 15px/1 var(--font-body);
  padding: 15px 26px; border-radius: 13px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(242, 58, 34, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(242, 58, 34, 0.55); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid rgba(29, 20, 16, 0.14); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--red-dark); font-weight: 700; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.5); }
.btn-sm { padding: 11px 20px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: none; color: #CBB9B0; font: inherit; cursor: pointer; padding: 0; text-align: left;
}
.link-btn:hover { color: #FF9142; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 12px 0; transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 249, 243, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -14px rgba(29, 20, 16, 0.15);
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 20px var(--font-head); letter-spacing: -0.02em; }
.brand-name b { color: var(--red); }
.brand-tag { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-top: 3px; }

.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1.5px solid rgba(29, 20, 16, 0.14); background: #fff; cursor: pointer; place-items: center;
}
.nav-toggle span {
  position: relative; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .3s ease, background .3s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 172px 0 96px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(242, 58, 34, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 62%);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 62%);
  pointer-events: none;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-1 { width: 480px; height: 480px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(255, 176, 58, 0.55), transparent 70%); }
.orb-2 { width: 440px; height: 440px; bottom: -180px; left: -160px; background: radial-gradient(circle, rgba(242, 58, 34, 0.35), transparent 70%); }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFE9E2; color: var(--red-dark);
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 99px; margin-bottom: 22px;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--amber); }

.hero h1 { font: 800 clamp(40px, 5.2vw, 64px)/1.06 var(--font-head); letter-spacing: -0.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 52ch; margin: 22px 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 42px; padding-top: 28px;
  border-top: 1px dashed rgba(29, 20, 16, 0.16);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font: 800 30px var(--font-head); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--ink-2); }

/* Hero dashboard mock */
.hero-visual { position: relative; }
.mock {
  position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 18px;
}
.mock-top { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #F1E9E4; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: #FF5F57; } .dot.y { background: #FFBD2E; } .dot.g { background: #28C840; }
.mock-title { margin-left: 8px; font-size: 12px; color: var(--ink-2); }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #FFF6F1; border: 1px solid #FFE4D9; border-radius: 12px; padding: 10px 12px; }
.kpi span { display: block; font-size: 11px; color: var(--ink-2); }
.kpi strong { font: 700 18px var(--font-head); color: var(--ink); }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: #18A05E; }
.kpi em.live { color: var(--red); }

.mock-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 112px;
  padding: 12px; margin-bottom: 14px;
  background: #FFFBF8; border: 1px solid #F6ECE5; border-radius: 12px;
}
.bar {
  flex: 1; display: block; height: var(--h, 50%);
  background: linear-gradient(180deg, #FF9A5C, #F23A22);
  border-radius: 6px 6px 2px 2px; opacity: 0.92;
}
.mock-orders { display: flex; flex-direction: column; gap: 8px; }
.order-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; background: #fff; border: 1px solid #F1E9E4; border-radius: 10px; padding: 9px 12px;
}
.ord-id { font: 700 12px var(--font-head); color: var(--red); }
.ord-item { flex: 1; color: var(--ink-2); }
.pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.pill.ok { background: #E7F7EE; color: #18A05E; }
.pill.cook { background: #FFF3DC; color: #B97A0C; }
.pill.new { background: #FFE9E4; color: var(--red-dark); }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(29, 20, 16, 0.28);
  padding: 12px 14px;
}
.float-card .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-txt { display: flex; flex-direction: column; line-height: 1.25; }
.fc-title { font-weight: 700; font-size: 13px; }
.fc-sub { font-size: 11.5px; color: var(--ink-2); }
.fc-1 { top: -4%; right: -5%; }
.fc-2 { bottom: 16%; left: -8%; }
.fc-3 { bottom: -6%; right: 6%; }

/* ---------- Clients marquee ---------- */
.clients { padding: 36px 0 12px; }
.clients-label {
  text-align: center; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.client-logo {
  display: flex; align-items: center; gap: 10px;
  color: #6B5E57; filter: grayscale(1); opacity: 0.7;
  transition: filter .3s ease, opacity .3s ease, color .3s ease;
}
.client-logo:hover { filter: grayscale(0); opacity: 1; color: var(--ink); }
.client-logo svg { width: 22px; height: 22px; }
.cl-name { font-size: 17px; white-space: nowrap; }
.cl-serif { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 600; }
.cl-sans { font-family: var(--font-head); font-weight: 800; font-size: 14.5px; letter-spacing: 0.08em; }
.cl-script { font-family: 'Segoe Script', 'Brush Script MT', 'Comic Sans MS', cursive; font-size: 15px; }

/* ---------- Sections common ---------- */
.sec-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-block; background: #FFE9E2; color: var(--red-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 99px; margin-bottom: 16px;
}
.sec-head h2 { font: 700 clamp(30px, 3.6vw, 44px)/1.15 var(--font-head); letter-spacing: -0.02em; }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }

/* ---------- Features ---------- */
.features { padding: 104px 0 40px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(135deg, rgba(255, 122, 60, 0.08), rgba(242, 58, 34, 0.05));
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(214, 40, 23, 0.22); border-color: #FFD9CC; }
.feature-card:hover::after { opacity: 1; }
.f-icon {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 13px; background: #FFF1EA; color: var(--red);
  display: grid; place-items: center; margin-bottom: 18px; transition: background .3s ease, color .3s ease;
}
.f-icon svg { width: 23px; height: 23px; }
.feature-card:hover .f-icon { background: var(--grad); color: #fff; }
.feature-card h3 { position: relative; z-index: 1; font: 600 17.5px var(--font-head); margin-bottom: 8px; }
.feature-card p { position: relative; z-index: 1; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ---------- Combo ---------- */
.combo { padding: 64px 0; }
.combo-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: #211310; color: #FFF7F0; border-radius: 26px;
  padding: clamp(36px, 5vw, 64px);
}
.combo-card::before {
  content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 60, 0.4), transparent 70%);
  top: -180px; right: -110px; filter: blur(60px); pointer-events: none;
}
.combo-card::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 58, 34, 0.3), transparent 70%);
  bottom: -160px; left: -80px; filter: blur(60px); pointer-events: none;
}
.combo-copy { position: relative; z-index: 1; }
.combo-chip {
  display: inline-block; background: rgba(255, 176, 58, 0.14); color: var(--amber);
  border: 1px solid rgba(255, 176, 58, 0.4);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 99px; margin-bottom: 18px;
}
.combo h2 { font: 700 clamp(28px, 3.4vw, 42px)/1.15 var(--font-head); letter-spacing: -0.02em; max-width: 17ch; }
.grad-amber { background: linear-gradient(90deg, #FFC96B, #FF9142); -webkit-background-clip: text; background-clip: text; color: transparent; }
.combo p { color: rgba(255, 247, 240, 0.72); margin-top: 14px; max-width: 48ch; font-size: 16.5px; }
.combo-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: center; flex-shrink: 0; }
.combo-note { font-size: 12.5px; color: rgba(255, 247, 240, 0.55); }

/* ---------- Demo / video ---------- */
.demo { padding: 104px 0; }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.demo-steps .btn { margin-top: 26px; }
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed rgba(29, 20, 16, 0.13); }
.step:last-of-type { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font: 700 16px var(--font-head);
  display: grid; place-items: center;
}
.step h3 { font: 600 17px var(--font-head); margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #3A1D12, #211310);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.video-thumb {
  position: absolute; inset: 0;
  background: url('https://i.ytimg.com/vi/QfvfxMas-HA/maxresdefault.jpg') center / cover no-repeat;
}
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -12px rgba(242, 58, 34, 0.55);
  transition: transform .3s ease;
}
.video-frame:hover .play-btn { transform: scale(1.1); }
.video-frame.playing { cursor: default; }
.video-frame.playing .play-btn { display: none; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.video-cap a { display: inline-flex; align-items: center; gap: 6px; color: var(--red-dark); font-weight: 600; text-decoration: none; }
.video-cap a:hover { text-decoration: underline; }
.video-cap a svg { width: 14px; height: 14px; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 110px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad); color: #fff; border-radius: 26px;
  padding: clamp(48px, 6vw, 80px) 24px;
}
.cta-card::before, .cta-card::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); pointer-events: none;
}
.cta-card::before { width: 300px; height: 300px; top: -140px; left: -100px; }
.cta-card::after { width: 380px; height: 380px; bottom: -200px; right: -120px; }
.cta-card h2 { position: relative; z-index: 1; font: 800 clamp(30px, 4vw, 48px)/1.12 var(--font-head); letter-spacing: -0.02em; }
.cta-card > p { position: relative; z-index: 1; opacity: 0.92; margin: 14px 0 30px; font-size: 17px; }
.cta-card .btn { position: relative; z-index: 1; }
.cta-note { position: relative; z-index: 1; display: block; margin-top: 18px; font-size: 13px; opacity: 0.85; }

/* ---------- Footer ---------- */
.footer { background: #1D1210; color: #CBB9B0; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand { color: #fff; }
.footer .brand-name b { color: #FF9142; }
.footer .brand-tag { color: #9A857C; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 38ch; margin-top: 18px; }
.footer h4 { color: #fff; font: 600 15px var(--font-head); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer a { color: #CBB9B0; text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: #FF9142; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #9A857C;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  visibility: hidden; opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.modal.open {
  visibility: visible; opacity: 1;
  transition: opacity .25s ease;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(23, 12, 8, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-card {
  position: relative; width: min(480px, 100%); max-height: 90vh; max-height: 90dvh; overflow: auto;
  background: #fff; border-radius: 22px; padding: 34px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.97);
  transition: transform .3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #FFF1EA; color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .25s ease, color .25s ease;
}
.modal-close:hover { background: var(--red); color: #fff; }

.modal h3 { font: 700 24px var(--font-head); letter-spacing: -0.01em; }
.modal-sub { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 14px; font: 400 16px var(--font-body);
  border: 1.5px solid #EBDDD4; border-radius: 12px; background: #FFFBF9; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder { color: #B8A79E; }
.field input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(242, 58, 34, 0.12); }
.field .f-msg { display: none; color: #E0300F; font-size: 12.5px; margin-top: 5px; }
.field.err input { border-color: #E0300F; }
.field.err .f-msg { display: block; }

#df-submit { margin-top: 8px; }
#df-submit .spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
#df-submit.loading { pointer-events: none; opacity: 0.85; }
#df-submit.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { font-size: 12px; color: #9A857C; margin-top: 14px; text-align: center; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 34px -10px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; pointer-events: none;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.75; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* Local-file notice (only injected when page is opened via file://) */
.file-toast {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  max-width: 320px; background: #2B2018; color: #FFEFD9;
  padding: 14px 40px 14px 16px; border-radius: 14px;
  font-size: 13px; line-height: 1.55;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5);
}
.file-toast strong { display: block; margin-bottom: 4px; color: #FFC96B; }
.file-toast code { background: rgba(255, 255, 255, 0.14); padding: 1px 6px; border-radius: 5px; font-size: 12px; }
.file-toast .ft-close {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14);
  color: #FFEFD9; cursor: pointer; font-size: 14px; line-height: 1;
  display: grid; place-items: center;
}
.file-toast .ft-close:hover { background: rgba(255, 255, 255, 0.28); }

/* Success step */
.success-head { text-align: center; margin-bottom: 20px; }
.success-ic {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 32px -12px rgba(242, 58, 34, 0.55);
}
.success-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.cred {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid #F1E4DC; border-radius: 12px; background: #FFFBF9;
  padding: 11px 12px; margin-bottom: 10px;
}
.cred-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cred-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9A857C; }
.cred-val { font-size: 14px; font-weight: 600; word-break: break-all; }
.copy-btn {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; border: none; cursor: pointer;
  background: #FFF1EA; color: var(--red-dark); display: grid; place-items: center;
  transition: background .25s ease, color .25s ease;
}
.copy-btn:hover { background: var(--red); color: #fff; }
.copy-btn.copied { background: #18A05E; color: #fff; }
.success-actions { display: grid; gap: 10px; margin-top: 18px; }
.btn-video {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid #EBDDD4; border-radius: 12px; padding: 13px;
  color: var(--ink); font: 600 14.5px var(--font-body); text-decoration: none;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.btn-video:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.sent-note { font-size: 12px; color: #9A857C; text-align: center; margin-top: 16px; }

.fallback-note {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  background: #FFF3DC; border: 1px solid #F3DFB6;
}
.fallback-note p { font-size: 13px; color: #8A6013; line-height: 1.5; margin-bottom: 10px; }
.fallback-links { display: flex; gap: 10px; flex-wrap: wrap; }
.fallback-links a {
  flex: 1; min-width: 120px; text-align: center; padding: 10px 12px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; text-decoration: none; transition: transform .2s ease;
}
.fallback-links a:hover { transform: translateY(-2px); }
.fb-mail { background: #fff; color: var(--ink); border: 1.5px solid #EBDDD4; }
.fb-wa { background: #25D366; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
  .fc-3 { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; max-width: 560px; margin: 0 auto; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .combo-card { flex-direction: column; text-align: center; }
  .combo h2, .combo p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute; top: calc(100% + 6px); left: 4%; right: 4%;
    display: none; flex-direction: column; gap: 2px;
    background: #fff; border-radius: 16px; padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(29, 20, 16, 0.3);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 10px; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { background: #FFF1EA; }
  .nav-toggle { display: grid; }
  .features { padding-top: 84px; }
  .demo { padding: 84px 0; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero { padding: 128px 0 72px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .marquee-group { gap: 40px; padding-right: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 14px; }
  .modal-card { padding: 28px 20px; }
  .mock { padding: 14px; }
  .mock-kpis { gap: 7px; }
  .kpi { padding: 8px 9px; }
  .kpi strong { font-size: 15px; }
  .cta { padding-bottom: 84px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
  .file-toast { left: 12px; right: 88px; bottom: 16px; max-width: none; }
}

@media (max-width: 400px) {
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 24px; }
  .btn { padding: 14px 20px; }
  .brand-name { font-size: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .btn, .feature-card, .video-frame .play-btn { transition: none; }
  .wa-float::after { animation: none; }
}
