* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: white;
  color: black;
}

.row {
  display: flex;
  width: 100vw;
  height: 100vh;
  border-bottom: 1px solid black;
}

.half-cell {
  width: 50vw;
  height: 100vh;
  border-right: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.row:last-child .half-cell:last-child {
  border-right: none; /* remove border on far-right cell */
}

.animated-bg {
  background-color: #0033cc;
  color: white;
  position: relative; /* needed for positioning the ellipse */
}


@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    background-color: #0033cc;
  }
  100% {
    background-position: 100% 50%;
    background-color: #3355ee;
  }
}

.promo-text {
  max-width: 500px;
  color: white;
  text-align: left;
  line-height: 1.5;
}

.promo-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.promo-text p {
  font-size: 1.2rem;
  font-weight: 400;
}

.video-cell {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
    background: white;
}

.promo-video {
  height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.ellipse-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border: 2px solid black;
  border-radius: 999px;
  background-color: yellow;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@keyframes retroPop {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.4) rotate(-3deg); }
  40%  { transform: scale(0.95) rotate(2deg); }
  60%  { transform: scale(1.2) rotate(-2deg); }
  80%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.ellipse-badge.retro {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 140px;        /* wider than tall = ellipse */
  height: 60px;        /* control the overall ellipse size */
  border: 2px solid black;
  border-radius: 50%;  /* forces ellipse instead of rounded rectangle */
  background-color: #fff200;
  color: black;

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

  font-weight: 700;
  font-size: 1.1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 black;

  animation: retroPop 1.2s ease-out infinite;
}




/* Container for right cell */
.glow-layer {
  position: relative;
  background-color: #0033cc;
  overflow: hidden;
}

/* Glowing background text container */
.glow-bg-text {
  position: absolute;
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10vh 0;
  gap: 1rem;
  overflow: hidden;
}

.scroll-line {
  overflow: hidden;
  white-space: nowrap;
  font-size: 2rem;
  font-weight: bold;
  color: black;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1;
}

.scroll-content {
  display: inline-flex;
  animation: scroll-left 16s linear infinite;
}

.scroll-right .scroll-content {
  animation-name: scroll-right;
}

.scroll-content span {
  display: inline-block;
  padding-right: 2rem;
}

/* Keyframes scroll the full width of both spans */
@keyframes scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}


.scroll-left .scroll-content {
  animation-name: marquee-left;
}

.scroll-right .scroll-content {
  animation-name: marquee-right;
}

@keyframes marquee-left {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-5%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-5%); }
  100% { transform: translateX(0%); }
}


.scroll-left {
  animation-name: scroll-left;
}
.scroll-right {
  animation-name: scroll-right;
}

/* Content should appear above background text */
.promo-text,
.ellipse-badge {
  position: relative;
  z-index: 2;
}

/* Section 2 left cell fills fully */
/* Desktop layout: 4 animation pairs in one horizontal row */
.section2-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0;
  margin: 0;
}

.animation-pair {
  width: 25%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-cell,
.desc-cell {
  width: 100%;
}


/* Grid fills the entire half-cell */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
}

/* Each subcell fills its quadrant */
.cell {
  width: 100%;
  height: 100%;
  border: 1px solid black;
}

/* Static cells */
.static-blue {
  background-color: #0033cc;
}

/* Animated cells */
.animated-bg-alt {
  animation: colorShift 6s ease-in-out infinite alternate;
}

/* Blue ↔ white background shift */
@keyframes colorShift {
  0%   { background-color: #0033cc; }
  100% { background-color: #ffffff; }
}

/*
.section2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 75vh 25vh;  //Tall video row, short description row 
  width: 100vw;
  height: 100vh;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
*/

.section2-grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}


.video-cell{
    height: 80%;
}

.video-cell,
.desc-cell {
  border: 1px solid black;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;`
}

.video-cell.half-cell{
    height: 100%;
    width: 50%;
}

.desc-cell {
  background-color: #ffffff;
  font-size: 0.9vw;
  padding: 2.5vw;
  height: 20%;
}

.section2-title {
  width: 100vw;
  text-align: center;
  padding: 2rem 1rem 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  background-color: white;
}

.specs-section {
  position: relative;
  height: 100vh;
  background-color: white;
  overflow: hidden;

  display: flex;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

/* Blue rectangle */
.specs-section::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 60%;
  height: 60%;
  background-color: #0033cc;
  z-index: 0;
  transform: rotate(-5deg);
}

/* Yellow ellipse */
.specs-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 80%;
  height: 80%;
  background-color: #fff200;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.9;
}


.spec-left,
.spec-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spec-left {
  padding: 4rem;
  z-index: 2;
}

.specs-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.spec-item {
  background-color: #fff200;
  border: 2px solid black;
  padding: 1.2rem;
  color: black;
}

.spec-item h3 {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.spec-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Right side video styles */
.spec-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
}

.spec-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: black 2px solid;
}


.dramatic-title {
  width: 100vw;
  text-align: center;
  padding: 1.5rem 2rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: black;
  background-color: #fff200; /* retro yellow stripe */
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  position: relative;
  line-height: 1.1;
  overflow: hidden;
  animation: slideIn 1s ease-out 0.3s both;
}

/* optional flicker shadow effect */
.dramatic-title::after {
  content: "BREATHTAKINGLY COOL LED ANIMATION";
  position: absolute;
  top: 2px;
  left: 2px;
  color: transparent;
  text-shadow: 2px 2px 0 #0033cc;
  animation: flicker 2s infinite alternate;
  pointer-events: none;
}

@keyframes flicker {
  0% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0.5; transform: translate(-1px, -1px); }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}


.fade-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.promo-flair-section {
  position: relative;
  background-color: #ffe552;
  height: 100vh;
  padding: 6rem 2rem;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Bold polka dots as rotated background */
.promo-flair-section::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;

  background-image: radial-gradient(white 40%, transparent 0%);
  background-size: 300px 300px; /* smaller than dot size = tightly packed */
  background-repeat: repeat;
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
  opacity: 1; /* fully opaque */
}


/* Make sure content stays above the pattern */
.promo-flair-section h2,
.promo-flair-section p {
  position: relative;
  z-index: 1;
}




.glow-headline {
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #0033cc;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  animation: underlineSlide 2s ease-out forwards;
}

/* Animated underline — retro-modern flair */
.glow-headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 4px;
  background-color: #0033cc;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineSlide 2s ease-out forwards;
}

@keyframes underlineSlide {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.glow-subtext {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 800px;
  margin: 1.5rem auto 0;
  color: #111;
  line-height: 1.6;
}

/* Optional scroll fade-in (reuse) */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.beta-invite-section {
  position: relative;
  height: 100vh;
  padding: 6rem 2rem;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.beta-invite-section::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;

  background-image: radial-gradient(#0033cc 40%, transparent 0%);
  background-size: 300px 300px;
  background-repeat: repeat;
  transform: rotate(45deg);
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}


.beta-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.beta-subtext {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 750px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: black;
}

.beta-button {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: 220px;
  height: 60px;
  border: 2px solid black;
  border-radius: 50%;
  background-color: #fff200;
  color: black;

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

  box-shadow: 2px 2px 0 black;
  cursor: pointer;

  animation: retroPop 1.4s ease-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beta-button:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 0 black;
}

.comparison-section {
  background-color: #fff;
  color: black;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.comparison-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.graph-container {
  position: relative;
  width: 90%;
  height: 90%;
  background-color: transparent;
}

.graph-line.x-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  z-index: 1;
}

.graph-line.y-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: black;
  z-index: 1;
}

.arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 2;
}

/* X-axis Arrows */
.arrow.x-left {
  top: 50.1%;
  left: -6px; /* move slightly outside the container */
  transform: translateY(-50%);
  border-width: 6px 8px 6px 0;
  border-color: transparent black transparent transparent;
}

.arrow.x-right {
  top: 50.1%;
  right: -6px; /* move slightly outside the container */
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent black;
}

/* Y-axis Arrows */
.arrow.y-top {
  top: -6px; /* move outside top */
  left: 50.1%;
  transform: translateX(-50%);
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent black transparent;
}

.arrow.y-bottom {
  bottom: -6px; /* move outside bottom */
  left: 50.1%;
  transform: translateX(-50%);
  border-width: 8px 6px 0 6px;
  border-color: black transparent transparent transparent;
}

.graph-label {
  position: absolute;
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 2;
  background-color: transparent;
  padding: 0.2rem 0.5rem;
}

.graph-label.x-left {
  left: 0;
  top: calc(50% + 2rem); /* push label downward from the X axis */
  transform: translateY(-50%);
}

.graph-label.x-right {
  right: 0;
  top: calc(50% + 2rem); /* push label downward from the X axis */
  transform: translateY(-50%);
}

.graph-label.y-top {
  top: 0;
  left: calc(55%); /* move label right of Y axis */
  transform: translateX(-50%);
}

.graph-label.y-bottom {
  bottom: 0;
  left: calc(55%); /* move label right of Y axis */
  transform: translateX(-50%);
}

.graph-quadrant-label {
  position: absolute;
  font-size: 0.9rem;
  font-weight: bold;
  pointer-events: none;
}

.graph-quadrant-label.bottom-left {
  bottom: 5%;
  left: 5%;
}

.graph-quadrant-label.top-right {
  top: 5%;
  right: 5%;
  color: #0033cc;
}

.data-point {
  position: absolute;
  transform: translate(-50%, -50%);
  background-color: #fff200;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid black;
  border-radius: 50%; /* true ellipse */
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 2px 2px 0 black;
  z-index: 3;
}


.data-point.glowebcam {
  background-color: #0033cc;
  width: 160px;
  height: 80px;
  color: white;
  animation: retroPop 1.2s ease-out infinite;
}


.privacy-link {
  margin-top: 1rem;
  font-size: 0.85rem;
}
.privacy-link a {
  color: black;
  text-decoration: underline;
}

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

.overlay-content {
  background: white;
  padding: 3rem;
  border: 2px solid black;
  text-align: center;
  max-width: 400px;
  width: 90%;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  position: relative;
}

.overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.overlay-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.overlay-content input[type="email"] {
  padding: 0.75rem;
  border: 1px solid black;
  font-size: 1rem;
  width: 100%;
}

.overlay-content button[type="submit"] {
  background-color: #fff200;
  border: 2px solid black;
  padding: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 2px 2px 0 black;
}

.close-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.video-fullscreen-section {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: black;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

.video-fullscreen-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.outlined-blue {
  color: white;
  text-shadow:
    -1px -1px 0 #0033cc,
     1px -1px 0 #0033cc,
    -1px  1px 0 #0033cc,
     1px  1px 0 #0033cc;
}

.highlight-standout {
  background-color: #fff200;
  color: black;
  font-weight: 900;
  padding: 0.15em 0.35em;
  display: inline-block;
  border: 2px solid black;
  box-shadow: 2px 2px 0 black;
}


@media (max-width: 768px) {
  .row,
  .section2-grid,
  .specs-section {
    flex-direction: column;
  }

  .half-cell,
  .spec-left,
  .spec-right,
  .video-cell,
  .desc-cell {
    width: 100%;
  }

  .graph-container {
    width: 100%;
    height: auto;
  }
    
    .graph-container {
    height: 80vh;
  }

  .graph-line.y-line {
    left: 50%;
    transform: translateX(-50%);
  }

  .graph-line.x-line {
    top: 50%;
    transform: translateY(-50%);
  }

  .graph-label.y-top,
  .graph-label.y-bottom {
    left: 50%;
    transform: translateX(10%);
  }
    

  

  .video-cell, .desc-cell {
    width: 100%;
    max-width: 100%;
  }


  .specs-section {
    flex-direction: column;
      height: auto;
  }

  .spec-left,
  .spec-right {
    width: 100%;
    padding: 1rem;
      height: auto;
  }

  .spec-video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
  }

  
  .section2-grid {
    flex-direction: column;
  }

  .animation-pair {
    width: 100%;
  }

    .video-cell,
    .desc-cell {
      width: 100%;
    }
    
    .video-cell.half-cell{
    height: 100%;
    width: 100%;
    }
    
    .desc-cell {
      font-size: 0.9rem;
      padding: 2.5rem;
    }
}