  :root {
  --brown: #2e2f31;
  --dark-brown: rgba(255, 255, 255, 0.04);
  --green: rgba(105, 241, 26, 0.616);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    position: relative;
    overflow: hidden;
    color: #111;
    height: 100%;
    padding: 2rem;
    font-family: monospace;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

header {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
}

.header-logo {
  height: 1.5rem;
}

.enter-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.frame {
    border: 2px solid transparent;
    padding: 80px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    width: 470px; 
    box-sizing: border-box;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #111;
    pointer-events: none;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.text-container {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #111;
    animation: typing 3s steps(21, end) forwards,
               blink 0.7s step-end infinite;
    margin: 0 auto;    
}

@keyframes typing {
  from { width: 0 }
  to   { width: 43ch }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.text {
    text-transform: uppercase;
    font-size: 2rem;
}

button {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #111;
    color: #111;
    padding: 15px 26px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #111;
    color: #fff;
}

.container {
  display: none;
}

.hero {
  margin: 0 auto;
  max-width: 950px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  border: 1px solid var(--green);
  box-shadow: 0 8px 40px rgba(197, 198, 202, 0.6);
}

.robot1 {
  width: 15rem;
  height: 15rem;
  position: absolute;
  right: -4.6rem;
  bottom: 0rem;
  z-index: 10;
  transition: opacity 2s ease-in-out;
}

.robot2 {
  width: 15rem;
  height: 15rem;
  position: absolute;
  left: -4.6rem;
  bottom: -0.1rem;
  z-index: 10;
  transition: opacity 2s ease-in-out;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.visible {
  opacity: 1;
  pointer-events: auto;
}

.panel {
  position: relative;
  height: 420px;
  border-radius: 12px;
  padding: 18px;
  margin: 0 auto;
  background: linear-gradient(
    180deg,
    rgb(255, 255, 255),
    rgba(255, 255, 255, 0.952)
  );
  border: 1px solid var(--dark-brown);
  overflow: hidden;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.robot-card {
  height: 360px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.scanline {
  position: absolute;
  left: 30%;
  top: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(105, 241, 26, 0.616),
    transparent
  ); 
  transform: rotate(-12deg);
  animation: scan 3.6s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-120%) rotate(-12deg);
  }
  50% {
    transform: translateX(120%) rotate(-12deg);
  }
  100% {
    transform: translateX(-120%) rotate(-12deg);
  }
}

.roemai-image {
  width: 18rem;
  height: 5rem;
  margin: 0 auto;
}

.card-text {
  margin-top: 1rem;
}

.card-text h1 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 41px;
  line-height: 1.1;
  margin: 12px 0;
  text-align: center;
}

p.lead {
  color: var(--brown);
  font-size: 18px;
  text-align: center;
  margin: 30px 60px;
  padding: 0 150px;
  z-index: 10;
}

.robot-image {
  display: none;
}

footer {
  display: none;
}

.footer {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  display: flex;
  gap: 25rem;
  color: var(--brown);
  font-size: 13px;
}

.footer p {
  display: inline;
  margin: 0;
  padding: 0 8px;
}

.footer-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: -5px;
}

.footer a {
  text-decoration: none;
  color: inherit;
}

.linkedin {
  width: 25px;
}

.twitter {
  width: 20px;
}

/* Medium Screens (Tablets Landscape & Small Laptops) */
@media (max-width: 980px) {
  .hero {
    max-width: 790px;
  }

  .panel {
    height: 385px;
  }

  .roemai-image {
    width: 16rem;
    height: 4.5rem;
  }

  .card-text h1 {
    font-size: 34px;
    margin: 8px 0;
  }

  p.lead {
    font-size: 16px;
    margin: 20px 40px;
    padding: 0 60px;
  }

  .footer {
    gap: 15rem;
  }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .header-logo {
    height: 1.2rem;
  }

  .frame {
    padding: 40px;
    width: 347px;
  }

  .text {
    text-transform: uppercase;
    font-size: 1.5rem;
  }

  @keyframes typing {
    0% {
        width: 0;
    }

    100% {
        width: 32ch;
    }
      }

  .text-container {
    margin: 0;
    animation: typing 3s steps(17, end) forwards,
               blink 0.7s step-end infinite;
  }

  .hero {
    max-width: 600px;
  }

  .panel {
    height: 60vh;
    padding: 12px;
  }

  .roemai-image {
    width: 9rem;
    height: auto;
  }

  .card-text h1 {
    font-size: 25px;
  }

  p.lead {
    font-size: 15px;
    margin: 15px;
    padding: 0 40px;
  }

  .robot-image {
    display: block;
    width: 18rem;
    margin: 0 auto;
  }

  .robot1 {
    display: none;
  }

  .robot2 {
    display: none;
  }

  .footer {
    gap: 7rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .header-logo {
    height: 1.5rem;
  }

  .text {
    font-size: 1.5rem;
  }

  button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .frame {
    width: 240px;
    padding: 25px;
    margin-bottom: 10rem;
  }

  .text {
    font-size: 1.2rem;
  }

  button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .corner {
    width: 12px;
    height: 12px;
  }

  .hero {
    max-width: 355px;
    margin-bottom: 8rem;
  }

  .robot-card {
    padding: 18px 0;
  }
  
  .panel {
    border-radius: 10px;
    height: 55vh;
  }

   @keyframes typing {
    0% {
        width: 0;
    }

    100% {
        width: 26ch;
    }
      }


  .card-text {
    margin-top: 0rem;
  }

  .card-text h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .roemai-image {
    margin-top: 5px;
  }

  p.lead {
    font-size: 14px;
    padding: 0 10px;
    margin: 10px 0;
  }

  .robot-image {
    display: block;
    width: 18rem;
    margin: 0 auto;
    margin-top: 5px;
  }

  .robot2 {
    display: none;
  }

  .robot1 {
    display: none;
  }

  .footer {
    gap: 2.5rem;
    font-size: 11px;
  }

  .footer-img {
    gap: 12px;
  }
}

/* Very Small Devices */
@media (max-width: 360px) {
  .frame {
    width: 200px;
    padding: 18px;
  }

  .text {
    font-size: 1rem;
  }

  button {
    padding: 6px 14px;
    font-size: 13px;
  }

  .corner {
    width: 10px;
    height: 10px;
  }

  .text {
    font-size: 1.2rem;
  }

  button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .roemai-image {
    width: 9rem;
  }

  .card-text h1 {
    font-size: 18px;
  }

  p.lead {
    font-size: 13px;
  }
}






