:root {
  --bg: #f6f8fb;
  --bg-deep: #05070c;
  --ink: #10141c;
  --muted: #5b6575;
  --line: rgba(16, 20, 28, 0.1);
  --blue: #00c2ff;
  --blue-deep: #0095d9;
  --gold: #fdb913;
  --gold-bright: #ffd700;
  --surface: #ffffff;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(0, 194, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(253, 185, 19, 0.1), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, var(--bg) 28%, #eef2f7 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(5, 7, 12, 0.35);
  color: #eef6ff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(246, 248, 251, 0.88);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 20, 28, 0.04);
}

.site-header .nav {
  color: rgba(232, 247, 255, 0.72);
}

.site-header.is-scrolled .nav {
  color: var(--muted);
}

.brand,
.footer-brand,
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img,
.brand-mark img {
  border-radius: 10px;
}

.nav {
  display: none;
  gap: 1.5rem;
  color: var(--muted);
  font-weight: 500;
}

.nav a {
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--ink);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #041018;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    filter 160ms ease,
    background 160ms ease;
}

.btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    filter: brightness(1.05);
  }
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: #e8f7ff;
  border: 1px solid rgba(232, 247, 255, 0.28);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 7vw, 5rem);
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 194, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(253, 185, 19, 0.14), transparent 50%),
    linear-gradient(165deg, #05070c 0%, #0a1220 48%, #081018 100%);
  color: #eef6ff;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .phone {
    width: min(100%, 260px);
  }

  .phone-screen {
    min-height: 380px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-glow-blue {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  top: -8%;
  right: 8%;
  background: #00c2ff;
}

.hero-glow-gold {
  width: 28vw;
  height: 28vw;
  max-width: 340px;
  max-height: 340px;
  bottom: 5%;
  left: 5%;
  background: #fdb913;
  opacity: 0.35;
}

.ornament {
  position: absolute;
  width: min(70vw, 720px);
  right: -8%;
  top: 10%;
  opacity: 0.7;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.brand-mark {
  margin: 0 0 1.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #fff;
}

.brand-mark span {
  background: linear-gradient(90deg, #fff 0%, #b8ecff 55%, #ffe28a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 36ch;
  color: rgba(232, 247, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.phone-shot {
  position: relative;
  z-index: 2;
  width: min(100%, 300px);
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a2333, #0b1018);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 5.5s var(--ease-in-out) infinite;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.phone-shot-back {
  position: absolute;
  z-index: 1;
  width: min(78%, 240px);
  right: 4%;
  top: 8%;
  opacity: 0.72;
  transform: rotate(8deg) translateY(18px);
  animation: none;
  filter: saturate(1.05);
}

@media (max-width: 767px) {
  .phone-shot-back {
    display: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .phone-shot {
    width: min(100%, 260px);
  }
}

.feature-shot {
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2333, #0b1018);
  box-shadow: 0 16px 40px rgba(16, 20, 28, 0.12);
}

.feature-shot img {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 18px;
}

.device-shot {
  display: block;
  width: 100%;
  border-radius: 20px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top;
  background: #0b1018;
}

.phone {
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a2333, #0b1018);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(0, 194, 255, 0.15);
  animation: float 5.5s var(--ease-in-out) infinite;
}

.phone-notch {
  width: 92px;
  height: 10px;
  margin: 6px auto 12px;
  border-radius: 999px;
  background: #05070c;
}

.phone-screen {
  border-radius: 26px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(0, 194, 255, 0.12), transparent 30%),
    #0d1522;
  min-height: 460px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.8);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.app-tile {
  padding: 0.9rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-tile span {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.app-tile small {
  color: rgba(232, 247, 255, 0.55);
  font-size: 0.75rem;
}

.app-tile-cam {
  background: linear-gradient(160deg, rgba(0, 194, 255, 0.22), rgba(0, 194, 255, 0.05));
}

.app-tile-pay {
  background: linear-gradient(160deg, rgba(253, 185, 19, 0.2), rgba(253, 185, 19, 0.05));
}

.app-news {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-news strong {
  display: block;
  margin-bottom: 0.25rem;
}

.app-news p {
  margin: 0;
  color: rgba(232, 247, 255, 0.62);
  font-size: 0.85rem;
}

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

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.section h2,
.feature-copy h3,
.crm-item h3,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.section h2,
.contact-copy h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.45rem);
  max-width: 18ch;
}

.section-intro p,
.feature-copy p,
.crm-item p,
.contact-copy > p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.value-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.value-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  padding-top: 0.2rem;
}

.value-list h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.value-list p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.features {
  background:
    linear-gradient(180deg, transparent, rgba(0, 149, 217, 0.04) 20%, rgba(253, 185, 19, 0.05) 70%, transparent),
    transparent;
}

.feature-stage {
  display: grid;
  gap: 1.5rem;
}

.feature-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.feature-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 160ms var(--ease-out);
}

.feature-tab:active {
  transform: scale(0.97);
}

.feature-tab.is-active {
  color: #041018;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.feature-panels {
  position: relative;
  min-height: 320px;
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(120deg, rgba(0, 194, 255, 0.08), rgba(253, 185, 19, 0.08));
  border: 1px solid rgba(16, 20, 28, 0.06);
  box-shadow: 0 20px 60px rgba(16, 20, 28, 0.05);
}

.feature-panel.is-active {
  display: grid;
  animation: panel-in 420ms var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 16ch;
}

.feature-mock {
  min-height: 220px;
  border-radius: 22px;
  padding: 1.25rem;
  background: #0b121d;
  color: #e8f7ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-cam-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dffb2;
}

.mock-cam-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb2;
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.mock-cam-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  height: 140px;
}

.mock-cam-grid div {
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(0, 194, 255, 0.25), rgba(0, 0, 0, 0.2)),
    #152033;
}

.mock-cam-grid div:first-child {
  grid-row: span 2;
}

.mock-cam-timeline {
  margin-top: 0.85rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.mock-cam-timeline::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.mock-pay-row,
.mock-pay-total {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-pay-total {
  border: 0;
  margin-top: 0.5rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.2), rgba(0, 194, 255, 0.15));
  font-weight: 700;
}

.mock-door-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #041018;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-mock-door ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: rgba(232, 247, 255, 0.7);
  font-size: 0.9rem;
}

.mock-pass-card {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 180px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 194, 255, 0.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(253, 185, 19, 0.2), transparent 40%),
    #121a28;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-pass-card span {
  color: rgba(232, 247, 255, 0.65);
  font-size: 0.85rem;
}

.mock-pass-card strong {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.35rem 0;
  letter-spacing: 0.08em;
}

.mock-ticket {
  display: grid;
  gap: 0.75rem;
}

.mock-ticket .status {
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 194, 255, 0.18);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-steps {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.mock-steps i {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-steps i.done {
  background: var(--blue);
}

.mock-steps i.now {
  background: var(--gold);
}

.mock-news-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-news-item:last-child {
  border: 0;
}

.mock-news-item p {
  margin: 0.3rem 0 0;
  color: rgba(232, 247, 255, 0.6);
}

.crm {
  padding-top: 0;
}

.crm-shell {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 32px;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(0, 194, 255, 0.16), transparent 55%),
    radial-gradient(500px 280px at 0% 100%, rgba(253, 185, 19, 0.12), transparent 50%),
    linear-gradient(160deg, #071018, #0d1724 55%, #0a121c);
  color: #eef6ff;
  overflow: hidden;
}

.crm .eyebrow {
  color: var(--gold);
}

.crm .section-intro p,
.crm-item p {
  color: rgba(232, 247, 255, 0.68);
}

.crm-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.crm-item {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.crm-item h3 {
  font-size: 1.1rem;
}

.crm-dashboard {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dash-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dash-bar span:first-child {
  background: #ff5f57;
}

.dash-bar span:nth-child(2) {
  background: #febc2e;
}

.dash-bar span:nth-child(3) {
  background: #28c840;
}

.dash-body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.dash-stat small {
  display: block;
  color: rgba(232, 247, 255, 0.55);
  margin-bottom: 0.25rem;
}

.dash-stat strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 110px;
  margin-top: 0.5rem;
}

.dash-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--blue), rgba(0, 194, 255, 0.15));
  transform-origin: bottom;
  transform: scaleY(0.2);
  transition: transform 700ms var(--ease-out);
}

.crm-dashboard.is-inview .dash-chart i {
  transform: scaleY(1);
}

.dash-chart i:nth-child(even) {
  background: linear-gradient(180deg, var(--gold), rgba(253, 185, 19, 0.18));
}

.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

/* Product gallery — Figma-like light app screens */
.product-gallery {
  padding-top: 0;
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.5rem 0.15rem 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.device-card {
  margin: 0;
  scroll-snap-align: start;
}

.device-card figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.92rem;
}

.device {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1c2433, #0c1118);
  box-shadow:
    0 18px 50px rgba(16, 20, 28, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  object-position: top;
  background: #0b1018;
}

.ui-screen {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f6f9;
  color: #152033;
  font-size: 0.78rem;
}

.ui-bar {
  padding: 0.85rem 0.9rem 0.7rem;
  background: #1a6dff;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

.ui-body {
  flex: 1;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.ui-body-center {
  align-content: center;
}

.ui-hello {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.ui-addr {
  margin: -0.35rem 0 0.25rem;
  color: #6b7789;
}

.ui-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.ui-services div {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.65rem 0.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.06);
  font-weight: 600;
  font-size: 0.68rem;
}

.ui-services i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8cff, #1a6dff);
}

.ui-card,
.ui-ticket {
  padding: 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.06);
}

.ui-card p,
.ui-note {
  margin: 0.3rem 0 0;
  color: #6b7789;
}

.ui-cam-main {
  position: relative;
  min-height: 140px;
  border-radius: 14px;
  display: grid;
  place-content: end start;
  padding: 0.75rem;
  color: #fff;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55)),
    linear-gradient(135deg, #2a3548, #0f1724);
  font-weight: 600;
}

.ui-live {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 70, 70, 0.9);
  font-size: 0.65rem;
}

.ui-cam-list {
  display: grid;
  gap: 0.45rem;
}

.ui-cam-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.06);
  font-weight: 600;
}

.ui-cam-list b {
  display: block;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #334155, #1e293b);
}

.ui-open {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #1a6dff;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ui-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: #6b7789;
}

.ui-ticket em {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(26, 109, 255, 0.12);
  color: #1a6dff;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
}

.ui-ticket.muted {
  opacity: 0.72;
}

.ui-steps {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.55rem;
}

.ui-steps i {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #d7deea;
}

.ui-steps i:nth-child(-n + 2),
.ui-steps i.now {
  background: #1a6dff;
}

.ui-steps i.now {
  background: var(--gold);
}

.ui-pay-row,
.ui-pay-total {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(21, 32, 51, 0.08);
  font-weight: 600;
}

.ui-pay-total {
  border: 0;
  margin-top: 0.35rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(26, 109, 255, 0.1);
  color: #1a6dff;
}

.ui-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.9rem;
  background: #fff;
  border-top: 1px solid rgba(21, 32, 51, 0.06);
}

.ui-tabbar span {
  height: 4px;
  border-radius: 999px;
  background: #d7deea;
}

.ui-tabbar span:first-child {
  background: #1a6dff;
}

@media (min-width: 900px) {
  .gallery-rail {
    grid-auto-columns: minmax(230px, 1fr);
    overflow: visible;
  }
}

.contact-details {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}

.contact-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-details a {
  background: linear-gradient(90deg, var(--blue-deep), #0678b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16, 20, 28, 0.06);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #fbfcfe;
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 149, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin: 0;
  min-height: 1.25em;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.is-ok {
  color: #0b7a45;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0.75rem 0 0;
  max-width: 36ch;
}

.footer-meta {
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 560ms var(--ease-out),
    transform 560ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 60ms);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .feature-panel.is-active {
    grid-template-columns: 1fr 1fr;
  }

  .crm-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dash-body {
    grid-template-columns: repeat(3, 1fr) 1.4fr;
    align-items: end;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-inline: clamp(2rem, 8vw, 6rem);
  }

  .phone {
    width: 320px;
  }
}

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

  .phone,
  .mock-cam-live span {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 200ms ease;
  }

  .feature-panel.is-active {
    animation: none;
  }

  .dash-chart i {
    transform: scaleY(1);
    transition: none;
  }
}
