:root {
  color-scheme: dark;
  --bg-deep: #07090e;
  --bg-card: rgba(17, 24, 39, 0.55);
  --bg-card-hover: rgba(23, 32, 51, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 245, 255, 0.35);
  --cyan-neon: #00f5ff;
  --indigo-neon: #6366f1;
  --violet-glow: #8b5cf6;
  --text-bright: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --success: #10b981;
  --error: #f43f5e;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-bright);
  font-family: var(--font-sans);
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--cyan-neon);
  color: var(--bg-deep);
}

/* Background Canvas & Ambient Orbs */
#mesh-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  will-change: transform;
}

.orb-top {
  top: -10vw;
  left: 20vw;
  width: 50vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0, 245, 255, 0.08) 60%, transparent 80%);
}

.orb-bottom {
  bottom: -15vw;
  right: 10vw;
  width: 55vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(0, 245, 255, 0.05) 60%, transparent 80%);
}

/* Layout Container */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.35));
}

.brand-text {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name {
  color: var(--text-bright);
  letter-spacing: 0.08em;
}

.brand-tld {
  color: var(--cyan-neon);
  font-weight: 500;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.status-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-neon);
}

.status-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--cyan-neon);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 3rem;
  gap: 3.5rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 800px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan-neon);
  margin-bottom: 1.5rem;
}

.badge-index {
  opacity: 0.8;
}

.badge-divider {
  opacity: 0.4;
}

.headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-bright);
}

.gradient-text {
  background: linear-gradient(135deg, #00f5ff 10%, #818cf8 50%, #c084fc 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.subheadline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.subheadline strong {
  color: var(--text-bright);
  font-weight: 600;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.action-btn {
  height: 3.25rem;
  padding: 0 1.6rem;
  background: linear-gradient(135deg, #00f5ff 0%, #6366f1 100%);
  border-radius: 12px;
  color: #07090e;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 245, 255, 0.25);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 245, 255, 0.4);
  filter: brightness(1.08);
}

.action-btn:active {
  transform: translateY(0);
}

.action-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.action-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.status-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 6px var(--cyan-neon);
}

/* Pillars Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 245, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pillar-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-neon);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pillar-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.3);
  color: #ffffff;
  transform: scale(1.05);
}

.pillar-icon-box svg {
  width: 20px;
  height: 20px;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Roadmap Status Box */
.roadmap-box {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.roadmap-title {
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.roadmap-progress {
  color: var(--cyan-neon);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f5ff 0%, #6366f1 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.milestone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.milestone.completed {
  color: var(--text-secondary);
}
.milestone.completed .milestone-dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.milestone.active {
  color: var(--cyan-neon);
  font-weight: 600;
}
.milestone.active .milestone-dot {
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
  animation: pulse-ring 1.8s infinite;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-sep {
  opacity: 0.3;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: var(--transition-smooth);
}

.footer-email:hover {
  color: var(--cyan-neon);
}

.footer-email-icon {
  width: 15px;
  height: 15px;
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .main-content {
    padding: 3rem 0 2.5rem;
    gap: 2.5rem;
  }

  .footer {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .milestones {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .page-container {
    padding: 1.5rem 1.25rem 1rem;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.85rem;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  .headline {
    font-size: 2.4rem;
  }
}
