/* ═══════════════════════════════════════════════════════════════
   DineHub Premium Landing — Design System
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --dh-primary: #FFB400;
  --dh-primary-light: #FFD54A;
  --dh-primary-glow: rgba(255, 180, 0, 0.35);
  --dh-dark: #0F172A;
  --dh-dark-2: #1E293B;
  --dh-bg: #FFFFFF;
  --dh-bg-2: #F8FAFC;
  --dh-success: #16A34A;
  --dh-error: #EF4444;
  --dh-text: #111827;
  --dh-muted: #64748B;
  --dh-border: #E2E8F0;
  --dh-radius: 16px;
  --dh-radius-lg: 24px;
  --dh-radius-xl: 32px;
  --dh-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --dh-shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --dh-shadow-gold: 0 20px 50px rgba(255, 180, 0, 0.25);
  --dh-container: 1240px;
  --dh-nav-h: 72px;
  --dh-gradient: linear-gradient(135deg, #FFD54A 0%, #FFB400 50%, #E6A200 100%);
  --dh-font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.dh-page {
  font-family: var(--dh-font);
  color: var(--dh-text);
  background: var(--dh-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

body.dh-page img {
  max-width: 100%;
  display: block;
}

body.dh-page ul {
  list-style: none;
}

.dh-container {
  width: 100%;
  max-width: var(--dh-container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* ── Loader ── */
.dh-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dh-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.dh-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dh-loader-logo {
  width: 56px;
  height: 56px;
  animation: dhPulse 1.2s ease-in-out infinite;
}

@keyframes dhPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

/* ── Background effects ── */
.dh-bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: dhBlobFloat 20s ease-in-out infinite;
}

.dh-blob--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.35), transparent 70%);
}

.dh-blob--2 {
  width: 500px;
  height: 500px;
  bottom: 20%;
  left: -150px;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.2), transparent 70%);
  animation-delay: -8s;
}

.dh-blob--3 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: 10%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.06), transparent 70%);
  animation-delay: -14s;
}

@keyframes dhBlobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

.dh-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Cursor glow ── */
.dh-cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ── Typography ── */
.dh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.12);
  border: 1px solid rgba(255, 180, 0, 0.25);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #92400E;
  margin-bottom: 1.5rem;
}

.dh-gradient-text {
  background: var(--dh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: dhGradientShift 4s ease infinite;
}

@keyframes dhGradientShift {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.dh-section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dh-primary);
  margin-bottom: 0.75rem;
}

.dh-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.dh-section-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--dh-muted);
  max-width: 36rem;
  margin: 0 auto;
}

.dh-section-head {
  text-align: center;
  margin-bottom: 4rem;
}

/* ── Buttons ── */
.dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-family: var(--dh-font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dh-btn--primary {
  background: var(--dh-gradient);
  color: var(--dh-dark);
  box-shadow: var(--dh-shadow-gold);
}

.dh-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(255, 180, 0, 0.35);
}

.dh-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.dh-btn--primary:hover::after {
  transform: translateX(100%);
}

.dh-btn--ghost {
  background: transparent;
  color: var(--dh-text);
  border: 1.5px solid var(--dh-border);
}

.dh-btn--ghost:hover {
  border-color: var(--dh-primary);
  background: rgba(255, 180, 0, 0.06);
}

.dh-btn--white {
  background: #fff;
  color: var(--dh-dark);
  box-shadow: var(--dh-shadow);
}

.dh-btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

.dh-btn--block {
  width: 100%;
}

/* ── Navbar ── */
.dh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--dh-nav-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.dh-nav--solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--dh-border), var(--dh-shadow);
}

.dh-nav:not(.dh-nav--solid) {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(1rem, 2vw, 2rem);
}

.dh-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dh-dark);
  flex: 0 0 auto;
}

.dh-logo img {
  height: 36px;
  width: auto;
}

.dh-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.45vw, 1.35rem);
  min-width: 0;
}

.dh-nav-links > a,
.dh-nav-menu-trigger {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dh-muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.dh-nav-links > a:hover,
.dh-nav-links > a[aria-current="page"],
.dh-nav-menu-trigger:hover,
.dh-nav-menu:focus-within .dh-nav-menu-trigger {
  color: var(--dh-dark);
}

.dh-nav-links > a[aria-current="page"] {
  color: #8a5e00;
}

.dh-nav-menu {
  position: relative;
}

.dh-nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.dh-nav-chevron {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.1rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.75;
}

.dh-nav-menu:hover .dh-nav-chevron,
.dh-nav-menu:focus-within .dh-nav-chevron,
.dh-nav-menu--open .dh-nav-chevron {
  transform: rotate(225deg);
  opacity: 1;
}

.dh-nav-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  width: 520px;
  padding: 0.65rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dh-nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.8rem;
  height: 0.8rem;
}

.dh-nav-menu:hover .dh-nav-dropdown,
.dh-nav-menu:focus-within .dh-nav-dropdown,
.dh-nav-menu--open .dh-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dh-nav-dropdown--compact {
  left: auto;
  right: -1rem;
  grid-template-columns: 1fr;
  width: 300px;
  transform: translateY(-8px);
}

.dh-nav-menu:hover .dh-nav-dropdown--compact,
.dh-nav-menu:focus-within .dh-nav-dropdown--compact,
.dh-nav-menu--open .dh-nav-dropdown--compact {
  transform: translateY(0);
}

.dh-nav-dropdown a {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border-radius: 12px;
}

.dh-nav-dropdown a:hover,
.dh-nav-dropdown a[aria-current="page"] {
  background: #fff8df;
}

.dh-nav-dropdown strong {
  color: var(--dh-dark);
  font-size: 0.875rem;
}

.dh-nav-dropdown small {
  margin-top: 0.1rem;
  color: var(--dh-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.dh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.dh-nav-actions .dh-btn {
  padding: 0.7rem 1.1rem;
}

.dh-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: #fff8df;
  border: 1px solid rgba(255, 180, 0, 0.25);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dh-nav-toggle span,
.dh-nav-toggle::before,
.dh-nav-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dh-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.dh-nav-toggle::before,
.dh-nav-toggle::after {
  content: '';
}

.dh-nav-toggle--open::before {
  transform: translateY(8px) rotate(45deg);
}

.dh-nav-toggle--open span {
  opacity: 0;
}

.dh-nav-toggle--open::after {
  transform: translateY(-8px) rotate(-45deg);
}

.dh-mobile {
  display: none;
  position: fixed;
  top: var(--dh-nav-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--dh-nav-h));
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 1rem max(1.25rem, calc((100vw - 640px) / 2));
  flex-direction: column;
  gap: 0.2rem;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s;
  pointer-events: none;
}

.dh-mobile--open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dh-mobile a {
  padding: 0.72rem 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--dh-border);
  border-radius: 10px;
}

.dh-mobile a:hover,
.dh-mobile a[aria-current="page"] {
  color: #805900;
  background: #fff8df;
}

.dh-mobile-label {
  margin: 0.85rem 0.9rem 0.25rem;
  color: #9a6a00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Hero ── */
.dh-hero {
  padding: calc(var(--dh-nav-h) + 4rem) 0 6rem;
  position: relative;
}

.dh-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.dh-hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--dh-dark);
}

.dh-hero-brandline {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--dh-dark);
}

.dh-hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--dh-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.dh-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--dh-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.dh-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dh-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--dh-muted);
}

.dh-hero-trust strong {
  color: var(--dh-dark);
}

.dh-stars {
  color: var(--dh-primary);
  letter-spacing: 2px;
}

/* Hero scene — POS laptop mockup */
.dh-hero-scene {
  position: relative;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dh-hero-mockup {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  background: transparent;
  animation: dh-hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.22));
}

.dh-hero-mockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes dh-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .dh-hero-mockup {
    animation: none;
  }
}

.dh-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--dh-radius-lg);
  box-shadow: var(--dh-shadow-lg);
  transition: transform 0.15s ease-out;
}

.dh-float {
  animation: dhFloat 6s ease-in-out infinite;
}

@keyframes dhFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.dh-card-main {
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 3;
}

.dh-card-main .dh-mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.dh-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dh-mock-dot--r {
  background: #EF4444;
}

.dh-mock-dot--y {
  background: #FFB400;
}

.dh-mock-dot--g {
  background: #16A34A;
}

.dh-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dh-kpi {
  padding: 0.75rem;
  background: var(--dh-bg-2);
  border-radius: 12px;
}

.dh-kpi small {
  display: block;
  font-size: 0.6875rem;
  color: var(--dh-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dh-kpi-val {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.dh-kpi strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dh-dark);
  line-height: 1;
}

.dh-kpi em {
  font-size: 0.75rem;
  color: var(--dh-success);
  font-style: normal;
  font-weight: 700;
}

.dh-mini-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-top: 0.5rem;
}

.dh-mini-chart span {
  flex: 1;
  background: var(--dh-gradient);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
  opacity: 0.85;
}

.dh-card-float {
  position: absolute;
  padding: 1rem 1.25rem;
  z-index: 4;
  min-width: 190px;
}

.dh-card-float--1 {
  top: 5%;
  right: -10%;
  animation-delay: -2s;
}

.dh-card-float--2 {
  bottom: 20%;
  left: -12%;
  animation-delay: -4s;
}

.dh-card-float--3 {
  bottom: 8%;
  right: 5%;
  animation-delay: -1s;
}

.dh-card-float h4 {
  font-size: 0.75rem;
  color: var(--dh-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.dh-card-float .dh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--dh-border);
}

.dh-card-float .dh-row:last-child {
  border: none;
}

.dh-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.dh-pill--ok {
  background: rgba(22, 163, 74, 0.12);
  color: var(--dh-success);
}

.dh-pill--warn {
  background: rgba(255, 180, 0, 0.15);
  color: #B45309;
}

.dh-pill--live {
  background: rgba(239, 68, 68, 0.12);
  color: var(--dh-error);
  animation: dhPulse 2s infinite;
}

/* ── Stats bar ── */
.dh-stats {
  padding: 4rem 0;
  background: var(--dh-bg-2);
  border-top: 1px solid var(--dh-border);
  border-bottom: 1px solid var(--dh-border);
}

.dh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.dh-stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--dh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dh-stat span {
  font-size: 0.9375rem;
  color: var(--dh-muted);
  font-weight: 500;
}

.dh-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  opacity: 0.5;
}

.dh-logos span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dh-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Bento grid ── */
.dh-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.dh-section--alt {
  background: var(--dh-bg-2);
}

.dh-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 1rem;
}

.dh-bento-card {
  background: #fff;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dh-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dh-gradient);
  opacity: 0;
  transition: opacity 0.35s;
}

.dh-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dh-shadow-lg);
  border-color: rgba(255, 180, 0, 0.3);
}

.dh-bento-card:hover::before {
  opacity: 0.04;
}

.dh-bento-card--wide {
  grid-column: span 2;
}

.dh-bento-card--tall {
  grid-row: span 2;
}

.dh-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 180, 0, 0.12);
  transition: transform 0.35s;
}

.dh-bento-card:hover .dh-bento-icon {
  transform: scale(1.1) rotate(-4deg);
}

.dh-bento-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.dh-bento-card p {
  font-size: 0.8125rem;
  color: var(--dh-muted);
  line-height: 1.55;
  position: relative;
}

/* ── Product demo ── */
.dh-demo-wrap {
  background: var(--dh-dark);
  border-radius: var(--dh-radius-xl);
  padding: 2rem;
  box-shadow: var(--dh-shadow-lg);
}

.dh-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dh-demo-tab {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.25s;
}

.dh-demo-tab--active,
.dh-demo-tab:hover {
  background: rgba(255, 180, 0, 0.15);
  border-color: rgba(255, 180, 0, 0.4);
  color: var(--dh-primary);
}

.dh-demo-viewport {
  position: relative;
  border-radius: var(--dh-radius);
  overflow: hidden;
  background: #1E293B;
  min-height: 400px;
}

.dh-demo-panel {
  display: none;
  padding: 2rem;
  animation: dhFadeUp 0.5s ease;
}

.dh-demo-panel--active {
  display: block;
}

@keyframes dhFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dh-demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dh-demo-kpi {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dh-demo-kpi small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.dh-demo-kpi strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

/* ── Steps ── */
.dh-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.dh-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  transition: all 0.35s;
}

.dh-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--dh-shadow-lg);
}

.dh-step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--dh-gradient);
  color: var(--dh-dark);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.dh-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dh-step p {
  font-size: 0.875rem;
  color: var(--dh-muted);
}

/* ── Modules ── */
.dh-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dh-module {
  padding: 2rem;
  border-radius: var(--dh-radius-lg);
  background: linear-gradient(145deg, #fff, var(--dh-bg-2));
  border: 1px solid var(--dh-border);
  transition: all 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.dh-module::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--dh-gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.dh-module:hover {
  transform: translateY(-8px);
  box-shadow: var(--dh-shadow-lg);
}

.dh-module:hover::after {
  transform: scaleX(1);
}

.dh-module-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dh-module h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.dh-module p {
  font-size: 0.875rem;
  color: var(--dh-muted);
}

/* ── Mobile apps ── */
.dh-mobile-section {
  background: var(--dh-dark);
  color: #fff;
  overflow: hidden;
}

.dh-mobile-section .dh-section-title {
  color: #fff;
}

.dh-mobile-section .dh-section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.dh-phones {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 4rem;
  perspective: 1200px;
}

.dh-phone {
  width: 200px;
  text-align: center;
  transition: transform 0.4s;
  animation: dhFloat 5s ease-in-out infinite;
}

.dh-phone:nth-child(2) {
  animation-delay: -1.5s;
  transform: translateY(-20px);
}

.dh-phone:nth-child(3) {
  animation-delay: -3s;
  transform: translateY(10px);
}

.dh-phone:nth-child(4) {
  animation-delay: -0.5s;
  transform: translateY(-10px);
}

.dh-phone:hover {
  transform: translateY(-16px) scale(1.05);
}

.dh-phone-screen {
  width: 100%;
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 8px solid #283344;
  border-radius: 36px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.dh-phone:hover .dh-phone-screen {
  box-shadow: 0 32px 64px rgba(255, 180, 0, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  border-color: #334155;
}

.dh-phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: #000;
  border-radius: 8px;
  z-index: 2;
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.15);
}

.dh-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.15) 0%, transparent 45%);
  z-index: 3;
  pointer-events: none;
}

.dh-phone span {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Mock App Screens (Detailed) */
.dh-app-pos, .dh-app-kitchen, .dh-app-owner, .dh-app-waiter, .dh-app-qr {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  padding-top: 28px; width: 100%; height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 7px; box-sizing: border-box;
}
.dh-app-pos *, .dh-app-kitchen *, .dh-app-owner *, .dh-app-waiter *, .dh-app-qr * { box-sizing: border-box; }

.app-hdr {
  display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; background: #fff; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.app-hdr b { font-size: 8px; font-weight: 700; color: #0f172a; }
.app-hdr span { font-size: 6px; color: #64748b; font-weight: 600; }

/* POS */
.dh-app-pos { background: #f1f5f9; }
.dh-app-pos .app-tabs { display: flex; gap: 6px; padding: 0 8px 6px; }
.dh-app-pos .app-tabs b { font-weight: 700; color: #0f172a; border-bottom: 1px solid var(--dh-primary); }
.dh-app-pos .app-tabs span { color: #64748b; font-weight: 600; }
.dh-app-pos .app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 8px; flex: 1; overflow: hidden; }
.dh-app-pos .item { background: #fff; border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dh-app-pos .item .img { height: 26px; display: flex; align-items: center; justify-content: center; font-size: 14px; background: #f8fafc; }
.dh-app-pos .item .c-burger { background: #fef3c7; } .dh-app-pos .item .c-pizza { background: #fee2e2; }
.dh-app-pos .item .c-fries { background: #fef08a; } .dh-app-pos .item .c-drink { background: #e0f2fe; }
.dh-app-pos .item .info { padding: 4px; display: flex; flex-direction: column; gap: 2px; }
.dh-app-pos .item .info b { font-size: 7px; color: #0f172a; } .dh-app-pos .item .info span { font-size: 6px; color: #64748b; }
.dh-app-pos .app-sheet { background: #fff; border-radius: 12px 12px 0 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.dh-app-pos .app-sheet .row { display: flex; justify-content: space-between; font-size: 6px; color: #475569; }
.dh-app-pos .app-sheet hr { border: none; border-top: 1px dashed #e2e8f0; margin: 2px 0; }
.dh-app-pos .app-sheet .total { font-size: 7px; font-weight: 700; color: #0f172a; }
.dh-app-pos .app-sheet .btn { background: var(--dh-primary); color: #fff; text-align: center; border-radius: 4px; padding: 3px 0; font-weight: 700; font-size: 7px; margin-top: 4px; }

/* Kitchen */
.dh-app-kitchen { background: #0f172a; }
.dh-app-kitchen .app-hdr { background: #1e293b; border-bottom: 1px solid #334155; }
.dh-app-kitchen .app-hdr b { color: #f8fafc; } .dh-app-kitchen .app-hdr span { color: #94a3b8; }
.dh-app-kitchen .app-ticket { background: #1e293b; margin: 0 8px 6px; border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid; }
.dh-app-kitchen .border-red { border-left-color: #ef4444; } .dh-app-kitchen .border-yellow { border-left-color: #f59e0b; } .dh-app-kitchen .border-green { border-left-color: #10b981; }
.dh-app-kitchen .t-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.dh-app-kitchen .t-head div { padding: 2px 4px; border-radius: 3px; font-size: 5px; font-weight: 700; color: #fff; }
.dh-app-kitchen .badge-red { background: #ef4444; } .dh-app-kitchen .badge-yellow { background: #f59e0b; color: #78350f!important; } .dh-app-kitchen .badge-green { background: #10b981; }
.dh-app-kitchen .t-head span { font-weight: 700; color: #e2e8f0; font-size: 7px; }
.dh-app-kitchen .t-item { display: flex; gap: 4px; font-size: 6px; color: #cbd5e1; } .dh-app-kitchen .t-item b { color: #f8fafc; }

/* Owner */
.dh-app-owner { background: #f8fafc; }
.dh-app-owner .app-kpi-row { display: flex; gap: 6px; padding: 0 8px; margin-bottom: 8px; }
.dh-app-owner .kpi { flex: 1; background: #fff; border-radius: 6px; padding: 4px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dh-app-owner .kpi span { font-size: 5px; color: #64748b; } .dh-app-owner .kpi b { font-size: 9px; color: #0f172a; margin-top: 2px; }
.dh-app-owner .app-chart { margin: 0 8px 8px; height: 40px; background: #fff; border-radius: 6px; padding: 6px 8px 0; display: flex; align-items: flex-end; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dh-app-owner .app-chart div { flex: 1; background: var(--dh-primary); border-radius: 2px 2px 0 0; opacity: 0.9; }
.dh-app-owner .app-list { padding: 0 8px; display: flex; flex-direction: column; gap: 4px; }
.dh-app-owner .l-item { background: #fff; padding: 4px; border-radius: 6px; display: flex; gap: 6px; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.dh-app-owner .l-item .icon { font-size: 10px; } .dh-app-owner .l-item .info { display: flex; flex-direction: column; }
.dh-app-owner .l-item .info b { font-size: 6px; color: #0f172a; } .dh-app-owner .l-item .info span { font-size: 5px; color: #64748b; }

/* Waiter */
.dh-app-waiter { background: #e2e8f0; }
.dh-app-waiter .app-stats { display: flex; gap: 4px; padding: 0 10px 8px; font-size: 6px; font-weight: 600; }
.dh-app-waiter .s-green { color: #10b981; } .dh-app-waiter .s-red { color: #ef4444; } .dh-app-waiter .s-yellow { color: #f59e0b; }
.dh-app-waiter .app-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 10px; }
.dh-app-waiter .app-tables div { aspect-ratio: 1; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1.5px solid transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.dh-app-waiter .app-tables b { font-size: 7px; color: #0f172a; } .dh-app-waiter .app-tables span { font-size: 5px; color: #64748b; }
.dh-app-waiter .t-red { border-color: #ef4444 !important; background: #fef2f2 !important; }
.dh-app-waiter .t-green { border-color: #10b981 !important; background: #ecfdf5 !important; }
.dh-app-waiter .t-yellow { border-color: #f59e0b !important; background: #fffbeb !important; }

/* QR */
.dh-app-qr { background: #fff; }
.dh-app-qr .app-img { height: 40px; background: #f1f5f9; margin-bottom: 8px; display: flex; align-items: flex-end; padding: 6px 8px; }
.dh-app-qr .app-img b { font-size: 10px; color: #0f172a; }
.dh-app-qr .app-menu-cat { font-weight: 700; color: #0f172a; padding: 0 10px 6px; border-bottom: 1px solid #f1f5f9; margin-bottom: 6px; }
.dh-app-qr .app-menu-item { display: flex; justify-content: space-between; padding: 0 10px; margin-bottom: 8px; align-items: center; }
.dh-app-qr .app-menu-item .info { display: flex; flex-direction: column; gap: 2px; }
.dh-app-qr .app-menu-item .info b { font-size: 7px; color: #0f172a; } .dh-app-qr .app-menu-item .info span { font-size: 6px; color: #64748b; }
.dh-app-qr .app-menu-item .add-btn { background: #f8fafc; border: 1px solid #e2e8f0; color: #0f172a; border-radius: 4px; padding: 2px 6px; font-weight: 700; font-size: 8px; }
.dh-app-qr .app-fab { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--dh-primary); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 12px; box-shadow: 0 4px 12px rgba(255,180,0,0.4); display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Micro Animations for Mock Apps */
@keyframes mockFadeUp {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes mockGrow {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
@keyframes mockPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

/* Initial state */
.dh-app-pos .item, 
.dh-app-kitchen .app-ticket, 
.dh-app-waiter .app-tables div, 
.dh-app-qr .app-menu-item { opacity: 0; }
.dh-app-owner .app-chart div { transform: scaleY(0); transform-origin: bottom; }

/* Trigger animations on scroll (via .dh-reveal--visible) */
.dh-reveal--visible .dh-app-pos .item,
.dh-reveal--visible .dh-app-kitchen .app-ticket,
.dh-reveal--visible .dh-app-waiter .app-tables div,
.dh-reveal--visible .dh-app-qr .app-menu-item {
  animation: mockFadeUp 0.4s ease forwards;
}
.dh-reveal--visible .dh-app-owner .app-chart div {
  animation: mockGrow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.dh-reveal--visible .dh-app-qr .app-fab {
  animation: mockPulse 2s ease infinite;
}

/* Stagger delays */
.dh-app-pos .item:nth-child(1) { animation-delay: 0.1s; }
.dh-app-pos .item:nth-child(2) { animation-delay: 0.2s; }
.dh-app-pos .item:nth-child(3) { animation-delay: 0.3s; }
.dh-app-pos .item:nth-child(4) { animation-delay: 0.4s; }

.dh-app-kitchen .app-ticket:nth-child(2) { animation-delay: 0.1s; }
.dh-app-kitchen .app-ticket:nth-child(3) { animation-delay: 0.2s; }
.dh-app-kitchen .app-ticket:nth-child(4) { animation-delay: 0.3s; }

.dh-app-owner .app-chart div:nth-child(1) { animation-delay: 0.1s; }
.dh-app-owner .app-chart div:nth-child(2) { animation-delay: 0.2s; }
.dh-app-owner .app-chart div:nth-child(3) { animation-delay: 0.3s; }
.dh-app-owner .app-chart div:nth-child(4) { animation-delay: 0.4s; }
.dh-app-owner .app-chart div:nth-child(5) { animation-delay: 0.5s; }

.dh-app-waiter .app-tables div:nth-child(1) { animation-delay: 0.05s; }
.dh-app-waiter .app-tables div:nth-child(2) { animation-delay: 0.1s; }
.dh-app-waiter .app-tables div:nth-child(3) { animation-delay: 0.15s; }
.dh-app-waiter .app-tables div:nth-child(4) { animation-delay: 0.2s; }
.dh-app-waiter .app-tables div:nth-child(5) { animation-delay: 0.25s; }
.dh-app-waiter .app-tables div:nth-child(6) { animation-delay: 0.3s; }
.dh-app-waiter .app-tables div:nth-child(7) { animation-delay: 0.35s; }
.dh-app-waiter .app-tables div:nth-child(8) { animation-delay: 0.4s; }
.dh-app-waiter .app-tables div:nth-child(9) { animation-delay: 0.45s; }

.dh-app-qr .app-menu-item:nth-child(3) { animation-delay: 0.1s; }
.dh-app-qr .app-menu-item:nth-child(4) { animation-delay: 0.2s; }
.dh-app-qr .app-menu-item:nth-child(5) { animation-delay: 0.3s; }

/* ── Analytics ── */
.dh-analytics-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dh-chart-card {
  background: #fff;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  padding: 1.5rem;
}

.dh-chart-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.dh-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
}

.dh-chart-bar {
  flex: 1;
  background: var(--dh-border);
  border-radius: 6px 6px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dh-chart--animate .dh-chart-bar {
  transform: scaleY(1);
}

.dh-chart-bar:nth-child(1) {
  height: 45%;
  background: var(--dh-gradient);
  transition-delay: 0.05s;
}

.dh-chart-bar:nth-child(2) {
  height: 65%;
  background: var(--dh-gradient);
  transition-delay: 0.1s;
}

.dh-chart-bar:nth-child(3) {
  height: 50%;
  background: var(--dh-gradient);
  transition-delay: 0.15s;
}

.dh-chart-bar:nth-child(4) {
  height: 80%;
  background: var(--dh-gradient);
  transition-delay: 0.2s;
}

.dh-chart-bar:nth-child(5) {
  height: 70%;
  background: var(--dh-gradient);
  transition-delay: 0.25s;
}

.dh-chart-bar:nth-child(6) {
  height: 90%;
  background: var(--dh-gradient);
  transition-delay: 0.3s;
}

.dh-chart-bar:nth-child(7) {
  height: 75%;
  background: var(--dh-gradient);
  transition-delay: 0.35s;
}

.dh-metric-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--dh-border);
  font-size: 0.875rem;
}

.dh-metric-list strong {
  font-weight: 700;
}

/* ── Testimonials ── */
.dh-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .dh-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.dh-testimonial-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--dh-radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

.dh-testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), inset 0 2px 10px rgba(255, 255, 255, 0.9);
}

.dh-testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.dh-testimonial-card:nth-child(3) { transition-delay: 0.3s; }

.dh-testimonial-card::before {
  content: '”';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 6rem;
  font-family: serif;
  line-height: 1;
  color: rgba(255, 180, 0, 0.15);
  pointer-events: none;
}

.dh-stars {
  color: var(--dh-primary);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.dh-testimonial-card p {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 1.5rem 0 2rem;
  color: var(--dh-dark);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.dh-quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.dh-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dh-gradient);
  color: var(--dh-dark);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 180, 0, 0.3);
}

.dh-quote-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.dh-quote-author span {
  font-size: 0.8rem;
  color: var(--dh-muted);
}

/* ── Pricing ── */
.dh-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.dh-price-card {
  background: #fff;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-xl);
  padding: 2rem;
  transition: all 0.35s;
  position: relative;
}

.dh-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dh-shadow-lg);
}

.dh-price-card--featured {
  border-color: var(--dh-primary);
  box-shadow: var(--dh-shadow-gold);
  transform: scale(1.04);
}

.dh-price-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.dh-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dh-gradient);
  color: var(--dh-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.dh-price-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dh-price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dh-price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dh-muted);
}

.dh-price-features {
  margin: 1.5rem 0;
}

.dh-price-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--dh-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dh-price-features li::before {
  content: '✓';
  color: var(--dh-success);
  font-weight: 700;
}

/* ── FAQ ── */
.dh-faq {
  max-width: 720px;
  margin: 0 auto;
}

.dh-faq-item {
  border-bottom: 1px solid var(--dh-border);
}

.dh-faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--dh-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dh-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dh-faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--dh-primary);
  transition: transform 0.3s;
}

.dh-faq-item--open .dh-faq-q::after {
  transform: rotate(45deg);
}

.dh-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  font-size: 0.9375rem;
  color: var(--dh-muted);
  line-height: 1.7;
}

.dh-faq-item--open .dh-faq-a {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* ── CTA ── */
.dh-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--dh-dark);
  border-radius: var(--dh-radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 180, 0, 0.15), transparent 60%);
}

.dh-cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}

.dh-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  position: relative;
}

.dh-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ── */
.dh-footer {
  background: var(--dh-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem;
}

.dh-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) minmax(320px, 1.7fr) minmax(110px, .7fr) minmax(150px, .85fr) minmax(190px, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-bottom: 2.5rem;
  align-items: start;
}

.dh-footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.dh-footer ul li {
  margin-bottom: 0.6rem;
}

.dh-footer a {
  font-size: 0.875rem;
  line-height: 1.45;
  transition: color 0.2s;
}

.dh-footer-product-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
}

.dh-footer-product-links li:last-child {
  grid-column: 1 / -1;
}

.dh-footer a:hover {
  color: var(--dh-primary);
}

.dh-footer .dh-footer-download {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.375rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.dh-footer .dh-footer-download:hover {
  border-color: var(--dh-primary);
  background: var(--dh-primary);
  color: var(--dh-dark);
  transform: translateY(-1px);
}

.dh-footer-download > span:first-child {
  font-size: 1.25rem;
}

.dh-footer-download small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.675rem;
  font-weight: 500;
  opacity: 0.72;
}

.dh-footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}

.dh-footer-brand .dh-logo img {
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
}

.dh-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 360px;
}

.dh-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--dh-font);
}

.dh-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dh-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

.dh-social a:hover {
  background: var(--dh-primary);
  color: var(--dh-dark);
}

.dh-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* ── Sticky CTA ── */
.dh-sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 680px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15), inset 0 2px 6px rgba(255, 255, 255, 0.5);
  transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dh-sticky-cta--show {
  bottom: 24px;
}

.dh-sticky-cta--footer {
  bottom: -120px;
  opacity: 0;
  pointer-events: none;
}

.dh-sticky-cta .dh-container {
  padding: 0;
}

.dh-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dh-sticky-inner p {
  font-size: 0.875rem;
  font-weight: 600;
}

.dh-sticky-inner .dh-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* ── Contact form ── */
.dh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.dh-contact-perks li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--dh-muted);
}

.dh-contact-form-wrap {
  background: var(--dh-bg-2);
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  padding: 2rem;
  box-shadow: var(--dh-shadow);
}

.dh-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dh-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.dh-form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dh-dark);
}

.dh-form-group input,
.dh-form-group select,
.dh-form-group textarea {
  font-family: var(--dh-font);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--dh-border);
  border-radius: 12px;
  background: #fff;
  color: var(--dh-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dh-form-group input:focus,
.dh-form-group select:focus,
.dh-form-group textarea:focus {
  outline: none;
  border-color: var(--dh-primary);
  box-shadow: 0 0 0 3px var(--dh-primary-glow);
}

.dh-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.dh-alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.dh-alert--success {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.dh-alert--error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ── Reveal animations ── */
.dh-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.dh-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .dh-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .dh-hero-scene {
    height: auto;
    max-width: 560px;
    margin: 0 auto;
  }

  .dh-hero-mockup {
    margin-left: auto;
    margin-right: auto;
  }

  .dh-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .dh-bento-card--wide {
    grid-column: span 2;
  }

  .dh-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dh-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .dh-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .dh-analytics-grid {
    grid-template-columns: 1fr;
  }

  .dh-pricing {
    max-width: 100%;
    margin: 0 auto;
  }

  .dh-price-card--featured {
    transform: none;
  }

  .dh-price-card--featured:hover {
    transform: translateY(-6px);
  }

  .dh-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dh-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1080px) {

  .dh-nav-links,
  .dh-nav-actions .dh-btn {
    display: none;
  }

  .dh-nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {

  .dh-bento {
    grid-template-columns: 1fr;
  }

  .dh-bento-card--wide,
  .dh-bento-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .dh-steps {
    grid-template-columns: 1fr;
  }

  .dh-modules {
    grid-template-columns: 1fr;
  }

  .dh-demo-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Horizontal scroll for mobile apps */
  .dh-phones {
    gap: 1.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1rem 3rem;
    scrollbar-width: none;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
  }
  
  .dh-phones::-webkit-scrollbar {
    display: none;
  }

  .dh-phone {
    flex-shrink: 0;
    width: 200px;
    animation: none;
    scroll-snap-align: center;
  }

  .dh-phone:nth-child(n) {
    transform: none !important;
  }

  .dh-phone:hover {
    transform: translateY(-8px) !important;
  }

  .dh-footer-grid {
    grid-template-columns: 1fr;
  }

  /* Horizontal scroll for demo tabs on mobile */
  .dh-demo-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .dh-demo-tabs::-webkit-scrollbar {
    display: none;
  }

  .dh-demo-tab {
    flex-shrink: 0;
  }

  .dh-demo-wrap {
    padding: 1.25rem;
  }

  .dh-demo-panel {
    padding: 1.25rem 0.5rem;
  }

  /* Quote padding reduction */
  .dh-quote {
    padding: 2rem 1.25rem;
  }

  .dh-quote p {
    margin: 1rem 0 1.5rem;
  }

  /* Hide sticky cta to free up mobile vertical height */
  .dh-sticky-cta {
    display: none;
  }

  /* Hero floated cards styling */
  .dh-card-float--1 {
    right: 0;
  }

  .dh-card-float--2 {
    left: 0;
  }
}

@media (max-width: 576px) {

  /* Hide floating preview cards in hero on small devices to prevent overlaps */
  .dh-card-float {
    display: none;
  }

  .dh-hero-scene {
    height: auto;
    perspective: none;
  }

  .dh-card-main {
    position: relative;
    width: 100%;
  }

  .dh-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --dh-nav-h: 64px;
  }

  .dh-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dh-logo {
    font-size: 1.1rem;
  }

  .dh-logo img {
    height: 32px;
  }

  .dh-mobile {
    height: calc(100dvh - var(--dh-nav-h));
  }

  .dh-hero-ctas {
    flex-direction: column;
  }

  .dh-hero-ctas .dh-btn {
    width: 100%;
  }

  .dh-kpi-row {
    grid-template-columns: 1fr;
  }

  .dh-form-row {
    grid-template-columns: 1fr;
  }

  .dh-newsletter {
    flex-direction: column;
  }
}

/* Public company and legal pages */
.dh-public-main { padding-top: var(--dh-nav-h); }
.dh-public-hero { padding: clamp(4rem, 9vw, 7rem) 0; background: linear-gradient(145deg, #fff 20%, #fff8df); border-bottom: 1px solid var(--dh-border); }
.dh-public-narrow { max-width: 880px; }
.dh-public-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 1.5rem; }
.dh-public-hero p { max-width: 760px; color: var(--dh-muted); font-size: 1.125rem; line-height: 1.8; }
.dh-policy-date { margin-top: 1.25rem; font-size: .9rem !important; }
.dh-prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 2.75rem 0 .8rem; letter-spacing: -.025em; }
.dh-prose h2:first-child { margin-top: 0; }
.dh-prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .45rem; }
.dh-prose p { color: #475569; font-size: 1.03rem; line-height: 1.85; margin-bottom: 1rem; }
.dh-prose ul, .dh-prose ol { margin: 0 0 1rem 1.25rem; color: #475569; line-height: 1.75; }
body.dh-page .dh-prose ul { list-style: disc; padding-left: 1.25rem; }
body.dh-page .dh-prose ol { list-style: decimal; padding-left: 1.25rem; }
.dh-prose li { margin-bottom: .35rem; }
.dh-prose li[data-list="bullet"] { display: list-item; }
.dh-prose li[data-list="ordered"] { display: list-item; }
body.dh-page .dh-prose li[data-list="bullet"] { list-style: disc; }
body.dh-page .dh-prose li[data-list="ordered"] { list-style: decimal; }
body.dh-page .dh-prose ol:has(> li[data-list="bullet"]) { list-style: disc; }
.dh-prose .ql-ui { display: none; }
.dh-prose blockquote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid #FFB400; background: #FFFBEB; color: #475569; }
.dh-prose img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 1.25rem auto;
}
.dh-prose-table {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--dh-border);
  border-radius: 12px;
  background: #fff;
}
.dh-prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: .95rem;
  background: #fff;
}
.dh-prose .dh-prose-table table { margin: 0; }
.dh-prose th,
.dh-prose td {
  border: 1px solid #e2e8f0;
  padding: .8rem .95rem;
  text-align: left;
  vertical-align: top;
  color: #334155;
  line-height: 1.5;
}
.dh-prose th {
  background: #0f172a;
  color: #fff;
  font-weight: 700;
}
.dh-prose table:not(:has(thead)) > tbody > tr:first-child > td,
.dh-prose table:not(:has(thead)) > tr:first-child > td {
  background: #0f172a;
  color: #fff;
  font-weight: 700;
}
.dh-prose table:not(:has(thead)) > tbody > tr:first-child > td strong,
.dh-prose table:not(:has(thead)) > tr:first-child > td strong {
  color: inherit;
}
.dh-prose tbody tr:nth-child(even) td { background: #f8fafc; }
.dh-blog-cover {
  display: block;
  margin: -1.75rem -1.75rem 1rem;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #111827;
}
.dh-blog-cover img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111827;
}
.dh-blog-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  margin: 0 0 1.5rem;
  background: #111827;
}
.dh-prose pre { background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: 10px; overflow: auto; font-size: .9rem; }
.dh-prose a, .dh-public-contact a, .dh-contact-details a { color: #9a6a00; text-decoration: underline; text-underline-offset: 3px; }
.dh-values-grid, .dh-leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 3rem 0; }
.dh-values-grid article, .dh-leaders article { padding: 2rem; border: 1px solid var(--dh-border); border-radius: var(--dh-radius-lg); background: #fff; box-shadow: var(--dh-shadow); }
.dh-values-grid h3, .dh-leaders h3 { margin: 0 0 .65rem; font-size: 1.35rem; }
.dh-leaders { grid-template-columns: repeat(4, 1fr); }
.dh-leaders span { display: block; color: #9a6a00; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.dh-leaders p { color: var(--dh-muted); }
@media (max-width: 1100px) { .dh-leaders { grid-template-columns: repeat(2, 1fr); } }
.dh-public-contact { text-align: center; padding: 2.5rem; border-radius: var(--dh-radius-lg); background: var(--dh-dark); color: #fff; }
.dh-public-contact h2 { font-size: 2rem; margin-bottom: .75rem; }
.dh-public-contact a { color: var(--dh-primary-light); }
.dh-contact-details { margin-top: 2rem; display: grid; gap: 1.5rem; }
.dh-contact-copy { padding: .5rem 0; }
.dh-contact-copy h2 { margin-bottom: .75rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; }
.dh-contact-copy > p { max-width: 34rem; color: var(--dh-muted); font-size: 1rem; line-height: 1.75; }
.dh-contact-details p { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.dh-contact-details strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--dh-muted); }
.dh-public-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
.dh-public-footer-grid .dh-logo { color: #fff; }
.dh-policy { counter-reset: none; }
button[aria-busy="true"] { cursor: wait; opacity: .75; }
@media (max-width: 800px) { .dh-values-grid, .dh-leaders, .dh-public-footer-grid { grid-template-columns: 1fr; } .dh-public-contact p { display: flex; flex-direction: column; gap: .5rem; } }

/* Public marketing pages — shared components */
.dh-public-hero .dh-hero-ctas { margin: 2rem 0 0; }
.dh-public-hero .dh-section-label { margin-bottom: 1rem; }

.dh-breadcrumbs {
  border-bottom: 1px solid var(--dh-border);
  background: rgba(255, 255, 255, 0.86);
}
.dh-breadcrumbs ol { display: flex; align-items: center; gap: .6rem; min-height: 52px; list-style: none; color: var(--dh-muted); font-size: .82rem; }
.dh-breadcrumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.dh-breadcrumbs li + li::before { content: '/'; color: #cbd5e1; }
.dh-breadcrumbs a:hover { color: #946500; }
.dh-breadcrumbs [aria-current='page'] { color: var(--dh-dark); font-weight: 700; }

.dh-price-sub { min-height: 1.5rem; margin-top: .25rem; color: var(--dh-muted); font-size: .8rem; }
.dh-price-features li::before { display: none; }
.dh-price-card .dh-btn { margin-top: auto; }
.dh-price-card { display: flex; flex-direction: column; min-height: 100%; }

.dh-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  background: #fff;
  box-shadow: var(--dh-shadow);
  -webkit-overflow-scrolling: touch;
}
.dh-compare-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: center; }
.dh-compare-table th,
.dh-compare-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--dh-border); vertical-align: middle; }
.dh-compare-table th { position: sticky; top: 0; background: var(--dh-dark); color: #fff; font-size: .82rem; letter-spacing: .025em; }
.dh-compare-table th:first-child { border-radius: var(--dh-radius-lg) 0 0; }
.dh-compare-table th:last-child { border-radius: 0 var(--dh-radius-lg) 0 0; }
.dh-compare-table th:first-child,
.dh-compare-table td:first-child { width: 38%; text-align: left; font-weight: 700; }
.dh-compare-table tbody tr:nth-child(even) { background: #f8fafc; }
.dh-compare-table tbody tr:hover { background: #fff8df; }
.dh-compare-table tbody tr:last-child td { border-bottom: 0; }
.dh-compare-table td:not(:first-child) { color: #334155; font-weight: 600; }

.dh-case-studies-grid,
.dh-pillar-grid,
.dh-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }

.dh-case-study-card,
.dh-pillar-card,
.dh-blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  background: #fff;
  box-shadow: var(--dh-shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dh-case-study-card:hover,
.dh-pillar-card:hover,
.dh-blog-card:hover { transform: translateY(-5px); border-color: rgba(255, 180, 0, .45); box-shadow: var(--dh-shadow-lg); }
.dh-case-study-card h3,
.dh-pillar-card h3,
.dh-blog-card h3 { margin: .85rem 0 .65rem; font-size: 1.25rem; line-height: 1.3; }
.dh-case-study-card > .dh-btn,
.dh-pillar-card > .dh-btn { margin-top: auto; }

.dh-case-study-header { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.dh-case-study-type,
.dh-blog-category { display: inline-flex; width: fit-content; padding: .3rem .65rem; border-radius: 999px; background: #fff4cc; color: #805900; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.dh-case-study-location { color: var(--dh-muted); font-size: .75rem; text-align: right; }
.dh-case-study-desc { margin-bottom: 1.25rem; color: var(--dh-muted); font-size: .9rem; line-height: 1.7; }
.dh-case-study-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.dh-metric { padding: .75rem .4rem; border-radius: 12px; background: var(--dh-bg-2); text-align: center; }
.dh-metric strong { display: block; color: #9a6a00; font-size: 1.05rem; }
.dh-metric span { display: block; margin-top: .15rem; color: var(--dh-muted); font-size: .62rem; line-height: 1.3; }
.dh-case-study-features { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: 0 0 1.4rem; }
.dh-case-study-features li { color: #475569; font-size: .78rem; }
.dh-case-study-features li::before { content: '✓'; margin-right: .35rem; color: var(--dh-success); font-weight: 800; }

.dh-filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.dh-filter-chip { padding: .7rem 1rem; border: 1px solid var(--dh-border); border-radius: 999px; background: #fff; color: #475569; font-size: .85rem; font-weight: 700; transition: all .2s; }
.dh-filter-chip:hover { transform: translateY(-2px); border-color: var(--dh-primary); background: #fff8df; color: #805900; }

.dh-pillar-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #fff4cc; font-size: 1.55rem; }
.dh-pillar-card > p,
.dh-blog-card > p { margin-bottom: 1rem; color: var(--dh-muted); font-size: .9rem; line-height: 1.7; }
.dh-pillar-topics { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 1.25rem; }
.dh-pillar-topics li { padding: .3rem .55rem; border-radius: 8px; background: var(--dh-bg-2); color: #475569; font-size: .7rem; }
.dh-blog-meta { display: flex; justify-content: space-between; align-items: center; gap: .75rem; color: var(--dh-muted); font-size: .75rem; }
.dh-blog-card h3 a:hover { color: #946500; }
.dh-blog-read-more { margin-top: auto; color: #946500; font-size: .85rem; font-weight: 800; }
.dh-text-center { text-align: center; }

.dh-newsletter-card { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--dh-radius-xl); background: var(--dh-dark); color: #fff; box-shadow: var(--dh-shadow-lg); }
.dh-newsletter-card h2 { margin-bottom: .45rem; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.dh-newsletter-card p { color: rgba(255,255,255,.7); }
.dh-newsletter-form { display: flex; gap: .6rem; }
.dh-newsletter-form input { min-width: 0; flex: 1; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font: inherit; }
.dh-newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.dh-newsletter-form input:focus { outline: 2px solid var(--dh-primary); outline-offset: 2px; }
.dh-newsletter-note { grid-column: 2; margin-top: -1.5rem; font-size: .7rem; }
.dh-btn--sm { padding: .6rem .9rem; font-size: .8rem; border-radius: 9px; }

.dh-alert { margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid; border-radius: 12px; font-size: .9rem; }
.dh-alert--success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.dh-alert--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

@media (max-width: 1024px) {
  .dh-case-studies-grid,
  .dh-pillar-grid,
  .dh-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .dh-public-hero { padding: 3.5rem 0; }
  .dh-public-hero h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .dh-public-hero p { font-size: 1rem; line-height: 1.65; }
  .dh-section { padding: 3.5rem 0; }
  .dh-section-head { margin-bottom: 2.25rem; }
  .dh-pricing,
  .dh-case-studies-grid,
  .dh-pillar-grid,
  .dh-blog-grid { grid-template-columns: 1fr; }
  .dh-price-card--featured { transform: none; }
  .dh-table-wrap { margin-right: -1rem; width: calc(100% + 1rem); border-radius: 16px 0 0 16px; }
  .dh-compare-table th,
  .dh-compare-table td { padding: .85rem 1rem; }
  .dh-case-study-card,
  .dh-pillar-card,
  .dh-blog-card { padding: 1.35rem; }
  .dh-blog-cover { margin: -1.35rem -1.35rem 1rem; }
  .dh-blog-cover img { height: 190px; }
  .dh-newsletter-card { grid-template-columns: 1fr; gap: 1.25rem; }
  .dh-newsletter-note { grid-column: auto; margin-top: -.75rem; }
}

/* Registration / onboarding — mobile-first step wizard */
.dh-register-wrap { max-width: 560px; margin: 0 auto; }
.dh-register-hero { padding-bottom: 1.5rem !important; }
.dh-register-section { padding-top: 0 !important; }
.dh-register-form .dh-form-group small { display: block; margin-top: .35rem; color: var(--dh-muted); font-size: .75rem; }
.dh-register-legal, .dh-register-login { text-align: center; color: var(--dh-muted); font-size: .875rem; margin: 1rem 0; }
.dh-register-legal--inline { text-align: left; margin: 1.25rem 0 0; line-height: 1.5; }
.dh-register-inline-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }

.dh-stepper { margin-bottom: 1.25rem; }
.dh-stepper-track {
  height: 4px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin: 0 .5rem 1rem;
}
.dh-stepper-track span {
  display: block; height: 100%; width: 0; background: var(--dh-primary);
  border-radius: 999px; transition: width .25s ease;
}
.dh-stepper-list {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin: 0; padding: 0;
}
.dh-stepper-item {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: var(--dh-muted); font-size: .75rem; font-weight: 600;
}
.dh-stepper-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #F1F5F9; color: var(--dh-muted); border: 2px solid #E2E8F0;
  font-size: .875rem; font-weight: 800;
}
.dh-stepper-item.is-active { color: var(--dh-dark); }
.dh-stepper-item.is-active .dh-stepper-num {
  background: var(--dh-primary); color: #0F172A; border-color: var(--dh-primary);
}
.dh-stepper-item.is-done .dh-stepper-num {
  background: #DCFCE7; color: #166534; border-color: #86EFAC;
}
.dh-stepper-label { text-align: center; line-height: 1.2; }

.dh-step-status {
  font-size: .875rem; font-weight: 600; color: var(--dh-muted);
  margin: 0 0 1rem;
}
.dh-step-hint {
  margin: -.35rem 0 1.1rem; color: var(--dh-muted); font-size: .875rem; line-height: 1.45;
}
.dh-register-card {
  background: #fff; border: 1px solid var(--dh-border); border-radius: var(--dh-radius);
  padding: 1.25rem; margin-bottom: 1rem;
}
.dh-register-card legend {
  font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; padding: 0;
}
.dh-register-card legend span { font-weight: 500; color: var(--dh-muted); font-size: .85rem; }
.dh-form-stack { display: grid; gap: .95rem; }
.dh-form-stack .dh-form-group input,
.dh-form-stack .dh-form-group select,
.dh-form-stack .dh-form-group textarea {
  width: 100%; min-height: 48px; font-size: 16px; /* prevents iOS zoom */
  border-radius: 12px; padding: .75rem .9rem;
}
.dh-form-stack .dh-form-group textarea { min-height: 96px; resize: vertical; }
.dh-field-error {
  margin: .35rem 0 0;
  font-size: .8125rem;
  color: #B91C1C;
  line-height: 1.4;
}
.dh-form-group.is-invalid input,
.dh-form-group.is-invalid select,
.dh-form-group.is-invalid textarea {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.dh-step-panel:not(.is-active) { display: none !important; }
.dh-register-section .dh-sticky-cta,
body:has(#registerRestaurantForm) .dh-sticky-cta {
  display: none !important;
}

.dh-step-error {
  background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA;
  border-radius: 12px; padding: .75rem 1rem; font-size: .875rem; margin-bottom: .85rem;
}
.dh-step-actions {
  display: flex; gap: .75rem; position: sticky; bottom: 0;
  padding: .85rem 0 calc(.85rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248,250,252,0), #F8FAFC 28%);
  z-index: 5;
}
.dh-step-actions .dh-btn { flex: 1; min-height: 52px; font-size: 1rem; }
.dh-step-actions .dh-btn[hidden],
.dh-step-error[hidden] { display: none !important; }
.dh-step-actions .dh-btn--ghost {
  flex: 0 0 auto; min-width: 96px; background: #fff; border: 1px solid var(--dh-border);
}

.dh-register-success { max-width: 860px; margin: 0 auto; display: grid; gap: 1.25rem; }
.dh-success-credentials dl { display: grid; gap: .85rem; margin: 1rem 0 0; }
.dh-success-credentials dt { font-size: .75rem; color: var(--dh-muted); text-transform: uppercase; letter-spacing: .04em; }
.dh-success-credentials dd { font-size: 1rem; font-weight: 700; margin: .15rem 0 0; }
.dh-success-credentials code, .dh-next-steps code {
  background: #FFF8E1; padding: .15rem .4rem; border-radius: 6px; font-size: .9em;
}
.dh-desktop-card { background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%); color: #F8FAFC; border: none; }
.dh-desktop-card h2, .dh-desktop-card p { color: #F8FAFC; }
.dh-desktop-card .dh-muted, .dh-desktop-card a { color: #FDE68A; }
.dh-desktop-features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem;
  list-style: none; margin: 1rem 0; padding: 0; font-size: .9rem;
}
.dh-desktop-features li::before { content: "✓ "; color: #FFB400; font-weight: 800; }
.dh-desktop-version { margin: 1rem 0; color: #CBD5E1; }
.dh-next-steps { margin: 1rem 0 0; padding-left: 1.25rem; line-height: 1.7; color: var(--dh-text); }
.dh-muted { color: var(--dh-muted); font-size: .875rem; }
.dh-btn--sm { padding: .45rem .85rem; font-size: .8125rem; }
.dh-btn--outline {
  background: #fff; border: 1px solid var(--dh-border); color: var(--dh-dark);
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: 12px; font-weight: 600; text-decoration: none;
}

@media (min-width: 700px) {
  .dh-register-wrap { max-width: 640px; }
  .dh-register-card { padding: 1.5rem; }
  .dh-form-stack { grid-template-columns: 1fr 1fr; }
  .dh-form-group--full { grid-column: 1 / -1; }
  .dh-step-actions { position: static; background: transparent; padding: .25rem 0 0; }
}

@media (max-width: 700px) {
  .dh-desktop-features { grid-template-columns: 1fr; }
  .dh-public-hero.dh-register-hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .dh-stepper-label { font-size: .7rem; }
}



/* Careers application form */
.dh-careers-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.dh-careers-card {
  background: #fff;
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--dh-shadow);
}

.dh-careers-card__head {
  margin-bottom: 1.5rem;
}

.dh-careers-card__head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--dh-dark);
}

.dh-careers-card__head p {
  margin: 0;
  color: var(--dh-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.dh-careers-form .dh-btn {
  margin-top: 0.5rem;
}

.dh-file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 120px;
  padding: 1.25rem 1rem;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.dh-file-drop:hover,
.dh-file-drop:focus-within {
  border-color: var(--dh-primary);
  background: #fffbeb;
}

.dh-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dh-file-drop__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dh-dark);
}

.dh-file-drop__hint {
  font-size: 0.8rem;
  color: var(--dh-muted);
}

.dh-careers-msg {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25em;
}

.dh-careers-msg--ok { color: #047857; font-weight: 600; }
.dh-careers-msg--err { color: #b91c1c; font-weight: 600; }
