/* Computer Vision service — Lens Grid (dark optic) */
.cv-svc-page {
  --cv-bg: #06080d;
  --cv-panel: #0d121c;
  --cv-panel-2: #121a28;
  --cv-line: rgba(163, 230, 53, 0.14);
  --cv-lime: #a3e635;
  --cv-lime-dim: rgba(163, 230, 53, 0.12);
  --cv-cyan: #22d3ee;
  --cv-cyan-dim: rgba(34, 211, 238, 0.12);
  --cv-text: #e2e8f0;
  --cv-muted: #94a3b8;
  --cv-white: #f8fafc;
  --cv-display: 'Archivo', system-ui, sans-serif;
  --cv-body: 'IBM Plex Sans', system-ui, sans-serif;

  --background-color: #06080d;
  --default-color: #e2e8f0;
  --heading-color: #f8fafc;
  --surface-color: #0d121c;
  --accent-color: #a3e635;
  --nav-color: #e2e8f0;
  --nav-hover-color: #a3e635;
  --nav-mobile-background-color: #0d121c;

  font-family: var(--cv-body);
  color: var(--cv-text);
  background:
    radial-gradient(ellipse 60% 40% at 88% 0%, rgba(163, 230, 53, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 30% at 0% 35%, rgba(34, 211, 238, 0.08), transparent 50%),
    linear-gradient(180deg, #04060a 0%, var(--cv-bg) 40%, #080c14 100%) !important;
  overflow-x: hidden;
}

.cv-svc-page h1,
.cv-svc-page h2,
.cv-svc-page h3,
.cv-svc-page h4 {
  font-family: var(--cv-display);
  color: var(--cv-white);
  letter-spacing: -0.02em;
}

.cv-svc-page .header {
  background: rgba(6, 8, 13, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--cv-line) !important;
}
.cv-svc-page .header .logo img {
  max-height: 34px;
  filter: brightness(0) invert(1);
}
.cv-svc-page .header .navmenu > ul > li > a {
  color: rgba(226, 232, 240, 0.88) !important;
}
.cv-svc-page .header .navmenu > ul > li > a.active,
.cv-svc-page .header .navmenu > ul > li > a:hover {
  color: var(--cv-lime) !important;
}
.cv-svc-page .header .btn-getstarted {
  background: linear-gradient(135deg, var(--cv-lime), #65a30d) !important;
  color: #14532d !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.cv-svc-page .header .mobile-nav-toggle { display: none !important; }
.cv-svc-page .main { padding-top: 0; }

.cv-svc-page .mobile-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(6, 8, 13, 0.96);
  border-bottom: 1px solid var(--cv-line);
  backdrop-filter: blur(12px);
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px;
}
.cv-svc-page .mobile-nav-container {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.cv-svc-page .mobile-logo img {
  max-height: 32px; width: auto;
  filter: brightness(0) invert(1);
}
.cv-svc-page .mobile-nav-actions { display: flex; align-items: center; gap: 8px; }
.cv-svc-page .mobile-nav-cta {
  background: linear-gradient(135deg, var(--cv-lime), #65a30d);
  color: #14532d !important;
  padding: 8px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-decoration: none;
}
.cv-svc-page .mobile-menu-toggle {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(163, 230, 53, 0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer;
}
.cv-svc-page .mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 10040;
  background: rgba(6, 8, 13, 0.6);
  backdrop-filter: blur(3px);
  border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}
.cv-svc-page.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.cv-svc-page .mobile-menu {
  position: fixed; top: 0; right: 0; width: min(300px, 86vw); height: 100%;
  background: var(--cv-panel); z-index: 10050;
  transform: translateX(105%); transition: transform 0.25s ease;
  padding: 1.25rem; border-left: 1px solid var(--cv-line);
}
.cv-svc-page .mobile-menu.active { transform: translateX(0); }
.cv-svc-page .mobile-menu-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem;
}
.cv-svc-page .mobile-menu-header span {
  display: block; font-family: var(--cv-display); font-weight: 700; font-size: 1.1rem; color: var(--cv-white);
}
.cv-svc-page .mobile-menu-header small { color: var(--cv-muted); }
.cv-svc-page .mobile-menu-close {
  border: 0; background: var(--cv-panel-2); color: var(--cv-text);
  width: 36px; height: 36px; border-radius: 10px;
}
.cv-svc-page .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.cv-svc-page .mobile-menu a {
  display: block; padding: 0.75rem 0; color: var(--cv-text);
  font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--cv-line);
}

@media (max-width: 1199px) {
  .cv-svc-page #header { display: none !important; }
}

.cv-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  border: 0; cursor: pointer; transition: transform 0.15s;
}
.cv-btn:hover { transform: translateY(-1px); }
.cv-btn--lime {
  background: linear-gradient(135deg, var(--cv-lime), #65a30d);
  color: #14532d;
  box-shadow: 0 10px 28px rgba(163, 230, 53, 0.25);
}
.cv-btn--cyan {
  background: linear-gradient(135deg, var(--cv-cyan), #0891b2);
  color: #083344;
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.25);
}
.cv-btn--ghost {
  background: transparent; color: var(--cv-text);
  border: 1px solid var(--cv-line);
}

.cv-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: var(--cv-lime-dim); color: var(--cv-lime);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}

.cv-section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.cv-section--panel {
  background: rgba(13, 18, 28, 0.7);
  border-block: 1px solid var(--cv-line);
}
.cv-head { margin-bottom: 1.75rem; max-width: 640px; }
.cv-head--center { text-align: center; margin-inline: auto; }
.cv-head h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin: 0.65rem 0; }
.cv-head h2 em { font-style: normal; color: var(--cv-lime); }
.cv-head p { color: var(--cv-muted); margin: 0; line-height: 1.7; }

.cv-hero {
  position: relative;
  min-height: min(90vh, 860px);
  display: flex; align-items: flex-end;
  padding: clamp(120px, 14vw, 150px) 0 3.5rem;
  overflow: hidden;
}
.cv-hero__media { position: absolute; inset: 0; }
.cv-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.38) saturate(1.05) contrast(1.05);
}
.cv-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.96) 0%, rgba(4, 6, 10, 0.72) 48%, rgba(4, 6, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(4, 6, 10, 0.95) 0%, transparent 50%);
}
.cv-hero__content { position: relative; z-index: 2; max-width: 640px; }
.cv-hero__brand {
  font-family: var(--cv-display);
  color: var(--cv-cyan);
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.cv-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.cv-hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--cv-lime), #d9f99d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cv-hero__lead {
  color: var(--cv-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 520px;
}
.cv-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.35rem; }
.cv-hero__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cv-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--cv-line);
  background: rgba(6, 8, 13, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cv-lime);
}

.cv-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cv-feature {
  background: var(--cv-panel);
  border: 1px solid var(--cv-line);
  border-radius: 18px;
  padding: 1.35rem;
  transition: transform 0.2s, border-color 0.2s;
}
.cv-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, 0.35);
}
.cv-feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cv-lime-dim);
  color: var(--cv-lime);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.cv-feature:nth-child(2) .cv-feature__icon,
.cv-feature:nth-child(5) .cv-feature__icon {
  background: var(--cv-cyan-dim); color: var(--cv-cyan);
}
.cv-feature h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  font-family: var(--cv-body);
  font-weight: 800;
}
.cv-feature p { margin: 0; color: var(--cv-muted); font-size: 0.9rem; line-height: 1.6; }

/* Vision studio */
.cv-studio {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}
.cv-hud {
  background: var(--cv-panel);
  border: 1px solid var(--cv-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}
.cv-hud__bar {
  display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  background: var(--cv-panel-2);
  border-bottom: 1px solid var(--cv-line);
}
.cv-hud__bar strong {
  font-family: var(--cv-display);
  font-size: 0.92rem;
  color: var(--cv-white);
}
.cv-hud__live {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cv-lime);
}
.cv-hud__live i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cv-lime);
  margin-right: 0.35rem;
  animation: cv-blink 1.2s ease infinite;
}
@keyframes cv-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.cv-hud__modes {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--cv-line);
}
.cv-mode {
  border: 1px solid var(--cv-line);
  background: transparent;
  color: var(--cv-muted);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.cv-mode:hover,
.cv-mode.active {
  background: var(--cv-lime-dim);
  color: var(--cv-lime);
  border-color: rgba(163, 230, 53, 0.35);
}
.cv-hud__stage {
  position: relative;
  background: #030508;
  min-height: 280px;
  flex: 1;
}
.cv-hud__stage img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  opacity: 0.85;
}
.cv-box {
  position: absolute;
  border: 2px solid var(--cv-lime);
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
  transition: all 0.35s ease;
}
.cv-box span {
  position: absolute;
  top: -1.35rem;
  left: 0;
  background: var(--cv-lime);
  color: #14532d;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}
.cv-box--cyan { border-color: var(--cv-cyan); }
.cv-box--cyan span { background: var(--cv-cyan); color: #083344; }

.cv-hud__side {
  background: var(--cv-panel);
  border: 1px solid var(--cv-line);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.cv-hud__side h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}
.cv-hud__side > p {
  color: var(--cv-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.cv-dets { list-style: none; padding: 0; margin: 0 0 1.15rem; flex: 1; }
.cv-dets li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--cv-line);
  font-size: 0.88rem;
  font-weight: 600;
}
.cv-dets li em {
  font-style: normal;
  color: var(--cv-lime);
  font-variant-numeric: tabular-nums;
}
.cv-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.cv-metric {
  background: var(--cv-panel-2);
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  padding: 0.75rem;
}
.cv-metric label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cv-muted);
  margin-bottom: 0.25rem;
}
.cv-metric strong {
  font-family: var(--cv-display);
  font-size: 1.15rem;
  color: var(--cv-white);
}

.cv-show {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}
.cv-show--rev { direction: rtl; }
.cv-show--rev > * { direction: ltr; }
.cv-show__img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cv-line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  background: #050810;
}
.cv-show__img img {
  width: 100%; display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover; object-position: center top;
}
.cv-list {
  list-style: none; padding: 0; margin: 1.15rem 0 0;
}
.cv-list li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-bottom: 0.7rem; font-weight: 600; font-size: 0.92rem;
}
.cv-list i { color: var(--cv-lime); margin-top: 0.15rem; }

.cv-use {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cv-use__card {
  background: var(--cv-panel);
  border: 1px solid var(--cv-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cv-use__card:hover {
  border-color: rgba(163, 230, 53, 0.35);
  transform: translateY(-3px);
}
.cv-use__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.cv-use__card div { padding: 1rem 1.1rem 1.2rem; }
.cv-use__card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--cv-body);
  font-weight: 800;
}
.cv-use__card p { margin: 0; color: var(--cv-muted); font-size: 0.86rem; line-height: 1.55; }

.cv-cta { padding: 3.5rem 0 4.5rem; }
.cv-cta__box {
  background:
    linear-gradient(135deg, rgba(163, 230, 53, 0.1), transparent 45%),
    linear-gradient(225deg, rgba(34, 211, 238, 0.08), transparent 40%),
    var(--cv-panel);
  border: 1px solid var(--cv-line);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}
.cv-cta__box h2 { margin: 0 0 0.65rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cv-cta__box p { color: var(--cv-muted); max-width: 540px; margin: 0 auto 1.35rem; }
.cv-cta__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }

.cv-svc-page .footer {
  background: #04060a !important;
  border-top: 1px solid var(--cv-line);
  color: var(--cv-muted) !important;
}
.cv-svc-page .footer a { color: var(--cv-lime) !important; }
.cv-svc-page .footer .sitename,
.cv-svc-page .footer h4,
.cv-svc-page .footer .copyright p { color: var(--cv-white) !important; }
.cv-svc-page .footer-newsletter { display: none; }

@media (max-width: 991px) {
  .cv-features,
  .cv-studio,
  .cv-show,
  .cv-use { grid-template-columns: 1fr; }
  .cv-features { grid-template-columns: 1fr 1fr; }
  .cv-hero { min-height: auto; }
  .cv-show--rev { direction: ltr; }
}
@media (max-width: 575px) {
  .cv-features,
  .cv-use { grid-template-columns: 1fr; }
}
