/* Hub landing — 6qnia suite */
:root {
  --hq-ink: #0f172a;
  --hq-muted: #64748b;
  --hq-surface: #ffffff;
  --hq-canvas: #f1f5f9;
  --hq-accent: #0d9488;
  --hq-accent-dim: rgba(13, 148, 136, 0.12);
  --hq-indigo: #6366f1;
  --hq-radius: 16px;
  --hq-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --hq-font: "Inter", "Noto Sans Arabic", system-ui, sans-serif;
}

.hq-site {
  font-family: var(--hq-font);
  color: var(--hq-ink);
  background: var(--hq-canvas);
}

/* Landing page: flowing gradients + mesh */
.hq-landing--flow {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 100% 80% at 10% -10%, rgba(99, 102, 241, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 60% at 95% 15%, rgba(13, 148, 136, 0.1), transparent 45%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(34, 211, 238, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 35%, #ecfdf5 70%, #f1f5f9 100%);
}

.hq-landing--flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.12) 15%,
    rgba(13, 148, 136, 0.18) 50%,
    rgba(99, 102, 241, 0.12) 85%,
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.hq-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hq-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hq-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--hq-ink);
}

.hq-brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.hq-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hq-brand-text strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hq-brand-text span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--hq-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hq-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hq-nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hq-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.hq-nav-links a:hover {
  color: var(--hq-ink);
  background: rgba(15, 23, 42, 0.05);
}

.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.hq-btn:active {
  transform: scale(0.98);
}

.hq-btn-primary {
  background: linear-gradient(135deg, var(--hq-accent) 0%, #0891b2 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.hq-btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.45);
}

.hq-btn-ghost {
  background: #fff;
  color: var(--hq-ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hq-btn-ghost:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #fafafa;
  color: var(--hq-ink);
}

/* Hero */
.hq-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

.hq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 27, 75, 0.72) 38%, rgba(13, 148, 136, 0.42) 72%, rgba(15, 23, 42, 0.88) 100%),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80") center/cover no-repeat;
}

/* Colorful gradient orbs over the photo */
.hq-hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hq-hero-aurora::before,
.hq-hero-aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.hq-hero-aurora::before {
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  top: -18%;
  left: -12%;
  background: conic-gradient(from 210deg at 50% 50%, #2dd4bf, #6366f1, #22d3ee, #a5b4fc, #2dd4bf);
  animation: hq-aurora-drift 22s ease-in-out infinite alternate;
}

.hq-hero-aurora::after {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  bottom: -25%;
  right: -8%;
  background: conic-gradient(from 90deg at 50% 50%, #818cf8, #0d9488, #38bdf8, #818cf8);
  animation: hq-aurora-drift2 26s ease-in-out infinite alternate;
}

@keyframes hq-aurora-drift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(4%, 6%) rotate(12deg) scale(1.08);
  }
}

@keyframes hq-aurora-drift2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-5%, -4%) rotate(-10deg) scale(1.06);
  }
}

.hq-hero-ribbons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.hq-hero-ribbons__svg {
  width: 100%;
  height: 100%;
}

.hq-hero-wave {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: clamp(48px, 11vw, 72px);
  flex-shrink: 0;
}

.hq-hero--mesh .hq-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h72v72H0z' fill='none'/%3E%3Cpath d='M36 0v72M0 36h72' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hq-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.25rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hq-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hq-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 1rem;
}

.hq-hero-lead {
  color: rgba(226, 232, 240, 0.95);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hq-hero-actions .hq-btn-primary {
  background: linear-gradient(135deg, #2dd4bf 0%, var(--hq-accent) 50%, #6366f1 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.hq-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hq-hero-meta div {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.hq-hero-meta strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

/* Value strip */
.hq-strip {
  background: var(--hq-surface);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hq-strip--elevated {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 2;
}

.hq-strip--curve {
  position: relative;
  margin-top: -1px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f0fdfa 100%);
  border-bottom: none;
  border-radius: 0 0 32px 32px;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hq-strip--curve::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.45), rgba(99, 102, 241, 0.4), transparent);
  opacity: 0.9;
}

.hq-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.hq-strip-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hq-strip-card .bi {
  font-size: 1.5rem;
  color: var(--hq-accent);
  flex-shrink: 0;
}

.hq-strip-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.hq-strip-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hq-muted);
  line-height: 1.5;
}

/* Products */
.hq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.hq-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.hq-section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.hq-section-head p {
  margin: 0;
  color: var(--hq-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hq-card {
  background: var(--hq-surface);
  border-radius: var(--hq-radius);
  overflow: hidden;
  box-shadow: var(--hq-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.hq-card-img {
  height: 168px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.hq-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hq-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hq-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hq-card-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.hq-card-title .hq-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hq-card-title h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.hq-card-body > p {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--hq-muted);
  line-height: 1.55;
  flex: 1;
}

.hq-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hq-card-actions .hq-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.hq-btn-outline {
  background: transparent;
  color: var(--hq-ink);
  border: 1px solid rgba(15, 23, 42, 0.15);
}

.hq-btn-outline:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--hq-ink);
}

/* How it works */
.hq-how {
  background: linear-gradient(180deg, #e0f2fe 0%, var(--hq-canvas) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.hq-how--rich {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 55%, var(--hq-canvas) 100%);
}

.hq-how--flowlines {
  position: relative;
  overflow: hidden;
}

.hq-how__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(99, 102, 241, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 88% 70%, rgba(13, 148, 136, 0.08) 0%, transparent 45%);
}

.hq-how--flowlines::before,
.hq-how--flowlines::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.hq-how--flowlines::before {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 20%;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent 60%);
}

.hq-how--flowlines::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: 10%;
  border: 1px solid rgba(13, 148, 136, 0.15);
  background: linear-gradient(225deg, rgba(13, 148, 136, 0.06), transparent 55%);
}

.hq-how--flowlines .hq-section-head,
.hq-how--flowlines .hq-steps {
  position: relative;
  z-index: 1;
}

.hq-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.hq-step {
  background: #fff;
  border-radius: var(--hq-radius);
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
}

.hq-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--hq-accent-dim);
  color: var(--hq-accent);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hq-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.hq-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hq-muted);
  line-height: 1.55;
}

/* CTA band */
.hq-cta {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.hq-cta-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f766e 100%);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--hq-shadow);
}

.hq-cta-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.hq-cta-inner p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  font-size: 1rem;
}

.hq-cta-inner .hq-btn-primary {
  background: #fff;
  color: var(--hq-ink);
  box-shadow: none;
}

.hq-cta-inner .hq-btn-primary:hover {
  background: #f1f5f9;
  color: var(--hq-ink);
}

.hq-cta-inner--rich {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #312e81 0%, #0f766e 45%, #0e7490 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hq-cta-inner--rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 15% 0%, rgba(255, 255, 255, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 90% at 95% 85%, rgba(34, 211, 238, 0.15), transparent 48%);
  pointer-events: none;
}

.hq-cta-inner--rich > * {
  position: relative;
  z-index: 1;
}

.hq-cta--ribbon {
  position: relative;
  padding-top: 3rem;
}

.hq-cta--ribbon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  width: min(520px, 80%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.35) 20%,
    rgba(13, 148, 136, 0.45) 50%,
    rgba(99, 102, 241, 0.35) 80%,
    transparent
  );
}

.hq-cta__curl {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  pointer-events: none;
  opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%236366f1' stroke-opacity='0.35' stroke-width='1.5' d='M0,24 C200,8 400,36 600,20 C800,4 1000,32 1200,16'/%3E%3Cpath fill='none' stroke='%230d9488' stroke-opacity='0.35' stroke-width='1' d='M0,30 C300,14 500,38 800,22 C950,14 1080,28 1200,20'/%3E%3C/svg%3E")
    center top / min(1100px, 100%) no-repeat;
}

/* Footer */
.hq-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.875rem;
}

.hq-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .hq-footer-inner {
    grid-template-columns: 1fr;
  }
}

.hq-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.hq-footer-brand img {
  width: 36px;
  height: 36px;
  opacity: 0.95;
}

.hq-footer-brand strong {
  color: #f8fafc;
  font-size: 1rem;
}

.hq-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.hq-footer a:hover {
  color: #fff;
}

.hq-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hq-main-fluid {
  padding-bottom: 0;
}

/* Hero motion (respects reduced motion via .hq-reduced-motion from hub-motion.js) */
@media (prefers-reduced-motion: no-preference) {
  .hq-hero-bg {
    animation: hq-kenburns 38s ease-in-out infinite alternate;
    transform-origin: 50% 30%;
  }

  @keyframes hq-kenburns {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.09);
    }
  }

  .hq-hero--mesh .hq-hero-inner > * {
    opacity: 0;
    animation: hq-hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hq-hero--mesh .hq-hero-inner > *:nth-child(1) {
    animation-delay: 0.04s;
  }
  .hq-hero--mesh .hq-hero-inner > *:nth-child(2) {
    animation-delay: 0.12s;
  }
  .hq-hero--mesh .hq-hero-inner > *:nth-child(3) {
    animation-delay: 0.2s;
  }
  .hq-hero--mesh .hq-hero-inner > *:nth-child(4) {
    animation-delay: 0.28s;
  }
  .hq-hero--mesh .hq-hero-inner > *:nth-child(5) {
    animation-delay: 0.36s;
  }

  @keyframes hq-hero-in {
    from {
      opacity: 0;
      transform: translate3d(0, 22px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .hq-strip-card {
    animation: hq-float-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hq-strip-inner .hq-strip-card:nth-child(1) {
    animation-delay: 0.05s;
  }
  .hq-strip-inner .hq-strip-card:nth-child(2) {
    animation-delay: 0.12s;
  }
  .hq-strip-inner .hq-strip-card:nth-child(3) {
    animation-delay: 0.19s;
  }

  @keyframes hq-float-in {
    from {
      opacity: 0;
      transform: translate3d(0, 16px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
}

.hq-reduced-motion .hq-hero-bg {
  animation: none !important;
}

.hq-reduced-motion .hq-hero-aurora::before,
.hq-reduced-motion .hq-hero-aurora::after {
  animation: none !important;
}

.hq-reduced-motion .hq-hero--mesh .hq-hero-inner > * {
  opacity: 1 !important;
  animation: none !important;
}

.hq-reduced-motion .hq-strip-card {
  animation: none !important;
}

/* ═══ Hero v2 — split layout + app slider ═══ */
.hq-hero-v2 {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.hq-hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(125deg, rgba(8, 12, 24, 0.92) 0%, rgba(30, 27, 75, 0.55) 42%, rgba(13, 148, 136, 0.35) 100%),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=85") center/cover no-repeat;
}

.hq-hero-v2__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hq-hero-v2__bloom {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 85%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 75% 20%, rgba(99, 102, 241, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 60%, rgba(45, 212, 191, 0.28) 0%, transparent 50%);
  filter: blur(2px);
}

.hq-hero-v2__shell {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(4.5rem, 10vw, 6rem) 1.25rem 1.5rem;
}

@media (min-width: 960px) {
  .hq-hero-v2__shell {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 3rem;
    padding-top: clamp(5rem, 9vw, 6.5rem);
  }
}

.hq-hero-v2__copy {
  color: #fff;
}

.hq-hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(10px);
}

.hq-hero-v2__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 16ch;
  color: #fff;
}

.hq-hero-v2__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  line-height: 1.65;
  max-width: 48ch;
  color: rgba(226, 232, 240, 0.94);
}

.hq-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hq-hero-v2__actions .hq-btn-primary {
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 45%, #6366f1 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.hq-hero-v2__visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hq-hero-v2__glass {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1.25rem;
  align-content: center;
  justify-items: center;
}

.hq-hero-v2__glass-cell {
  width: 100%;
  aspect-ratio: 1;
  max-width: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: rgba(255, 255, 255, 0.9);
  animation: hq-hero-glass-pop 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hq-hero-v2__glass-cell:nth-child(1) {
  animation-delay: 0.05s;
}
.hq-hero-v2__glass-cell:nth-child(2) {
  animation-delay: 0.12s;
}
.hq-hero-v2__glass-cell:nth-child(3) {
  animation-delay: 0.19s;
}
.hq-hero-v2__glass-cell:nth-child(4) {
  animation-delay: 0.26s;
}
.hq-hero-v2__glass-cell:nth-child(5) {
  animation-delay: 0.33s;
}
.hq-hero-v2__glass-cell:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes hq-hero-glass-pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hq-reduced-motion .hq-hero-v2__glass-cell {
  animation: none !important;
  opacity: 1;
}

.hq-hero-v2__rail {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 0 1.5rem;
  margin-top: auto;
}

.hq-hero-v2__rail-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hq-hero-v2__rail-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
  margin: 0 0 0.85rem;
}

.hq-hero-v2__track-wrap {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.hq-hero-v2__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0.5rem;
  padding: 0.35rem 0.25rem 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.hq-hero-v2__track::-webkit-scrollbar {
  height: 6px;
}
.hq-hero-v2__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.hq-app-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  backdrop-filter: blur(12px);
}

.hq-app-pill:hover {
  color: #fff;
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(15, 23, 42, 0.65);
  transform: translateY(-2px);
}

.hq-app-pill__ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 0 0 1px var(--app-accent, rgba(45, 212, 191, 0.35));
}

.hq-app-pill__txt {
  padding-right: 0.25rem;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hq-hero-v2__meta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hq-hero-v2__meta div {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.hq-hero-v2__meta strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  letter-spacing: -0.02em;
}

.hq-hero-v2 .hq-hero-wave {
  position: relative;
  z-index: 4;
}
