/* ==========================================================================
   DQueue – Modern design layer + interactive effects
   Loaded after custom.css on every page; pairs with /assets/js/dq-effects.js
   NOTE: theme root font-size is 20px, so 1rem = 20px.
   ========================================================================== */

@property --dq-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --dq-teal-900: #03364a;
  --dq-teal-700: #035f80;
  --dq-teal-600: #03789e;
  --dq-teal-500: #0891b2;
  --dq-amber-rgb: 251, 191, 36;
  --dq-teal-rgb: 8, 145, 178;

  --dq-card-bg: #fff;
  --dq-card-border: rgba(30, 34, 40, 0.07);
  --dq-glass-bg: rgba(255, 255, 255, 0.78);
  --dq-glass-border: rgba(255, 255, 255, 0.7);
  --dq-muted: #60697b;

  --dq-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dq-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dq-radius-lg: 1.4rem;
  --dq-shadow-lg: 0 1.5rem 3rem -1rem rgba(30, 34, 40, 0.22);
  --dq-shadow-glow: 0 1.25rem 2.5rem -0.9rem rgba(var(--bs-primary-rgb), 0.45);
}

::selection {
  background: rgba(var(--bs-primary-rgb), 0.22);
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--bs-primary-rgb), 0.55) transparent;
}

/* ---------- Scroll progress bar ---------- */
.dq-scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(var(--dq-progress, 0));
  background: linear-gradient(90deg, var(--dq-amber), var(--dq-orange) 55%, #ef4444);
  box-shadow: 0 0 12px rgba(var(--bs-primary-rgb), 0.55);
}

/* ==========================================================================
   Navbar – floating glass pill
   ========================================================================== */
.navbar.dq-nav {
  background: transparent !important;
  box-shadow: none !important;
  padding-top: 0.6rem;
}

.navbar.dq-nav > .container {
  width: calc(100% - 1.5rem);
  margin-inline: auto;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--dq-glass-border);
  border-radius: 1.2rem;
  box-shadow: 0 0.75rem 2.25rem -0.75rem rgba(3, 40, 60, 0.3);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar.dq-nav.navbar-clone.navbar-stick {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar.dq-nav .dq-logo {
  transition: transform 0.4s var(--dq-ease-spring);
}

.navbar.dq-nav .navbar-brand a:hover .dq-logo {
  transform: scale(1.04) rotate(-1.5deg);
}

.dq-nav-cta i {
  display: inline-block;
  transition: transform 0.3s var(--dq-ease-out);
}

.dq-nav-cta:hover i {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .navbar.dq-nav .navbar-brand {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .navbar.dq-nav .offcanvas .nav-link.active {
    color: var(--dq-orange-light);
  }
}

@media (min-width: 992px) {
  /* backdrop-filter only on desktop: on mobile it would trap the fixed offcanvas menu */
  .navbar.dq-nav > .container {
    width: 100%;
    padding: 0 0.55rem 0 1.5rem;
    border-radius: 999px;
    background: var(--dq-glass-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
  }

  .navbar.dq-nav .navbar-nav .nav-link {
    position: relative;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
    transition: color 0.25s ease;
  }

  .navbar.dq-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.55rem;
    width: 1.3rem;
    height: 3px;
    border-radius: 3px;
    background: var(--dq-gradient);
    translate: -50% 0;
    scale: 0 1;
    transition: scale 0.35s var(--dq-ease-out);
  }

  .navbar.dq-nav .navbar-nav .nav-link:hover::after,
  .navbar.dq-nav .navbar-nav .nav-link.active::after {
    scale: 1 1;
  }

  .navbar.dq-nav .navbar-nav .nav-link.active {
    color: var(--bs-primary);
  }

  .navbar.dq-nav.navbar-clone.navbar-stick > .container {
    box-shadow: 0 1rem 2.5rem -0.75rem rgba(3, 40, 60, 0.35);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  --bs-btn-border-color: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-border-color: transparent;
  background-image: linear-gradient(120deg, var(--dq-orange-dark) 0%, var(--dq-orange) 45%, var(--dq-orange-light) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: 0 0.6rem 1.4rem -0.45rem rgba(var(--bs-primary-rgb), 0.6);
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s var(--dq-ease-out), translate 0.25s ease-out;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 0;
  box-shadow: 0 1rem 2rem -0.5rem rgba(var(--bs-primary-rgb), 0.65);
}

/* Light sweep on hover */
.btn-primary::after,
.btn-line::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--dq-ease-out);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-line:hover::after {
  transform: translateX(120%);
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-image: var(--dq-gradient);
  border-color: transparent;
  box-shadow: 0 0.6rem 1.4rem -0.45rem rgba(var(--bs-primary-rgb), 0.55);
}

.dq-ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: dq-ripple 0.65s ease-out forwards;
  pointer-events: none;
}

.btn-outline-primary .dq-ripple,
.btn-outline-white .dq-ripple {
  background: rgba(var(--bs-primary-rgb), 0.25);
}

@keyframes dq-ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.dq-magnetic {
  transition: translate 0.3s var(--dq-ease-out), background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s var(--dq-ease-out);
}

/* App store badges */
a > img[src*='button-appstore'],
a > img[src*='button-google-play'] {
  transition: transform 0.4s var(--dq-ease-spring), box-shadow 0.4s ease;
}

a:hover > img[src*='button-appstore'],
a:hover > img[src*='button-google-play'] {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0.9rem 1.6rem -0.5rem rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Section heading eyebrow → pill badge
   ========================================================================== */
.dq-eyebrow {
  position: relative;
  isolation: isolate;
  display: table;
  align-self: flex-start;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  border-radius: 999px;
}

.dq-eyebrow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(var(--bs-primary-rgb), 0.08);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.22);
}

.text-center .dq-eyebrow,
.text-center.dq-eyebrow {
  align-self: center;
  margin-inline: auto;
}

/* Animated shimmering gradient text (padding keeps Thai upper marks inside the clip area) */
.dq-shine {
  display: inline-block;
  padding: 0.14em 0;
  margin: -0.14em 0;
  background-image: linear-gradient(100deg, #fdba74 0%, #fff7ed 20%, #fb923c 45%, #fde68a 70%, #fdba74 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: dq-shine 6s linear infinite;
}

@keyframes dq-shine {
  to {
    background-position: 200% 50%;
  }
}

/* ==========================================================================
   Hero (all pages) – animated aurora, grid, stars, cursor spotlight
   ========================================================================== */
.dq-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: var(--dq-teal-600);
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--dq-teal-rgb), 0.55) 0%, transparent 55%),
    linear-gradient(145deg, var(--dq-teal-900) 0%, var(--dq-teal-700) 38%, var(--dq-teal-600) 70%, #0798c0 100%);
}

.dq-hero--home {
  z-index: 2;
}

.dq-hero-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.dq-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.dq-blob--1 {
  width: 46vw;
  height: 46vw;
  top: -22vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(var(--dq-amber-rgb), 0.45) 0%, rgba(var(--dq-amber-rgb), 0) 65%);
  animation: dq-drift-1 18s ease-in-out infinite;
}

.dq-blob--2 {
  width: 52vw;
  height: 52vw;
  right: -16vw;
  bottom: -26vw;
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.55) 0%, rgba(var(--bs-primary-rgb), 0) 62%);
  animation: dq-drift-2 22s ease-in-out infinite;
}

.dq-blob--3 {
  width: 34vw;
  height: 34vw;
  left: 34%;
  top: 10%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.3) 0%, rgba(103, 232, 249, 0) 65%);
  animation: dq-drift-3 26s ease-in-out infinite;
}

.dq-blob {
  translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 30px);
  transition: translate 0.8s var(--dq-ease-out);
}

@keyframes dq-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(8%, 10%, 0) scale(1.1); }
  66% { transform: translate3d(-4%, 6%, 0) scale(0.95); }
}

@keyframes dq-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40% { transform: translate3d(-10%, -8%, 0) scale(1.12); }
  70% { transform: translate3d(4%, -4%, 0) scale(0.92); }
}

@keyframes dq-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18%, 22%, 0) scale(1.2); }
}

.dq-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%);
  animation: dq-grid-pan 40s linear infinite;
}

@keyframes dq-grid-pan {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

.dq-hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 28% 68%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 46% 14%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 63% 52%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 78% 24%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 88% 72%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 36% 88%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 6% 80%, rgba(255, 255, 255, 0.6), transparent);
  animation: dq-twinkle 4.5s ease-in-out infinite alternate;
}

@keyframes dq-twinkle {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.dq-hero-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--sx, 75%) var(--sy, 35%), rgba(255, 255, 255, 0.13), transparent 45%);
}

/* Hero content */
.dq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem 0.35rem 0.7rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dq-pulse-dot {
  position: relative;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  flex: none;
}

.dq-pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: dq-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dq-ping {
  75%, 100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.dq-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dq-crumb a {
  color: #fff;
  transition: opacity 0.2s ease;
}

.dq-crumb a:hover {
  opacity: 0.75;
}

.dq-crumb i {
  opacity: 0.6;
}

.dq-hero .dq-hero-title {
  text-shadow: 0 0.5rem 2rem rgba(3, 40, 60, 0.35);
}

/* Hero visual: floating phones + notification cards (mouse parallax via --px/--py) */
.dq-hero-visual {
  position: relative;
  margin: 0;
}

.dq-hero-visual > img {
  position: relative;
  z-index: 1;
  animation: dq-bob 7s ease-in-out infinite;
  translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -12px);
  transition: translate 0.6s var(--dq-ease-out);
  filter: drop-shadow(0 2rem 2.5rem rgba(3, 40, 60, 0.4));
}

.dq-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 1rem;
  text-align: left;
  color: #1e2228;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(3, 40, 60, 0.45);
  animation: dq-bob 6s ease-in-out infinite;
  translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 22px);
  transition: translate 0.6s var(--dq-ease-out);
}

.dq-float-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.dq-float-card small {
  display: block;
  font-size: 13px;
  color: var(--dq-muted);
}

.dq-float-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  color: #fff;
  background: var(--dq-gradient);
  box-shadow: 0 0.4rem 0.9rem -0.2rem rgba(var(--bs-primary-rgb), 0.6);
}

.dq-float-icon.is-green {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  box-shadow: 0 0.4rem 0.9rem -0.2rem rgba(22, 163, 74, 0.55);
}

.dq-float-icon .uil-bell {
  animation: dq-ring 2.4s ease-in-out infinite;
  transform-origin: 50% 10%;
}

.dq-float-card--1 {
  top: 16%;
  left: 2%;
}

.dq-float-card--2 {
  right: 0;
  bottom: 30%;
  animation-delay: -3s;
}

@keyframes dq-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes dq-ring {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-14deg); }
}

@media (max-width: 991.98px) {
  .dq-float-card--1 { left: 0; top: 8%; }
  .dq-float-card--2 { right: 0; bottom: 34%; }
}

@media (max-width: 575.98px) {
  .dq-float-card {
    padding: 0.4rem 0.65rem 0.4rem 0.4rem;
    gap: 0.45rem;
  }

  .dq-float-card strong { font-size: 13px; }
  .dq-float-card small { font-size: 11px; }
  .dq-float-icon { width: 1.6rem; height: 1.6rem; font-size: 0.85rem; border-radius: 0.55rem; }
}

/* Gently floating decorations */
.dq-float {
  animation: dq-bob 7s ease-in-out infinite;
}

img[src*='/svg/doodle']:not([data-cue]) {
  animation: dq-doodle 7s ease-in-out infinite;
}

img[src*='/svg/doodle']:nth-of-type(2n):not([data-cue]) {
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

@keyframes dq-doodle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

/* ==========================================================================
   Section background mesh (light sections)
   ========================================================================== */
.dq-section {
  position: relative;
  isolation: isolate;
}

.dq-bg-mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 8% 12%, rgba(var(--bs-primary-rgb), 0.07), transparent 65%),
    radial-gradient(40rem 26rem at 95% 45%, rgba(var(--dq-teal-rgb), 0.07), transparent 65%),
    radial-gradient(36rem 24rem at 30% 95%, rgba(var(--dq-amber-rgb), 0.07), transparent 65%);
}

.dq-bg-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 34, 40, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%);
  mask-image: linear-gradient(180deg, #000, transparent 45%);
}

/* ==========================================================================
   Interactive cards – cursor spotlight, glowing border, 3D tilt
   ========================================================================== */
.dq-fx {
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.dq-fx::before,
.dq-fx::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.dq-fx::after {
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(var(--bs-primary-rgb), 0.1), transparent 45%);
}

.dq-fx::before {
  padding: 1.5px;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(var(--bs-primary-rgb), 0.85), rgba(var(--dq-amber-rgb), 0.35) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.dq-fx:hover::before,
.dq-fx:hover::after {
  opacity: 1;
}

.dq-tilt.dq-tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.6s var(--dq-ease-out), box-shadow 0.4s ease, background-color 0.3s ease;
}

.dq-tilt.dq-tilt:hover {
  --lift: -6px;
  box-shadow: var(--dq-shadow-lg);
}

.dq-tilt.dq-tilt.is-tilting {
  transition: transform 0.12s linear, box-shadow 0.4s ease, background-color 0.3s ease;
}

/* ==========================================================================
   Scroll reveal (classes added by dq-effects.js; removed after the animation)
   ========================================================================== */
.dq-reveal {
  opacity: 0;
}

.dq-reveal.is-in {
  animation: dq-in-up 0.9s var(--dq-ease-out) var(--dq-delay, 0ms) both;
}

.dq-reveal.is-in[data-reveal='left'] { animation-name: dq-in-left; }
.dq-reveal.is-in[data-reveal='right'] { animation-name: dq-in-right; }
.dq-reveal.is-in[data-reveal='zoom'] { animation-name: dq-in-zoom; animation-duration: 1.1s; }

@keyframes dq-in-up {
  from { opacity: 0; translate: 0 42px; }
  to { opacity: 1; translate: none; }
}

@keyframes dq-in-left {
  from { opacity: 0; translate: -56px 0; }
  to { opacity: 1; translate: none; }
}

@keyframes dq-in-right {
  from { opacity: 0; translate: 56px 0; }
  to { opacity: 1; translate: none; }
}

@keyframes dq-in-zoom {
  from { opacity: 0; scale: 0.86; filter: blur(8px); }
  to { opacity: 1; scale: none; filter: none; }
}

/* ==========================================================================
   Home – feature tiles
   ========================================================================== */
.dq-feature-card {
  height: 100%;
  padding: 1.6rem 1rem 1.4rem;
  border-radius: var(--dq-radius-lg);
  background: var(--dq-card-bg);
  border: 1px solid var(--dq-card-border);
  box-shadow: var(--dq-shadow-sm);
}

.dq-feature-card .svg-bg {
  transition: transform 0.6s var(--dq-ease-spring), box-shadow 0.4s ease;
}

.dq-feature-card:hover .svg-bg {
  transform: translateY(-4px) rotate(-8deg) scale(1.1);
  box-shadow: 0 0.75rem 1.5rem -0.25rem rgba(var(--bs-primary-rgb), 0.3);
}

.dq-feature-card h4 {
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.dq-feature-card:hover h4 {
  color: var(--bs-primary);
}

/* Home – step-by-step guides: glow + rotating dashed ring behind each phone */
.dq-steps figure {
  position: relative;
  isolation: isolate;
}

.dq-steps figure::before,
.dq-steps figure::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.dq-steps figure::before {
  width: min(82%, 440px);
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.3) 0%, rgba(var(--dq-amber-rgb), 0.14) 40%, transparent 70%);
}

.dq-steps figure::after {
  width: min(62%, 340px);
  border: 2px dashed rgba(var(--bs-primary-rgb), 0.38);
  animation: dq-spin 40s linear infinite;
}

@keyframes dq-spin {
  to { rotate: 360deg; }
}

.dq-steps .fs-70,
.fs-60.text-gradient {
  font-weight: 700 !important;
  filter: drop-shadow(0 0.4rem 0.8rem rgba(var(--bs-primary-rgb), 0.25));
}

/* Home – "why DQueue" list */
.dq-why > .d-flex {
  position: relative;
  margin-bottom: 0.6rem !important;
  padding: 1.1rem 1.2rem;
  border-radius: 1.2rem;
  border: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, translate 0.35s var(--dq-ease-out);
}

.dq-why > .d-flex:hover {
  translate: 6px 0;
  background-color: var(--dq-card-bg);
  border-color: var(--dq-card-border);
  box-shadow: var(--dq-shadow-md);
}

.dq-why > .d-flex .svg-bg {
  transition: transform 0.6s var(--dq-ease-spring);
}

.dq-why > .d-flex:hover .svg-bg {
  transform: rotate(-8deg) scale(1.08);
}

.dq-why p {
  margin-bottom: 0;
}

.dq-banner img {
  border-radius: var(--dq-radius-lg);
  box-shadow: var(--dq-shadow-lg);
  transition: transform 0.8s var(--dq-ease-out);
}

.dq-banner:hover img {
  transform: scale(1.015);
}

/* Home – function grid */
.dq-functions > [class*='col-'] > .d-flex {
  border: 1px solid var(--dq-card-border);
}

.dq-functions .icon.btn-circle {
  transition: transform 0.5s var(--dq-ease-spring), background-color 0.3s ease;
}

.dq-functions > [class*='col-'] > .d-flex:hover .icon.btn-circle {
  transform: rotate(-10deg) scale(1.1);
}

/* Home – DQueue Screen visual */
.dq-screen-visual {
  position: relative;
  isolation: isolate;
}

.dq-screen-visual::before {
  content: '';
  position: absolute;
  inset: 8% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--dq-teal-rgb), 0.22), rgba(var(--bs-primary-rgb), 0.12) 55%, transparent);
  filter: blur(10px);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion-wrapper .card.accordion-item {
  border: 1px solid var(--dq-card-border);
  border-radius: 1.1rem;
  box-shadow: var(--dq-shadow-sm) !important;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s var(--dq-ease-out);
}

.accordion-wrapper .card.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--dq-shadow-md) !important;
}

.accordion-wrapper .card.accordion-item:has(.collapse.show) {
  border-color: rgba(var(--bs-primary-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.08), var(--dq-shadow-md) !important;
}

.accordion-wrapper .card-header {
  padding: 1rem 1.2rem;
}

.accordion-wrapper .card-header button {
  position: relative;
  padding: 0 2.2rem 0 0;
  font-size: 0.82rem;
}

.accordion-wrapper .card-header button::before,
.accordion-wrapper .card-header button.collapsed::before {
  content: '\e92d';
  left: auto;
  right: 0;
  top: 50%;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.1);
  translate: 0 -50%;
  transition: rotate 0.45s var(--dq-ease-spring), background-color 0.3s ease, color 0.3s ease;
}

.accordion-wrapper .card-header button:not(.collapsed)::before {
  rotate: 180deg;
  color: #fff;
  background: var(--dq-gradient);
}

.accordion-wrapper .accordion-item .card-body {
  padding: 0 1.2rem 0.6rem;
}

/* ==========================================================================
   Testimonials + client ticker
   ========================================================================== */
.isotope .card.equal-size {
  border: 1px solid var(--dq-card-border);
  border-radius: var(--dq-radius-lg) !important;
}

.isotope .card.equal-size blockquote.icon::before {
  color: rgba(var(--bs-primary-rgb), 0.12);
}

.isotope .card.equal-size .avatar {
  box-shadow: 0 0 0 4px var(--dq-card-bg), 0 0 0 6px rgba(var(--bs-primary-rgb), 0.3);
  transition: transform 0.5s var(--dq-ease-spring);
}

.isotope .card.equal-size:hover .avatar {
  transform: scale(1.06) rotate(-3deg);
}

.dq-ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.dq-ticker figure img {
  border-radius: 1rem !important;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.dq-pricing-card .dq-pricing-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dq-pricing-card .dq-pricing-head::before {
  content: '';
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -12rem;
  top: -12rem;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  animation: dq-drift-2 16s ease-in-out infinite;
}

.dq-pricing-card .dq-pricing-head::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%);
  mask-image: linear-gradient(200deg, #000, transparent 60%);
}

.dq-pricing-head .dq-eyebrow::before {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.dq-pricing-table tbody tr td {
  transition: background-color 0.25s ease;
}

.dq-pricing-table tbody tr td:first-child {
  box-shadow: inset 0 0 0 transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.dq-pricing-table tbody tr:hover td:first-child {
  box-shadow: inset 4px 0 0 var(--bs-primary);
}

.dq-price-amount {
  font-variant-numeric: tabular-nums;
  background-image: var(--dq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.1em 0;
}

/* Featured annual card: rotating conic gradient border */
.dq-annual-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--dq-card-bg), var(--dq-card-bg)) padding-box,
    conic-gradient(from var(--dq-angle), var(--dq-orange-dark), var(--dq-amber), #fb7185, var(--dq-orange), var(--dq-orange-dark)) border-box;
  animation: dq-angle 5s linear infinite;
}

@keyframes dq-angle {
  to { --dq-angle: 360deg; }
}

.dq-annual-badge {
  z-index: 4;
}

.dq-option-card .dq-option-icon,
.dq-contact-item .icon {
  transition: transform 0.5s var(--dq-ease-spring), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.dq-option-card:hover .dq-option-icon,
.dq-contact-item:hover .icon {
  color: #fff;
  background: var(--dq-gradient);
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0.6rem 1.2rem -0.3rem rgba(var(--bs-primary-rgb), 0.5);
}

/* ==========================================================================
   Articles
   ========================================================================== */
.article-card .card-img img {
  transition: opacity 1s ease, transform 0.9s var(--dq-ease-out);
}

.article-card:hover .card-img img {
  transform: scale(1.06);
}

.article-card .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(30, 34, 40, 0.18));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.article-card:hover .card-img::after {
  opacity: 1;
}

.dq-stagger > * {
  animation: dq-in-up 0.8s var(--dq-ease-out) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.dq-contact-item {
  padding: 0.6rem;
  margin-inline: -0.6rem;
  border-radius: 1rem;
  transition: background-color 0.3s ease;
}

.dq-contact-item + .dq-contact-item {
  margin-top: 0.6rem;
}

.dq-contact-item:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.dq-contact-form {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--dq-radius-lg);
  background: var(--dq-card-bg);
  border: 1px solid var(--dq-card-border);
  box-shadow: var(--dq-shadow-md);
}

.form-control,
.form-select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.6);
  box-shadow: 0 0 0 0.22rem rgba(var(--bs-primary-rgb), 0.15);
}

/* ==========================================================================
   Devices (อุปกรณ์ที่ควรมี)
   ========================================================================== */
.dq-device {
  scroll-margin-top: 6rem;
}

/* Quick-pick cards overlapping the hero */
.dq-device-pick {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 100%;
  padding: 1rem 1.4rem 1rem 1rem;
  border-radius: var(--dq-radius-lg);
  color: inherit;
  background: var(--dq-card-bg);
  border: 1px solid var(--dq-card-border);
  box-shadow: var(--dq-shadow-md);
}

.dq-device-pick-img {
  display: grid;
  place-items: center;
  flex: none;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background: radial-gradient(circle at 50% 65%, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.04) 70%);
}

.dq-device-pick-img img {
  width: auto;
  height: 5.2rem;
  max-width: none;
  transition: transform 0.6s var(--dq-ease-spring);
}

.dq-device-pick:hover .dq-device-pick-img img {
  transform: rotate(-6deg) scale(1.08);
}

.dq-device-pick-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.dq-device-pick-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bs-primary);
}

.dq-device-pick small {
  font-size: 14px;
  color: var(--dq-muted);
}

.dq-device-pick-more {
  margin-top: 0.4rem;
  font-size: 14px;
  font-weight: 600;
  color: #c2410c;
}

.dq-device-pick-more i {
  display: inline-block;
  transition: transform 0.3s var(--dq-ease-out);
}

.dq-device-pick:hover .dq-device-pick-more i {
  transform: translateY(3px);
}

/* Product "stage": glow, rotating ring, floating spec chips */
.dq-device-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 32rem;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(70% 55% at 50% 55%, rgba(var(--bs-primary-rgb), 0.22), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, rgba(var(--dq-teal-rgb), 0.1), transparent 60%),
    var(--dq-card-bg);
  border: 1px solid var(--dq-card-border);
  box-shadow: var(--dq-shadow-md);
}

.dq-device-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(30, 34, 40, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, #000 80%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, #000 80%);
}

.dq-device-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(80%, 24rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(var(--bs-primary-rgb), 0.35);
  translate: -50% -50%;
  animation: dq-spin 50s linear infinite;
}

.dq-device-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26rem;
  filter: drop-shadow(0 2rem 2rem rgba(30, 34, 40, 0.28));
  animation: dq-bob 7s ease-in-out infinite;
}

.dq-device-stage--screen .dq-device-img {
  max-height: 30rem;
}

.dq-device-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #1e2228;
  background: var(--dq-glass-bg);
  border: 1px solid var(--dq-glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--dq-shadow-md);
  animation: dq-bob 6s ease-in-out infinite;
}

.dq-device-chip i {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-size: 0.85rem;
  color: #fff;
  background: var(--dq-gradient);
}

.dq-device-chip--1 { top: 10%; left: 5%; }
.dq-device-chip--2 { top: 46%; right: 4%; animation-delay: -2s; }
.dq-device-chip--3 { bottom: 9%; left: 7%; animation-delay: -4s; }

.dq-device-subtitle {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bs-gray-800, #343f52);
}

/* Spec sheet */
.dq-spec-title {
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.dq-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.5rem;
}

.dq-spec {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 3.4rem;
  border-radius: 1rem;
  background: var(--dq-card-bg);
  border: 1px solid var(--dq-card-border);
  box-shadow: var(--dq-shadow-sm);
  transition: transform 0.3s var(--dq-ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dq-spec:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  box-shadow: var(--dq-shadow-md);
}

.dq-spec--wide {
  grid-column: 1 / -1;
}

.dq-spec dt {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--dq-muted);
}

.dq-spec dt i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  font-size: 1.05rem;
  color: #c2410c;
  background: var(--bs-pale-primary);
  translate: 0 -50%;
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s var(--dq-ease-spring);
}

.dq-spec:hover dt i {
  color: #fff;
  background: var(--dq-gradient);
  transform: rotate(-8deg) scale(1.06);
}

.dq-spec dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bs-gray-900, #1e2228);
}

/* Warranty badge */
.dq-warranty {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
  padding: 0.65rem 1.3rem 0.65rem 0.65rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(var(--dq-amber-rgb), 0.18), rgba(var(--bs-primary-rgb), 0.08));
  border: 1px solid rgba(var(--dq-amber-rgb), 0.45);
}

.dq-warranty-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0.5rem 1rem -0.3rem rgba(217, 119, 6, 0.6);
}

.dq-warranty strong {
  display: block;
  font-size: 0.85rem;
}

.dq-warranty small {
  display: block;
  font-size: 13px;
  color: var(--dq-muted);
}

/* Closing call-to-action card (reuses the hero background) */
.dq-device-cta {
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.75rem;
  box-shadow: var(--dq-shadow-lg);
}

.dq-device-cta-text {
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .dq-device-stage {
    min-height: 26rem;
  }

  .dq-device-img {
    max-height: 22rem;
  }

  .dq-device-stage--screen .dq-device-img {
    max-height: 24rem;
  }
}

@media (max-width: 575.98px) {
  .dq-device-pick {
    gap: 0.9rem;
    padding: 0.8rem 1rem 0.8rem 0.8rem;
  }

  .dq-device-pick-img {
    width: 4.6rem;
    height: 4.6rem;
  }

  .dq-device-pick-img img {
    height: 4rem;
  }

  .dq-device-chip {
    font-size: 12px;
    padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  }

  .dq-device-chip i {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 0.7rem;
  }

  .dq-spec-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Article detail + legal pages
   ========================================================================== */
.dq-article-section {
  position: relative;
  isolation: isolate;
}

.dq-article-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 38rem;
  z-index: -1;
  background:
    radial-gradient(40rem 22rem at 15% 0%, rgba(var(--bs-primary-rgb), 0.12), transparent 70%),
    radial-gradient(36rem 20rem at 90% 10%, rgba(var(--dq-teal-rgb), 0.12), transparent 70%);
}

.dq-article-hero img {
  border-radius: var(--dq-radius-lg);
  animation: dq-in-zoom 1.2s var(--dq-ease-out) both;
}

.dq-article-crumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 15px;
  color: var(--dq-muted);
}

.dq-article-crumb a {
  color: var(--bs-primary);
}

.dq-article-body a {
  color: #c2410c;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--dq-ease-out);
}

.dq-article-body a:hover {
  background-size: 100% 2px;
}

.dq-article-body h2,
.dq-article-body h3,
.dq-article-body h4 {
  margin-top: 2rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--bs-primary);
  text-indent: 0;
}

.dq-article-body blockquote {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(var(--bs-primary-rgb), 0.06);
  border-left: 4px solid var(--bs-primary);
}

.dq-legal .card {
  overflow: hidden;
}

.dq-legal .card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--dq-orange-dark), var(--dq-amber), var(--dq-orange-light));
  background-size: 200% 100%;
  animation: dq-shine 5s linear infinite;
}

/* ==========================================================================
   Register modal
   ========================================================================== */
.dq-register-modal.modal.fade .modal-dialog {
  transform: translateY(30px) scale(0.92);
  transition: transform 0.5s var(--dq-ease-spring);
}

.dq-register-modal.modal.show .modal-dialog {
  transform: none;
}

.dq-register-modal .dq-modal-icon {
  position: relative;
}

/* Keep the body text above the header's decorative white curve */
.dq-register-modal .dq-modal-head {
  padding-bottom: 3.25rem;
}

.dq-register-modal .dq-modal-body {
  position: relative;
  z-index: 1;
}

.dq-register-modal .dq-modal-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: dq-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.dq-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  background: #0c1117;
  font-size: 0.8rem;
}

.dq-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--bs-primary-rgb), 0.9), rgba(var(--dq-amber-rgb), 0.9), transparent);
}

.dq-footer-glow {
  position: absolute;
  z-index: -1;
  width: 60rem;
  height: 30rem;
  left: 50%;
  top: -18rem;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--bs-primary-rgb), 0.22), transparent);
  pointer-events: none;
}

.dq-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.dq-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.dq-footer a:hover {
  color: var(--dq-orange-light);
}

.dq-footer-brand img {
  display: block;
  width: auto;
  height: 2.4rem;
  margin-bottom: 1.1rem;
}

.dq-footer-about {
  max-width: 22rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.dq-footer-title {
  position: relative;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #fff;
}

.dq-footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background: var(--dq-gradient);
}

.dq-social {
  display: flex;
  gap: 0.6rem;
}

.dq-social a {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--dq-ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dq-social a:hover {
  color: #fff;
  transform: translateY(-4px) rotate(-8deg);
  background: var(--dq-gradient);
  border-color: transparent;
  box-shadow: 0 0.6rem 1.2rem -0.3rem rgba(var(--bs-primary-rgb), 0.6);
}

.dq-footer-links,
.dq-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dq-footer-links li + li {
  margin-top: 0.55rem;
}

.dq-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dq-footer-links a i {
  font-size: 0.9rem;
  opacity: 0;
  margin-left: -1rem;
  transition: opacity 0.25s ease, margin-left 0.3s var(--dq-ease-out);
}

.dq-footer-links a:hover i {
  opacity: 1;
  margin-left: 0;
}

.dq-footer-contact li {
  display: flex;
  gap: 0.7rem;
  line-height: 1.7;
}

.dq-footer-contact li + li {
  margin-top: 0.75rem;
}

.dq-footer-contact li > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  color: var(--dq-orange-light);
  background: rgba(var(--bs-primary-rgb), 0.12);
}

.dq-footer-contact strong {
  color: #fff;
  font-weight: 500;
}

.dq-footer .fb-page {
  border-radius: 1rem;
  overflow: hidden;
}

.dq-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dq-tag {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.dq-tag:hover {
  color: var(--dq-orange-light);
  border-color: rgba(var(--bs-primary-rgb), 0.45);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.dq-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.dq-footer-bottom p {
  margin: 0;
}

/* Back-to-top progress ring (theme.pageProgress) */
.progress-wrap {
  width: 2.6rem;
  height: 2.6rem;
  background: var(--dq-glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 0.1rem rgba(128, 130, 134, 0.2), 0 0.75rem 1.5rem -0.5rem rgba(30, 34, 40, 0.35);
}

.progress-wrap::after {
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  transition: transform 0.3s var(--dq-ease-out);
}

.progress-wrap:hover::after {
  transform: translateY(-3px);
}

/* ==========================================================================
   Dark mode
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --dq-card-bg: var(--dq-surface);
    --dq-card-border: rgba(255, 255, 255, 0.07);
    --dq-glass-bg: rgba(32, 38, 48, 0.82);
    --dq-glass-border: rgba(255, 255, 255, 0.12);
    --dq-muted: #b5c0cf;
    --dq-shadow-lg: 0 1.5rem 3rem -1rem rgba(0, 0, 0, 0.6);
  }

  .dq-hero {
    background-color: #0b2632;
    background-image:
      radial-gradient(120% 90% at 100% 0%, rgba(var(--dq-teal-rgb), 0.32) 0%, transparent 55%),
      linear-gradient(145deg, #0a2029 0%, #0b3444 45%, #0e4b62 100%);
  }

  .navbar.dq-nav > .container {
    background: rgba(32, 38, 48, 0.96);
    box-shadow: 0 0.75rem 2.25rem -0.75rem rgba(0, 0, 0, 0.6);
  }

  .navbar.dq-nav .navbar-nav .nav-link.active {
    color: var(--dq-accent-strong);
  }

  .dq-float-card {
    color: #fff;
    background: rgba(42, 51, 64, 0.94);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .dq-bg-mesh::before {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  }

  .dq-eyebrow::before {
    background: rgba(var(--bs-primary-rgb), 0.12);
  }

  .dq-contact-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
  }

  .dq-device-chip {
    color: #fff;
  }

  .dq-device-stage::before {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  }

  .dq-spec dt i,
  .dq-device-pick-more {
    color: var(--dq-accent-text);
  }

  .dq-article-body a {
    color: var(--dq-accent-text);
  }

  .dq-footer {
    background: #11161e;
  }

  .progress-wrap {
    box-shadow: inset 0 0 0 0.1rem rgba(255, 255, 255, 0.1), 0 0.75rem 1.5rem -0.5rem rgba(0, 0, 0, 0.6);
  }
}

@media (prefers-color-scheme: dark) and (min-width: 992px) {
  .navbar.dq-nav > .container {
    background: var(--dq-glass-bg);
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .dq-reveal {
    opacity: 1 !important;
    animation: none !important;
  }

  .dq-blob,
  .dq-hero-grid,
  .dq-hero-stars,
  .dq-hero-visual > img,
  .dq-float-card,
  .dq-float,
  .dq-float-icon .uil-bell,
  .dq-steps figure::after,
  .dq-shine,
  .dq-stagger > *,
  .dq-annual-card--featured,
  .dq-legal .card::before,
  .dq-pricing-card .dq-pricing-head::before,
  .dq-pulse-dot::after,
  .dq-register-modal .dq-modal-icon::after,
  .dq-article-hero img,
  .dq-device-ring,
  .dq-device-img,
  .dq-device-chip,
  img[src*='/svg/doodle'] {
    animation: none !important;
  }
}
