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

:root {
  --orange: #ff6b00;
  --orange-light: #ff8c28;
  --orange-dark: #e55c00;
  --orange-deep: #cc4f00;
  --text-dark: rgba(0, 0, 0, 0.9);
  --text-medium: rgba(0, 0, 0, 0.6);
  --text-light: rgba(0, 0, 0, 0.4);
  --border-light: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.15);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  background: var(--orange);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #ff7300 0%, #ff6000 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(255, 200, 100, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(200, 80, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 2;
}

.navbar {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4rem;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 24px;
  height: 24px;
  position: relative;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--text-dark);
  transform: rotate(45deg);
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--text-dark);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.login-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-btn:hover {
  color: var(--text-dark);
}

.menu-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 3px;
}

.menu-btn span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.menu-btn i {
  display: block;
  width: 3px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 50%;
}

.hero-main {
  position: relative;
  z-index: 10;
  display: flex;
  height: calc(100vh - 100px);
  padding: 0 4rem;
}

.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  padding-left: 6rem;
  padding-right: 4rem;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.headline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.headline-line {
  display: block;
}

.subheadline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-medium);
  max-width: 360px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.subheadline p + p {
  margin-top: 0.3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  border: 1.5px solid var(--text-dark);
  border-radius: 2px;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: fit-content;
}

.cta-button:hover {
  background: var(--text-dark);
  color: var(--orange);
}

.cta-button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

.center-panel {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scrolling-list {
  position: absolute;
  left: 42%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 24vw;
  height: 50vh;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}

.list-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  animation: scrollUp 30s linear infinite;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.list-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.06rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.5);
  text-stroke: 0.8px rgba(0, 0, 0, 0.5);
  padding: 0.65rem 0;
  padding-left: 0.5rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
  position: relative;
  transition: all 0.3s ease;
}

.list-item::before {
  content: '>';
  position: absolute;
  left: -1.2rem;
  color: transparent;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.3);
  text-stroke: 0.8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  opacity: 0.8;
}

.item-bracket {
  color: transparent;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.25);
  text-stroke: 0.8px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  margin: 0 0.3em;
}

.list-item:nth-child(odd) {
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.6);
  text-stroke: 0.8px rgba(0, 0, 0, 0.6);
}

.list-track:hover {
  animation-play-state: paused;
}

.right-panel {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.data-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.data-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.data-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
}

.data-bars {
  display: flex;
  gap: 2px;
  margin-top: 0.25rem;
}

.data-bars span {
  display: block;
  width: 3px;
  height: 12px;
  background: var(--text-light);
  opacity: 0.3;
}

.data-bars span.active {
  opacity: 1;
  background: var(--text-dark);
}

.portrait-container {
  position: absolute;
  right: 10%;
  bottom: 0;
  height: 90%;
  z-index: 15;
}

.portrait {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: contrast(1.05) saturate(0.95);
}

.portrait-reveal {
  position: absolute;
  inset: 0;
  background-image: url('2.png');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  filter: contrast(1.05) saturate(0.95);
  pointer-events: none;
  z-index: 1;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portrait-container:hover .portrait-reveal {
  opacity: 1;
}

.portrait-glow {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.corner-brackets {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  pointer-events: none;
}

.bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--text-dark);
  opacity: 0.3;
}

.bracket.tl { top: -80px; right: 0; border-right: none; border-bottom: none; }
.bracket.tr { top: -80px; right: -200px; border-left: none; border-bottom: none; }
.bracket.bl { bottom: -80px; right: 0; border-right: none; border-top: none; }
.bracket.br { bottom: -80px; right: -200px; border-left: none; border-top: none; }

.radar-circle {
  position: absolute;
  right: 6rem;
  bottom: 5rem;
  z-index: 25;
  width: 140px;
  height: 140px;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  opacity: 0.2;
}

.radar-ring-2 {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  opacity: 0.15;
}

.radar-ring-3 {
  position: absolute;
  inset: 40px;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  opacity: 0.1;
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: var(--text-dark);
  border-radius: 50%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  animation: radarSweep 4s linear infinite;
}

.radar-sweep::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 0, 0, 0.15) 30deg, transparent 60deg);
  transform-origin: top left;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--text-dark);
  border-radius: 50%;
  opacity: 0.6;
}

.radar-dot.d1 { top: 25%; left: 30%; animation: dotBlink 2s ease-in-out infinite; }
.radar-dot.d2 { top: 60%; left: 70%; animation: dotBlink 2.5s ease-in-out infinite 0.5s; }
.radar-dot.d3 { top: 35%; left: 75%; animation: dotBlink 3s ease-in-out infinite 1s; }

@keyframes dotBlink {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.radar-label {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.monitoring-box {
  position: absolute;
  right: 4rem;
  bottom: 4rem;
  z-index: 30;
  text-align: right;
}

.monitoring-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.monitoring-number sup {
  font-size: 1rem;
  vertical-align: super;
}

.monitoring-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.monitoring-bars {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.monitoring-bars span {
  display: block;
  width: 4px;
  background: var(--text-dark);
  opacity: 0.7;
  animation: barJump 1s ease-in-out infinite;
}

.monitoring-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.monitoring-bars span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.monitoring-bars span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.monitoring-bars span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.monitoring-bars span:nth-child(5) { height: 12px; animation-delay: 0.4s; }
.monitoring-bars span:nth-child(6) { height: 16px; animation-delay: 0.5s; }
.monitoring-bars span:nth-child(7) { height: 8px; animation-delay: 0.6s; }

@keyframes barJump {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

.core-modules {
  position: absolute;
  left: 4rem;
  bottom: 4rem;
  z-index: 30;
}

.modules-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.modules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-medium);
  cursor: pointer;
  transition: color 0.3s ease;
}

.module-item:hover {
  color: var(--text-dark);
}

.module-num {
  font-size: 0.6rem;
  color: var(--text-light);
  min-width: 20px;
}

.module-progress {
  flex: 1;
  width: 80px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.module-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--text-dark);
}

.module-item:nth-child(1) .module-progress::after { width: 95%; }
.module-item:nth-child(2) .module-progress::after { width: 82%; }
.module-item:nth-child(3) .module-progress::after { width: 88%; }
.module-item:nth-child(4) .module-progress::after { width: 91%; }

.scroll-indicator {
  position: absolute;
  left: 4rem;
  bottom: 1.5rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.scroll-line {
  width: 30px;
  height: 1px;
  background: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(0,0,0,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,1) 1px, transparent 1px);
  background-size: 80px 80px;
}

.deco-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--text-dark), transparent);
  opacity: 0.1;
  z-index: 3;
}

.deco-line-1 {
  top: 30%;
  left: 0;
  width: 200px;
  height: 1px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.deco-line-2 {
  top: 60%;
  left: 10%;
  width: 150px;
  height: 1px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

@media (max-width: 1200px) {
  .navbar { padding: 1.5rem 2rem; }
  .hero-main { padding: 0 2rem; }
  .nav-links { gap: 2rem; }
  .left-panel { max-width: 45%; padding-right: 2rem; }
  .portrait-container { height: 80%; }
  .core-modules { left: 2rem; bottom: 3rem; }
  .monitoring-box { right: 2rem; bottom: 3rem; }
  .radar-circle { right: 3rem; bottom: 6rem; }
  .scroll-indicator { left: 2rem; }
  .right-panel { right: 2rem; }
  .corner-brackets { right: 2rem; }
}

@media (max-width: 900px) {
  html, body { overflow: auto; }
  .hero { height: auto; min-height: 100vh; }
  .nav-links { display: none; }
  .hero-main { flex-direction: column; height: auto; padding: 2rem; }
  .left-panel { max-width: 100%; padding-right: 0; padding-top: 3rem; }
  .portrait-container { position: relative; height: 60vh; right: auto; bottom: auto; margin-top: 2rem; }
  .portrait { object-position: bottom center; }
  .center-panel { display: none; }
  .scrolling-list { display: none; }
  .right-panel { position: relative; right: auto; top: auto; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 2rem 0; gap: 2rem; }
  .data-item { align-items: center; }
  .corner-brackets { display: none; }
  .core-modules { position: relative; left: auto; bottom: auto; margin: 2rem; }
  .monitoring-box { position: relative; right: auto; bottom: auto; margin: 2rem; text-align: left; }
  .radar-circle { display: none; }
  .scroll-indicator { display: none; }
}
