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

:root {
  --bg: #0a0a0a;
  --text: #fafafa;
  --text-dim: #666;
  --accent: #22d3ee;
  --gradient: linear-gradient(135deg, #22d3ee, #a78bfa);
}

html {
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  overflow: hidden;
  cursor: default;
}

#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.7s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.9s;
  transition: all 0.25s ease;
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.line {
  display: block;
  overflow: hidden;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay) * 0.1s + 0.3s);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.word.accent {
  font-style: italic;
}

.word.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin-top: 40px;
  font-size: 1rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1s;
}

/* CTA Button */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 50px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
  width: fit-content;
}

.cta:hover {
  background: var(--gradient);
  border-color: black;
  color: #000;
}

.cta-whitepaper:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.cta svg {
  transition: transform 0.3s ease;
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Stats Footer */
.stats {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* Corner Info */
.corner-info {
  position: fixed;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2s;
}

.corner-info span:last-child {
  color: var(--text);
  font-weight: 700;
}

.top-right {
  top: 40px;
  right: 60px;
  text-align: right;
}

.bottom-left {
  bottom: 40px;
  left: 60px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--text-dim);
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 30px;
  }

  .hero {
    padding-left: 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  .stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
  }

  .stat {
    flex: 1 1 45%;
  }

  .corner-info {
    display: none;
  }

  .top-right {
    top: 30px;
    right: 30px;
  }

  .bottom-left {
    bottom: 30px;
    left: 30px;
  }
}
