/* =========================================================
   OPTANAR LANDING PAGE
   ========================================================= */

:root {
  --bg: #05070c;
  --bg-2: #090d15;
  --surface: rgba(13, 18, 29, 0.78);
  --surface-solid: #0d121d;
  --text: #f4f7fb;
  --muted: #9aa7bb;
  --accent: #64e9ff;
  --accent-2: #9d7cff;
  --line: rgba(255,255,255,0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(100,233,255,.08), transparent 25%),
    radial-gradient(circle at 20% 40%, rgba(157,124,255,.07), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  position: relative;
}

#xr-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
/* =========================================================
   XR BACKGROUND LAYER
   ========================================================= */

body > nav,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}



a { text-decoration: none; }

.section-space {
  padding: 120px 0;
  position: relative;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
}

.opta-nav {
  background: rgba(5,7,12,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  margin-right: 7px;
}

.nav-link { color: #cbd4e3 !important; }
.nav-link:hover { color: var(--accent) !important; }

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: .94;
  margin: 18px 0 25px;
  max-width: 800px;
}

h1 span, h2 span { color: var(--accent); }

h2 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1;
  margin: 12px 0 22px;
}

h3 { letter-spacing: -.025em; }

.eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .19em;
}

.hero-lead, .section-heading p, .architecture-section p, .privacy-panel p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-lead { max-width: 650px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.btn-primary {
  background: var(--accent);
  color: #041016;
  border-color: var(--accent);
  font-weight: 700;
}

.btn-primary:hover {
  background: #a9f4ff;
  border-color: #a9f4ff;
  color: #041016;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  color: #c8d2e1;
  font-size: .9rem;
}

.hero-points span {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  margin-right: 8px;
}

.three-stage {
  min-height: 560px;
  border: 1px solid rgba(100,233,255,.18);
  background:
    linear-gradient(180deg, rgba(14,21,35,.75), rgba(5,8,14,.88));
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,.4);
}

.three-stage::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  pointer-events: none;
}

.stage-label {
  position: absolute;
  top: 27px;
  left: 30px;
  z-index: 3;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .16em;
}

#three-scene {
  position: absolute;
  inset: 0;
}

#three-scene canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.stage-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 25px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #8e9bb0;
  font-size: .7rem;
  letter-spacing: .13em;
}

.stage-caption strong { color: var(--accent); }

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.feature-card {
  height: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(100,233,255,.35);
}

.feature-number {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
  letter-spacing: .12em;
  margin-bottom: 45px;
}

.feature-card p, .application-card p, .video-info {
  color: var(--muted);
  line-height: 1.7;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 13px;
}

.architecture-node {
  min-height: 170px;
  border: 1px solid var(--line);
  background: rgba(13,18,29,.8);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.architecture-node.active {
  border-color: rgba(100,233,255,.6);
  box-shadow: 0 0 40px rgba(100,233,255,.10);
}

.node-kicker {
  color: var(--accent);
  font-size: .7rem;
  margin-bottom: 12px;
}

.architecture-node strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.architecture-node small {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

.flow-arrow {
  color: var(--accent);
  font-size: 1.4rem;
}

.result-box {
  margin-top: 18px;
  border: 1px solid rgba(157,124,255,.25);
  border-radius: 18px;
  padding: 20px;
  background: rgba(157,124,255,.06);
  display: flex;
  gap: 15px;
}

.result-dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  flex: 0 0 auto;
}

.result-box p {
  margin: 5px 0 0;
  font-size: .9rem;
}

.application-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.application-card img {
  width: 100%;
  height: 320px;
  min-height: 0;
  object-fit: cover;
  opacity: .72;
  cursor: pointer;
  transition: transform .35s ease, filter .35s ease, border-color .35s ease;
}

.application-card img:hover {
  transform: scale(1.015);
  filter: brightness(1.12);
}

.application-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 45px 35px 32px;
  background: linear-gradient(transparent, rgba(3,5,9,.97));
}

.badge {
  border: 1px solid rgba(100,233,255,.4);
  color: var(--accent);
  background: transparent;
  padding: 7px 9px;
  font-size: .65rem;
  letter-spacing: .12em;
}

.application-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(100,233,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,233,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(58deg) scale(1.4);
  transform-origin: center bottom;
}

.application-card-secondary::after {
  content: "AI  /  SENSOR  /  XR";
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--accent);
  letter-spacing: .17em;
  font-size: .68rem;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10,14,23,.85);
}

.video-card iframe {
  border: 0;
}

.video-info {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.video-info span {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
}

.video-info h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.image-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .35s ease, filter .35s ease, border-color .35s ease;
}

.image-gallery img:hover {
  transform: scale(1.015);
  filter: brightness(1.12);
  border-color: rgba(100, 233, 255, .45);
}

/* =========================
   IMAGE LIGHTBOX
   ========================= */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(12px);

  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 95vw;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 12px;
  border: 1px solid rgba(100, 233, 255, .35);

  box-shadow:
    0 0 40px rgba(100, 233, 255, .15),
    0 30px 100px rgba(0, 0, 0, .7);

  cursor: default;
}

.image-lightbox-close {
  position: absolute;

  top: 20px;
  right: 30px;

  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;

  background: rgba(10,15,24,.8);

  color: white;
  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  transition: .25s ease;
}

.image-lightbox-close:hover {
  background: var(--accent);
  color: #041016;
  border-color: var(--accent);
}

@media (max-width: 575px) {
  .image-gallery img {
    height: 230px;
  }

  .image-lightbox {
    padding: 15px;
  }

  .image-lightbox img {
    max-width: 96vw;
    max-height: 85vh;
  }

  .image-lightbox-close {
    top: 12px;
    right: 15px;
  }
}

.privacy-panel {
  border: 1px solid rgba(100,233,255,.18);
  border-radius: 30px;
  padding: 70px;
  background:
    radial-gradient(circle at 80% 30%, rgba(100,233,255,.09), transparent 30%),
    rgba(10,15,24,.82);
}

.small-note {
  font-size: .82rem !important;
  color: #748196 !important;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.privacy-grid div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.privacy-grid strong {
  display: block;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 8px;
}

.privacy-grid span {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

.cta-panel {
  text-align: center;
  padding: 100px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-panel p {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.site-footer {
  padding: 30px 0;
  color: #718096;
  font-size: .78rem;
  border-top: 1px solid var(--line);
}

/* Mobile */
@media (max-width: 991px) {
  .section-space { padding: 85px 0; }
  .hero-section { padding-top: 130px; }
  .three-stage { min-height: 480px; }
  .architecture-flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
  .privacy-panel { padding: 40px 25px; }
}

@media (max-width: 575px) {
  h1 { font-size: 3.2rem; }
  .hero-points { grid-template-columns: 1fr; }
  .stage-caption { gap: 7px; font-size: .55rem; }
  .privacy-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   PARTNER VALIDATION BANNER
   ========================================================= */

.partner-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;

  margin: 28px 0 30px;
  padding: 18px 22px;

  border: 1px solid rgba(100, 233, 255, 0.65);
  border-radius: 14px;

  background:
    linear-gradient(
      90deg,
      rgba(100, 233, 255, 0.14),
      rgba(157, 124, 255, 0.12),
      rgba(100, 233, 255, 0.08)
    );

  box-shadow:
    0 0 18px rgba(100, 233, 255, 0.12),
    inset 0 0 25px rgba(100, 233, 255, 0.04);

  overflow: hidden;

  animation: partnerGlow 2.5s ease-in-out infinite;
}


/* Animated light passing through the banner */

.partner-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );

  transform: skewX(-20deg);

  animation: partnerSweep 4s ease-in-out infinite;
}


/* Pulsing status indicator */

.partner-pulse {
  position: relative;
  z-index: 2;

  width: 11px;
  height: 11px;

  flex: 0 0 11px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 7px var(--accent),
    0 0 18px var(--accent),
    0 0 30px rgba(100, 233, 255, 0.5);

  animation: partnerPulse 1.6s ease-in-out infinite;
}


/* Text */

.partner-text {
  position: relative;
  z-index: 2;

  color: #ffffff;

  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;

  letter-spacing: 0.01em;
  line-height: 1.4;

  text-shadow:
    0 0 8px rgba(100, 233, 255, 0.25);
}


/* Banner glow */

@keyframes partnerGlow {

  0%, 100% {
    border-color: rgba(100, 233, 255, 0.45);

    box-shadow:
      0 0 12px rgba(100, 233, 255, 0.08),
      inset 0 0 20px rgba(100, 233, 255, 0.02);
  }

  50% {
    border-color: rgba(100, 233, 255, 1);

    box-shadow:
      0 0 28px rgba(100, 233, 255, 0.28),
      0 0 55px rgba(100, 233, 255, 0.10),
      inset 0 0 25px rgba(100, 233, 255, 0.06);
  }
}


/* Pulsing dot */

@keyframes partnerPulse {

  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.45);
    opacity: 0.65;
  }
}


/* Moving light */

@keyframes partnerSweep {

  0% {
    left: -120%;
  }

  45%, 100% {
    left: 150%;
  }
}


/* Mobile */

@media (max-width: 575px) {

  .partner-banner {
    padding: 15px 17px;
    margin: 24px 0;
  }

  .partner-text {
    font-size: 0.92rem;
  }

}

@font-face{font-family:"Space Grotesk";src:url('../assets/fonts/space-grotesk-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:"Space Grotesk";src:url('../assets/fonts/space-grotesk-bold.ttf') format('truetype');font-weight:700;font-display:swap}body{font-family:"Space Grotesk",Arial,sans-serif}.optanar-real-model{display:block;width:100%;height:400px;pointer-events:none}.robotdental-return{border:1px solid #ffffff44;border-radius:20px;padding-left:15px!important;padding-right:15px!important}@media(max-width:600px){.optanar-real-model{height:320px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}#xr-background{display:none}}
/* Both presentations share the same centered viewport. */
.three-stage{min-height:560px;isolation:isolate}.opta-stage-slides{position:absolute;inset:64px 22px 112px}.opta-stage-slide{position:absolute;inset:0;display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s}.opta-stage-slide.is-active{opacity:1;visibility:visible}.opta-stage-slide .optanar-real-model{display:block;width:100%;height:100%;min-height:0;max-width:100%;margin:0;pointer-events:none}.opta-stage-slide .optanar-real-model>img{position:absolute;inset:0}.opta-stage-controls{position:absolute;z-index:4;left:30px;right:30px;bottom:65px;display:flex;align-items:center;justify-content:center;gap:14px}.opta-stage-controls>button{border:1px solid #64e9ff4d;background:#09141c;color:#d2f6ff;border-radius:50%;width:34px;height:34px;font-size:18px;transition:background .2s}.opta-stage-controls>button:hover{background:#17333f}.opta-stage-controls button:focus-visible{outline:2px solid #64e9ff;outline-offset:4px}.stage-dots{display:flex;gap:8px}.stage-dots button{width:7px;height:7px;border-radius:50%;border:0;padding:0;background:#516170}.stage-dots button[aria-pressed=true]{background:#64e9ff;box-shadow:0 0 9px #64e9ff88}#opta-stage-name{font-size:10px;letter-spacing:.05em;color:#a0b2c1;min-width:120px;text-align:center}.architecture-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;pointer-events:none;background:radial-gradient(ellipse,#15374888,transparent 70%);font-size:11px;letter-spacing:2px;color:#bceeff}.architecture-fallback strong{padding:20px;border:1px solid #64e9ff80;border-radius:18px;color:#64e9ff;box-shadow:0 0 30px #64e9ff1a}.architecture-fallback[hidden]{display:none}#three-scene{overflow:hidden}@media(max-width:600px){.three-stage{min-height:480px}.opta-stage-slides{inset:60px 12px 110px}.opta-stage-controls{left:20px;right:20px;gap:10px}.stage-label{font-size:.59rem;left:25px}.stage-caption{left:20px;right:20px}#opta-stage-name{min-width:100px;font-size:9px}}

/* OptanAR overview and media */
.hero-section { min-height: auto; padding-bottom: clamp(2.75rem, 6vw, 5rem); }
#xr-comparison, .opta-media-section, #contact { padding-block: clamp(2.75rem, 6vw, 5rem); }
.opta-anchor { scroll-margin-top: 7rem; }
.opta-media-section .section-heading { margin-bottom: 1.4rem; }
.opta-video-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.opta-video-list { display: grid; gap: .6rem; }
.opta-video-list h3 { font-size: 1.05rem; margin: .25rem 0; }
.opta-video-choice { display: flex; gap: .7rem; align-items: center; border: 1px solid #525568; border-radius: .75rem; color: #eef1f7; background: #151923; padding: .85rem; }
.opta-video-choice:hover, .opta-video-choice[aria-current] { border-color: #ffad74; color: #ffe4d1; background: #2e211c; }
.opta-video-number, .opta-video-external { color: #ffad74; }
.opta-video-external { justify-self: start; text-decoration: underline; font-size: .9rem; padding: .35rem 0; }
.opta-gallery-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.opta-gallery-header .section-heading { margin: 0; }
.opta-gallery-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.opta-media-button { border: 1px solid #6d7283; border-radius: .55rem; color: #eef1f7; background: #191f2b; padding: .5rem .75rem; font-size: .85rem; }
.opta-media-button:disabled { opacity: .45; }
.opta-media-button:not(:disabled):hover { border-color: #ffad74; }
.opta-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .12rem .65rem; }
.opta-gallery-card { scroll-snap-align: start; border: 1px solid #525568; border-radius: .85rem; background: #151923; color: #eef1f7; text-align: start; overflow: hidden; padding: 0; }
.opta-gallery-card:hover { border-color: #ffad74; }
.opta-gallery-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; display: block; background: #10131b; }
.opta-gallery-card span { display: block; padding: .65rem .85rem; }
.opta-gallery-card:focus-visible, .opta-video-choice:focus-visible, .opta-media-button:focus-visible { outline: 2px solid #ffad74; outline-offset: -3px; }
.opta-image-dialog { max-width: min(94vw, 70rem); max-height: 94vh; border: 1px solid #646b7d; border-radius: 1rem; background: #151923; padding: .75rem; }
.opta-image-dialog::backdrop { background: #080a10dd; }
.opta-image-dialog form { display: flex; justify-content: end; margin-bottom: .5rem; }
.opta-image-dialog img { display: block; max-width: 100%; max-height: 77vh; object-fit: contain; margin: auto; }
@media (max-width: 760px) {
  .opta-video-layout { grid-template-columns: 1fr; }
  .opta-gallery { grid-auto-columns: min(86%, 26rem); }
}
