.mapphex-home {
  overflow-x: hidden;
  color: #eef7ff;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(0, 119, 255, 0.32), transparent 60%),
    radial-gradient(820px 520px at 88% 4%, rgba(91, 214, 255, 0.2), transparent 58%),
    radial-gradient(680px 420px at 52% 110%, rgba(126, 160, 210, 0.16), transparent 62%),
    linear-gradient(180deg, #020712 0%, #06101f 48%, #030812 100%);
}

.mapphex-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 214, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 214, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.mapphex-home .enterprise-livebar {
  display: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: clip;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(148, 197, 255, 0.14);
  background: rgba(3, 8, 18, 0.74);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 950;
  letter-spacing: 0.1px;
}

.site-brand .logo-img {
  width: 58px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 30px rgba(0, 119, 255, 0.16);
}

.site-links,
.site-actions,
.hero-actions,
.contact-panel,
.trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-links {
  justify-content: center;
}

.site-links a {
  padding: 10px 11px;
  border-radius: 999px;
  color: rgba(235, 245, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-links a:hover,
.site-links a:focus-visible,
.site-links a.active {
  color: #fff;
  background: rgba(91, 214, 255, 0.1);
  transform: translateY(-1px);
}

.site-links a.active {
  box-shadow: inset 0 -2px 0 rgba(91, 214, 255, 0.86), 0 12px 28px rgba(0, 119, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 197, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-nav-backdrop {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.btn.large {
  min-height: 50px;
  padding-inline: 18px;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.btn.primary {
  border-color: rgba(91, 214, 255, 0.72);
  background: #0077ff;
  box-shadow: 0 16px 42px rgba(0, 119, 255, 0.3);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #0077ff;
  box-shadow: 0 20px 50px rgba(0, 119, 255, 0.38);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(91, 214, 255, 0.72);
  background: #0077ff;
  box-shadow: 0 18px 44px rgba(0, 119, 255, 0.3);
}

.hero-actions:has(.btn:hover) .btn.primary:not(:hover),
.hero-actions:has(.btn:focus-visible) .btn.primary:not(:focus-visible),
.site-actions:has(.btn:hover) .btn.primary:not(:hover),
.site-actions:has(.btn:focus-visible) .btn.primary:not(:focus-visible),
.pricing-grid:has(.btn:hover) .btn.primary:not(:hover),
.pricing-grid:has(.btn:focus-visible) .btn.primary:not(:focus-visible) {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.site-hero,
.site-section,
.site-footer {
  width: min(1200px, calc(100% - 24px));
  margin-inline: auto;
  min-width: 0;
}

.site-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(36px, 6vw, 76px) clamp(16px, 3vw, 34px) clamp(24px, 4vw, 48px);
  border-radius: 34px;
}

.site-hero::before,
.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.site-hero::before {
  background-image: url("https://images.pexels.com/photos/7652054/pexels-photo-7652054.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-position: center;
  background-size: cover;
  animation: hero-service-gallery 18s ease-in-out infinite;
}

.site-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 18, 0.82) 0%, rgba(2, 7, 18, 0.54) 45%, rgba(2, 7, 18, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 7, 18, 0.14), rgba(2, 7, 18, 0.46));
}

.site-hero > * {
  position: relative;
  z-index: 1;
}

.hero-aura {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-aura-left {
  width: 320px;
  height: 320px;
  left: -160px;
  top: 16%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.42), transparent 68%);
  animation: float-soft 8s ease-in-out infinite;
}

.hero-aura-right {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(91, 214, 255, 0.22), transparent 70%);
  animation: float-soft 10s ease-in-out infinite reverse;
}

.eyebrow {
  color: #66dcff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-hero h1,
.site-section h2 {
  margin: 12px 0 0;
  color: #f8fbff;
  letter-spacing: 0;
}

.site-hero h1 {
  max-width: 850px;
  font-size: clamp(44px, 7.1vw, 88px);
  line-height: 0.94;
}

.site-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.site-hero p,
.site-section p,
.premium-card p,
.pricing-card p {
  color: rgba(235, 245, 255, 0.72);
  line-height: 1.75;
}

.site-hero p {
  max-width: 72ch;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
}

.hero-actions {
  margin-top: 28px;
}

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics div {
  min-height: 96px;
  padding: 15px;
  border: 1px solid rgba(130, 190, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(235, 245, 255, 0.64);
  font-size: 12px;
  font-weight: 750;
}

.hero-visual {
  perspective: 1200px;
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(133, 202, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(4, 12, 26, 0.82);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 119, 255, 0.12);
  backdrop-filter: blur(18px);
  transform: rotateX(4deg) rotateY(-7deg);
  animation: dashboard-glow 5s ease-in-out infinite;
}

.dashboard-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(91, 214, 255, 0.18), transparent);
  transform: translateX(-100%);
  animation: scan-line 5.5s ease-in-out infinite;
}

.dashboard-topbar {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(235, 245, 255, 0.64);
  font-size: 12px;
  font-weight: 850;
}

.window-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #66dcff;
  box-shadow: 0 0 18px rgba(91, 214, 255, 0.62);
}

.dashboard-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 430px;
}

.preview-sidebar {
  padding: 18px 14px;
  display: grid;
  align-content: start;
  gap: 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.preview-logo {
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0077ff, #66dcff);
  box-shadow: 0 15px 36px rgba(0, 119, 255, 0.28);
}

.preview-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.preview-line {
  width: 48px;
  height: 9px;
  border-radius: 999px;
  background: rgba(235, 245, 255, 0.18);
}

.preview-line.active {
  background: rgba(91, 214, 255, 0.72);
}

.preview-line.short {
  width: 32px;
}

.preview-main {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preview-kpis article,
.preview-activity div,
.premium-card,
.pricing-card,
.security-grid article,
.solution-strip article {
  border: 1px solid rgba(130, 190, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(2, 8, 18, 0.52);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(16px);
}

.preview-kpis article {
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
}

.preview-kpis span,
.preview-activity span,
.security-grid span,
.solution-strip span {
  color: rgba(235, 245, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.preview-kpis strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.1;
}

.preview-grid {
  display: grid;
  gap: 14px;
}

.preview-activity {
  display: grid;
  gap: 10px;
}

.preview-activity div {
  padding: 13px;
  border-radius: 16px;
}

.preview-activity strong,
.solution-strip strong {
  display: block;
  margin-bottom: 5px;
}

.site-section {
  position: relative;
  scroll-margin-top: 96px;
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
  margin-bottom: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
    rgba(2, 8, 18, 0.55);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-section.section-focus {
  border-color: rgba(91, 214, 255, 0.42);
  box-shadow: 0 30px 90px rgba(0, 119, 255, 0.18);
}

.split-section,
.multi-org-section,
.analytics-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.section-head {
  margin-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head p {
  max-width: 440px;
  margin: 0;
}

.company-ad-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 16, 31, 0.72);
}

.ad-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ad-card {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(3, 8, 18, 0.45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.ad-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  padding: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(102, 220, 255, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.94);
}

.ad-card h3 {
  margin: 20px 0 9px;
  color: #fff;
  font-size: 19px;
}

.ad-card p {
  margin: 0;
  color: rgba(235, 245, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.featured-ad {
  border-color: rgba(102, 220, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(0, 119, 255, 0.16), rgba(42, 197, 123, 0.08)),
    rgba(3, 8, 18, 0.52);
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.founder-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(2, 8, 18, 0.52);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.founder-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid rgba(91, 214, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 119, 255, 0.18);
}

.founder-card img.profile-photo {
  object-fit: cover;
  padding: 0;
  border: 0;
  background: transparent;
}

.founder-card span {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(91, 214, 255, 0.2);
  border-radius: 999px;
  color: #66dcff;
  font-size: 11px;
  font-weight: 950;
}

.founder-card h3 {
  margin: 0;
  color: #fff;
  font-size: 19px;
}

.founder-card p {
  margin: 8px 0 0;
  color: rgba(235, 245, 255, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.services-hub {
  padding-top: 24px;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-choice-grid.grouped {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  align-items: start;
}

.service-scroll-hint {
  display: none;
}

.service-choice-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 8, 18, 0.36);
}

.service-choice-group h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
}

.service-choice-grid a {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(2, 8, 18, 0.52);
  color: rgba(235, 245, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.service-choice-grid a img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 7px;
  border: 1px solid rgba(91, 214, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: rgba(235, 245, 255, 0.84);
  opacity: 1;
  transform: scale(1);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-choice-grid a span {
  min-width: 0;
  line-height: 1.25;
}

.service-choice-grid a:hover,
.service-choice-grid a:focus-visible {
  color: #fff;
  border-color: rgba(91, 214, 255, 0.58);
  background: #0077ff;
  transform: translateY(-2px);
}

.service-choice-grid a:hover img,
.service-choice-grid a:focus-visible img {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 1;
  transform: scale(1);
}

.service-detail {
  display: none;
}

.services-hub:has(.service-detail:target) .service-picker {
  display: none;
}

.services-hub.service-selected .service-picker {
  display: none;
}

.services-hub:has(.service-detail:target) .service-detail:target {
  display: block;
}

.services-hub.service-selected .service-detail.active-service {
  display: block;
  border-color: rgba(91, 214, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(91, 214, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(2, 8, 18, 0.42);
}

.service-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(130, 190, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 20, 38, 0.74);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.service-back:hover,
.service-back:focus-visible {
  border-color: rgba(91, 214, 255, 0.58);
  background: #0077ff;
}

.service-page-shell {
  padding-top: 24px;
}

.service-ad-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 136px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
  border: 1px solid rgba(130, 190, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.9) 0%, rgba(2, 8, 18, 0.68) 48%, rgba(2, 8, 18, 0.18) 100%),
    var(--service-bg, linear-gradient(135deg, #06101f, #0077ff));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.service-ad-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
}

.service-back-top {
  margin: 0 0 18px;
}

.service-ad-copy h1 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.95;
}

.service-ad-copy p {
  max-width: 680px;
  color: rgba(235, 245, 255, 0.74);
  font-size: 18px;
  line-height: 1.7;
}

.service-ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-ad-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-ad-stats article {
  min-width: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(91, 214, 255, 0.72);
  background: transparent;
}

.service-ad-stats strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.service-ad-stats span {
  display: block;
  margin-top: 5px;
  color: rgba(235, 245, 255, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.service-pricing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-pricing-summary div {
  min-width: 0;
}

.service-pricing-summary strong,
.service-pricing-summary span {
  display: block;
}

.service-pricing-summary strong {
  color: #fff;
  font-size: 13px;
}

.service-pricing-summary span {
  margin-top: 5px;
  color: rgba(235, 245, 255, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.service-pricing-summary p {
  grid-column: 1 / -1;
  max-width: none;
  margin: 2px 0 0;
  color: rgba(235, 245, 255, 0.7);
  font-size: 13px;
}

.component-total {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(91, 214, 255, 0.22);
  border-radius: 18px;
  background: rgba(0, 119, 255, 0.1);
}

.component-total span,
.selected-component-summary span {
  display: block;
  color: rgba(235, 245, 255, 0.62);
  font-size: 12px;
}

.component-total strong,
.selected-component-summary strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.component-layout {
  display: grid;
  gap: 18px;
}

.component-layout h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.component-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.component-card {
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px 8px 9px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 8, 18, 0.36);
  cursor: pointer;
  text-align: left;
}

.component-card.is-required {
  cursor: default;
  background: rgba(0, 119, 255, 0.08);
}

.component-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.component-card:has(input:checked) {
  border-color: rgba(91, 214, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(0, 119, 255, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
}

.component-card::after {
  content: "Add";
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(91, 214, 255, 0.22);
  border-radius: 999px;
  color: rgba(235, 245, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
}

.component-card:has(input:checked)::after {
  content: "Selected";
  color: #fff;
  background: #0077ff;
  border-color: #0077ff;
}

.component-card.is-required::after {
  content: "Included";
  color: #fff;
  background: rgba(91, 214, 255, 0.18);
}

/* kept for old browser fallback if :has is unsupported */
.component-card input {
  width: 18px;
  height: 18px;
  accent-color: #66dcff;
}

.component-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

.component-text,
.component-card strong,
.component-card small {
  display: block;
}

.component-card strong {
  color: #fff;
  font-size: 14px;
}

.component-card small {
  margin-top: 3px;
  color: #66dcff;
  font-size: 11px;
  font-weight: 850;
}

.component-detail-panel {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid rgba(91, 214, 255, 0.58);
  background: rgba(0, 119, 255, 0.07);
  color: rgba(235, 245, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.component-detail-panel strong,
.component-detail-panel span {
  display: block;
}

.component-detail-panel strong {
  margin-bottom: 4px;
  color: #fff;
}

.selected-component-summary {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.service-app-preview {
  overflow: hidden;
  border: 1px solid rgba(130, 190, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 119, 255, 0.05)),
    rgba(2, 8, 18, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.preview-context {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(130, 190, 255, 0.14);
}

.preview-context strong,
.preview-context span {
  display: block;
}

.preview-context strong {
  color: #fff;
  font-size: 18px;
}

.preview-context span {
  color: rgba(235, 245, 255, 0.68);
  font-size: 13px;
}

.preview-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  grid-template-rows: minmax(310px, auto) auto auto;
  gap: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(91, 214, 255, 0.1), transparent 32%),
    linear-gradient(135deg, #f7fafc 0%, #eef4f8 58%, #dfe8ef 100%);
}

.preview-main-window,
.preview-side-window,
.preview-bottom-window {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #172033;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.preview-main-window {
  grid-column: 1;
  padding: 18px;
}

.preview-side-window {
  grid-column: 2;
  padding: 18px;
}

.preview-bottom-window {
  grid-column: 1 / -1;
  padding: 18px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mock-toolbar strong {
  margin-right: auto;
  color: #0f172a;
  font-size: 17px;
}

.mock-toolbar span,
.preview-component-strip span,
.portal-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8eef5;
  color: #223047;
  font-size: 12px;
  font-weight: 850;
}

.retail-pos-grid,
.order-board,
.device-metrics,
.care-list,
.setup-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-tile,
.order-board article,
.device-metrics article,
.care-list article,
.setup-steps article {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.product-tile.is-active,
.device-metrics article:first-child,
.setup-steps article:first-child {
  background: #dff4ff;
  border-color: rgba(0, 119, 255, 0.28);
}

.product-tile strong,
.order-board strong,
.care-list strong,
.setup-steps strong,
.preview-bottom-window strong,
.mock-panel-title {
  display: block;
  color: #0f172a;
  font-size: 16px;
}

.product-tile span,
.order-board span,
.care-list span,
.setup-steps small {
  display: block;
  margin-top: 6px;
  color: #627089;
  font-size: 13px;
}

.product-tile small {
  display: block;
  margin-top: 16px;
  color: #0077ff;
  font-weight: 900;
}

.order-board p {
  margin: 12px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}

.mock-panel-title {
  margin-bottom: 16px;
}

.receipt-line,
.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 13px;
}

.receipt-line strong,
.toggle-row strong {
  color: #0f172a;
}

.preview-side-window button {
  width: 100%;
  min-height: 42px;
  margin-top: 18px;
  border: 0;
  border-radius: 10px;
  background: #0077ff;
  color: #fff;
  font-weight: 900;
}

.menu-preview-box {
  padding: 16px;
  border-radius: 12px;
  background: #d9f5f7;
}

.menu-preview-box strong,
.menu-preview-box span {
  display: block;
  color: #0f172a;
}

.menu-preview-box span {
  margin-top: 8px;
  font-weight: 900;
}

.mini-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 12px;
  background: #d8e1ea;
}

.mini-table span,
.mini-table b {
  padding: 10px 12px;
  background: #fff;
  color: #334155;
  font-size: 13px;
}

.mini-table span {
  background: #eef4f8;
  color: #64748b;
}

.device-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.device-metrics.single {
  grid-template-columns: 1fr 1fr;
}

.device-metrics span {
  color: #64748b;
  font-size: 12px;
}

.device-metrics strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 24px;
}

.portal-stack,
.preview-component-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-component-strip {
  grid-column: 1 / -1;
  align-self: start;
}

.preview-component-strip.inside {
  margin-top: 12px;
}

.allocation-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #172033;
  font-weight: 900;
}

.allocation-flow span {
  padding: 10px 12px;
  border-radius: 999px;
  background: #e8eef5;
}

.allocation-flow i {
  width: 34px;
  height: 2px;
  background: #0077ff;
}

.all-components-panel {
  margin-top: 16px;
}

.all-components-body {
  margin-top: 14px;
  padding: 14px;
  border-top: 1px solid rgba(130, 190, 255, 0.14);
}

.all-components-body h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
}

.all-components-body p {
  margin: 0 0 12px;
  color: rgba(235, 245, 255, 0.68);
  font-size: 13px;
}

.service-summary-cards {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.service-summary-cards .service-ad-stats,
.service-summary-cards .service-pricing-summary {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 20px;
  background: rgba(2, 8, 18, 0.58);
}

.service-ad-section {
  margin-top: 22px;
}

.service-page-shell .security-grid article,
.service-page-shell .solution-strip article,
.service-page-shell .related-services a {
  min-height: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 2px solid rgba(91, 214, 255, 0.55);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-page-shell .related-services a {
  min-height: 42px;
}

.related-services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phone-portal-page {
  padding-top: 24px;
}

.phone-portal-hero {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.9), rgba(2, 8, 18, 0.42)),
    url("images/services/phones-hardware.jpg");
  background-size: cover;
  background-position: center;
}

.phone-portal-hero h1 {
  max-width: 780px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
}

.phone-portal-hero p {
  max-width: 720px;
  color: rgba(235, 245, 255, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.phone-portal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.phone-portal-list {
  display: grid;
  gap: 18px;
}

.phone-portal-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(130, 190, 255, 0.14);
}

.phone-portal-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.phone-portal-list span {
  color: #66dcff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.phone-portal-list h3 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 24px;
}

.phone-portal-list p {
  max-width: 760px;
  margin: 0;
  color: rgba(235, 245, 255, 0.68);
  line-height: 1.65;
}

.phone-portal-list article > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.premium-grid {
  display: grid;
  gap: 14px;
}

.premium-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-card,
.pricing-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 22px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.premium-card::after,
.pricing-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 120px;
  background: radial-gradient(circle, rgba(91, 214, 255, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.premium-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 214, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.premium-card:hover::after,
.pricing-card:hover::after {
  opacity: 1;
}

.premium-card h3,
.pricing-card h3 {
  margin: 0;
  font-size: 18px;
}

.premium-card p,
.pricing-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.trust-row {
  margin-top: 18px;
}

.trust-row span,
.feature-list span {
  padding: 10px 12px;
  border: 1px solid rgba(91, 214, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.08);
  color: rgba(235, 245, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.solution-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.solution-strip article {
  min-height: 138px;
  padding: 17px;
  border-radius: 20px;
}

.tenant-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(91, 214, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.tenant-visual::before,
.tenant-visual::after {
  content: "";
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(91, 214, 255, 0.18);
  border-radius: 50%;
}

.tenant-visual::after {
  inset: 96px;
}

.tenant-core {
  position: absolute;
  inset: 50%;
  width: 138px;
  height: 138px;
  margin: -69px 0 0 -69px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  border: 1px solid rgba(91, 214, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.95), rgba(91, 214, 255, 0.64));
  box-shadow: 0 22px 70px rgba(0, 119, 255, 0.28);
  font-weight: 950;
}

.tenant-visual span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(235, 245, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.feature-list,
.security-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

.feature-list {
  margin-top: 20px;
  grid-template-columns: repeat(3, max-content);
  align-items: start;
}

.analytics-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-grid article {
  min-height: 132px;
  padding: 18px;
  border-radius: 20px;
}

.security-grid strong {
  display: block;
  margin-bottom: 8px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  min-height: 272px;
  display: flex;
  flex-direction: column;
}

.pricing-card > span {
  color: #66dcff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-top: 12px;
  font-size: 25px;
}

.plan-price {
  margin: 14px 0 0;
  color: #f8fbff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.1;
}

.plan-price small {
  color: rgba(235, 245, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.plan-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: rgba(235, 245, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.pricing-card .btn {
  align-self: flex-start;
  margin-top: auto;
  white-space: nowrap;
}

.pricing-card.highlight {
  border-color: rgba(130, 190, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(2, 8, 18, 0.52);
}

body[data-page="home"] .ad-card-grid,
body[data-page="home"] .premium-grid,
body[data-page="home"] .security-grid,
body[data-page="home"] .pricing-grid,
body[data-page="home"] .hero-metrics,
body[data-page="home"] .preview-kpis,
body[data-page="home"] .preview-grid,
body[data-page="home"] .solution-strip {
  gap: 22px;
}

body[data-page="home"] .ad-card,
body[data-page="home"] .premium-card,
body[data-page="home"] .pricing-card,
body[data-page="home"] .security-grid article,
body[data-page="home"] .solution-strip article,
body[data-page="home"] .hero-metrics div,
body[data-page="home"] .preview-kpis article,
body[data-page="home"] .preview-activity div {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body[data-page="home"] .ad-card:hover,
body[data-page="home"] .premium-card:hover,
body[data-page="home"] .pricing-card:hover {
  transform: none;
}

body[data-page="home"] .ad-card::after,
body[data-page="home"] .premium-card::after,
body[data-page="home"] .pricing-card::after {
  display: none;
}

body[data-page="home"] .ad-card img {
  min-height: 260px;
  border-radius: 18px;
}

body[data-page="home"] .pricing-card .btn {
  width: fit-content;
}

body[data-page="home"] .dashboard-frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .dashboard-frame::before {
  display: none;
}

body[data-page="home"] .dashboard-topbar {
  display: none;
}

body[data-page="home"] .dashboard-body {
  border: 0;
  background: transparent;
}

body[data-page="home"] .preview-grid {
  grid-template-columns: 1fr;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) .site-section {
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) :is(
  .ad-card,
  .founder-card,
  .premium-card,
  .pricing-card,
  .security-grid article,
  .solution-strip article,
  .service-choice-group,
  .service-summary-cards .service-ad-stats,
  .service-summary-cards .service-pricing-summary,
  .selected-component-summary
) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) :is(.ad-card, .founder-card, .premium-card, .pricing-card)::after {
  display: none;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) :is(.ad-card, .founder-card, .premium-card, .pricing-card):hover {
  transform: none;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) .service-choice-grid a {
  border: 0;
  border-left: 2px solid rgba(91, 214, 255, 0.42);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:where(
  body[data-page="home"],
  body[data-page="about"],
  body[data-page="contact"],
  body[data-page="features"],
  body[data-page="pricing"],
  body[data-page="security"],
  body[data-page="services"],
  body[data-page="service-detail"]
) .component-total {
  border: 0;
  border-left: 2px solid rgba(91, 214, 255, 0.58);
  border-radius: 0;
  background: transparent;
}

.contact-panel {
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.support-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  border-radius: 14px;
  text-align: right;
  color: rgba(235, 245, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.support-link:hover,
.support-link:focus-visible {
  color: #fff;
  background: #0077ff;
  transform: translateY(-2px);
}

.site-footer {
  margin-top: 14px;
  margin-bottom: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 24px;
  border: 1px solid rgba(130, 190, 255, 0.14);
  border-radius: 26px;
  background: rgba(2, 8, 18, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(235, 245, 255, 0.62);
  line-height: 1.6;
}

.footer-brand .logo-img {
  width: 50px;
  height: 38px;
}

.footer-about {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  justify-content: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(130, 190, 255, 0.14);
}

.footer-summary {
  grid-column: 1 / -1;
  order: 2;
  max-width: 900px;
  margin: 4px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(130, 190, 255, 0.14);
  text-align: center;
}

.site-footer .footer-summary p {
  max-width: none;
  margin: 4px 0 0;
  color: rgba(235, 245, 255, 0.56);
  font-size: 13px;
  line-height: 1.55;
}

.footer-social-title {
  margin: 0;
  color: rgba(235, 245, 255, 0.72);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(130, 190, 255, 0.16);
  border-radius: 50%;
  color: rgba(235, 245, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: #fff;
  border-color: rgba(91, 214, 255, 0.62);
  background: #0077ff;
  transform: translateY(-2px);
}

.footer-socials .social-icon:nth-child(1) {
  color: #1877f2;
}

.footer-socials .social-icon:nth-child(2) {
  color: #0a66c2;
}

.footer-socials .social-icon:nth-child(3) {
  color: #e4405f;
}

.footer-socials .social-icon:nth-child(4) {
  color: #ffffff;
}

.footer-socials .social-icon:nth-child(1):hover,
.footer-socials .social-icon:nth-child(1):focus-visible {
  background: #1877f2;
}

.footer-socials .social-icon:nth-child(2):hover,
.footer-socials .social-icon:nth-child(2):focus-visible {
  background: #0a66c2;
}

.footer-socials .social-icon:nth-child(3):hover,
.footer-socials .social-icon:nth-child(3):focus-visible {
  background: #e4405f;
}

.footer-socials .social-icon:nth-child(4):hover,
.footer-socials .social-icon:nth-child(4):focus-visible {
  background: #000000;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.footer-column:last-child {
  margin-left: 0;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: rgba(235, 245, 255, 0.76);
  font-size: 13px;
  line-height: 1.3;
}

.footer-column a {
  color: rgba(235, 245, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js-ready .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes dashboard-glow {
  0%,
  100% {
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4), 0 0 80px rgba(0, 119, 255, 0.12);
  }
  50% {
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4), 0 0 110px rgba(91, 214, 255, 0.2);
  }
}

@keyframes hero-service-gallery {
  0%,
  27% {
    background-image: url("https://images.pexels.com/photos/7652054/pexels-photo-7652054.jpeg?auto=compress&cs=tinysrgb&w=1600");
    transform: scale(1);
  }
  33%,
  60% {
    background-image: url("https://images.pexels.com/photos/29267517/pexels-photo-29267517.jpeg?auto=compress&cs=tinysrgb&w=1600");
    transform: scale(1.04);
  }
  66%,
  94% {
    background-image: url("https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1600");
    transform: scale(1.02);
  }
  100% {
    background-image: url("https://images.pexels.com/photos/7652054/pexels-photo-7652054.jpeg?auto=compress&cs=tinysrgb&w=1600");
    transform: scale(1);
  }
}

@keyframes scan-line {
  0%,
  44% {
    transform: translateX(-110%);
  }
  66%,
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 1100px) {
  .site-nav {
    grid-template-columns: auto 1fr;
  }

  .nav-toggle {
    display: none;
  }

  .home-drawer-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .home-drawer-nav .nav-toggle {
    display: block;
    justify-self: end;
    z-index: 82;
  }

  .home-drawer-nav .site-links,
  .home-drawer-nav .site-actions {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    width: min(340px, calc(100vw - 24px));
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 81;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + 28px));
    transition: opacity 180ms ease, transform 180ms ease;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .home-drawer-nav .site-links {
    top: 86px;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .home-drawer-nav .site-actions {
    bottom: 16px;
    display: grid;
    gap: 10px;
  }

  .home-drawer-nav.nav-open .site-links,
  .home-drawer-nav.nav-open .site-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .home-drawer-nav .home-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .home-drawer-nav.nav-open .home-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-links,
  .site-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    padding: 12px;
    border: 1px solid rgba(130, 190, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-open .site-links,
  .nav-open .site-actions {
    display: flex;
  }

  .site-links {
    align-items: stretch;
  }

  .site-hero,
  .split-section,
  .multi-org-section,
  .analytics-section,
  .contact-section,
  .service-ad-hero,
  .phone-portal-hero,
  .phone-portal-list article {
    grid-template-columns: 1fr;
  }

  .site-hero {
    min-height: auto;
  }

  .service-ad-hero {
    min-height: auto;
  }

  .dashboard-frame {
    transform: none;
  }

  .premium-grid.four,
  .ad-card-grid,
  .founder-grid,
  .service-choice-grid,
  .related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  .mapphex-home {
    background:
      radial-gradient(520px 320px at 18% -10%, rgba(0, 119, 255, 0.22), transparent 62%),
      linear-gradient(180deg, #020712 0%, #06101f 54%, #030812 100%);
  }

  .mapphex-home::before,
  .hero-aura,
  .dashboard-frame::before {
    display: none;
  }

  .site-nav {
    min-height: 66px;
    padding: 10px 12px;
    gap: 10px;
    background: rgba(3, 8, 18, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
  }

  .site-hero,
  .site-section,
  .service-ad-hero,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-hero {
    padding-top: 34px;
    gap: 22px;
  }

  .service-ad-hero {
    gap: 20px;
    padding: 38px 20px;
    border-radius: 22px;
  }

  .service-ad-copy h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .service-ad-copy p {
    font-size: 16px;
  }

  .service-ad-actions .btn {
    width: 100%;
  }

  .phone-portal-actions,
  .phone-portal-list article > div:last-child {
    justify-content: flex-start;
  }

  .phone-portal-actions .btn,
  .phone-portal-list .btn {
    width: 100%;
  }

  .site-hero h1 {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 1;
  }

  .hero-actions .btn,
  .site-actions .btn,
  .contact-panel .btn {
    width: 100%;
  }

  .hero-metrics,
  .preview-kpis,
  .preview-grid,
  .component-layout,
  .service-ad-stats,
  .service-pricing-summary,
  .service-summary-cards,
  .premium-grid.four,
  .ad-card-grid,
  .founder-grid,
  .service-choice-grid,
  .related-services,
  .security-grid,
  .pricing-grid,
  .solution-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-frame {
    border-radius: 20px;
    animation: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: none;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    padding: 12px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .preview-context,
  .mock-toolbar,
  .allocation-flow {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 12px;
  }

  .preview-main-window,
  .preview-side-window,
  .preview-bottom-window,
  .preview-component-strip {
    grid-column: 1;
  }

  .retail-pos-grid,
  .order-board,
  .device-metrics,
  .device-metrics.single,
  .care-list,
  .setup-steps {
    grid-template-columns: 1fr;
  }

  .allocation-flow i {
    width: 2px;
    height: 22px;
  }

  .tenant-visual {
    min-height: 300px;
  }

  .section-head,
  .site-footer {
    display: grid;
  }

  .contact-panel {
    justify-content: flex-start;
  }

  .support-link {
    text-align: left;
  }

  .site-links,
  .site-actions {
    width: 100%;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    backdrop-filter: none;
  }

  .site-links a,
  .site-actions .btn,
  .hero-actions .btn,
  .contact-panel .btn {
    min-height: 46px;
    touch-action: manipulation;
  }

  .site-links a {
    width: 100%;
    border-radius: 12px;
  }

  .service-picker {
    position: relative;
    max-height: calc(100dvh - 96px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
  }

  .service-scroll-hint {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 9px 12px;
    border: 1px solid rgba(91, 214, 255, 0.22);
    border-radius: 999px;
    background: rgba(2, 8, 18, 0.74);
    color: rgba(235, 245, 255, 0.82);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
  }

  .service-scroll-hint::after {
    content: "→";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #0077ff;
    color: #fff;
    font-size: 16px;
    line-height: 1;
  }

  .service-choice-grid.grouped {
    width: max-content;
    min-width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 82vw);
    grid-template-columns: none;
    align-items: start;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    outline: none;
  }

  .service-choice-grid.grouped:focus-visible {
    box-shadow: 0 0 0 3px rgba(91, 214, 255, 0.24);
  }

  .service-choice-group {
    min-width: 0;
    scroll-snap-align: start;
  }

  .site-section {
    scroll-margin-top: 78px;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
  }

  .premium-card,
  .pricing-card,
  .founder-card,
  .security-grid article,
  .solution-strip article,
  .preview-kpis article,
  .preview-activity div,
  .hero-metrics div {
    box-shadow: none;
    backdrop-filter: none;
  }

  .premium-card:hover,
  .pricing-card:hover,
  .site-links a:hover {
    transform: none;
  }
}

@media (max-width: 430px) {
  .site-brand span {
    font-size: 14px;
  }

  .site-brand .logo-img {
    width: 50px;
    height: 38px;
  }

  .site-section {
    border-radius: 22px;
    padding: 20px;
  }

  .hero-metrics div,
  .premium-card,
  .pricing-card {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
