:root {
  --aspect-ratio: 16 / 9;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  height: auto;
  overflow-y: auto;
}

.intro-section,
.product-scroll {
  margin: 0;
  padding: 0;
}


/* intro */

.intro-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: white;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at center, rgba(180,180,180, 0.9), rgba(150,150,150, 0.9)),
    linear-gradient(120deg, rgba(180,180,180), rgba(255,255,255));
  animation: shimmer 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { transform: translate(-50%, -50%); opacity: 0.3;}
  100%  { transform: translate(0%, 0%); opacity: 1;}
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.intro-text {
  flex: 1;
  color: black;
  padding-left: 5vw; /* optional left padding */
  animation: textAppear 2s ease-out forwards;
}

.intro-headline {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.intro-subtext {
  font-size: 1.5rem;
  color: black;
  opacity: 0.85;
  margin-bottom: 0rem;
}


.intro-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;  /* push image to the right */
  align-items: center;
  padding: 0;
  margin: 0;
  animation: imageAppear 2s ease-out forwards;
  z-index: 5;
}

.intro-image img {
  height: 100vh;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.intro-section {
  position: relative;
  height: 100vh;
  background: white;
  overflow: hidden;
}

.circle-wrapper {
  position: absolute;
  top: 50%;
  left: 75%; /* 👈 shift more right (default was 50%) */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}


.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-47%, -20%) scale(0.95);
  animation: circleAppear 2s ease-out forwards;
  border-radius: 50%;
  opacity: 0;
}


.outer-circle {
  width: 1000px;
  height: 1000px;
  background: #dddddd;
  z-index: 2;
}

.inner-circle {
  width: 600px;
  height: 600px;
  background: #cccccc;
  transform: translate(50%, 0%);
  z-index: 3;
  
}

@keyframes circleAppear {
  0% {
    transform: translate(-50%, -30%) scale(0.95);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -60%) scale(1);
    opacity: 0.3;
  }
}

@keyframes textAppear {
  0% {
    transform: translate(0%, 20%);
    opacity: 0.2;
  }
  100% {
    transform: translate(0%, 0%);
    opacity: 1;
  }
}

@keyframes imageAppear {
  0% {
    transform: translate(0%, 12%) scale(0.95);
    opacity: 0.2;
  }
  100% {
    transform: translate(0%, 0%) scale(1);
    opacity: 0.8;
  }
}

/* Promo section */

.promo-section {
  width: 100vw;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.promo-text-line {
  font-size: 2.5rem;
  font-weight: 600;
  color: black;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  text-align: center;
  margin: 0.5rem 0;
}

.promo-text-line.show {
  opacity: 1;
  transform: translateY(0);
}

.promo-text-line {
  font-size: clamp(1.5rem, 5vw, 3rem);
}

/* 16:9 section that fills the full viewport height */

/* illustration section */

.full-height-image-section {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: white;
  overflow: hidden;
}

.background-image {
  width: auto;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.6;
}

.gray-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #ddd 0%, #f7f7f7 100%);
  opacity: 0.6;
  animation: breathe 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.full-section-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.full-section-text-line {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 600;
  color: black;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  margin: 0.5rem 0;
}

.full-section-text-line.show {
  opacity: 1;
  transform: translateY(0);
}



/* scroll section */
.product-scroll {
  height: 100vh;
  width: calc(100vh * (16 / 9));     /* section size based on height */
  max-width: 100vw;                   /* don't overflow on ultra-wide screens */
  margin: 0 auto;
  position: relative;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-frame-section{
  width: 100vw;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  font-size: 2.5rem;
  font-weight: 600;
}

/* For image sections */
.full-frame-section img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sticky container for canvas */
.sticky-container {
  overflow: visible;
  width: 100vw;      /* ensure full viewport width */
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  height: 100vh;
}

/* Canvas fills container intelligently */
canvas#modelCanvas {
  display: block;
  height: 90vh;
  width: auto; /* let it grow/crop horizontally */
  max-width: none;
}


canvas#modelCanvas.neuromorphic-canvas {
    border-radius: 2rem;
    box-shadow: 8px 8px 16px #bebebe,
                -8px -8px 16px #ffffff;
    background-color: #e0e0e0;
    height: 90vh;
    width: auto;
    max-width: none;
    margin: auto;
    display: block;
    object-fit: contain;
    z-index: 1;
  }


/* Callout text centered */
.text-callouts {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90%;
  z-index: 10;
}

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.2rem;
  max-width: 450px;
  gap: 1rem;
  z-index: 10;
}

.callout-graphic {
  display: none;
  /*
  display: flex;
  align-items: center;
  justify-content: center;
  */
}

.callout .dot {
  width: 8px;      /* ↓ from 12px */
  height: 8px;     /* ↓ from 12px */
  background: black;
  border-radius: 50%;
  flex-shrink: 0;
}

.callout .line {
  width: 9vw;    /* ← Increase or decrease to change length */
  height: 1px;     /* ↓ from 2px for thinner line */
  background: black;
}


.callout-text {
  max-width: 350px;
}

#callout-1 {
  top: 28%;    /* ⬆️ Highest */
  left: 20vw;
  flex-direction: row;
}

#callout-2 {
  top: 40%;    /* ⬇️ Middle */
  left: 60vw;
  flex-direction: row;
}

#callout-3 {
  top: 55%;    /* ⬇️ Lowest */
  left: 20vw;
  flex-direction: row;
}

@media (max-width: 1080px) {
  .callout-graphic {
    display: none;
  }
}




/* info section */

/* General section style */
.info-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5vh 5vw;
  gap: 2vw;
  background: #fff;
  height: 100vh;
}

.column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  position: relative;
  width: 90%;
  max-width: 500px;
}

.card img {
  opacity: 0;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.card .text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 4px 4px 10px #ddd, -4px -4px 10px #fff;
  text-align: center;
}


.column img {
  opacity: 0;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.neuromorphic-box {
  width: 80%;              /* ✅ same width across columns */
  height: 200px;           /* ✅ same height */
  padding: 1rem;
  border-radius: 1rem;
  background: #e0e0e0;
  box-shadow:
    8px 8px 16px #bebebe,
    -8px -8px 16px #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}



/* Text takes ~30% */
.column .text {
  opacity: 0;
  width: 80%;
  height: 20%;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 20px;

  /* Slightly transparent background */
  background: rgba(240, 240, 243, 0.8); /* 👈 same color as before but 80% opaque */

  /* Neumorphic styling */
  box-shadow:
    10px 10px 20px rgba(209, 217, 230, 0.8),
    -10px -10px 20px rgba(255, 255, 255, 0.8);

  color: #000; /* ensure text stays fully opaque and readable */
  
}

.canvas-wrapper.neuromorphic-frame {
    background: #e0e0e0;
    border-radius: 2rem;
    box-shadow: inset 8px 8px 20px #bebebe,
                inset -8px -8px 20px #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
  }


/* Text box animation */
@keyframes textBoxAppear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.text.animate {
  animation: textBoxAppear 1s ease-out forwards;
  animation-delay: 1s;
}

/* Image animation */
@keyframes podAppear {
  from {
    opacity: 0;
    transform: translate(0%, 20%);
  }
  to {
    opacity: 1;
    transform: translate(0%, 0%);
  }
}

img.pod.animate {
  animation: podAppear 1s ease-out forwards;
  animation-delay: .5s;
}




/* Comparison Section */

.comparison-section {
  height: 100vh;
  width: 100vw;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-table {
  border-collapse: collapse;
  width: 80%;
  max-width: 1000px;
  font-family: Arial, sans-serif;
  color: #000;
  text-align: center;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  font-size: 1rem;
}

/* Thin horizontal lines only */
.comparison-table thead tr {
  border-bottom: 1px solid #ccc;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #eee;
}

/* Remove vertical borders */
.comparison-table th,
.comparison-table td {
  border-left: none;
  border-right: none;
}


/* Video Section */

.video-section {
  width: 100vw;
  height: 100vh;
  background: black;
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* translucent dark background */
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically */
  z-index: 2;
  pointer-events: none;
  text-align: center;
}

.video-overlay-text {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  max-width: 80%;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.5s;
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(0%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(0%, -50%);
  }
}


/* case section */

.staggered-columns-section {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: white;
  overflow: hidden;
  background-color: #fff;
}


.image-wrapper {
  position: relative;
  width: 80%;
  height: 80%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.image-wrapper img {
  width: 90%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 1;
}

.overlay-text {
  position: absolute;
  bottom: 50%;
  text-align: center;
  color: black;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
}

/* Show animation */
.image-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

/* Beta Test Request */

.beta-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.beta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.beta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#beta-btn {
  background: #addcff;
  background: linear-gradient(135deg, #addcff, #b6ffe4);
  border: none;
  color: black;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#beta-btn:hover {
  transform: scale(1.05);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.overlay-content {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.overlay-content input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.overlay-content button[type="submit"] {
  background: #addcff;
  background: linear-gradient(135deg, #addcff, #b6ffe4);
  border: none;
  color: black;
  padding: 0.6rem 1.2rem;
  margin-top: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#close-overlay {
  margin-top: 1rem;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.privacy-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

