/* ==========================================================================
   THALRIX® DESIGN SYSTEM // VERCEL / LINEAR / ACETERNITY UI AESTHETIC
   Bespoke, High-Performance Tech & Maker Portfolio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* Linear / Vercel Dark Color Tokens */
  --bg-black: #06070a;
  --bg-surface: #0c0e14;
  --bg-card: rgba(13, 16, 24, 0.7);
  --bg-card-hover: rgba(20, 24, 38, 0.85);
  
  /* Electric Accents */
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --cyan-dim: rgba(0, 229, 255, 0.08);
  
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --purple-dim: rgba(139, 92, 246, 0.08);

  --indigo: #6366f1;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.25);
  --border-active: rgba(0, 229, 255, 0.6);

  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Curves & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere (Vercel & Linear Grid) */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 10% 40%, rgba(139, 92, 246, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    var(--bg-black);
}

.mesh-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Containers */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
  position: relative;
}

.section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 65px 0;
  }
}

/* Badges & Section Headers */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.pill-badge.cyan {
  background: var(--cyan-dim);
  border-color: rgba(0, 229, 255, 0.25);
  color: var(--cyan);
}

.pill-badge.purple {
  background: var(--purple-dim);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--purple);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ==========================================================================
   FLOATING NAVBAR (LINEAR / FRAMER STYLE)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.3s ease;
}

.nav-bar {
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-gem {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  transform: rotate(45deg);
  border-radius: 3px;
  box-shadow: 0 0 14px var(--cyan);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Interactive Soundscape Mini-Player in Header */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.sound-toggle-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.audio-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 11px;
}

.audio-bar {
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
}

.sound-toggle-btn.active .audio-bar:nth-child(1) { animation: wave 0.8s ease-in-out infinite alternate; }
.sound-toggle-btn.active .audio-bar:nth-child(2) { animation: wave 1.1s ease-in-out infinite alternate 0.2s; }
.sound-toggle-btn.active .audio-bar:nth-child(3) { animation: wave 0.9s ease-in-out infinite alternate 0.4s; }

@keyframes wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Nav Intro Reaktor Button */
.nav-intro-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-intro-btn:hover {
  border-color: var(--cyan);
  color: #fff;
  background: var(--cyan-dim);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.nav-intro-btn .intro-spark {
  color: var(--cyan);
  font-size: 0.85rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.mobile-nav-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 960px) {
  .nav-menu, .status-pill {
    display: none;
  }
  .mobile-nav-btn {
    display: block;
  }
}

/* Modern Buttons (Vercel & Aceternity Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #fff;
  color: #06070a;
  border: none;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--cyan);
  color: #06070a;
  box-shadow: 0 0 35px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* ==========================================================================
   HERO SECTION WITH INTEGRATED INTERACTIVE REACTOR CORE
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 75px;
  text-align: center;
  position: relative;
}

.hero-glow-beam {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.07) 55%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

/* Interactive Hero Reactor Card (Integrated System Entry) */
.hero-reactor-card {
  background: rgba(12, 15, 25, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  max-width: 680px;
  margin: 0 auto 50px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.hero-reactor-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 40px -10px rgba(0, 229, 255, 0.15);
}

@media (max-width: 650px) {
  .hero-reactor-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

.reactor-preview-wheel {
  width: 90px;
  height: 90px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wheel-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-ring-1 {
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(0, 229, 255, 0.4);
  border-top-color: var(--cyan);
  animation: rotateRing 8s linear infinite;
}

.wheel-ring-2 {
  width: 70px;
  height: 70px;
  border: 2px dotted rgba(139, 92, 246, 0.4);
  border-bottom-color: var(--purple);
  animation: rotateRing 12s linear infinite reverse;
}

.wheel-center-core {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle, var(--cyan), var(--purple));
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #000;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.wheel-center-core:hover {
  transform: scale(1.15);
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reactor-card-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.reactor-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Quick Specs Ribbon */
.hero-specs-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(13, 16, 26, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(16px);
}

.spec-ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 8px;
}

.spec-ribbon-item:last-child {
  border-right: none;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-specs-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }
  .spec-ribbon-item:nth-child(2) {
    border-right: none;
  }
}

/* ==========================================================================
   ACETERNITY UI SPOTLIGHT CARD EFFECT
   Cards react to mouse cursor with radial glow along borders
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(0, 229, 255, 0.09),
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.spotlight-card * {
  position: relative;
  z-index: 2;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .col-8, .col-7, .col-6, .col-5, .col-4 {
    grid-column: span 12;
  }
}

/* Project Cards */
.project-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.project-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.project-card p {
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 24px;
}

.project-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s ease;
}

.project-link-btn:hover {
  gap: 12px;
  color: #fff;
}

/* ==========================================================================
   4-NODE vSERVER CLUSTER (NEXUS UNION PROTOCOL)
   ========================================================================== */
.cluster-card {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(13, 16, 28, 0.85) 0%, rgba(18, 14, 34, 0.8) 100%);
  border-color: rgba(139, 92, 246, 0.25);
}

.cluster-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.cluster-title-group h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.cluster-title-group p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cluster-node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .cluster-node-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .cluster-node-grid {
    grid-template-columns: 1fr;
  }
}

.node-item {
  background: rgba(10, 13, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.node-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.node-item.node-purple::before {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.node-item:hover {
  border-color: var(--cyan);
  background: rgba(14, 18, 28, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--cyan-dim);
  transform: translateY(-3px);
}

.node-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.node-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-item.node-purple .node-tag {
  color: #c084fc;
}

.node-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 12px;
}

.node-spec-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-dim {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.spec-val.role-mint {
  color: #34d399;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.cluster-metrics-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.metric-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-pill-item strong {
  color: var(--cyan);
}

/* ==========================================================================
   HARDWARE BATTLESTATION RIG (INTERACTIVE EXPLORER)
   ========================================================================== */
.rig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .rig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .rig-grid {
    grid-template-columns: 1fr;
  }
}

.rig-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rig-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.rig-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rig-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.rig-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT TOBIAS / WHOAMI (AUTHENTIC MAKER SECTION)
   ========================================================================== */
.about-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-box {
    grid-template-columns: 1fr;
  }
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.about-fact-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.fact-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.about-visual-card {
  background: linear-gradient(135deg, rgba(16, 20, 36, 0.8), rgba(28, 18, 48, 0.7));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
}

.about-avatar-glow {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: radial-gradient(circle, var(--cyan), var(--purple));
  box-shadow: 0 0 35px var(--cyan-glow);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
}

/* ==========================================================================
   STANDALONE SOUNDSCAPE CARD (MINECRAFT C418 STYLE)
   ========================================================================== */
.soundscape-card {
  background: linear-gradient(135deg, rgba(13, 16, 28, 0.85) 0%, rgba(22, 14, 38, 0.85) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 45px 35px;
  text-align: center;
  position: relative;
}

.soundscape-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.soundscape-card p {
  max-width: 580px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.soundscape-controls {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 10px 24px;
  border-radius: var(--radius-full);
}

.sound-play-button {
  background: var(--cyan);
  color: #06070a;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 25px var(--cyan-glow);
  transition: all 0.25s ease;
}

.sound-play-button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 35px var(--cyan);
}

.sound-play-button.active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 30px var(--purple-glow);
}

/* ==========================================================================
   PARTNER & COMMUNITY NODES
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.partner-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.partner-icon {
  font-size: 1.5rem;
}

.partner-box h4 {
  font-size: 1.15rem;
}

.partner-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ==========================================================================
   FAQ ACCORDION (SHADCN / RADIX STYLE)
   ========================================================================== */
.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-btn:hover {
  color: var(--cyan);
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-card.open .faq-plus {
  transform: rotate(45deg);
  background: var(--cyan);
  color: #000;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-card.open .faq-content {
  max-height: 260px;
  padding-bottom: 22px;
}

.faq-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   CONNECT & CONTACT SECTION
   ========================================================================== */
.connect-card {
  background: linear-gradient(135deg, rgba(12, 15, 26, 0.8), rgba(20, 16, 38, 0.75));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 800px) {
  .connect-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

.connect-left h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.connect-left p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.connect-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.channel-pill:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  transform: translateX(4px);
}

.channel-icon {
  font-size: 1.3rem;
  color: var(--cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 35px;
  background: #040508;
  font-size: 0.86rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll Animation Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTRO GATEWAY (index.html)
   ========================================================================== */
.intro-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  user-select: none;
}

.intro-box {
  max-width: 640px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.intro-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.intro-title {
  font-size: clamp(2.8rem, 6.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.intro-subtext {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.intro-reactor {
  width: 260px;
  height: 260px;
  margin: 0 auto 40px;
  position: relative;
  display: grid;
  place-items: center;
}

.intro-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.intro-ring-1 {
  width: 260px;
  height: 260px;
  border: 2px dashed rgba(0, 229, 255, 0.35);
  border-top-color: var(--cyan);
  animation: introRotate 10s linear infinite;
}

.intro-ring-2 {
  width: 205px;
  height: 205px;
  border: 2px dotted rgba(139, 92, 246, 0.45);
  border-bottom-color: var(--purple);
  animation: introRotate 14s linear infinite reverse;
}

.intro-ring-3 {
  width: 155px;
  height: 155px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-left-color: #fff;
  animation: introRotate 7s linear infinite;
}

@keyframes introRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.intro-core-btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0, 229, 255, 0.45) 0%, rgba(9, 12, 24, 0.95) 75%);
  border: 2px solid var(--cyan);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 0 35px var(--cyan-glow), inset 0 0 20px var(--purple-glow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 20;
}

.intro-core-btn:hover {
  background: var(--cyan);
  color: #06070a;
  transform: scale(1.12);
  box-shadow: 0 0 60px var(--cyan), 0 0 80px var(--purple);
  border-color: #fff;
}

.intro-prompt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.intro-telemetry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.intro-telemetry span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.intro-telemetry strong {
  color: var(--cyan);
}

.intro-skip-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.intro-skip-link:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.intro-fade-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.intro-fade-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Intro Interactive Particle Canvas */
#introParticleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Topbar for Intro Gateway */
.intro-topbar {
  position: fixed;
  top: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.intro-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.intro-top-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Automated Boot Progress Meter */
.intro-progress-container {
  width: 100%;
  max-width: 340px;
  margin: 12px auto 26px;
  text-align: center;
}

.intro-progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.intro-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: 0 0 12px var(--cyan);
  border-radius: var(--radius-full);
  transition: width 0.04s linear;
}

.intro-progress-text {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.intro-progress-text span:last-child {
  color: var(--cyan);
  font-weight: 700;
}

/* 3D Perspective Tilt on Box */
.intro-box {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* Warp Shockwave Animation */
.intro-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%) scale(0.5);
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 40px var(--cyan), inset 0 0 20px var(--purple);
  opacity: 0;
  pointer-events: none;
  z-index: 15;
}

.intro-shockwave.fire {
  animation: shockwaveExpand 0.7s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes shockwaveExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
    border-color: #fff;
  }
  100% {
    transform: translate(-50%, -50%) scale(7.5);
    opacity: 0;
    border-color: var(--cyan);
  }
}

/* Warp Mode for Reactor */
.intro-reactor.warp .intro-ring-1 {
  animation-duration: 0.6s !important;
  border-color: #fff !important;
  box-shadow: 0 0 35px var(--cyan);
}

.intro-reactor.warp .intro-ring-2 {
  animation-duration: 0.8s !important;
  border-color: var(--purple) !important;
  box-shadow: 0 0 40px var(--purple);
}

.intro-reactor.warp .intro-ring-3 {
  animation-duration: 0.4s !important;
  border-color: #fff !important;
}

.intro-reactor.warp .intro-core-btn {
  transform: scale(1.22);
  background: #fff;
  color: #06070a;
  box-shadow: 0 0 90px var(--cyan), 0 0 120px var(--purple);
  border-color: #fff;
}

/* System HUD Toast for core.html */
.hud-toast {
  position: fixed;
  top: 80px;
  right: 24px;
  background: rgba(10, 14, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-main);
  z-index: 2000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hud-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.hud-toast-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .intro-topbar {
    top: 14px;
    left: 16px;
    right: 16px;
  }
  .intro-title {
    font-size: 2.4rem;
  }
  .intro-reactor {
    width: 220px;
    height: 220px;
  }
  .intro-ring-1 {
    width: 220px;
    height: 220px;
  }
  .intro-ring-2 {
    width: 175px;
    height: 175px;
  }
  .intro-ring-3 {
    width: 130px;
    height: 130px;
  }
  .intro-core-btn {
    width: 90px;
    height: 90px;
    font-size: 0.95rem;
  }
  .intro-telemetry {
    gap: 12px;
    font-size: 0.68rem;
  }
}
