@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./assets/fonts/plus-jakarta-sans-vietnamese-400-800.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./assets/fonts/plus-jakarta-sans-latin-ext-400-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./assets/fonts/plus-jakarta-sans-latin-400-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/plus-jakarta-sans-latin-italic-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./assets/fonts/outfit-latin-ext-500-900.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./assets/fonts/outfit-latin-500-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}


:root {
  --bg: #fcfaf8;
  --ink: #2c1e16;
  --muted: #6b5a4e;          /* improved contrast */
  --panel: rgba(255, 255, 255, 0.85);
  --panel-strong: #ffffff;
  --line: rgba(44, 30, 22, 0.08);
  --accent: #E64A19;
  --accent-deep: #BF360C;
  --mint: #2E7D32;
  --shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  --shadow-lg: 0 32px 72px rgba(44, 30, 22, 0.12);
  --font-body: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  --font-display: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-base: 340ms;
  --dur-slow: 520ms;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ── Page Load Animation ────────────────────────────── */
.topbar, main {
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
body.loading .topbar,
body.loading main {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* ── Responsive Sidebar ───────────────────────────────── */

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(230, 74, 25, 0.08), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(46, 125, 50, 0.06), transparent 25%),
    linear-gradient(180deg, #fcfaf8 0%, #f4ede4 100%);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}

h1, h2, h3, h4, strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* ── Reveal Animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }

/* ── Ambient Background ─────────────────────────────── */
.ambient {
  position: fixed;
  width: 32vw;
  height: 32vw;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.ambient-left {
  top: -8vw;
  left: -10vw;
  background: rgba(230, 74, 25, 0.15);
}
.ambient-right {
  top: 18vh;
  right: -12vw;
  background: rgba(46, 125, 50, 0.15);
}

/* ── Hide decorative elements on mobile ──────────── */
@media (max-width: 768px) {
  .ambient,
  .garland-frame,
  #particle-field {
    display: none !important;
  }
}

/* ── Garland Frame ───────────────────────────────────── */
.garland-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, 100%);
  height: 120vh;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.live-element {
  position: absolute;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  transform-origin: top center;
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
  opacity: 0.95;
  filter: contrast(1.2) brightness(1.05);
}
.live-flower { background-image: url('./assets/asset_flower.png'); mix-blend-mode: multiply; }
.live-leaf { background-image: url('./assets/asset_leaf.png'); mix-blend-mode: multiply; }
.live-light { background-image: url('./assets/asset_light.png'); mix-blend-mode: multiply; }

/* ── Particle Field ──────────────────────────────────── */
#particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ── Topbar ───────────────────────────────────────────── */
.topbar,
main,
.purchase-modal {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 8px;
  z-index: 100;
  width: min(1220px, calc(100% - 28px));
  margin: 8px auto 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(44, 30, 22, 0.06), 0 1px 4px rgba(44,30,22,0.04);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              background-color var(--dur-base) ease;
}

.topbar:hover {
  box-shadow: 0 12px 36px rgba(44, 30, 22, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

/* ── Brand ────────────────────────────────────────────── */

/* === Styles moved from login.html for centralised maintenance === */

/* Login page specific styles */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-smooth);
}
.brand:hover { transform: translateY(-1px); }
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform var(--dur-fast) var(--ease-snap),
              box-shadow var(--dur-fast) ease;
}
.brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.22);
}
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 0.96rem; font-weight: 800; }
.brand-copy small { color: var(--muted); font-size: 0.7rem; }

/* ── Nav wrapper ──────────────────────────────────────── */
.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}

/* ── Nav Links ────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 12px;
  border-radius: 10px;
  transition: color var(--dur-fast) ease,
              background var(--dur-fast) ease;
}
.nav-links a svg { opacity: 0.6; transition: opacity var(--dur-fast) ease; flex-shrink: 0; }
.nav-links a:hover {
  color: var(--ink);
  background: rgba(44, 30, 22, 0.05);
}
.nav-links a:hover svg { opacity: 1; color: var(--accent); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-base) var(--ease-smooth);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── Selectors row ────────────────────────────────────── */
.nav-selectors {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Right actions block ──────────────────────────────── */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

/* ── Session Shell ────────────────────────────────────── */
.session-shell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid rgba(44, 30, 22, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ── Login button (icon + text) ──────────────────────── */
.nav-login-btn[hidden],
.nav-signout-btn[hidden],
.nav-try-btn[hidden] { display: none !important; }
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 2px solid rgba(44, 30, 22, 0.18);
  background: transparent;
  transition: color var(--dur-fast) ease,
              background var(--dur-fast) ease,
              border-color var(--dur-fast) ease,
              transform var(--dur-fast) var(--ease-smooth);
}
.nav-login-btn svg { opacity: 0.7; transition: opacity var(--dur-fast) ease; }
.nav-login-btn:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  border-color: rgba(44,30,22,0.15);
  transform: translateY(-1px);
}
.nav-login-btn:hover svg { opacity: 1; color: var(--accent); }

/* ── Sign-out button (icon + text) ───────────────────── */
.nav-signout-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.18);
  cursor: pointer;
  transition: background var(--dur-fast) ease,
              border-color var(--dur-fast) ease,
              transform var(--dur-fast) var(--ease-smooth);
}
.nav-signout-btn svg { opacity: 0.8; }
.nav-signout-btn:hover {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.3);
  transform: translateY(-1px);
}

/* ── Try for Free CTA ─────────────────────────────────── */
.nav-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 4px 16px rgba(230, 74, 25, 0.28);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) ease;
}
.nav-try-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22) 48%, transparent 76%);
  transform: translateX(-110%);
  transition: transform var(--dur-slow) var(--ease-smooth);
  pointer-events: none;
}
.nav-try-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 74, 25, 0.36);
}
.nav-try-btn:hover::before { transform: translateX(110%); }
.nav-try-btn:active { transform: scale(0.97); }
.nav-try-btn svg { transition: transform var(--dur-fast) var(--ease-snap); }
.nav-try-btn:hover svg { transform: translateX(3px); }

/* ── Buttons ──────────────────────────────────────────── */

.primary {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-smooth),
              opacity var(--dur-fast) ease,
              box-shadow var(--dur-base) ease,
              border-color var(--dur-base) ease,
              background-color var(--dur-base) ease;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7ef;
}

.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.26) 48%, transparent 76%);
  transform: translateX(-110%);
  transition: transform var(--dur-slow) var(--ease-smooth);
  pointer-events: none;
  z-index: -1;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 74, 25, 0.25);
}

.primary:hover::before {
  transform: translateX(110%);
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.primary:active {
  transform: translateY(0) scale(0.985);
}

/* ── Sections & Cards ─────────────────────────────────── */
.hero,
.section,
.account-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  gap: 18px;
  min-height: clamp(520px, 72vh, 720px);
  padding: clamp(28px, 6vw, 72px);
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(7, 16, 21, 0.86) 0%, rgba(7, 16, 21, 0.66) 38%, rgba(7, 16, 21, 0.2) 72%, rgba(7, 16, 21, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 16, 21, 0.08) 0%, rgba(7, 16, 21, 0.36) 100%),
    url("./assets/provider-hero-restaurant.png") center / cover no-repeat;
}

/* ── Typography ──────────────────────────────────────── */
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font: 500 0.72rem var(--font-mono);
}
h1 {
  font-size: clamp(2.5rem, 4.6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 10ch;
  margin-bottom: 16px;
}
h2 {
  letter-spacing: -0.03em;
}
h3 {
  letter-spacing: -0.02em;
}

/* ── Hero Specific ───────────────────────────────────── */
.hero .eyebrow {
  color: #ffcc80;
}
.hero h1 {
  color: #fffaf4;
  max-width: 11ch;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-size: 0.84rem;
  transition: transform var(--dur-fast) var(--ease-smooth),
              background-color var(--dur-base) ease,
              border-color var(--dur-base) ease;
}

.product-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 54, 12, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

/* ── Hero Visual ────────────────────────────────────── */
@keyframes float-img {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
.slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth);
  position: relative;
  animation: float-img 6.2s var(--ease-smooth) infinite;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* ── Cards (general) ──────────────────────────────────── */

.feature-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) ease,
              background-color var(--dur-base) ease;
}

/* ── Sections ─────────────────────────────────────────── */
.section {
  margin-top: 18px;
  padding: 30px;
}
.section-head {
  max-width: 58rem;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.04;
  text-wrap: balance;
}

/* ── Feature Grid ────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) ease,
              border-color var(--dur-base) ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  border-color: rgba(191, 54, 12, 0.18);
}
.feature-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font: 600 0.85rem var(--font-mono);
}
.feature-info h3 a {
  color: inherit;
  text-decoration: none;
}
.feature-info h3 a:hover {
  color: var(--accent);
}
.feature-card p,
.product-card p,
.account-card p {
  color: var(--muted);
  line-height: 1.65;
}

/* ── Product Grid ────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) ease,
              border-color var(--dur-base) ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  border-color: rgba(191, 54, 12, 0.18);
}
.product-card-featured {
  background: rgba(255, 255, 255, 1);
  border: 2px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(230, 74, 25, 0.15);
}
.product-card-featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 32px 60px rgba(230, 74, 25, 0.2);
}
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.product-popular {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.09);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
}
.no-products-message {
  grid-column: 1 / -1;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}
.product-top h3 {
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.08;
}
.product-fit {
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}
.product-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.product-apps span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(44, 30, 22, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 750;
}
.product-card ul,
.product-highlights {
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--ink);
  list-style: none;
}
.product-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.product-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-row strong {
  font-size: 1.55rem;
}
.buy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}
.buy-actions .primary {
  width: 100%;
  justify-content: center;
}
.buy-actions .primary {
  padding-inline: 14px;
}
.product-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}
.product-path span,
.product-path a {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.product-path a:hover {
  color: var(--accent);
  background: #fff;
}

/* ── Workflow Grid ────────────────────────────────────── */


/* ══════════════════════════════════════════════════════
   HOW IT WORKS — Pipeline Redesign
   ══════════════════════════════════════════════════════ */

/* Section shell */
.hiw-pipeline {
  position: relative;
  background: linear-gradient(160deg, #0f0a07 0%, #1a0e08 40%, #0d1a12 100%);
  border-radius: 32px;
  overflow: hidden;
  padding: 80px 48px 64px;
  color: #fff;
  isolation: isolate;
}

/* Ambient background layer */
.hiw-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hiw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: hiwOrbFloat 8s ease-in-out infinite alternate;
}
.hiw-orb-1 {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(230,74,25,0.6) 0%, transparent 70%);
  animation-delay: 0s;
}
.hiw-orb-2 {
  width: 360px; height: 360px;
  top: -80px; right: 10%;
  background: radial-gradient(circle, rgba(46,125,50,0.5) 0%, transparent 70%);
  animation-delay: -3s;
}
.hiw-orb-3 {
  width: 300px; height: 300px;
  bottom: -60px; right: -60px;
  background: radial-gradient(circle, rgba(106,27,154,0.5) 0%, transparent 70%);
  animation-delay: -5s;
}
@keyframes hiwOrbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* Subtle dot-grid overlay */
.hiw-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Header */
.hiw-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 60px;
}
.hiw-eyebrow {
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.14em;
}
.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 12px 0 16px;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 680px;
  margin: 0 auto;
}

/* Pipeline track — cards + connectors together */
.hiw-pipeline-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* Connector between cards — horizontal orientation */
.hiw-connector {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 56px; /* aligns roughly with icon center */
  width: 40px;
}
.hiw-connector-line {
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.06) 100%);
  position: relative;
  overflow: hidden;
}
.hiw-connector-line::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8), transparent);
  animation: hiwConnectorFlow 2.4s ease-in-out infinite;
  animation-delay: var(--hiw-delay, 0s);
}
@keyframes hiwConnectorFlow {
  0%   { top: -40%; }
  100% { top: 140%; }
}
.hiw-connector-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  margin-top: -1px;
}

/* ── Step Cards ── */
.hiw-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s var(--ease-smooth),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  cursor: default;
  overflow: hidden;
}
.hiw-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hiw-card:hover {
  transform: translateY(-8px);
}

/* Color accents per card */
.hiw-card--orange {
  --hiw-c: #E64A19;
  --hiw-c-soft: rgba(230,74,25,0.18);
  --hiw-c-glow: rgba(230,74,25,0.35);
}
.hiw-card--orange:hover {
  border-color: rgba(230,74,25,0.45);
  box-shadow: 0 24px 60px rgba(230,74,25,0.2), 0 0 0 1px rgba(230,74,25,0.2);
}
.hiw-card--green {
  --hiw-c: #4CAF50;
  --hiw-c-soft: rgba(76,175,80,0.18);
  --hiw-c-glow: rgba(76,175,80,0.35);
}
.hiw-card--green:hover {
  border-color: rgba(76,175,80,0.45);
  box-shadow: 0 24px 60px rgba(76,175,80,0.2), 0 0 0 1px rgba(76,175,80,0.2);
}
.hiw-card--blue {
  --hiw-c: #42A5F5;
  --hiw-c-soft: rgba(66,165,245,0.18);
  --hiw-c-glow: rgba(66,165,245,0.35);
}
.hiw-card--blue:hover {
  border-color: rgba(66,165,245,0.45);
  box-shadow: 0 24px 60px rgba(66,165,245,0.2), 0 0 0 1px rgba(66,165,245,0.2);
}
.hiw-card--purple {
  --hiw-c: #AB47BC;
  --hiw-c-soft: rgba(171,71,188,0.18);
  --hiw-c-glow: rgba(171,71,188,0.35);
}
.hiw-card--purple:hover {
  border-color: rgba(171,71,188,0.45);
  box-shadow: 0 24px 60px rgba(171,71,188,0.2), 0 0 0 1px rgba(171,71,188,0.2);
}
.hiw-card--gold {
  --hiw-c: #FBC02D;
  --hiw-c-soft: rgba(251,192,45,0.18);
  --hiw-c-glow: rgba(251,192,45,0.35);
}
.hiw-card--gold:hover {
  border-color: rgba(251,192,45,0.45);
  box-shadow: 0 24px 60px rgba(251,192,45,0.16), 0 0 0 1px rgba(251,192,45,0.2);
}
.hiw-card--teal {
  --hiw-c: #26A69A;
  --hiw-c-soft: rgba(38,166,154,0.18);
  --hiw-c-glow: rgba(38,166,154,0.35);
}
.hiw-card--teal:hover {
  border-color: rgba(38,166,154,0.45);
  box-shadow: 0 24px 60px rgba(38,166,154,0.18), 0 0 0 1px rgba(38,166,154,0.2);
}

/* Step number badge */
.hiw-card-step-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hiw-c);
  background: var(--hiw-c-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3px 8px;
}

/* Icon wrapper */
.hiw-card-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}
.hiw-card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--hiw-c-soft);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hiw-c);
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}
.hiw-card:hover .hiw-card-icon {
  background: rgba(255,255,255,0.1);
}
.hiw-card-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: var(--hiw-c-glow);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hiw-card:hover .hiw-card-icon-glow {
  opacity: 0.6;
}
/* notification dot on step-1 icon */
.hiw-notif-dot {
  fill: var(--hiw-c);
  transform-box: fill-box;
  transform-origin: center;
  animation: hiwNotifPulse 2s ease-in-out infinite;
}
@keyframes hiwNotifPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1667); }
}

/* Card body */
.hiw-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.hiw-card-body p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ── Mini Animations inside cards ── */
.hiw-card-mini-anim {
  margin-top: 4px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 14px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Step 1: Order list mini --- */
.hiw-mini-order {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hiw-mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.hiw-mini-row--ghost {
  opacity: 0.4;
}
.hiw-mini-check {
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hiw-mini-check.active {
  background: var(--hiw-c);
  border-color: var(--hiw-c);
}
.hiw-mini-check.active::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 4px; height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.hiw-mini-send {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hiw-c);
  background: var(--hiw-c-soft);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  animation: hiwSendPulse 2.4s ease-in-out infinite;
}
@keyframes hiwSendPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Step 2: WiFi arcs mini --- */
.hiw-mini-wifi {
  position: relative;
  width: 80px; height: 70px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hiw-wifi-arc {
  border-radius: 50%;
  border: 2px solid transparent;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: var(--hiw-c);
  border-left-color: var(--hiw-c);
  border-right-color: var(--hiw-c);
  opacity: 0;
  animation: hiwWifiArc 2.4s ease-in-out infinite;
}
.hiw-wifi-arc-1 { width: 20px; height: 20px; animation-delay: 0s; }
.hiw-wifi-arc-2 { width: 36px; height: 36px; animation-delay: 0.3s; }
.hiw-wifi-arc-3 { width: 52px; height: 52px; animation-delay: 0.6s; }
@keyframes hiwWifiArc {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.8); }
  30%  { opacity: 0.9; }
  70%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(-50%) scale(1.05); }
}
.hiw-wifi-dot {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hiw-c);
  box-shadow: 0 0 10px var(--hiw-c);
}
.hiw-wifi-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
}

/* --- Step 3: KOT printer mini --- */
.hiw-mini-kot { width: 100%; }
.hiw-kot-printer {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 8px 10px 0;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.hiw-kot-feed {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.hiw-kot-feed::after {
  content: '';
  position: absolute;
  left: -50%;
  top: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  animation: hiwFeedScan 1.8s ease-in-out infinite;
}
@keyframes hiwFeedScan {
  0%   { left: -50%; }
  100% { left: 100%; }
}
.hiw-kot-paper {
  background: #f5f5f0;
  border-radius: 6px 6px 0 0;
  padding: 8px 10px 10px;
  animation: hiwPaperFeed 3s ease-out infinite;
}
@keyframes hiwPaperFeed {
  0%   { transform: translateY(6px); opacity: 0.7; }
  30%  { transform: translateY(0);   opacity: 1; }
  100% { transform: translateY(0);   opacity: 1; }
}
.hiw-kot-line {
  font-size: 0.65rem;
  color: #333;
  line-height: 1.6;
  font-family: var(--font-mono);
}
.hiw-kot-line--bold {
  font-weight: 700;
  color: #111;
  font-size: 0.7rem;
  border-bottom: 1px dashed rgba(0,0,0,0.15);
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.hiw-kot-line--small { color: #666; }

/* --- Step 4: Bar chart mini --- */
.hiw-mini-chart { width: 100%; }
.hiw-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-bottom: 8px;
}
.hiw-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 0 0;
  background: rgba(171,71,188,0.3);
  transition: height 1s var(--ease-smooth);
  animation: hiwBarBreath 3s ease-in-out infinite alternate;
}
.hiw-bar--active {
  background: var(--hiw-c);
  box-shadow: 0 0 12px var(--hiw-c-glow);
}
@keyframes hiwBarBreath {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}
.hiw-chart-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.hiw-trend {
  font-size: 0.72rem;
  color: #4CAF50;
  background: rgba(76,175,80,0.15);
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 6px;
}

/* ── Bottom CTA Pill Strip ── */
.hiw-cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}
.hiw-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 10px 20px;
  backdrop-filter: blur(8px);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hiw-cta-pill:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.hiw-cta-pill svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .hiw-pipeline {
    padding: 56px 28px 48px;
  }
  .hiw-pipeline-track {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hiw-connector { display: none; }
}

/* ── Responsive: mobile ── */
@media (max-width: 560px) {
  .hiw-pipeline {
    padding: 40px 16px 36px;
    border-radius: 22px;
  }
  .hiw-title { font-size: 1.7rem; }
  .hiw-pipeline-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hiw-card--orange,
  .hiw-card--green,
  .hiw-card--blue,
  .hiw-card--purple,
  .hiw-card--gold,
  .hiw-card--teal {
    grid-column: 1;
    grid-row: auto;
  }
  .hiw-cta-strip { gap: 8px; }
  .hiw-cta-pill { font-size: 0.75rem; padding: 8px 14px; }
}

/* ── Account Card ────────────────────────────────────── */
.account-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 28px;
}
.account-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
.account-list span {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-smooth),
              background-color var(--dur-base) ease,
              border-color var(--dur-base) ease;
}
.account-list span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(191, 54, 12, 0.14);
}

/* ── Purchase Modal ──────────────────────────────────── */
.purchase-modal[hidden] {
  display: none;
}
.purchase-modal {
  position: fixed;
  inset: 0;
  padding: 20px;
  background: rgba(20, 14, 10, 0.44);
  backdrop-filter: blur(10px);
  z-index: 1000;
  overflow-y: auto;
}
.purchase-form {
  margin-top: 18px;
}
.purchase-checkout {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(17, 17, 17, 0.03);
  border: 1px solid var(--line);
}
.embedded-checkout-frame {
  min-height: 180px;
  margin: 16px 0 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(199, 79, 44, 0.07), rgba(255, 255, 255, 0.65)),
    var(--panel-strong);
  border: 1px dashed rgba(17, 17, 17, 0.16);
}

/* ── Forms ────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.field span {
  font-size: 0.88rem;
  color: var(--muted);
}

select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--dur-fast) ease,
              box-shadow var(--dur-fast) ease,
              transform var(--dur-fast) var(--ease-smooth),
              background-color var(--dur-base) ease;
}

select:focus {
  outline: 2px solid rgba(199, 79, 44, 0.18);
  border-color: rgba(199, 79, 44, 0.34);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(44, 30, 22, 0.08);
}

/* ── Purchase Result ────────────────────────────────── */
.purchase-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(31, 122, 103, 0.1);
  border: 1px solid rgba(31, 122, 103, 0.18);
}

/* ── Dashboard Layout ────────────────────────────────── */
code {
  font-family: var(--font-mono);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1060px) {
  /* Nav is handled by the 992px/768px blocks above */
  .hero,
  .account-card,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card-featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 22px;
  }
  
  .account-list {
    grid-template-columns: 1fr;
  }
  
  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }
  h1 {
    max-width: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  
  .topbar,
  .hero,
  .section,
  .brand,
  .primary,
  .feature-card,
  .product-card,
  select {
    transition: none;
  }
  .slide,
  .ambient {
    animation: none !important;
  }
}

/* ══════════════════════════════════════════════════════
   MOBILE TOGGLE & RESPONSIVE NAVBAR
   ══════════════════════════════════════════════════════ */

/* Hamburger button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.mobile-toggle:hover {
  background: #fff;
  border-color: rgba(44,30,22,0.15);
}
.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-smooth), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}
/* Animated X when open */
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Tablet/Desktop tweak ── */
@media (max-width: 992px) {
  h1 { font-size: 3.5rem; }
  .topbar { padding: 10px 16px; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 0.83rem; padding: 6px 10px; }
  .nav-try-btn { padding: 8px 14px; font-size: 0.83rem; }
  .hero { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .account-card { grid-template-columns: 1fr; }
}

/* ── Mobile breakpoint — hamburger menu ── */
@media (max-width: 768px) {
  .topbar {
    width: calc(100% - 24px);
    margin: 8px 12px 0;
    padding: 10px 14px;
    border-radius: 22px;
  }

  /* Show hamburger */
  .mobile-toggle { display: flex; }

  /* Hide nav by default on mobile */
  .topnav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(44,30,22,0.08);
    border-radius: 22px;
    box-shadow: 0 20px 56px rgba(44, 30, 22, 0.12);
    gap: 6px;
    align-items: stretch;
    z-index: 99;
    /* slide-down animation */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.28s var(--ease-smooth);
  }
  .topnav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Nav links — full-width rows */
  .nav-links {
    flex-direction: column;
    gap: 2px;
    margin-right: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    gap: 10px;
  }
  .nav-links a svg { opacity: 0.5; }
  .nav-links a:hover {
    background: rgba(230, 74, 25, 0.06);
    color: var(--accent-deep);
  }
  .nav-links a:hover svg { opacity: 1; }
  .nav-links a::after { display: none; }

  /* Staggered entry animation for links */
  .topnav.open .nav-links a:nth-child(1) { animation: navLinkIn 0.28s 0.04s both; }
  .topnav.open .nav-links a:nth-child(2) { animation: navLinkIn 0.28s 0.10s both; }
  .topnav.open .nav-links a:nth-child(3) { animation: navLinkIn 0.28s 0.16s both; }
  @keyframes navLinkIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* Selectors */
  .nav-selectors {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .selector-dropdown { flex: 1; }
  .selector-menu {
    right: auto;
    left: 0;
    width: 100%;
    min-width: 0;
  }
  .selector-btn {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: 9px 12px;
  }

  /* Right actions */
  .nav-right-actions {
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    gap: 8px;
    padding-top: 4px;
  }
  .session-shell {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .nav-login-btn, .nav-signout-btn {
    flex: 1;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .nav-try-btn {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* General mobile layout fixes */
  .feature-grid,
  .product-grid,
  .account-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 20px 16px;
  }
  h1 { font-size: 2.8rem; }
}

/* ── Glassmorphic Loader & Skeleton ──────────────────── */

/* ── Enhanced Error View ─────────────────────────────── */

/* ── Downloads Grid ──────────────────────────────────── */

/* ── License Card Sections ───────────────────────────── */

/* ── Interactive Features ────────────────────────────── */
.interactive-features-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-smooth);
}
.feature-trigger .feature-index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--muted);
  opacity: 0.5;
  transition: all var(--dur-base) ease;
}
.feature-trigger h3 {
  margin: 0 0 3px 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--dur-base) ease;
}
.feature-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}
.feature-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(44, 30, 22, 0.08);
  background: rgba(255, 255, 255, 0.64);
  color: rgba(44, 30, 22, 0.64);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.feature-trigger p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.34;
  color: var(--muted);
  transition: color var(--dur-base) ease;
}
.feature-trigger:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(230, 74, 25, 0.2);
  transform: translateX(6px);
}
.feature-trigger.active {
  background: var(--panel-strong);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(230, 74, 25, 0.06);
  transform: translateX(8px);
}
.feature-trigger.active .feature-index {
  color: var(--accent-deep);
  opacity: 1;
}
.feature-trigger.active h3 {
  color: var(--accent-deep);
}
.feature-trigger.active .feature-kicker span {
  border-color: rgba(230, 74, 25, 0.16);
  background: rgba(230, 74, 25, 0.08);
  color: var(--accent-deep);
}
.feature-trigger.active p {
  color: var(--ink);
}

/* ── Preview Cards ────────────────────────────────────── */
.features-preview-panel {
  position: relative;
  height: 370px;
  width: 100%;
}
.preview-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible !important;
}
.preview-card {
  position: absolute;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(44, 30, 22, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  transition: all 750ms cubic-bezier(0.25, 1, 0.33, 1);
  overflow: hidden;
}
.preview-card.slot-focus {
  left: 5%;
  top: 10%;
  width: 80%;
  height: 75%;
  z-index: 10;
  opacity: 1;
  transform: scale(1);
  filter: none;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.preview-card.slot-left {
  left: -8%;
  top: 50%;
  width: 36%;
  height: 36%;
  z-index: 5;
  opacity: 0.55;
  transform: scale(0.9);
  filter: blur(1.5px) grayscale(50%);
  padding: 16px;
}
.preview-card.slot-right {
  left: 70%;
  top: -8%;
  width: 38%;
  height: 52%;
  z-index: 4;
  opacity: 0.45;
  transform: scale(0.85);
  filter: blur(2.5px) grayscale(65%);
  padding: 18px;
}
.preview-card.slot-hidden {
  left: 30%;
  top: 30%;
  width: 35%;
  height: 35%;
  z-index: 1;
  opacity: 0;
  transform: scale(0.4) rotate(5deg);
  filter: blur(8px);
  pointer-events: none;
}
.preview-svg {
  width: 100%;
  height: auto;
  max-height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.05));
  transition: transform var(--dur-base) ease;
}
.preview-screen-img {
  display: block;
  width: 100%;
  max-height: 78%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(44, 30, 22, 0.12);
  transition: transform var(--dur-base) ease;
}
.preview-caption {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
}
.preview-caption span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.preview-caption strong {
  color: var(--ink);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  line-height: 1.2;
}
.preview-card:not(.slot-focus) .preview-caption {
  display: none;
}
.preview-card.slot-focus:hover .preview-svg {
  transform: scale(1.03);
}
.preview-card.slot-focus:hover .preview-screen-img {
  transform: scale(1.02);
}
.preview-bg-glow {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

/* ── Responsive Features Panel ───────────────────────── */
@media (max-width: 992px) {
  .interactive-features-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-preview-panel {
    height: 260px;
    min-height: 260px;
    order: -1;
  }
  .preview-card-wrapper {
    min-height: 260px;
  }
  .preview-card.slot-focus {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: scale(1);
    filter: none;
    border-color: var(--accent);
  }
  .preview-card.slot-left,
  .preview-card.slot-right,
  .preview-card.slot-hidden {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.9);
    filter: blur(8px);
    pointer-events: none;
  }
  .feature-trigger.active {
    transform: translateY(-2px);
  }
  .feature-trigger:hover {
    transform: translateY(-1px);
  }
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  width: min(1220px, calc(100% - 28px));
  margin: 64px auto 32px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(230, 74, 25, 0.14), transparent 24rem),
    radial-gradient(circle at 92% 100%, rgba(46, 125, 50, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(44, 30, 22, 0.1);
}
.footer-container {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.72fr)) minmax(220px, 0.9fr);
  gap: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid rgba(44, 30, 22, 0.1);
  padding-bottom: 30px;
}
.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand-section .brand {
  width: fit-content;
  padding: 0;
  transform: none;
}
.footer-desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 360px;
  margin: 0;
}
.footer-platform-pills {
  max-width: 390px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-platform-pills span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(230, 74, 25, 0.14);
  border-radius: 999px;
  background: rgba(230, 74, 25, 0.08);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
}
.social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  transition: all var(--dur-fast) var(--ease-smooth);
  text-decoration: none;
}
.social-link:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(230, 74, 25, 0.2);
}
.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-column h2,
.footer-links-column h4 {
  margin: 0 0 7px 0;
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links-column a {
  width: fit-content;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.footer-links-column a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-support-card {
  align-self: stretch;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(44, 30, 22, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.footer-support-kicker {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-support-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.15;
}
.footer-support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.footer-support-card a {
  width: fit-content;
  margin-top: 4px;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-support-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}
.footer-bottom p,
.footer-bottom span {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}
.footer-bottom span {
  color: rgba(107, 90, 78, 0.72);
}

/* ── Selector Dropdowns ──────────────────────────────── */
.nav-selectors {
  display: flex;
  align-items: center;
  gap: 8px;
}
.selector-dropdown {
  position: relative;
  display: inline-block;
}
.selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
}
.selector-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(230, 74, 25, 0.2);
}
.selector-btn .chevron {
  transition: transform var(--dur-fast) var(--ease-smooth);
}
.selector-dropdown:hover .selector-btn .chevron {
  transform: rotate(180deg);
}
.selector-btn .sel-icon {
  opacity: 0.7;
  transition: opacity var(--dur-fast) ease;
}
.selector-btn:hover .sel-icon {
  opacity: 1;
}
.selector-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  max-height: min(430px, calc(100vh - 120px));
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(44, 30, 22, 0.08);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 150;
}
.selector-dropdown:hover .selector-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.selector-menu button {
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--muted);
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.selector-menu button:hover {
  background: rgba(230, 74, 25, 0.06);
  color: var(--accent);
}
.selector-menu button.active {
  background: rgba(230, 74, 25, 0.1);
  color: var(--accent-deep);
  font-weight: 700;
}

/* ── Operations Alerts ────────────────────────────────── */
.operations-alerts {
  background: radial-gradient(circle at 10% 20%, rgba(230, 74, 25, 0.02) 0%, transparent 60%);
}
.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.op-card {
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: all var(--dur-base) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.op-card:hover {
  background: var(--panel-strong);
  border-color: rgba(230, 74, 25, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(44, 30, 22, 0.09);
}
.op-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
}
.op-badge {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 99px;
}
.op-badge.info { background: rgba(21,101,192,0.08); color: #1565c0; }
.op-badge.active { background: rgba(194,24,91,0.08); color: #c2185b; }
.op-badge.success { background: rgba(46,125,50,0.08); color: #2e7d32; }
.op-badge.warning { background: rgba(245,127,23,0.08); color: #f57f17; }
.op-badge.danger { background: rgba(211,47,47,0.08); color: #d32f2f; }
.op-badge.notification { background: rgba(106,27,154,0.08); color: #6a1b9a; }
.op-card h3 { margin: 0; font-size: 1.18rem; font-weight: 700; color: var(--ink); }
.op-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.alert-pulse { position: relative; }
.alert-pulse::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
  animation: opPulse 1.8s infinite ease-in-out;
}
.alert-pulse.op-card { border-color: rgba(230, 74, 25, 0.15); }
@keyframes opPulse {
  0% { transform: scale(0.85); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.4; }
}

/* ── Responsive Operations ───────────────────────────── */
@media (max-width: 992px) {
  .operations-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .operations-grid { grid-template-columns: 1fr; gap: 18px; }
  .buy-actions { grid-template-columns: 1fr; }
  .product-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }
  .product-path span,
  .product-path a {
    border-radius: 12px;
    font-size: 0.74rem;
  }
}

/* ── Search landing pages ─────────────────────────────── */
.seo-landing-main {
  padding-top: 28px;
}
.seo-landing-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 620px;
  padding: clamp(34px, 6vw, 76px);
  border-radius: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  overflow: hidden;
  background: linear-gradient(135deg, #12251f 0%, #1f4c3d 58%, #8f2f14 140%);
  color: #fffaf4;
  box-shadow: 0 28px 80px rgba(35, 25, 18, 0.18);
}
.seo-landing-copy h1 {
  margin: 12px 0 20px;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.3vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.seo-landing-copy > p {
  max-width: 650px;
  color: rgba(255, 250, 244, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}
.seo-landing-eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3c9ad !important;
  font: 700 0.75rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seo-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.seo-landing-actions a {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}
.seo-primary-action {
  background: #fff7ef;
  color: #61210f;
}
.seo-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fffaf4;
}
.seo-landing-visual picture {
  display: block;
}

.seo-landing-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

/* Authentic product screenshots presented inside lightweight device frames. */
.product-device {
  position: relative;
  margin: 0 auto;
}
.product-device picture {
  display: block;
  overflow: hidden;
}
.seo-landing-visual .product-device img,
.product-screen-card .product-device img {
  border-radius: 0;
  box-shadow: none;
}
.product-device--desktop {
  width: 100%;
  padding: 13px 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, #2d3338, #0b0f12 68%);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38);
}
.product-device--desktop::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #65727a;
  transform: translateX(-50%);
}
.product-device--desktop::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -9px;
  height: 11px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #b9c0c3, #666e73);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.product-device--desktop picture {
  border-radius: 8px;
  background: #071118;
}
.product-device--phone {
  width: min(270px, 100%);
  padding: 12px 9px;
  border: 1px solid #495057;
  border-radius: 38px;
  background: linear-gradient(145deg, #30363b, #080a0c 72%);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.42);
}
.product-device--phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 50%;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}
.product-device--phone picture {
  border-radius: 29px;
  background: #f7f4ef;
}
.product-device-label {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 24px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 18, 17, 0.88);
  color: #fff;
  font: 700 0.68rem var(--font-mono);
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}
.product-screen-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.product-screen-card {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 46px rgba(35, 25, 18, 0.1);
}
.product-screen-card figcaption {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.product-screen-card figcaption strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.seo-proof-list {
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 0;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}
.seo-proof-list span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}
.seo-content-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0 0;
}
.seo-content-section .section-head h2 {
  max-width: 820px;
}
.seo-content-section .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.seo-feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(191, 54, 12, 0.1);
  color: var(--accent);
  font: 800 0.78rem var(--font-mono);
}
.seo-split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 30px;
  background: #12251f;
  color: #fffaf4;
}
.seo-split-panel h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  text-wrap: balance;
}
.seo-split-panel p,
.seo-split-panel li {
  color: rgba(255, 250, 244, 0.76);
  line-height: 1.7;
}
.seo-check-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.seo-check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #f1a875;
  font-weight: 900;
}
.seo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.seo-step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}
.seo-step strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 1.05rem;
}
.seo-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.seo-faq {
  max-width: 900px;
  display: grid;
  gap: 12px;
}
.seo-faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}
.seo-faq summary {
  cursor: pointer;
  font-weight: 800;
}
.seo-faq p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.seo-final-cta {
  margin-bottom: 90px;
  padding: clamp(38px, 7vw, 74px);
  border-radius: 30px;
  background: linear-gradient(135deg, #f5e7db, #fffaf4);
  text-align: center;
}
.seo-final-cta h2 {
  margin: 0 auto 14px;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}
.seo-final-cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.7;
}
.seo-final-cta .seo-primary-action {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 900px) {
  .seo-landing-hero,
  .seo-split-panel { grid-template-columns: 1fr; }
  .seo-landing-hero { min-height: auto; }
  .seo-proof-list,
  .seo-steps { grid-template-columns: repeat(2, 1fr); }
  .seo-content-section .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .seo-landing-main { padding-top: 12px; }
  .seo-landing-hero,
  .seo-proof-list,
  .seo-content-section { width: min(100% - 24px, 1180px); }
  .seo-landing-hero { padding: 30px 20px; border-radius: 24px; }
  .seo-landing-copy h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .seo-proof-list,
  .seo-steps,
  .seo-content-section .feature-grid { grid-template-columns: 1fr; }
  .seo-split-panel { padding: 30px 22px; border-radius: 24px; }
  .product-screen-gallery { grid-template-columns: 1fr; }
  .product-device-label { right: -4px; }
}

/* ── Error page ───────────────────────────────────────── */
.error-page-main {
  width: min(1040px, calc(100% - 48px));
  min-height: calc(100vh - 230px);
  margin: 0 auto;
  padding: clamp(70px, 11vw, 140px) 0 90px;
  display: grid;
  place-items: center;
}
.error-page-card {
  width: 100%;
  padding: clamp(38px, 8vw, 86px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 231, 219, 0.78));
  box-shadow: 0 30px 90px rgba(35, 25, 18, 0.12);
  text-align: center;
}
.error-code {
  display: block;
  color: var(--accent);
  font: 800 clamp(4.8rem, 16vw, 10rem)/0.82 var(--font-display);
  letter-spacing: -0.06em;
}
.error-page-card h1 {
  max-width: 760px;
  margin: 28px auto 16px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.02;
  text-wrap: balance;
}
.error-page-card > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.error-page-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.error-page-links a {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.error-page-links a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.error-page-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(35, 25, 18, 0.1);
}
@media (max-width: 620px) {
  .error-page-main { width: min(100% - 24px, 1040px); padding-top: 46px; }
  .error-page-card { padding: 38px 20px; border-radius: 24px; }
  .error-page-links { display: grid; }
}

/* ── Mockup Animations ────────────────────────────────── */
.sim-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(44, 30, 22, 0.04);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  text-align: left;
  box-sizing: border-box;
}
.sim-checkbox::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1.5px solid var(--muted);
  box-sizing: border-box;
  display: inline-block;
  flex-shrink: 0;
}
.sim-checkbox.checked::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.sim-checkbox.checked {
  color: var(--ink);
  background: #ffffff;
  animation: checkboxPop 0.4s ease-in-out forwards;
}
.sim-checkbox:nth-child(2) { animation-delay: 0.4s; }
@keyframes checkboxPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.sync-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--accent);
  transition: width 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.workflow-scene:not(.hidden) .sync-progress-fill { width: 100%; }

/* ── Analytics Mockup (Step 4: Billing & Analytics) ──── */

/* ── Dashboard Sidebar & Tabs ────────────────────────── */

/* ── Summary Cards ────────────────────────────────────── */

/* ── Tab Panel ───────────────────────────────────────── */

/* ── License Cards ────────────────────────────────────── */

/* ── License Sections ────────────────────────────────── */

/* ── Downloads Card ───────────────────────────────────── */

/* ── Custom Modal ──────────────────────────────────────── */

/* ── Toast ────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  pointer-events: none;
  max-width: 420px;
}
.toast {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(44,30,22,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.22,1,0.36,1);
  word-break: break-word;
  line-height: 1.4;
}
.toast.removing {
  animation: slideOutToast 0.3s cubic-bezier(0.22,0,0.64,0);
}
@keyframes slideInToast {
  from { transform: translateX(400px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutToast {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(400px); opacity: 0; }
}

/* ── Empty State ──────────────────────────────────────── */

/* ── Responsive Sidebar ───────────────────────────────── */

/* -- MODERN DASHBOARD CARD REDESIGN (Premium Light Mode) -- */

/* Redesign Summary Cards */

/* Redesign License & Pending Cards */

/* Download Card Redesign */


/* ==========================================================================
   Enhanced Responsive Breakpoints (appendix)
   NOTE: this block intentionally lives at the END of the stylesheet.
   Every rule here has the same specificity as the unconditional component
   rules earlier in the file (e.g. .hero, .footer-container, .toast-container),
   and in a tie CSS gives the win to whichever rule appears LAST in the
   source — regardless of which one is wrapped in @media. Previously this
   block sat near the top of the file, so all of these mobile overrides were
   silently being overridden by the later unconditional rules and never
   actually applied. Keep this block last.
   ========================================================================== */

/* ==========================================================================
   Enhanced Responsive Breakpoints (appendix)
   ========================================================================== */

/* ── Extra small devices (≤360px) ──────────────── */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .topbar { padding: 8px 12px; border-radius: 16px; }
  .brand-logo { width: 32px; height: 32px; }
  .hero, .section { padding: 16px; border-radius: 22px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .selector-btn { padding: 6px 10px; font-size: 0.75rem; }
  .selector-menu { right: -40px; width: 130px; }
  .price-row strong { font-size: 1.2rem; }
  .brand-copy strong { font-size: 0.85rem; }
  .account-list { grid-template-columns: 1fr; }
  .feature-trigger { padding: 10px 14px; }
  .feature-trigger h3 { font-size: 0.92rem; }
  .product-card ul li { font-size: 0.85rem; }
  .site-footer { padding: 28px 18px 16px; border-radius: 22px; }
  .footer-container { grid-template-columns: 1fr; gap: 24px; }
  .footer-support-card { min-height: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .operations-grid { gap: 12px; }
  .op-card { padding: 20px; }
  .op-card h3 { font-size: 1rem; }
  .op-card p { font-size: 0.82rem; }
}

/* ── Small phones (361px–480px) ────────────────── */
@media (min-width: 361px) and (max-width: 480px) {
  html { font-size: 15px; }
  .topbar { padding: 10px 14px; border-radius: 18px; }
  .hero, .section { padding: 18px; }
  h1 { font-size: 2.2rem; }
  .product-card-featured { transform: none; }
  .product-card-featured:hover { transform: translateY(-4px); }
  .selector-menu { right: -30px; }
  .buy-actions { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

/* ── Landscape phones (≤768px, landscape) ──────── */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { position: relative; border-radius: 18px; padding: 6px 12px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: auto; padding: 16px; }
  .slide { animation: none; }
  .ambient, .garland-frame, #particle-field { display: none !important; }
  .section { padding: 14px; }
  .features-preview-panel { height: 220px; min-height: 220px; }
}

/* ── Tablet (481px–768px) ──────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .feature-grid,
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .operations-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-section,
  .footer-support-card,
  .footer-bottom {
    grid-column: 1 / -1;
  }
  .site-footer { padding: 36px 24px 20px; }
}

/* ── Small desktop / large tablet (769px–992px) ── */
@media (min-width: 769px) and (max-width: 992px) {
  /* .hero stays single-column here (see the main ≤992px block below,
     which also switches the nav to the hamburger menu at this width) */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .operations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr)); }
  .footer-support-card { grid-column: 1 / -1; min-height: auto; }
}

/* ── Medium desktop (993px–1200px) ────────────── */
@media (min-width: 993px) and (max-width: 1200px) {
  .hero { padding: 28px; gap: 16px; }
}

/* ── Dashboard sidebar mobile improvements ────── */

/* ── License card header responsive ──────────── */

/* ── Toast container mobile ────────────────── */
@media (max-width: 480px) {
  .toast-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .toast { font-size: 0.84rem; padding: 12px 14px; }
}

/* ── Empty state mobile ────────────────────── */

/* Full-width image hero */
.hero {
  display: block;
  width: 100%;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 2px solid rgba(44, 30, 22, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  backdrop-filter: none;
  background: none;
}

.hero-full-image {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 8px;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform 360ms ease, filter 260ms ease;
}

.hero-image-stage picture {
  display: block;
}

.hero-image-stage {
  position: relative;
  width: 100%;
}

.hero-image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--zoom-x, 50%) var(--zoom-y, 50%), transparent 0 16%, rgba(7, 16, 21, 0.2) 54%, rgba(7, 16, 21, 0.34) 100%);
  transition: opacity 720ms ease;
}

.hero-image-stage.is-zoomed .hero-full-image {
  transform: scale(1.48);
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1150ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
}

.hero-image-stage.is-camera-walking::after {
  opacity: 1;
}

.hero-screen-preview {
  position: absolute;
  left: var(--preview-x, 50%);
  top: var(--preview-y, 50%);
  z-index: 4;
  width: min(280px, 24vw);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(7, 16, 21, 0.48);
  box-shadow: 0 18px 42px rgba(7, 16, 21, 0.24);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--preview-shift-x, -50%), var(--preview-shift-y, calc(-100% - 28px))) scale(0.92);
  transition: opacity 280ms ease, transform 480ms var(--ease-smooth);
}

.hero-image-stage.is-preview-open .hero-screen-preview {
  opacity: 1;
  transform: translate(var(--preview-shift-x, -50%), var(--preview-shift-y, calc(-100% - 28px))) scale(1);
}

.hero-screen-preview strong {
  display: block;
  margin: 0 0 8px;
  color: #fffaf4;
  font-size: 0.86rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero-screen-preview p {
  margin: 0 0 9px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.72rem;
  line-height: 1.35;
}

.hero-screen-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 10px;
  background: #071015;
}

.hero-typing-headline {
  position: absolute;
  margin: 0;
  left: clamp(16px, 4vw, 58px);
  top: clamp(18px, 4.2vw, 64px);
  z-index: 3;
  max-width: min(620px, 58vw);
  color: #fffaf4;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72), 0 10px 24px rgba(7, 16, 21, 0.58);
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.62);
}

.hero-title-line {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 250, 244, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.08;
  animation: hero-title-type 2.2s steps(24, end) 0.45s forwards, hero-title-cursor 0.8s step-end infinite;
}

.hero-title-line-second {
  margin-top: 4px;
  animation-delay: 2.75s, 0s;
}

.hero-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(46px, 4vw, 72px);
  height: clamp(46px, 4vw, 72px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero-hotspot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(14px, 1.35vw, 24px);
  height: clamp(14px, 1.35vw, 24px);
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 5px rgba(7, 16, 21, 0.12), 0 10px 24px rgba(44, 30, 22, 0.18);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
}

.hero-hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(24px, 2.2vw, 38px);
  height: clamp(24px, 2.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  transform: translate(-50%, -50%);
}

.hero-hotspot:hover,
.hero-hotspot:focus-visible,
.hero-hotspot.is-active {
  outline: none;
}

.hero-hotspot:hover::before,
.hero-hotspot:focus-visible::before,
.hero-hotspot.is-active::before {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.96);
}

.hero-hotspot-room::before {
  border-color: rgba(157, 247, 210, 1);
  background: rgba(35, 132, 91, 0.32);
  box-shadow: 0 0 0 7px rgba(35, 132, 91, 0.2), 0 10px 24px rgba(7, 16, 21, 0.24);
}

.hero-hotspot-room::after {
  border-color: rgba(157, 247, 210, 0.8);
}

.hero-hotspot-manager::before {
  border-color: rgba(255, 214, 128, 0.98);
  background: rgba(111, 69, 23, 0.24);
  box-shadow: 0 0 0 6px rgba(111, 69, 23, 0.18), 0 10px 24px rgba(7, 16, 21, 0.22);
}

.hero-hotspot-manager::after {
  border-color: rgba(255, 214, 128, 0.72);
}

.hero-hotspot-cashier::before {
  border-color: rgba(133, 207, 255, 0.98);
  background: rgba(21, 101, 192, 0.24);
  box-shadow: 0 0 0 6px rgba(21, 101, 192, 0.18), 0 10px 24px rgba(7, 16, 21, 0.22);
}

.hero-hotspot-cashier::after {
  border-color: rgba(133, 207, 255, 0.72);
}

@keyframes hero-title-type {
  to {
    width: 100%;
  }
}

@keyframes hero-title-cursor {
  50% {
    border-color: transparent;
  }
}

/* Fixed top navigation */
.topbar {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 1000;
  width: min(1220px, calc(100% - 28px));
  margin: 0;
  transform: translateX(-50%);
}

body.loading .topbar {
  transform: translateX(-50%);
}

main {
  padding-top: 82px;
}

@media (max-width: 768px) {
  main {
    padding-top: 74px;
  }

  .hero {
    border-width: 1px;
    border-radius: 8px;
  }

  .hero-image-stage {
    aspect-ratio: 9 / 16;
    max-height: calc(100dvh - 88px);
    min-height: 520px;
    overflow: hidden;
  }

  .hero-image-stage picture {
    position: absolute;
    inset: 0;
    overflow: visible;
  }

  .hero-full-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: none;
    height: 100%;
    border-radius: 7px;
    transform: translate(-50%, -50%);
    transition: transform 1050ms cubic-bezier(0.16, 1, 0.3, 1), filter 620ms ease;
  }

  .hero-image-stage.is-zoomed .hero-full-image {
    transform: translateX(var(--mobile-pan-x, -50%)) translateY(-50%) scale(1.04);
  }

  .hero-image-stage::after {
    background:
      radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(7, 16, 21, 0.12) 56%, rgba(7, 16, 21, 0.24) 100%);
  }

  .hero-hotspot {
    width: 44px;
    height: 44px;
    opacity: 0;
    transition: opacity 260ms ease;
  }

  .hero-hotspot.is-active {
    opacity: 1;
  }

  .hero-image-stage.is-zoomed .hero-hotspot:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  .hero-image-stage.is-zoomed .hero-hotspot.is-active {
    left: 50%;
    top: 50%;
  }

  .hero-hotspot::before {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
    box-shadow: 0 0 0 2px rgba(7, 16, 21, 0.12), 0 5px 12px rgba(44, 30, 22, 0.15);
  }

  .hero-hotspot::after {
    width: 13px;
    height: 13px;
  }

  .hero-hotspot-room::before,
  .hero-hotspot-manager::before,
  .hero-hotspot-cashier::before {
    box-shadow: 0 0 0 3px rgba(7, 16, 21, 0.12), 0 5px 12px rgba(7, 16, 21, 0.18);
  }

  .hero-screen-preview {
    left: 50%;
    top: 50%;
    width: min(190px, calc(100% - 20px));
    padding: 7px;
    border-radius: 10px;
    transform: translate(-50%, 30px) scale(0.92);
  }

  .hero-image-stage.is-preview-open .hero-screen-preview {
    transform: translate(-50%, 34px) scale(1);
  }

  .hero-screen-preview strong {
    margin-bottom: 5px;
    font-size: 0.7rem;
  }

  .hero-screen-preview p {
    margin-bottom: 6px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero-screen-preview img {
    max-height: 145px;
    border-radius: 8px;
  }

  .hero-typing-headline {
    max-width: min(430px, calc(100% - 18px));
    top: 12px;
    left: 10px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.92), 0 5px 12px rgba(0, 0, 0, 0.8), 0 14px 28px rgba(7, 16, 21, 0.68);
    -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.78);
  }

  .hero-title-line {
    width: auto;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    font-size: 2.05rem;
    line-height: 1.02;
    letter-spacing: 0;
    border-right: 0;
    animation: none;
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.24));
  }

  .hero-title-line-second {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .hero-typing-headline {
    max-width: min(360px, calc(100% - 16px));
    top: 10px;
    left: 8px;
  }

  .hero-title-line {
    font-size: 1.72rem;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  .hero-hotspot {
    width: 44px;
    height: 44px;
  }

  .hero-hotspot::before {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(7, 16, 21, 0.1), 0 4px 10px rgba(44, 30, 22, 0.14);
  }

  .hero-hotspot::after {
    width: 11px;
    height: 11px;
  }

  .hero-typing-headline {
    max-width: min(316px, calc(100% - 14px));
    top: 8px;
    left: 7px;
  }

  .hero-title-line {
    font-size: 1.42rem;
  }
}
