/* ==========================================================
   ORBUS - MAIN STYLESHEET
   All non-media-query rules live here.
   Responsive / media-query rules: see responsive.css (load after this file).
========================================================== */

:root {
  /* Colors */
  --bg: #ffffff;
  --fg: #1d1d1e;
  --muted: #445163;
  --muted-2: #64748b;
  --border: #e5e7eb;
  --border-hover: #cbd5e1;
  --info-border: #dbeafe;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --brand: #042fec;
  --brand-2: #db6911;
  --primary: #082ccf;
  --primary-fg: #ffffff;
  --white: #ffffff;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --navy: #0e1627;
  --error: #b91c1c;

  /* Radius */
  --radius: 14px;
  --radius-sm: 16px;
  --radius-md: 18px;
  --radius-lg: 22px;

  /* Shadow */
  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-lg:
    0 2px 8px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.08);

  /* Motion */
  --transition-base: 0.3s ease;

  /* Layout */
  --nav-height: 68px;

  /* Type */
  --font-sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --font-display: var(--font-sans);
}

/* ==========================
   RESET & BASE
==========================*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--nav-height);
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Keep anchor-linked sections from hiding behind the fixed navbar */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

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

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

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================
   LAYOUT
==========================*/
.container {
  max-width: 1440px;
  margin: auto;
  padding: 0 40px;
}

.section {
  padding: 5rem 0;
}

.surface {
  background: var(--surface);
}

.rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

/* ==========================
   TYPOGRAPHY
==========================*/
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.eyebrow.brand {
  color: var(--brand);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 640px;
}

.max-w-2xl {
  max-width: 42rem;
}

/* ==========================
   BUTTONS
==========================*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--dark-2);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  border-color: var(--border);
  color: var(--fg);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--fg);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--info-border);
  border-color: var(--brand);
}

.btn-link {
  background: transparent;
  color: var(--brand);
  padding: 0.5rem 0.25rem;
  min-height: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:hover {
  color: var(--brand-2);
  transform: none;
  box-shadow: none;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ==========================
   NAVBAR
==========================*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.35s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}

.navbar.scrolled {
  border-color: black;
  box-shadow: var(--shadow-sm);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}

.brand-name {
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 150px;
  height: 55px;
  object-fit: contain;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.navbar.scrolled .brand-logo {
  opacity: 1;
  filter: saturate(0.9);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d7e1ee;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: #4fc3f7;
  border-radius: 2px;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.25s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav-mobile:not([hidden]) {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a.btn {
  border-bottom: none;
  margin-top: 0.75rem;
}

/* ==========================
   HERO
==========================*/
.hero {
  position: relative;
  min-height: 92vh;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg,
      rgba(5, 5, 5, 0.984) 0%,
      rgba(49, 50, 52, 0.693) 45%,
      rgba(9, 9, 9, 0.986) 100%);
}

.hero-inner {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  width: fit-content;
  animation: fadeUp 0.8s 0.05s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badges span {
  padding: 8px 14px;
  background: #eef5ff;
  border: 1px solid var(--info-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2652cc;
}

/* Hero Stats (shared) */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.3s ease;
}

.hero-stats span {
  font-size: 0.85rem;
  margin-top: 6px;
  transition: color 0.3s ease;
}

/* Homepage (dark hero) */
.hero-stats-light strong {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-stats-light span {
  color: rgba(255, 255, 255, 0.82);
}

/* Product pages (light hero) */
.hero-stats-dark strong {
  color: #0b1329;
}

.hero-stats-dark span {
  color: #2657ab;
}

.hero .display {
  animation: fadeUp 0.9s 0.15s both;
  max-width: 60rem;
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  animation: fadeUp 0.9s 0.25s both;
  max-width: 44rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
  animation: fadeUp 0.9s 0.35s both;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  animation: bounce 1.8s infinite;
}

/* Hero - decorative media (blobs + floating card) */
.hero-media,
.ai-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before,
.ai-media::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -14%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--brand) 14%, transparent),
      transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.hero-media::after,
.ai-media::after {
  content: "";
  position: absolute;
  bottom: -14%;
  left: -12%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--brand-2) 12%, transparent),
      transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.product-hero-img,
.ai-dashboard {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 230px;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.floating-card .floating-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.floating-card strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3;
}

.floating-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.hero-media .floating-card {
  left: -1.5rem;
  bottom: -1.5rem;
}

.ai-media .floating-card {
  right: -1.5rem;
  top: -1.5rem;
}

/* Hero - product carousel */
.hero-inner.hero-split {
  display: flex;
  flex-direction: column;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero-carousel-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: translateX(-48px);
}

/* Intro slide only ever shows on mobile (JS also hides it on desktop) */
.hero-slide-intro {
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 0;
}

.hero-product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-product-img {
  max-width: 500px;
  margin-inline: auto;
  width: 100%;
  height: fit-content;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-product-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0 0.25rem;
  overflow: hidden;
}

.hero-product-body h3 {
  margin: 0.6rem 0 0.5rem;
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-product-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-product-body .link-arrow {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.2s,
    width 0.2s;
}

.hero-carousel-dots button.active {
  background: #fff;
  width: 22px;
}

/* ==========================
   SECTION HEAD
==========================*/
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  flex-direction: column;
}

.link-arrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================
   PRODUCT CARDS
==========================*/
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  min-height: 100%;
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pcard-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.pcard-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.chip {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: #eff6ff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

.pcard h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.15rem;
}

.pcard .link-arrow {
  display: inline-block;
  margin-top: 0.9rem;
}

/* ==========================
   PRODUCT CAROUSEL
==========================*/
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .pcard {
  flex: 0 0 clamp(320px, 32vw, 380px);
  scroll-snap-align: start;
}

.carousel-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: none;
  z-index: 2;
}

.carousel-nav.prev {
  left: -14px;
}

.carousel-nav.next {
  right: -14px;
}

/* ==========================
   FEATURES
==========================*/
.features {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.35rem;
}

/* ==========================
   CEO
==========================*/
.ceo {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.ceo-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.ceo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================
   CTA
==========================*/
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  padding: 4rem 2rem;
}

.cta::before,
.cta::after {
  pointer-events: none;
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
}

.cta::before {
  top: -100px;
  right: -80px;
}

.cta::after {
  bottom: -120px;
  left: -60px;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.75rem;
  max-width: 36rem;
  position: relative;
}

.cta .hero-cta {
  position: relative;
}

.cta h2 {
  position: relative;
  color: #fff;
}

/* ==========================
   PAGE HERO / TWO-COL
==========================*/
.page-hero {
  padding: 6rem 0 2.5rem;
  background: linear-gradient(180deg, var(--surface), #fff);
}

.two-col {
  display: grid;
  gap: 2.5rem;
}

.align-center {
  align-items: center;
}

.product-hero-img {
  aspect-ratio: 6/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ==========================
   SPECS
==========================*/
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.spec {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.spec dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.spec dd {
  margin: 0;
  font-weight: 600;
}

/* ==========================
   CHIPS
==========================*/
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================
   CHECK LIST
==========================*/
.check-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-weight: 500;
}

.check-list li:last-child {
  border-bottom: 0;
}

/* ==========================
   GALLERY
==========================*/
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ==========================
   FAQ
==========================*/
.faq {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 0.5rem;
}

/* ==========================
   CONTACT & FORMS
==========================*/
.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

/* Labels */
.form .label-text {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Required indicator */
.required {
  color: #dc2626;
  font-weight: 700;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--fg);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.product-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.product-fieldset legend {
  padding: 0;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

/* Phone */
.form .phone-group {
  display: flex;
  gap: 0.75rem;
}

.form .phone-group select {
  width: 130px;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--fg);
  cursor: pointer;
}

.form .phone-group input {
  flex: 1;
}

.map {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #dbeafe, #e0e7ff),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.4) 0 1px,
      transparent 1px 40px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.4) 0 1px,
      transparent 1px 40px);
  background-blend-mode: overlay;
}

/* Product checkboxes */
.product-options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.product-check {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
}

.product-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.product-check span {
  display: inline;
  line-height: 1.2;
}

/* Consent */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

.consent-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-check a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-check a:hover {
  color: var(--brand-2);
}

/* Validation */
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"],
.form select[aria-invalid="true"] {
  border-color: var(--error);
}

.form input[aria-invalid="true"]:focus,
.form textarea[aria-invalid="true"]:focus,
.form select[aria-invalid="true"]:focus {
  outline: 3px solid rgba(220, 38, 38, 0.15);
}

/* Legacy/alternate invalid-state class (used where aria-invalid isn't set) */
.input-error {
  border: 2px solid var(--error);
}

/* Error messages */
.form .error {
  color: var(--error);
  font-size: 0.8rem;
  min-height: 0;
  margin-top: 5px;
  display: block;
}

/* Success / server messages */
.form-thanks {
  color: var(--brand);
}

.form-error {
  color: var(--error);
}

/* Submit state */
.form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.email-verification [hidden] {
  display: none !important;
}


/* ==========================
   FOOTER
==========================*/
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}

.footer .brand {
  color: #fff;
}

.footer h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.footer a {
  color: #94a3b8;
  transition: color 0.15s;
}

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

.footer ul li {
  padding: 0.3rem 0;
}

.footer .map {
  margin-top: 0.75rem;
  filter: brightness(0.6) hue-rotate(180deg);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================
   ANIMATIONS
==========================*/
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -8px);
  }
}

/* ==========================
   ACCESSIBILITY
==========================*/
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  background: white;
  padding: 10px;
}

/* ==========================================================
   LEGAL / PRIVACY / TERMS PAGES
========================================================== */
.legal-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, var(--surface), #fff);
  border-bottom: 1px solid var(--border);
}

.legal-updated {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Layout */
.legal-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 5rem;
}

/* Sidebar */
.legal-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.legal-toc-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-toc li {
  margin: 0;
}

.legal-toc a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: 0.2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--surface);
  color: var(--brand);
}

/* Content */
.legal-body {
  width: 100%;
  max-width: 70rem;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--fg);
}

.legal-body section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-body section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.legal-body h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  scroll-margin-top: 120px;
}

.legal-body p {
  margin-bottom: 1rem;
  color: var(--fg);
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 1rem 0;
}

.legal-body li {
  margin-bottom: 0.55rem;
}

.legal-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--brand-2);
}

/* Callout */
.legal-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tables */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.8rem;
  text-align: left;
  border: 1px solid var(--border);
}

.legal-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================
   WHY UNISAFE
==========================*/
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition-base);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--info-border);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.why-card p {
  color: var(--muted-2);
  line-height: 1.7;
  font-size: 0.96rem;
}

/* ==========================
   CORE MODULES
==========================*/
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.module-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition-base);
  height: 100%;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.module-card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.module-card p {
  color: var(--muted-2);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================
   BUSINESS OUTCOMES
==========================*/
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 45px;
}

.outcome-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition-base);
  height: 100%;
}

.outcome-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.outcome-item h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.outcome-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================
   AI SAFETY
==========================*/
.ai-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 35px;
}

.ai-item {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition-base);
}

.ai-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.ai-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.ai-item p {
  color: var(--muted);
  line-height: 1.65;
}

.ai-dashboard {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.ai-item strong {
  color: var(--brand);
  font-weight: 600;
}

/* ==========================
   INDUSTRIES
==========================*/
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.industry-card {
  padding: 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: 0.25s;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* ==========================================================
   LEAD POPUP
========================================================== */

/* Prevent the page behind the modal from scrolling */
body.modal-open {
  overflow: hidden;
}


/* Modal */

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.lead-modal[hidden] {
  display: none;
}


/* Background */

.lead-overlay {
  position: absolute;
  inset: 0;

  background: rgba(8, 12, 20, 0.65);

  backdrop-filter: blur(8px);
}


/* Dialog */

.lead-dialog {
  position: relative;

  width: min(92vw, 560px);
  max-height: 90vh;

  overflow-y: auto;

  margin: 5vh auto;

  background: var(--white);

  border-radius: var(--radius-lg);

  padding: 2rem;

  box-shadow: var(--shadow-lg);

  animation: popupShow 0.25s ease;
}

.lead-dialog h2 {
  margin-top: 0.4rem;
}

.lead-dialog p {
  margin-top: 0.6rem;
  margin-bottom: 1.5rem;
}

.lead-dialog input[aria-invalid="true"],
.lead-dialog select[aria-invalid="true"] {
  border-color: var(--error);
}

.lead-dialog input[aria-invalid="true"]:focus,
.lead-dialog select[aria-invalid="true"]:focus {
  outline: 3px solid rgba(220, 38, 38, 0.15);
}

/* Close button */

.lead-close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;

  border-radius: 50%;

  background: var(--surface);

  color: var(--muted);

  cursor: pointer;

  font-size: 1.4rem;

  transition: 0.2s;
}

.lead-close:hover {
  background: var(--brand);
  color: white;
}

.lead-close:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}


/* Phone */

.phone-group {
  display: flex;
  gap: 0.75rem;
}

.phone-group select {
  width: 130px;

  font: inherit;

  border: 1px solid var(--border);
  border-radius: 10px;

  padding: 0.7rem 0.8rem;

  background: white;
}

.phone-group input {
  flex: 1;
}


/* Submit */

.lead-dialog .btn {
  margin-top: 0.6rem;
}


/* Required field indicator */

.label-text {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.required {
  color: #dc2626;
  font-weight: 700;
}


/* Screen-reader-only content */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* Animation */

@keyframes popupShow {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}