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

:root {
  --bg: #1b1d26;
  --bg-2: #1f222d;
  --bg-3: #1b1d26;

  --corp-panel-shadow: rgba(0, 0, 0, 0.45) 0px 12px 30px 0px, rgba(0, 0, 0, 0.25) 0px 2px 6px 0px, rgba(255, 255, 255, 0.06) 0px 1px 0px 0px inset;
  --corp-border: rgba(255, 255, 255, 0.08);
  --corp-btn-primary: #1f222d;
  --corp-btn-secondary: #1b1d26;
  --corp-btn-hover: #262a36;

  --surface: rgba(255, 255, 255, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.14);

  --text: #FFFFFF;
  --text-soft: #C8D3E0;
  --text-muted: #9AA8BA;
  --text-faint: rgba(255, 255, 255, 0.52);

  --accent: #0170F5;
  --accent-2: #22D3EE;
  --accent-soft: rgba(1, 112, 245, 0.18);

  --success: #22C55E;
  --warning: #FBBF24;

  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-3);
  color: var(--text);
}

body.home-v2-page {
  --home-header-offset: 88px;
  scroll-padding-top: var(--home-header-offset);
  padding-top: var(--home-header-offset);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-3);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-3);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-strong);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Heading Typography */
h1, h2, h3, h4 {
  font-family: 'Urbanist', sans-serif;
  letter-spacing: -0.02em;
}

/* App Layout & Background Grid */
.app {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 34%, rgba(1, 112, 245, 0.12), transparent 40%),
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.06), transparent 35%),
    linear-gradient(135deg, #1b1d26 0%, #1f222d 52%, #1b1d26 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, rgba(0,0,0,0.1) 80%);
  z-index: 0;
}

/* Glowing Background Motion Layer */
.bg-glow-pulse {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 112, 245, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: bgGlowAnimation 12s infinite alternate var(--ease-out);
  z-index: 0;
}

@keyframes bgGlowAnimation {
  0% { opacity: 0.4; transform: scale(0.9) translate(10px, -10px); }
  100% { opacity: 1; transform: scale(1.1) translate(-10px, 10px); }
}

/* Header Styles */
.header-container {
  width: 100%;
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(27, 29, 38, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  animation: fadeDown 0.8s var(--ease-out) 0.1s both;
}

.header-container.is-scrolled {
  background: rgba(27, 29, 38, 0.94);
  border-bottom-color: var(--corp-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body.home-v2-page .hero {
  min-height: auto;
  padding-top: 48px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
  justify-self: start;
  line-height: 1;
}

.logo-img {
  display: block;
  flex-shrink: 0;
  height: 38px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(1, 112, 245, 0.4);
}

.logo-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 3px;
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--accent-2);
  right: 6px;
  bottom: 6px;
  border-radius: 1px;
}

.logo-text {
  font-family: 'Urbanist', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.logo-accent {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-width: 0;
  justify-self: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
}

.header-inner .mobile-nav-toggle {
  grid-column: 3;
  justify-self: end;
}

.nav-item {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.35s var(--ease-out);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

/* Language Switcher Capsule */
.language-switcher-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  transition: all 0.3s var(--ease-out);
}

.language-switcher-capsule:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-switch-btn {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  padding: 2px 4px;
  transition: color 0.2s, text-shadow 0.2s;
}

.lang-switch-btn.active {
  color: #fff;
  background: var(--corp-btn-primary);
  border-radius: 6px;
  box-shadow: var(--corp-panel-shadow);
  text-shadow: none;
}

.lang-switch-btn:hover {
  color: white;
}

.lang-divider {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}


.nav-item:hover {
  color: var(--text);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.login-link {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.login-link:hover {
  color: white;
}

/* Premium Buttons — unified pill system */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
  z-index: 1;
}

.btn-pill .icon,
.btn-pill svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.btn-pill.btn-accent {
  background: var(--corp-btn-primary);
  color: #ffffff;
  border-color: var(--corp-border);
  box-shadow: var(--corp-panel-shadow);
}

.btn-pill.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--corp-btn-hover);
  box-shadow: var(--corp-panel-shadow);
}

.btn-pill.btn-accent:hover .icon,
.btn-pill.btn-accent:hover svg {
  transform: translateX(4px);
}

.btn-pill.btn-secondary {
  background: var(--corp-btn-secondary);
  border-color: var(--corp-border);
  color: #ffffff;
  box-shadow: var(--corp-panel-shadow);
}

.btn-pill.btn-secondary:hover {
  background: var(--corp-btn-primary);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-pill.shine::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-110%) skewX(-14deg);
  transition: transform 1s var(--ease-out);
  pointer-events: none;
}

.btn-pill.shine:hover::before {
  transform: translateX(220%) skewX(-14deg);
}

.header-actions .btn-pill.btn-accent,
.mobile-menu-actions .btn-pill.btn-accent {
  padding: 12px 22px;
  font-size: 15px;
}

.cta-row .btn-pill.btn-accent {
  padding: 16px 32px;
  font-size: 16px;
}

.cta-row .btn-pill.btn-secondary {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-pill.btn-compact {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-pill.full {
  width: 100%;
}

/* Legacy alias */
.btn-primary-white {
  background: var(--corp-btn-primary);
  color: #ffffff;
  border-color: var(--corp-border);
  box-shadow: var(--corp-panel-shadow);
}

.btn-primary-white::after {
  display: none;
}

.btn-primary-white:hover {
  color: #ffffff;
  background: var(--corp-btn-hover);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(27, 29, 38, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  padding: calc(var(--home-header-offset, 88px) + env(safe-area-inset-top, 0px)) 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel .nav-item {
  font-size: 24px;
}

/* Animations declarations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(6px);
  }
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 100px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 48px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-2);
  display: inline-block;
}

.hero-h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: white;
  margin-top: 24px;
  animation: fadeUp 1s var(--ease-out) 0.35s both;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #8ac8ff 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typewriter-container {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--accent);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero-p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 620px;
  margin-top: 24px;
  animation: fadeUp 0.9s var(--ease-out) 0.7s both;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  animation: fadeUp 0.9s var(--ease-out) 0.85s both;
}

.cta-microcopy {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-faint);
  animation: fadeUp 0.9s var(--ease-out) 0.9s both;
}

/* Mini Benefit Cards */
.mini-benefits {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  transition: border-color 0.3s, background 0.3s;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.mini-card:hover {
  border-color: rgba(1, 112, 245, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.mini-card-icon {
  color: var(--accent-2);
  margin-bottom: 8px;
}

.mini-card-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mini-card-desc {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Animated QR System Visualization (Hero Right) */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 680px;
  margin: auto;
  animation: visualEntrance 1.2s var(--ease-out) 0.45s both;
}

@keyframes visualEntrance {
  from {
    opacity: 0;
    transform: scale(0.86) rotate(-2deg);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

.orbits-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Orbit circle styling with masks */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(1,112,245,0) 0%, rgba(1,112,245,0.3) 45%, rgba(34,211,238,0) 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.orbit-1 {
  width: 340px;
  height: 340px;
  animation: rotateCCW 28s linear infinite;
}

.orbit-2 {
  width: 480px;
  height: 480px;
  animation: rotateCW 42s linear infinite;
}

.orbit-3 {
  width: 600px;
  height: 600px;
  animation: rotateCW 56s linear infinite;
}

.orbit-4 {
  width: 720px;
  height: 720px;
  animation: rotateCCW 68s linear infinite;
}

@keyframes rotateCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Floating Chips */
.floating-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(8, 17, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  font-size: 13px;
  font-weight: 600;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  animation: chipMicroFloat 4s ease-in-out infinite alternate;
}

.floating-chip:hover {
  border-color: var(--accent-2);
  background: rgba(8, 17, 31, 0.95);
  transform: scale(1.05);
}

@keyframes chipMicroFloat {
  0% { margin-top: -3px; }
  100% { margin-top: 3px; }
}

/* Central QR Dashboard Card */
.center-qr-card {
  width: 300px;
  min-height: 390px;
  border-radius: 32px;
  background: rgba(8, 17, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  animation: float 5s ease-in-out infinite alternate;
}

.qr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.qr-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-active {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.status-editable {
  background: rgba(1, 112, 245, 0.15);
  color: var(--accent-2);
}

/* Interactive & Scanning QR Visual */
.qr-visual-wrapper {
  position: relative;
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  margin: 8px 0 16px 0;
  overflow: hidden;
}

.qr-matrix-svg {
  width: 170px;
  height: 170px;
}

/* Premium Multi-layered Scan Beam with Glitch Entry */
.scan-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg, 
    rgba(34, 211, 238, 0) 0%, 
    rgba(34, 211, 238, 0.4) 15%, 
    #ffffff 50%, 
    rgba(34, 211, 238, 0.4) 85%, 
    rgba(34, 211, 238, 0) 100%
  );
  box-shadow: 
    0 0 8px #ffffff,
    0 0 18px var(--accent-2), 
    0 0 35px var(--accent),
    0 2px 10px rgba(1, 112, 245, 0.6);
  pointer-events: none;
  animation: 
    scanBeamGlitchEntry 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both,
    scanBeamAnimation 4s ease-in-out infinite 0.8s;
  opacity: 0.9;
}

/* Dual-layer scan beam extra accent line */
.scan-beam::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(236, 72, 153, 0) 0%,
    rgba(236, 72, 153, 0.8) 50%,
    rgba(236, 72, 153, 0) 100%
  );
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
  opacity: 0.7;
}

@keyframes scanBeamGlitchEntry {
  0% {
    top: 0%;
    transform: scaleX(0) scaleY(4);
    opacity: 0;
    filter: hue-rotate(90deg) brightness(2);
  }
  20% {
    top: 20%;
    transform: scaleX(1.1) scaleY(0.8) skewX(20deg);
    opacity: 0.8;
  }
  40% {
    top: 15%;
    transform: scaleX(0.9) scaleY(1.2) skewX(-15deg);
    opacity: 0.9;
    filter: hue-rotate(-45deg);
  }
  60% {
    top: 35%;
    transform: scaleX(1.05) scaleY(1) skewX(5deg);
    opacity: 0.7;
  }
  80% {
    top: 30%;
    transform: scaleX(0.98) scaleY(1.1) skewX(-5deg);
    opacity: 1;
  }
  100% {
    top: 0%;
    transform: scaleX(1) scaleY(1) skewX(0deg);
    opacity: 0.9;
  }
}

@keyframes scanBeamAnimation {
  0% { top: 0%; }
  50% { top: 96%; }
  100% { top: 0%; }
}

@keyframes scanMap {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.qr-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.qr-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Real-time mini chart */
.qr-analytics-mini {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.mini-stat-info {
  display: flex;
  flex-direction: column;
}

.mini-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.mini-stat-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-stat-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.mini-bar {
  width: 4px;
  background-color: var(--accent-2);
  border-radius: 2px;
  opacity: 0.8;
  transition: height 0.3s;
}

/* Data Particles */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-2);
  pointer-events: none;
  opacity: 0.8;
}

/* Ticker Marquee styles */
.feature-ticker-container {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background: rgba(5, 11, 22, 0.6);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.feature-ticker-container::before,
.feature-ticker-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.feature-ticker-container::before {
  left: 0;
  background: linear-gradient(90deg, #1b1d26 0%, transparent 100%);
}

.feature-ticker-container::after {
  right: 0;
  background: linear-gradient(-90deg, #1b1d26 0%, transparent 100%);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 56px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

/* Global Section Spacing */
.section-wrapper {
  padding: 88px 48px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-wrapper-narrow {
  max-width: 1200px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-right {
  text-align: right;
  align-items: flex-end;
  margin-left: auto;
  margin-right: 0;
  max-width: min(720px, 100%);
}

.section-header-right .section-p {
  max-width: 560px;
}

#blog .cta-row {
  justify-content: center;
  margin-top: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(1, 112, 245, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(1, 112, 245, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-top: 16px;
  max-width: 620px;
}

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Popular QR Types Section Grid */
.qr-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.qr-type-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.qr-type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 112, 245, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(1, 112, 245, 0.12);
}

.qr-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.qr-type-card:hover .qr-type-icon {
  transform: translateY(-2px);
  background: rgba(1, 112, 245, 0.15);
  color: #ffffff;
}

.qr-type-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.qr-type-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.qr-type-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.3s;
}

.qr-type-action svg {
  transition: transform 0.3s var(--ease-out);
}

.qr-type-card:hover .qr-type-action svg {
  transform: translateX(4px);
}

/* How It Works Section */
.how-it-works-section {
  position: relative;
  background: #1f222d;
}

.how-it-works-section .section-badge {
  color: #22D3EE;
  background: rgba(1, 112, 245, 0.12);
  border-color: rgba(1, 112, 245, 0.28);
}

.how-it-works-container {
  position: relative;
  margin-top: 40px;
}

.how-it-works-line {
  position: absolute;
  top: 52px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.14) 65%, transparent 100%);
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-card-corp {
  padding: 28px 22px 26px;
  border-radius: 24px;
  background: #1f222d;
  border: 1px solid var(--corp-border);
  box-shadow: var(--corp-panel-shadow);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.step-card-corp:hover {
  transform: translateY(-4px);
  background: var(--corp-btn-hover);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--corp-panel-shadow);
}

.step-num-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--corp-btn-secondary);
  border: 2px solid var(--corp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--corp-panel-shadow);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.step-card-corp:hover .step-num-badge {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
  background: #2d313d;
  color: #fff;
  box-shadow: var(--corp-panel-shadow);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #9CA3AF;
}

/* Why QR Gener Section */
.why-section-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-top: 40px;
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-feature-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  border-radius: 16px;
  transition: background-color 0.3s;
}

.why-feature-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.why-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(1, 112, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}

.why-feature-content {
  display: flex;
  flex-direction: column;
}

.why-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.why-feature-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* Dashboard Mockup (Why Section Right) */
.dashboard-mockup-wrapper {
  background: #1f222d;
  border: 1px solid var(--corp-border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--corp-panel-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s;
}

.dashboard-mockup-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 112, 245, 0.25);
}

.mock-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 14px;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-dots .mock-dot:nth-child(1) { background: #ff5f56; }
.mock-dots .mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dots .mock-dot:nth-child(3) { background: #27c93f; }

.mock-tab-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-nav-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

.mock-nav-item.active {
  background: var(--corp-btn-primary);
  color: white;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--corp-panel-shadow);
}

.mock-nav-item:hover:not(.active) {
  background: rgba(255,255,255,0.03);
  color: white;
}

.mock-main-panel {
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.04);
}

.mock-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.mock-qr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-qr-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.mock-qr-row:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(1, 112, 245, 0.25);
}

.mock-qr-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-qr-icon {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: 800;
  font-size: 10px;
}

.mock-qr-text {
  display: flex;
  flex-direction: column;
}

.mock-qr-name {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.mock-qr-url {
  font-size: 10px;
  color: var(--text-muted);
}

.mock-qr-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-qr-scans {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
}

.mock-btn-edit {
  background: var(--corp-btn-secondary);
  border: 1px solid var(--corp-border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  box-shadow: var(--corp-panel-shadow);
  transition: background 0.2s, transform 0.2s;
}

.mock-btn-edit:hover {
  background: var(--corp-btn-hover);
  transform: translateY(-1px);
}

/* Dynamic chart widget */
.mock-chart-widget {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px;
}

.mock-chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
}

.mock-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 64px;
  padding-top: 10px;
}

.mock-chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.mock-chart-bar {
  width: 60%;
  max-width: 14px;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  border-radius: 3px 3px 0 0;
  transition: height 1s ease-out;
  height: 0px; /* animated by state */
}

.mock-chart-label {
  font-size: 8px;
  color: var(--text-faint);
  margin-top: 4px;
}

/* Use Cases Section */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.use-case-card {
  background: #1f222d;
  border: 1px solid var(--corp-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--corp-panel-shadow);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 112, 245, 0.35);
  box-shadow: var(--corp-panel-shadow), 0 0 0 1px rgba(1, 112, 245, 0.1);
}

.use-case-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(1, 112, 245, 0.15);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-bottom: 20px;
}

.use-case-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.use-case-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #1f222d;
  border: 1px solid var(--corp-border);
  border-radius: 16px;
  box-shadow: var(--corp-panel-shadow);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-item.is-open {
  border-color: rgba(1, 112, 245, 0.25);
  box-shadow: var(--corp-panel-shadow), 0 0 0 1px rgba(1, 112, 245, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: white;
  font-size: 17px;
  font-weight: 600;
  font-family: 'Urbanist', sans-serif;
}

.faq-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--accent-2);
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}

.faq-item.is-open .faq-icon-wrapper {
  transform: rotate(45deg);
  background-color: var(--corp-btn-primary);
  border: 1px solid var(--corp-border);
  color: white;
  box-shadow: var(--corp-panel-shadow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 0 28px;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Final CTA Panel */
.final-cta-panel {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 48px;
  border-radius: 36px;
  background: #1f222d;
  border: 1px solid var(--corp-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--corp-panel-shadow);
  z-index: 2;
}

.final-cta-panel .cta-row {
  justify-content: center;
}

/* Soft ambient blue glow behind the panel */
.final-cta-panel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(1, 112, 245, 0.15) 0%, transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* Low opacity pattern inside final cta panel */
.cta-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.8;
  z-index: -1;
}

.cta-h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 640px;
  margin: 18px auto 32px auto;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg-3);
  padding: 72px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-column-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-link-item a,
.footer-link-item button {
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
  font-family: inherit;
}

.footer-link-item a:hover,
.footer-link-item button:hover {
  color: var(--accent-2);
}

.footer-bottom {
  margin: 56px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--text-soft);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1280px) {
  .hero-right {
    transform: scale(0.86);
  }
  .hero-section {
    gap: 48px;
  }
  .qr-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .header-inner {
    gap: 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-item {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    gap: 56px;
  }
  .hero-left {
    align-items: center;
  }
  .hero-p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .mini-benefits {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-right {
    transform: scale(0.8);
    height: 600px;
    max-width: 600px;
  }
  .header-container {
    padding: 22px 0;
  }
  .section-wrapper {
    padding: 110px 32px;
  }
  .why-section-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dashboard-mockup-wrapper {
    max-width: 720px;
    margin: 0 auto;
  }
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-h1 {
    font-size: clamp(36px, 6vw, 48px);
  }
  .hero-p {
    font-size: 16px;
  }
  .hero-right {
    transform: scale(0.68);
    height: 500px;
    max-width: 500px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-it-works-line {
    display: none;
  }
  .step-card {
    position: relative;
  }
  .step-card-corp::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0.7;
  }
  .step-card-corp:last-child::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .mini-benefits {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .qr-types-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .cta-row .btn-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: clamp(30px, 8vw, 38px);
  }
  .hero-right {
    transform: scale(0.5);
    height: 400px;
    max-width: 400px;
  }
  .center-qr-card {
    width: 260px;
    min-height: 340px;
    padding: 16px;
  }
  .qr-matrix-svg {
    width: 140px;
    height: 140px;
  }
  /* Hide outermost orbit chips so they don't overflow on small screens */
  .floating-chip.outer-chip {
    display: none;
  }
  .section-wrapper {
    padding: 72px 24px;
  }
  .final-cta-panel {
    padding: 48px 24px;
  }
}

/* Responsive grid stacking for dashboard mockup to prevent twisting/clumping */
@media (max-width: 640px) {
  .mock-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .mock-sidebar {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
    /* hide scrollbar but keep functionality */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .mock-sidebar::-webkit-scrollbar {
    display: none;
  }
  .mock-nav-item {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    padding: 8px 12px !important;
  }
}


/* Static port additions: utility replacements and vanilla JS states */
button, input, textarea { font-family: inherit; }
button:disabled { opacity: .5; cursor: not-allowed; }
body.modal-open { overflow: hidden; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.icon { display:inline-block; flex-shrink:0; stroke: currentColor; vertical-align: middle; }
.mobile-menu-actions { display:flex; flex-direction:column; gap:16px; margin-top:24px; width:100%; align-items:center; }
.mobile-menu-actions .login-link { font-size:18px; }
.mobile-menu-actions .btn-pill { width:100%; max-width:320px; justify-content:center; }
.lang-icon { color: var(--text-muted); }
.lang-icon-cyan { color: var(--accent-2); }
.font-urbanist { font-family:'Urbanist', sans-serif; }
.truncate { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hidden { display:none!important; }
.cursor-pointer { cursor:pointer; }
.text-left { text-align:left; }
.justify-center { justify-content:center!important; }
.items-center { align-items:center!important; }
.items-start { align-items:flex-start!important; }
.flex { display:flex!important; }
.flex-col { flex-direction:column!important; }
.flex-1 { flex:1 1 0%; }
.flex-shrink-0 { flex-shrink:0; }
.mt-auto { margin-top:auto; }
.m-0 { margin:0!important; }

.mock-stat-card {
  margin-top:auto;
  padding:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mock-stat-label { display:block; font-size:10px; color:#6b7280; text-transform:uppercase; font-weight:700; letter-spacing:.06em; }
.mock-stat-value { font-size:14px; font-weight:700; color:#fff; }
.mock-stat-value.accent { color:var(--accent-2); }
.mock-panel-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.mock-add-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--corp-btn-primary);
  border: 1px solid var(--corp-border);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--corp-panel-shadow);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.mock-add-btn:hover {
  background: var(--corp-btn-hover);
  transform: translateY(-1px);
}
.mock-qr-row.is-selected { border-color:rgba(1,112,245,.5); background:rgba(255,255,255,.05); }
.mock-chart-subheader { display:flex; justify-content:space-between; font-size:11px; margin-bottom:10px; }
.mock-chart-subheader strong { color:white; }
.mock-chart-subheader span { color:var(--accent-2); font-weight:700; }
.mock-analytics-grid { margin-top:12px; display:grid; grid-template-columns:repeat(2,1fr); gap:8px; background:rgba(255,255,255,.05); padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.05); font-size:11px; }
.mock-analytics-grid .muted { color:#9ca3af; display:block; margin-bottom:4px; }
.mock-analytics-grid .row { display:flex; justify-content:space-between; gap:8px; color:white; }
.mock-analytics-grid .row strong { font-weight:700; }
.mock-settings-stack { display:flex; flex-direction:column; gap:12px; font-size:12px; }
.mock-settings-card { background:rgba(255,255,255,.05); padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.05); display:flex; flex-direction:column; gap:8px; }
.mock-settings-row { display:flex; justify-content:space-between; align-items:center; background:rgba(255,255,255,.05); padding:10px; border-radius:12px; border:1px solid rgba(255,255,255,.05); color:white; }
.mock-settings-card input { background:rgba(0,0,0,.4); border:1px solid rgba(255,255,255,.1); color:white; padding:8px; border-radius:4px; font-size:11px; outline:none; }
.mock-dynamic-badge { font-size:10px; background:rgba(34,211,238,.2); color:var(--accent-2); padding:2px 6px; border-radius:6px; font-weight:700; }
.switch { width:32px; height:16px; border-radius:999px; padding:2px; display:flex; align-items:center; background:rgba(255,255,255,.2); cursor:pointer; }
.switch.on { background: var(--corp-btn-primary); justify-content:flex-end; border:1px solid var(--corp-border); }
.switch.off { justify-content:flex-start; }
.switch span { width:12px; height:12px; border-radius:50%; background:white; display:block; }
.heatmap-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.live-feed-pill { font-size:9px; background:rgba(239,68,68,.15); color:#f87171; border:1px solid rgba(239,68,68,.3); padding:2px 6px; border-radius:999px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; display:flex; align-items:center; gap:4px; }
.live-feed-pill span { width:6px; height:6px; border-radius:50%; background:#ef4444; animation:pulse 1.5s ease-in-out infinite; }
.heatmap-copy { font-size:11px; color:#9ca3af; margin-bottom:12px; line-height:1.5; }
.heatmap-canvas { position:relative; width:100%; aspect-ratio:16/10; background:#030712; border-radius:12px; border:1px solid rgba(255,255,255,.05); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.heatmap-canvas svg { position:absolute; inset:0; width:100%; height:100%; opacity:.4; }
.hotspot { position:absolute; cursor:pointer; }
.hotspot .ping { position:absolute; border-radius:999px; opacity:.2; animation:ping 2s cubic-bezier(0,0,.2,1) infinite; }
.hotspot .pulse { position:absolute; border-radius:999px; opacity:.35; animation:pulse 2s ease-in-out infinite; }
.hotspot .dot { position:relative; display:block; width:8px; height:8px; border-radius:999px; border:1px solid white; }
.hotspot .tooltip { position:absolute; left:50%; transform:translateX(-50%); bottom:100%; margin-bottom:8px; width:112px; background:#08111F; border:1px solid rgba(255,255,255,.12); padding:6px; border-radius:8px; font-size:9px; pointer-events:none; opacity:0; transition:opacity .2s, transform .2s; z-index:50; text-align:center; box-shadow:0 18px 40px rgba(0,0,0,.45); }
.hotspot:hover .tooltip { opacity:1; transform:translateX(-50%) translateY(-2px); }
.hotspot .tooltip p { margin:0; }
.heatmap-scan-line { position:absolute; left:0; right:0; height:1px; background:rgba(34,211,238,.4); box-shadow:0 0 6px #22D3EE; pointer-events:none; animation:scanMap 5s ease-in-out infinite; }
.heatmap-stats { margin-top:12px; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; background:rgba(255,255,255,.05); padding:8px; border-radius:12px; border:1px solid rgba(255,255,255,.05); font-size:10px; color:#d1d5db; }
.heatmap-stats div { display:flex; flex-direction:column; min-width:0; }
.heatmap-stats .label { color:#6b7280; font-weight:600; text-transform:uppercase; }
.heatmap-stats .value { color:white; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.heatmap-stats .cyan { color:var(--accent-2); }
.heatmap-stats .green { color:#34d399; }

.bulk-layout { display:grid; grid-template-columns:5fr 7fr; gap:32px; align-items:start; margin-top:32px; }
.bulk-panel, .bulk-preview { border-radius:24px; padding:24px; display:flex; flex-direction:column; gap:24px; box-shadow:0 24px 70px rgba(0,0,0,.3); }
.bulk-panel { background:#08111F; border:1px solid rgba(255,255,255,.12); }
.bulk-preview { background:#030712; border:1px solid rgba(255,255,255,.08); min-height:500px; align-self:stretch; gap:16px; }
.bulk-title-row, .bulk-field-head, .bulk-preview-head, .bulk-preview-title { display:flex; align-items:center; gap:8px; }
.bulk-field-head, .bulk-preview-head { justify-content:space-between; }
.icon-box { width:32px; height:32px; border-radius:10px; background:rgba(1,112,245,.15); display:flex; align-items:center; justify-content:center; color:#60a5fa; }
.icon-box.cyan { background:rgba(34,211,238,.1); color:#22D3EE; }
.bulk-panel h3, .bulk-preview h3 { color:white; font-size:18px; margin:0; font-weight:700; }
.bulk-field { display:flex; flex-direction:column; gap:8px; }
.bulk-field label, .builder-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#9ca3af; }
.bulk-textarea, .builder-input, .builder-textarea { width:100%; background:rgba(0,0,0,.4); border:1px solid rgba(255,255,255,.12); color:#fff; padding:12px; border-radius:12px; font-size:14px; outline:none; font-family:inherit; }
.bulk-textarea, .builder-textarea { font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace; resize:vertical; }
.bulk-textarea:focus, .builder-input:focus, .builder-textarea:focus { border-color:var(--accent); }
.link-danger { font-size:12px; font-weight:700; color:rgba(248,113,113,.8); background:transparent; border:none; cursor:pointer; display:flex; align-items:center; gap:4px; }
.link-danger:hover { color:#f87171; }
.upload-zone { border:2px dashed rgba(255,255,255,.12); border-radius:16px; padding:16px; text-align:center; cursor:pointer; transition:all .25s var(--ease-out); background:rgba(255,255,255,.02); }
.upload-zone:hover, .upload-zone.drag-active { border-color:rgba(34,211,238,.75); background:rgba(34,211,238,.06); }
.upload-zone svg { color:#9ca3af; margin-bottom:8px; }
.upload-zone p { margin:0; }
.upload-main { color:white; font-size:12px; font-weight:700; margin-bottom:4px!important; }
.upload-sub { color:#9ca3af; font-size:10px; }
.error-line { display:none; align-items:center; gap:8px; color:#f87171; background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.2); padding:10px; border-radius:12px; font-size:12px; }
.color-dots { display:flex; gap:8px; }
.color-dot { width:28px; height:28px; border-radius:999px; border:2px solid transparent; cursor:pointer; transition:.2s; }
.color-dot.is-selected { border-color:#fff; }
.progress-panel { display:none; }
.progress-panel.is-active { display:block; }
.progress-head { display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:600; margin-bottom:8px; }
.progress-head .label { color:#22D3EE; display:flex; align-items:center; gap:4px; animation:pulse 1.4s ease-in-out infinite; }
.progress-bar { width:100%; background:rgba(255,255,255,.05); height:6px; border-radius:999px; overflow:hidden; }
.progress-fill { height:100%; background:linear-gradient(90deg,#0170F5,#22D3EE); width:0%; transition:width .2s; }
.success-line { display:none; align-items:center; gap:6px; color:#34d399; font-size:12px; font-weight:700; justify-content:center; animation:bounce 1s infinite; }
.success-line.is-active { display:flex; }
.bulk-preview-head { border-bottom:1px solid rgba(255,255,255,.06); padding-bottom:16px; }
.bulk-preview-sub { display:block; font-size:10px; color:#6b7280; text-transform:uppercase; letter-spacing:.14em; font-weight:600; }
.bulk-count-pill { font-size:12px; background:rgba(1,112,245,.1); border:1px solid rgba(1,112,245,.25); color:white; padding:4px 10px; border-radius:999px; font-weight:600; }
.bulk-empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:32px; }
.empty-icon { width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; color:#6b7280; margin-bottom:12px; }
.bulk-empty h4 { color:white; font-size:14px; margin:0 0 4px; }
.bulk-empty p { color:#6b7280; font-size:12px; max-width:384px; margin:0; }
.bulk-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; overflow-y:auto; max-height:580px; padding:4px 8px 4px 4px; }
.bulk-card { background:#08111F; border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:16px; display:flex; flex-direction:column; align-items:center; gap:12px; transition:all .3s; position:relative; overflow:hidden; }
.bulk-card:hover { transform:scale(1.03); border-color:rgba(34,211,238,.35); box-shadow:0 15px 30px rgba(0,0,0,.3); }
.bulk-card-index { position:absolute; left:10px; top:10px; font-size:10px; font-weight:700; color:#6b7280; text-transform:uppercase; letter-spacing:.06em; }
.bulk-mini-frame { width:96px; height:96px; background:white; padding:8px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-top:12px; box-shadow:inset 0 2px 6px rgba(0,0,0,.12); position:relative; overflow:hidden; }
.bulk-mini-frame svg { width:100%; height:100%; }
.bulk-mini-frame .mini-scan { position:absolute; left:0; right:0; height:1.5px; background:#22D3EE; box-shadow:0 0 6px rgba(34,211,238,.7); pointer-events:none; animation:scanBeamAnimation 2.5s ease-in-out infinite; }
.bulk-url { width:100%; text-align:center; }
.bulk-url p { font-size:10px; font-weight:600; color:#9ca3af; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:0; padding:0 4px; }
.bulk-url span { color:#22D3EE; display:block; margin-top:2px; font-size:9px; font-weight:700; letter-spacing:.04em; }
.bulk-download { width:100%; margin-top:4px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02); color:white; padding:4px 8px; border-radius:8px; font-size:9px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:4px; transition:.2s; cursor:pointer; }
.bulk-download:hover { background:rgba(255,255,255,.05); }
.bulk-note { margin-top:auto; background:rgba(1,112,245,.05); border:1px solid rgba(1,112,245,.1); padding:14px; border-radius:16px; display:flex; align-items:flex-start; gap:10px; font-size:12px; color:#9ca3af; }
.bulk-note p { margin:0; font-size:10px; line-height:1.45; }
.bulk-note strong { display:block; color:white; font-size:11px; margin-bottom:2px; }

.builder-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.8); backdrop-filter:blur(14px); z-index:500; display:flex; align-items:center; justify-content:center; padding:16px; animation:fadeUp .3s var(--ease-out) both; }
.builder-dialog { width:100%; max-width:896px; background:#08111F; border:1px solid rgba(255,255,255,.12); border-radius:24px; overflow:hidden; box-shadow:0 36px 100px rgba(0,0,0,.65); display:grid; grid-template-columns:7fr 5fr; max-height:90vh; }
.builder-left { padding:32px; overflow-y:auto; }
.builder-right { background:#050B16; border-left:1px solid rgba(255,255,255,.12); padding:32px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; }
.builder-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.builder-title { display:flex; align-items:center; gap:8px; }
.builder-title h3 { font-size:20px; font-weight:700; color:white; margin:0; font-family:'Urbanist', sans-serif; }
.builder-close { background:transparent; border:none; color:#9ca3af; cursor:pointer; }
.builder-close:hover { color:white; }
.builder-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:24px; }
.builder-tab { display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); color:#9ca3af; font-weight:700; font-size:12px; cursor:pointer; transition:.2s; }
.builder-tab:hover { color:white; }
.builder-tab.is-active { background:rgba(1,112,245,.1); border-color:var(--accent); color:white; }
.builder-forms { display:flex; flex-direction:column; gap:16px; }
.builder-form { display:none; }
.builder-form.is-active { display:block; }
.builder-field-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.builder-field { display:flex; flex-direction:column; gap:6px; }
.builder-colors { display:flex; gap:12px; }
.builder-colors .color-dot { width:32px; height:32px; }
.builder-note { background:rgba(1,112,245,.05); border:1px solid rgba(1,112,245,.2); padding:14px; border-radius:12px; display:flex; align-items:flex-start; gap:10px; font-size:12px; color:#d1d5db; }
.builder-note strong { color:white; }
.builder-kicker { position:absolute; top:16px; font-size:10px; font-weight:700; letter-spacing:.16em; color:#6b7280; text-transform:uppercase; }
.builder-preview-card { width:100%; max-width:280px; background:#08111F; border:1px solid rgba(255,255,255,.12); border-radius:24px; padding:20px; box-shadow:0 18px 45px rgba(0,0,0,.35); display:flex; flex-direction:column; align-items:center; }
.builder-card-head { width:100%; display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.builder-card-label { font-size:10px; font-weight:700; color:#9ca3af; text-transform:uppercase; letter-spacing:.08em; }
.builder-qr-frame { background:white; padding:12px; border-radius:16px; position:relative; overflow:hidden; margin-bottom:16px; }
.builder-qr-frame svg { width:180px; height:180px; }
.builder-preview-text { text-align:center; width:100%; }
.builder-preview-text h4 { color:white; font-size:14px; font-weight:700; margin:0 0 2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.builder-preview-text p { color:#9ca3af; font-size:10px; margin:0; }
.builder-actions { width:100%; max-width:280px; margin-top:24px; display:flex; flex-direction:column; gap:12px; }
.builder-downloaded { display:none; align-items:center; gap:8px; color:#34d399; font-size:12px; font-weight:600; justify-content:center; animation:bounce 1s infinite; }
.builder-downloaded.is-active { display:flex; }

@keyframes ping { 75%,100%{ transform:scale(2); opacity:0; } }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.45; } }
@keyframes bounce { 0%,100%{ transform:translateY(-5%); animation-timing-function:cubic-bezier(.8,0,1,1); } 50%{ transform:none; animation-timing-function:cubic-bezier(0,0,.2,1); } }

@media (max-width:1024px) {
  .bulk-layout { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .mock-stat-card { display:none; }
  .builder-dialog { grid-template-columns:1fr; max-height:95vh; }
  .builder-left { padding:24px; max-height:50vh; }
  .builder-right { border-left:0; border-top:1px solid rgba(255,255,255,.12); padding:32px 24px 24px; }
  .builder-field-grid { grid-template-columns:1fr; }
  .bulk-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px) {
  .bulk-grid { grid-template-columns:1fr; }
  .mock-analytics-grid, .heatmap-stats { grid-template-columns:1fr; }
  .builder-tabs { grid-template-columns:repeat(2,1fr); }
}
.error-line.is-active { display:flex; }

/* ── Homepage mobile adaptivity ── */
@media (min-width: 769px) {
  .hero-cta-mobile,
  .hero-demo-mobile,
  .cta-learn-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .home-section-desktop-only,
  .nav-item-desktop-only,
  .footer-link-desktop-only {
    display: none !important;
  }

  .hero-cta-desktop,
  .hero-demo-desktop,
  .cta-learn-desktop {
    display: none !important;
  }

  body.home-v2-page {
    --home-header-offset: 72px;
  }

  body.home-v2-page .header-container {
    padding: 16px 0;
  }

  body.home-v2-page .header-inner {
    gap: 16px;
  }

  body.home-v2-page .logo-img {
    height: 32px;
    max-width: min(180px, 56vw);
  }

  body.home-v2-page .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
    overflow: visible;
  }

  body.home-v2-page #hero.section {
    overflow: visible;
  }

  body.home-v2-page .hero-grid {
    gap: 24px;
  }

  body.home-v2-page .hero-copy {
    gap: 20px;
  }

  body.home-v2-page .hero-copy h1 {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.08;
  }

  body.home-v2-page .hero-copy .lead {
    font-size: 15px;
    line-height: 1.65;
    max-width: none;
  }

  body.home-v2-page .hero-copy .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  body.home-v2-page .hero-copy .cta-row .btn-pill {
    width: 100%;
    justify-content: center;
  }

  body.home-v2-page .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
    width: 100%;
  }

  body.home-v2-page .hero-orbit {
    width: 100%;
    max-width: none;
    height: min(136vw, 540px);
    margin-inline: auto;
    overflow: visible;
  }

  body.home-v2-page .central-qr-card {
    width: min(78vw, 280px);
    height: 340px;
    min-height: 340px;
    padding: 20px;
    transform: none;
    border-radius: 24px;
    z-index: 3;
  }

  body.home-v2-page .hero-qr-core {
    width: min(50vw, 190px);
    height: min(50vw, 190px);
  }

  body.home-v2-page .ring-one {
    width: min(90vw, 420px);
    height: min(90vw, 420px);
  }

  body.home-v2-page .ring-two {
    width: min(108vw, 540px);
    height: min(108vw, 540px);
  }

  body.home-v2-page .ring-three {
    width: min(70vw, 280px);
    height: min(70vw, 280px);
  }

  body.home-v2-page .floating-chip {
    display: flex;
    font-size: 11px;
    padding: 8px 12px;
    z-index: 2;
    animation: none;
  }

  body.home-v2-page .chip-mobile {
    display: none;
  }

  body.home-v2-page .chip-wifi {
    left: 0;
    top: 4%;
    right: auto;
    bottom: auto;
  }

  body.home-v2-page .chip-link {
    right: 0;
    top: 4%;
    left: auto;
    bottom: auto;
  }

  body.home-v2-page .chip-menu {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
  }

  body.home-v2-page .chip-event {
    right: 0;
    left: auto;
    top: auto;
    bottom: 0;
  }

  body.home-v2-page .hud-card {
    display: flex;
    transform: scale(0.86);
  }

  body.home-v2-page .hud-total {
    right: 0;
    top: 16%;
  }

  body.home-v2-page .hud-scan {
    top: auto;
    bottom: 2%;
    right: 0;
    transform: scale(0.86);
    transform-origin: bottom right;
  }

  body.home-v2-page .section-wrapper {
    padding: 40px 0;
    width: min(100% - 32px, var(--container, 1280px));
    margin-inline: auto;
  }

  body.home-v2-page #blog.section-wrapper {
    padding-bottom: 16px;
  }

  body.home-v2-page #cta.section-wrapper {
    padding-top: 0;
    padding-bottom: 48px;
  }

  body.home-v2-page .section-header {
    margin-bottom: 36px;
  }

  body.home-v2-page .section-h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  body.home-v2-page .section-p {
    font-size: 15px;
  }

  body.home-v2-page .home-t-section {
    padding: 40px 0;
  }

  body.home-v2-page .home-t-section .container {
    width: min(100% - 32px, var(--container, 1280px));
  }

  body.home-v2-page .section-heading {
    margin-bottom: 36px;
  }

  body.home-v2-page .section-heading h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  body.home-v2-page .section-heading p {
    font-size: 15px;
  }

  body.home-v2-page .feature-ticker-container {
    padding: 14px 0;
  }

  body.home-v2-page .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.home-v2-page .why-section-split {
    gap: 24px;
  }

  body.home-v2-page .dashboard-mockup-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  body.home-v2-page .final-cta-panel {
    padding: 40px 20px;
  }

  body.home-v2-page .final-cta-panel .cta-h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  body.home-v2-page .footer {
    padding: 48px 0 24px;
  }

  body.home-v2-page .footer .footer-content,
  body.home-v2-page .footer .footer-bottom {
    width: min(100% - 32px, var(--container, 1280px));
  }

  body.home-v2-page .mobile-menu-panel .nav-item-desktop-only {
    display: none !important;
  }

  body.home-v2-page .mobile-menu-panel {
    padding-top: calc(var(--home-header-offset) + env(safe-area-inset-top, 0px));
    gap: 20px;
  }

  body.home-v2-page .mobile-menu-panel .nav-item {
    font-size: 22px;
  }

  body.home-v2-page .mobile-menu-actions {
    margin-top: 8px;
  }

  body.home-v2-page #cta .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  body.home-v2-page #cta .cta-row .btn-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body.home-v2-page .hero-orbit {
    height: min(128vw, 500px);
  }

  body.home-v2-page .central-qr-card {
    width: min(86vw, 280px);
    height: 320px;
    min-height: 320px;
    padding: 18px;
    transform: none;
    z-index: 3;
  }

  body.home-v2-page .floating-chip {
    font-size: 10px;
    padding: 7px 10px;
    z-index: 2;
  }

  body.home-v2-page .chip-wifi {
    top: 2%;
  }

  body.home-v2-page .chip-link {
    top: 2%;
  }

  body.home-v2-page .chip-menu,
  body.home-v2-page .chip-event {
    bottom: 0;
  }

  body.home-v2-page .hud-card {
    display: none;
  }

  body.home-v2-page .language-switcher-capsule {
    padding: 5px 10px;
    gap: 6px;
  }

  body.home-v2-page .lang-switch-btn {
    font-size: 11px;
  }
}

/* Hero orbit — keep HUD cards outside the central QR card */
body.home-v2-page .hero-orbit {
  overflow: visible;
}

body.home-v2-page .hero-orbit .hud-card {
  z-index: 5;
}

body.home-v2-page .hero-orbit .hud-total {
  top: 12%;
  right: -4%;
}

body.home-v2-page .hero-orbit .hud-scan {
  top: auto;
  bottom: 0;
  right: -6%;
  max-width: 200px;
}

@media (max-width: 1100px) {
  body.home-v2-page .hero-orbit .hud-total {
    right: 0;
    top: 14%;
  }

  body.home-v2-page .hero-orbit .hud-scan {
    right: 0;
    bottom: 2%;
  }
}

/* Phone scan simulation — real preview styling */
body.home-v2-page .scan-phone-overlay {
  z-index: 120;
}

body.home-v2-page .scan-phone-overlay .scan-phone-modal {
  width: min(100%, 360px);
  padding: 14px;
  overflow: visible;
}

body.home-v2-page .scan-phone-overlay .scan-phone-modal .modal-close {
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(11, 16, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

body.home-v2-page .scan-phone-overlay .scan-phone-modal .modal-close:hover {
  color: #fff;
  background: rgba(20, 28, 44, 0.98);
}

body.home-v2-page .scan-phone-screen {
  position: relative;
}

body.home-v2-page .scan-phone-screen::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 18px;
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
}

body.home-v2-page .phone-status {
  min-height: 52px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

body.home-v2-page .phone-status > span:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

body.home-v2-page .phone-status > span:last-child {
  min-width: 0;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
}

body.home-v2-page .phone-status > span:last-child > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-v2-page .scan-notice-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

body.home-v2-page .scan-notice-icon .icon {
  width: 18px;
  height: 18px;
}

body.home-v2-page .phone-notice strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft, #a0a8b8);
}

body.home-v2-page .scan-body-center .icon-box,
body.home-v2-page .scan-site-badge {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.home-v2-page .scan-body-center .icon-box .icon {
  width: 30px;
  height: 30px;
}

body.home-v2-page .scan-site-badge img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

body.home-v2-page .scan-body-link h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.home-v2-page .scan-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
}

body.home-v2-page .scan-progress span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--scan-accent, #0170F5), #22D3EE);
  animation: scanProgress 1.4s ease-in-out infinite;
}

@keyframes scanProgress {
  0% { transform: translateX(-120%); width: 28%; }
  50% { width: 52%; }
  100% { transform: translateX(320%); width: 28%; }
}

body.home-v2-page .scan-mobile-hero {
  height: 112px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}

body.home-v2-page .scan-mobile-hero h4 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

body.home-v2-page .scan-mobile-hero p {
  margin: 4px 0 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.82);
}

/* Real QR preview pages inside phone emulator */
body.home-v2-page .scan-screen-body.has-real-preview {
  display: block;
  padding: 0;
  overflow-y: auto;
  background: #1b1d26;
  align-content: stretch;
}

body.home-v2-page .scan-real-preview {
  padding: 12px 14px 20px;
  color: #e8eaef;
  font-size: 13px;
}

/* vCard */
body.home-v2-page .srv-hero {
  text-align: center;
  padding: 8px 0 14px;
  position: relative;
}

body.home-v2-page .srv-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(1, 112, 245, 0.18), transparent 70%);
  pointer-events: none;
}

body.home-v2-page .srv-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(1, 112, 245, 0.55), rgba(34, 211, 238, 0.35));
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

body.home-v2-page .srv-avatar .icon {
  width: 28px;
  height: 28px;
}

body.home-v2-page .srv-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

body.home-v2-page .srv-role {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: #22d3ee;
}

body.home-v2-page .srv-company {
  margin: 0;
  font-size: 12px;
  color: rgba(248, 250, 252, 0.72);
}

body.home-v2-page .srv-section-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}

body.home-v2-page .srv-contacts {
  display: grid;
  gap: 8px;
}

body.home-v2-page .srv-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-v2-page .srv-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(1, 112, 245, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  flex-shrink: 0;
}

body.home-v2-page .srv-contact-icon .icon {
  width: 16px;
  height: 16px;
}

body.home-v2-page .srv-contact-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  margin-bottom: 2px;
}

body.home-v2-page .srv-contact-value {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #f8fafc;
  word-break: break-word;
}

/* Wi-Fi */
body.home-v2-page .scan-real-wifi .srv-wifi-card {
  text-align: center;
  padding: 14px 12px;
  border-radius: 14px;
  background: #1f222d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

body.home-v2-page .srv-wifi-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #0170f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

body.home-v2-page .srv-wifi-icon .icon {
  width: 22px;
  height: 22px;
}

body.home-v2-page .srv-wifi-card h3 {
  margin: 0 0 2px;
  font-size: 16px;
  color: #fff;
}

body.home-v2-page .srv-wifi-card p {
  margin: 0;
  font-size: 11px;
  color: #a0a8b8;
}

body.home-v2-page .srv-wifi-rows {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

body.home-v2-page .srv-wifi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

body.home-v2-page .srv-wifi-row span {
  color: #a0a8b8;
}

body.home-v2-page .srv-wifi-row strong,
body.home-v2-page .srv-wifi-row code {
  color: #f8fafc;
  font-size: 11px;
}

body.home-v2-page .srv-wifi-row code {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 6px;
  border-radius: 6px;
  color: #6ee7b7;
}

body.home-v2-page .srv-wifi-hint {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: #a0a8b8;
}

/* Menu */
body.home-v2-page .srv-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

body.home-v2-page .srv-menu-head h3 {
  margin: 0 0 2px;
  font-size: 16px;
  color: #fff;
}

body.home-v2-page .srv-menu-head p {
  margin: 0;
  font-size: 11px;
  color: #a0a8b8;
}

body.home-v2-page .srv-pill {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}

body.home-v2-page .srv-menu-section {
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #e8eaef;
}

body.home-v2-page .srv-menu-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-v2-page .srv-menu-item strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

body.home-v2-page .srv-menu-item small {
  display: block;
  font-size: 10px;
  color: #a0a8b8;
  margin-top: 2px;
}

body.home-v2-page .srv-menu-item b {
  font-size: 12px;
  color: #22d3ee;
  white-space: nowrap;
}

/* Link */
body.home-v2-page .srv-link-card {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: #1f222d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

body.home-v2-page .srv-link-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(1, 112, 245, 0.15);
  border: 1px solid rgba(1, 112, 245, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.home-v2-page .srv-link-icon .icon {
  width: 24px;
  height: 24px;
  color: #60a5fa;
}

body.home-v2-page .srv-link-icon img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

body.home-v2-page .srv-link-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}

body.home-v2-page .srv-link-card p {
  margin: 0;
  font-size: 11px;
  color: #a0a8b8;
}

body.home-v2-page .srv-link-url {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(1, 112, 245, 0.08);
  border: 1px solid rgba(1, 112, 245, 0.15);
  margin-bottom: 8px;
}

body.home-v2-page .srv-link-url span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a0a8b8;
  margin-bottom: 4px;
}

body.home-v2-page .srv-link-url strong {
  font-size: 11px;
  color: #93c5fd;
  word-break: break-all;
}

body.home-v2-page .srv-link-domain {
  text-align: center;
  font-size: 11px;
  color: #34d399;
  margin-bottom: 12px;
}

body.home-v2-page .srv-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  background: #0170f5;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.home-v2-page .srv-btn-secondary {
  background: #1f222d;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.home-v2-page .srv-btn .icon {
  width: 14px;
  height: 14px;
}

/* Event */
body.home-v2-page .srv-event-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #22d3ee;
  margin-bottom: 8px;
}

body.home-v2-page .scan-real-event h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: #fff;
}

body.home-v2-page .srv-event-venue {
  margin: 0 0 12px;
  font-size: 11px;
  color: #a0a8b8;
}

body.home-v2-page .srv-event-meta {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
  font-size: 11px;
}

body.home-v2-page .srv-event-meta span {
  display: block;
  color: #a0a8b8;
  margin-bottom: 2px;
}

body.home-v2-page .srv-event-meta strong {
  color: #fff;
}

/* Mobile page */
body.home-v2-page .srv-mobile-hero {
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 12px;
}

body.home-v2-page .srv-mobile-hero h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}

body.home-v2-page .srv-mobile-hero p {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
}

body.home-v2-page .srv-mobile-blocks {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

body.home-v2-page .srv-mobile-block {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-v2-page .srv-mobile-block strong {
  display: block;
  font-size: 12px;
  color: #fff;
  margin-bottom: 2px;
}

body.home-v2-page .srv-mobile-block span {
  font-size: 10px;
  color: #a0a8b8;
}

body.home-v2-page .srv-mobile-block.muted span {
  word-break: break-all;
}

/* Sandbox: real preview iframe in phone emulator */
body.home-v2-page .scan-real-iframe-wrap {
  padding: 0;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

body.home-v2-page .scan-real-iframe {
  flex: 1;
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
}

/* Sandbox: scrollable type grid for all QR types */
body.home-v2-page #qr-builder .type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

body.home-v2-page #qr-builder .type-grid .type-button {
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  text-align: left;
  padding: 12px;
}

body.home-v2-page #qr-builder .type-grid .type-button .icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  flex-shrink: 0;
}

body.home-v2-page #qr-builder .type-grid .type-button strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-width: 0;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.home-v2-page #qr-builder .type-grid .type-button span:last-child {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Sandbox: long preview / payload text must not stretch the workstation layout */
body.home-v2-page #qr-builder .workstation-grid {
  min-width: 0;
}

body.home-v2-page #qr-builder .builder-controls,
body.home-v2-page #qr-builder .builder-preview {
  min-width: 0;
}

body.home-v2-page #qr-builder .step-panel {
  min-width: 0;
  overflow: hidden;
}

body.home-v2-page #qr-builder .qr-preview-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-items: stretch;
  box-sizing: border-box;
}

body.home-v2-page #qr-builder .preview-destination {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: stretch;
}

body.home-v2-page #qr-builder .preview-destination strong {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

body.home-v2-page #qr-builder .destination-value,
body.home-v2-page #qr-builder [data-current-destination] {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
