@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;600&family=Playfair+Display:ital,wght@1,500&display=swap');

:root {
  --bg-color: #010409;
  --text-main: #7e8c9f;
  --text-highlight: #ffffff;
  --accent-primary: #00d9ff;
  --accent-secondary: #0055ff;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #010409;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: move-orb infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -15%;
  left: -10%;
  animation-duration: 12s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -10%;
  right: -10%;
  animation-duration: 8s;
  animation-delay: -2s;
}

@keyframes move-orb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(15vw, 10vh) scale(1.2);
    opacity: 0.25;
  }
  100% {
    transform: translate(-5vw, 20vh) scale(0.8);
    opacity: 0.15;
  }
}

.scan-line {
  position: absolute;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 217, 255, 0.05),
    transparent
  );
  top: -100px;
  left: 0;
  animation: scan 6s linear infinite;
  z-index: 0;
}

@keyframes scan {
  0% {
    top: -100px;
  }
  100% {
    top: 110%;
  }
}

.grid-overlay {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(
    circle,
    rgba(0, 217, 255, 0.15) 1px,
    transparent 1px
  );
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  animation: grid-drift 15s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: perspective(1000px) rotateX(15deg) translateY(0);
  }
  to {
    transform: perspective(1000px) rotateX(15deg) translateY(60px);
  }
}

header {
  position: absolute;
  top: 50px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}

.logo-box {
  display: flex;
  gap: 4px;
}

.sq {
  width: 12px;
  height: 12px;
  border-radius: 1px;
}

.sq.active {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
  animation: core-pulse 3s infinite alternate ease-in-out;
}

.sq.ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes core-pulse {
  from {
    opacity: 0.7;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}

.brand-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

main {
  width: 100%;
  max-width: 1200px;
  padding: 0 60px;
  z-index: 10;
}

.line {
  font-size: clamp(24px, 4.5vw, 42px);
  line-height: 1.4;
  font-weight: 200;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  opacity: 0;
  animation: reveal-text 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line:nth-child(1) {
  animation-delay: 0.1s;
}
.line:nth-child(2) {
  animation-delay: 0.3s;
}
.line:nth-child(3) {
  animation-delay: 0.5s;
}
.line:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes reveal-text {
  from {
    opacity: 0;
    transform: translateX(-10px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.highlight {
  color: var(--text-highlight);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-primary),
    transparent
  );
  box-shadow: 0 0 8px var(--accent-primary);
  opacity: 0.6;
  animation: underline-glow 4s infinite alternate ease-in-out;
}

@keyframes underline-glow {
  from {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  to {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

footer {
  position: absolute;
  bottom: 50px;
  right: 60px;
  z-index: 20;
}

.nav-footer {
  display: flex;
  gap: 25px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3d4a5e;
}

.nav-footer span::after {
  content: '·';
  margin-left: 25px;
  opacity: 0.3;
}

.nav-footer span:last-child::after {
  content: '';
}

@media (max-width: 768px) {
  header,
  footer {
    left: 30px;
    right: 30px;
  }
  header {
    top: 30px;
  }
  main {
    padding: 0 30px;
  }
  .line {
    font-size: 20px;
  }
  .nav-footer {
    gap: 12px;
    font-size: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-footer span::after {
    margin-left: 12px;
  }
}
