:root {
  --font-primary: "Pixelify Sans", "Courier New", monospace;
  --text-color: rgba(245, 245, 245, 0.9);
  --warm-off-black: #1a1917;
  --warm-off-white: #f8f5f2;
}

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

html {
  height: 100%;
}

body {
  background: #000000;
  font-family: var(--font-primary);
  width: 100vw;
  height: 700vh;
  overflow-x: hidden;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://assets.codepen.io/7558/noise-002.png");
  background-repeat: repeat;
  opacity: 0.08;
  z-index: 1000;
  pointer-events: none;
}

.loading-active {
  overflow: hidden !important;
}

.audio-enable {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--text-color);
  text-transform: uppercase;
  gap: 2rem;
  text-align: center;
  padding: 1rem;
}

.enable-button {
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  padding: 1rem 2rem;
  font-family: var(--font-primary);
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.enable-button:hover {
  background: var(--text-color);
  color: #0a0a0a;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--text-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 245, 245, 0.05);
  z-index: 100;
  padding: 0;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 40px;
  width: auto;
  filter: invert(1);
  transition: opacity 0.3s ease;
}

.logo-image:hover {
  opacity: 0.8;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a.active {
  opacity: 1;
  color: #44ff88;
}

.nav-hover-square {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-out;
}

.nav-hover-square::before {
  content: '████';
  position: absolute;
  font-size: 4px;
  letter-spacing: 0;
  color: var(--text-color);
  width: 100%;
  text-align: center;
  line-height: 4px;
}

.main-nav a.active + .nav-hover-square {
  transform: scaleX(1);
}

.main-nav a.active + .nav-hover-square::before {
  content: '████';
  color: #44ff88;
  text-shadow: 0 0 5px #44ff88;
}

.main-nav li:hover .nav-hover-square {
  transform: scaleX(1);
}

@keyframes pixelGrow {
  0% { clip-path: inset(0 100% 0 0); }
  20% { clip-path: inset(0 80% 0 0); }
  40% { clip-path: inset(0 60% 0 0); }
  60% { clip-path: inset(0 40% 0 0); }
  80% { clip-path: inset(0 20% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle {
  background: transparent;
  border: 1px solid rgba(245, 245, 245, 0.2);
  color: var(--text-color);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sound-toggle:hover {
  border-color: var(--text-color);
  background: rgba(245, 245, 245, 0.1);
}

.sound-toggle .sound-icon.off {
  display: none;
}

.sound-toggle.muted .sound-icon.on {
  display: none;
}

.sound-toggle.muted .sound-icon.off {
  display: inline;
  color: #ff4444;
}

.launch-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0a0a0a;
  background: var(--text-color);
  text-decoration: none;
  font-size: 11px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.launch-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.launch-btn:hover {
  background: #44ff88;
  color: #0a0a0a;
}

.launch-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Scroll Progress */
.header-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #44ff88, #00d4ff);
  transition: width 0.1s ease;
}

/* Header scroll state */
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section {
  height: 200vh;
  position: relative;
  background-size: contain;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #000000;
  margin: 0;
  padding: 0;
  display: block;
  border: none;
  outline: none;
  line-height: 0;
  font-size: 11px;
  float: left;
  width: 100%;
  clear: both;
}

.section-1 {
  background-image: url("images/heroascii.png");
}

.section-2 {
  background-image: none;
}

.section-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}

.section-3 {
  background-image: url("images/ascii2.png");
}

.geometric-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
  overflow: visible;
}

.geometric-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.grid-line {
  stroke: rgba(245, 245, 245, 0.15);
  stroke-width: 1;
  stroke-opacity: 0.3;
  shape-rendering: crispEdges;
}

.circle-outline {
  stroke: rgba(245, 245, 245, 0.3);
  stroke-width: 1;
  fill: none;
  vector-effect: non-scaling-stroke;
  transition: all 0.3s ease-out;
  will-change: transform, opacity;
}

.circle-filled {
  stroke: rgba(245, 245, 245, 0.3);
  stroke-width: 1;
  fill: rgba(245, 245, 245, 0.05);
  vector-effect: non-scaling-stroke;
  transition: all 0.3s ease-out;
  will-change: transform, opacity;
}

.geometric-text {
  font-family: var(--font-primary);
  font-size: 12px;
  fill: rgba(245, 245, 245, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.center-circle {
  transition: opacity 0.3s ease-out;
}

#glowCircle {
  transition: all 0.3s ease-out;
}

.section-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.content-card {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 245, 245, 0.1);
  padding: 3rem;
  max-width: 1200px;
  width: 90%;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.3em;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.section-desc {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* ML Training Card - Advanced */
.ml-training-card {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(68, 255, 136, 0.3);
  margin: 2rem 0;
  overflow: hidden;
  position: relative;
}

.ml-training-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #44ff88, #4FABFF, transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Header */
.ml-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(68, 255, 136, 0.2);
  background: rgba(68, 255, 136, 0.03);
}

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

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

.ml-status-dot {
  width: 10px;
  height: 10px;
  background: #44ff88;
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px #44ff88; }
  50% { opacity: 0.5; box-shadow: 0 0 20px #44ff88; }
}

.ml-status-text {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #44ff88;
}

.ml-mode {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #FFDDB7;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 221, 183, 0.3);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ml-epoch {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.6);
}

/* Body */
.ml-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 280px;
  border-bottom: 1px solid rgba(68, 255, 136, 0.2);
}

.ml-section-label {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 245, 0.4);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Neural Network Section */
.ml-neural-section {
  border-right: 1px solid rgba(68, 255, 136, 0.15);
}

.ml-neural-network {
  padding: 0.5rem;
  height: calc(100% - 35px);
  display: flex;
  flex-direction: column;
}

.neural-svg {
  flex: 1;
  width: 100%;
}

.nn-node {
  fill: rgba(68, 255, 136, 0.2);
  stroke: #44ff88;
  stroke-width: 1;
  transition: all 0.3s ease;
}

.nn-node.active {
  fill: #44ff88;
  filter: drop-shadow(0 0 8px #44ff88);
}

.nn-output {
  fill: rgba(79, 171, 255, 0.2);
  stroke: #4FABFF;
}

.nn-output.active {
  fill: #4FABFF;
  filter: drop-shadow(0 0 8px #4FABFF);
}

.nn-connection {
  stroke: rgba(68, 255, 136, 0.15);
  stroke-width: 1;
  fill: none;
}

.nn-connection.active {
  stroke: #44ff88;
  stroke-width: 2;
  filter: drop-shadow(0 0 3px #44ff88);
  animation: signalFlow 0.5s ease-out;
}

@keyframes signalFlow {
  0% { stroke-dashoffset: 50; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.nn-labels {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.3);
}

/* Data Stream Section */
.ml-data-section {
  border-right: 1px solid rgba(68, 255, 136, 0.15);
  display: flex;
  flex-direction: column;
}

.ml-data-stream {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

.data-line {
  height: 22px;
  background: rgba(68, 255, 136, 0.03);
  border-left: 2px solid rgba(68, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.data-line::before {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #44ff88;
  white-space: nowrap;
  animation: dataScroll 12s linear infinite;
}

.data-line:nth-child(1)::before { content: 'SOL/USDC $98.42 ▸ VOL 24h: $2.4M ▸ CHG: +2.3%'; animation-duration: 10s; }
.data-line:nth-child(2)::before { content: 'KAMINO kSOL APY: 12.4% ▸ TVL: $847K ▸ UTIL: 82%'; animation-duration: 11s; animation-delay: -2s; }
.data-line:nth-child(3)::before { content: 'DRIFT SOL-PERP FUNDING: +0.021% ▸ OI: $12.4M'; animation-duration: 12s; animation-delay: -4s; }
.data-line:nth-child(4)::before { content: 'ORCA SOL/USDC LP ▸ FEE 24h: $4.2K ▸ APR: 18%'; animation-duration: 10.5s; animation-delay: -1s; }
.data-line:nth-child(5)::before { content: 'MARGINFI SUPPLY: 78% ▸ BORROW: 8.2% ▸ LTV: 65%'; animation-duration: 11.5s; animation-delay: -3s; }
.data-line:nth-child(6)::before { content: 'JUPITER ROUTE: SOL→USDC→RAY ▸ SLIP: 0.12%'; animation-duration: 13s; animation-delay: -5s; }
.data-line:nth-child(7)::before { content: 'METEORA DLMM BIN: #142 ▸ RANGE: $95-$105'; animation-duration: 12.5s; animation-delay: -2.5s; }
.data-line:nth-child(8)::before { content: 'RAYDIUM CLMM ▸ TICK: 1842 ▸ LIQ: $1.8M'; animation-duration: 11s; animation-delay: -4.5s; }

@keyframes dataScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-150%); }
}

.ml-current-data {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.data-label {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(245, 245, 245, 0.4);
}

.data-value {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #4FABFF;
}

/* Metrics Section */
.ml-metrics-section {
  display: flex;
  flex-direction: column;
}

.ml-loss-graph {
  padding: 0.75rem;
  height: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ml-loss-graph canvas {
  width: 100%;
  height: 100%;
}

.ml-live-metrics {
  flex: 1;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-key {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.5);
}

.metric-val {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #FFDDB7;
}

.metric-val.accent {
  color: #44ff88;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(68, 255, 136, 0.5);
}

/* Footer */
.ml-card-footer {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
}

.ml-console {
  height: 70px;
  padding: 0.75rem 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(68, 255, 136, 0.1);
}

.console-line {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.4;
  color: #44ff88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: consoleFadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes consoleFadeIn {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

.ml-progress-bar {
  height: 4px;
  background: rgba(68, 255, 136, 0.1);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #44ff88, #4FABFF);
  transition: width 0.3s ease;
}

/* Tech Stack */
.tech-stack {
  margin: 3rem 0;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(68, 255, 136, 0.2);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
}

.tech-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(68, 255, 136, 0.5), transparent);
}

.tech-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: #44ff88;
  margin-bottom: 2.5rem;
  text-align: center;
}

.tech-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(245, 245, 245, 0.15);
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  min-width: 180px;
}

.tech-item:hover {
  border-color: rgba(68, 255, 136, 0.5);
  background: rgba(68, 255, 136, 0.08);
  transform: translateY(-4px);
}

.tech-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.3);
  transition: all 0.3s ease;
}

.tech-item:hover .tech-logo {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.1);
}

.tech-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  min-width: 100px;
}

.tech-name {
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

.tech-desc {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(245, 245, 245, 0.5);
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
}

/* Protocol Features - Section 1 */
.protocol-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.protocol-feature {
  padding: 1.5rem;
  border: 1px solid rgba(245, 245, 245, 0.08);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease;
}

.protocol-feature:hover {
  border-color: rgba(245, 245, 245, 0.25);
}

.pf-icon {
  font-size: 18px;
  opacity: 0.6;
  display: block;
  margin-bottom: 0.75rem;
}

.protocol-feature h3 {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.protocol-feature p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.65;
}

.flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 180px;
  padding: 1.5rem;
  border: 1px solid rgba(245, 245, 245, 0.08);
}

.step-number {
  font-size: 24px;
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.flow-step h3 {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

/* How It Works Enhanced Styles */
.how-it-works-card {
  max-width: 1200px;
}

.features-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.features-label,
.architecture-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
  color: #44ff88;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.feature-content p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.6;
}

/* Architecture Diagram */
.architecture-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.architecture-diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.arch-wallet {
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
}

.arch-user {
  border-color: rgba(79, 171, 255, 0.4);
  border-left: 3px solid #4fabff;
}

.arch-agent {
  border-color: rgba(68, 255, 136, 0.4);
  border-left: 3px solid #44ff88;
}

.wallet-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #0a0a0a;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.5);
}

.wallet-name {
  display: block;
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.wallet-type {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

.arch-user .wallet-type {
  color: #4fabff;
}

.arch-agent .wallet-type {
  color: #44ff88;
}

.wallet-desc {
  display: block;
  font-size: 11px;
  opacity: 0.5;
}

.arch-connector {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.connector-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(245, 245, 245, 0.4);
  white-space: nowrap;
}

.arch-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.arch-action {
  flex: 1;
  padding: 1rem 0.75rem;
  text-align: center;
  background: rgba(68, 255, 136, 0.03);
  border: 1px solid rgba(68, 255, 136, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.action-name {
  display: block;
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #44ff88;
}

.action-protocol {
  font-size: 9px;
  letter-spacing: 0.05em;
  opacity: 0.5;
  line-height: 1.5;
}

.action-limit {
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.5rem;
  background: rgba(68, 255, 136, 0.1);
  color: #44ff88;
  margin-top: 0.15rem;
}

/* AI Card Styles */
.ai-card {
  max-width: 400px;
  margin: 0 auto 3rem auto;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 30, 30, 0.7);
  box-shadow: 2px 4px 16px 0px rgba(248, 248, 248, 0.06) inset;
}

.ai-card-skeleton {
  height: 180px;
  border-radius: 12px;
  background: rgba(40, 40, 40, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  mask-image: radial-gradient(60% 60% at 50% 50%, white 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, white 0%, transparent 100%);
}

.ai-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ai-icon-container {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 248, 248, 0.02);
  box-shadow: 0px 0px 8px 0px rgba(248, 248, 248, 0.25) inset,
              0px 32px 24px -16px rgba(0, 0, 0, 0.4);
}

.ai-icon-container.small {
  width: 40px;
  height: 40px;
}

.ai-icon-container.medium {
  width: 56px;
  height: 56px;
}

.ai-icon-container.large {
  width: 72px;
  height: 72px;
}

.ai-icon {
  width: 50%;
  height: 50%;
  color: var(--text-color);
}

.ai-scan-line {
  position: absolute;
  height: 160px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #22d3ee, transparent);
  animation: scanMove 5s linear infinite;
}

.ai-scan-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  width: 80px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.15), transparent 70%);
  pointer-events: none;
}

@keyframes scanMove {
  0% { transform: translateX(-200px); }
  100% { transform: translateX(200px); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.ai-icon-container.circle-1 { animation: iconFloat 2.4s ease-in-out infinite; animation-delay: 0s; }
.ai-icon-container.circle-2 { animation: iconFloat 2.4s ease-in-out infinite; animation-delay: 0.3s; }
.ai-icon-container.circle-3 { animation: iconFloat 2.4s ease-in-out infinite; animation-delay: 0.6s; }
.ai-icon-container.circle-4 { animation: iconFloat 2.4s ease-in-out infinite; animation-delay: 0.9s; }
.ai-icon-container.circle-5 { animation: iconFloat 2.4s ease-in-out infinite; animation-delay: 1.2s; }

.ai-card-title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin: 1rem 0 0.5rem 0;
}

.ai-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.6);
  margin: 0;
}

.flow-arrow {
  font-size: 20px;
  opacity: 0.3;
  align-self: center;
  padding-top: 2rem;
}

/* Capitalism Critique Section */
.critique-section {
  position: relative;
  z-index: 8;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.critique-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/ascii-animation.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 1;
}

.critique-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(255, 0, 0, 0.08) 100%
  );
  z-index: 2;
}

.critique-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 4rem 2rem;
  text-align: left;
}

.critique-label {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #ff4444;
  opacity: 0.8;
  display: block;
  margin-bottom: 1rem;
}

.critique-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  color: var(--text-color);
  margin: 0 0 2rem 0;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.critique-manifesto {
  margin-bottom: 2rem;
}

.critique-line {
  font-family: var(--font-primary);
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(245, 245, 245, 0.7);
  margin: 0.75rem 0;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.critique-line:hover {
  color: var(--text-color);
  transform: translateX(10px);
}

.critique-highlight {
  color: #ff6b6b;
  font-weight: 500;
}

.critique-divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, #ff4444, transparent);
  margin: 2rem 0;
}

.critique-counter {
  margin-top: 1.5rem;
}

.counter-label {
  font-family: var(--font-primary);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #44ff88;
  display: block;
  margin-bottom: 1rem;
}

.counter-text {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(245, 245, 245, 0.8);
  margin: 0 0 0.5rem 0;
  line-height: 1.7;
}

.counter-subtext {
  font-size: 13px;
  color: rgba(245, 245, 245, 0.5);
  font-style: italic;
  margin: 0;
}

.critique-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text-color);
  font-weight: 400;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 245, 0.5);
}

/* Critique Enhanced Styles */
.critique-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Rich ASCII Image Card */
.critique-header-image {
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(68, 255, 136, 0.3);
  background: rgba(0, 0, 0, 0.6);
  opacity: 0.9;
}

.critique-image-green {
  filter: sepia(100%) saturate(300%) brightness(1.1) hue-rotate(80deg);
  box-shadow: 0 0 30px rgba(68, 255, 136, 0.2);
}

.glitch-text {
  font-family: var(--font-primary);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #ff4444;
  position: relative;
  animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  animation: glitch-1 0.3s infinite;
  color: #ff0000;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-2 0.3s infinite;
  color: #00ffff;
  z-index: -2;
}

.glitch-green {
  color: #44ff88;
}

.glitch-green::before {
  color: #00ff44;
}

.glitch-green::after {
  color: #44ffaa;
}

@keyframes glitch {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: 0.8; }
  92% { opacity: 1; }
  93% { opacity: 0.9; }
}

@keyframes glitch-1 {
  0% { clip-path: inset(20% 0 30% 0); transform: translateX(-3px); }
  50% { clip-path: inset(50% 0 20% 0); transform: translateX(3px); }
  100% { clip-path: inset(20% 0 30% 0); transform: translateX(-3px); }
}

@keyframes glitch-2 {
  0% { clip-path: inset(60% 0 10% 0); transform: translateX(3px); }
  50% { clip-path: inset(10% 0 60% 0); transform: translateX(-3px); }
  100% { clip-path: inset(60% 0 10% 0); transform: translateX(3px); }
}

.label-green {
  color: #44ff88 !important;
}

.critique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.critique-card {
  background: rgba(255, 68, 68, 0.05);
  border: 1px solid rgba(255, 68, 68, 0.2);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.critique-card:hover {
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.4);
  transform: translateY(-5px);
}

.critique-number {
  font-family: var(--font-primary);
  font-size: 32px;
  color: rgba(255, 68, 68, 0.3);
  display: block;
  margin-bottom: 1rem;
}

.critique-card-title {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #ff4444;
  margin-bottom: 1rem;
}

.critique-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.7);
  margin-bottom: 1rem;
}

.critique-tag {
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.8rem;
  display: inline-block;
}

.tag-red {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.critique-quote {
  text-align: center;
  margin: 3rem 0;
}

.critique-quote blockquote {
  font-size: clamp(18px, 3vw, 28px);
  font-style: italic;
  color: rgba(245, 245, 245, 0.6);
  border-left: 3px solid #ff4444;
  padding-left: 2rem;
  margin: 0 auto;
  max-width: 600px;
  text-align: left;
}

.critique-solution {
  text-align: center;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .critique-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .critique-content {
    padding: 3rem 1.5rem;
  }
}

/* Critique Part 2 */
.critique-part-2 {
  border-top: 1px solid rgba(68, 255, 136, 0.2);
}

.critique-bg-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/moneyasciii.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 1;
}

.critique-overlay-2 {
  background: linear-gradient(
    to bottom,
    rgba(68, 255, 136, 0.08) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(68, 255, 136, 0.08) 100%
  ) !important;
}

.divider-green {
  background: linear-gradient(to right, #44ff88, transparent);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.philosophy-card {
  background: rgba(68, 255, 136, 0.05);
  border: 1px solid rgba(68, 255, 136, 0.2);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  background: rgba(68, 255, 136, 0.1);
  border-color: rgba(68, 255, 136, 0.4);
  transform: translateY(-5px);
}

.philosophy-number {
  font-family: var(--font-primary);
  font-size: 36px;
  color: rgba(68, 255, 136, 0.3);
  margin-bottom: 1rem;
}

.philosophy-card h3 {
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #44ff88;
  margin-bottom: 1rem;
}

.philosophy-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.7);
}

.manifesto-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.manifesto-text {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1rem;
}

.manifesto-subtext {
  font-size: 14px;
  color: #44ff88;
}

.terminal-window {
  background: #0a0a0a;
  border: 1px solid rgba(68, 255, 136, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.terminal-header {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.5);
  margin-left: auto;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-function { color: #dcdcaa; }

@media (max-width: 768px) {
  .manifesto-section {
    grid-template-columns: 1fr;
  }

  .critique-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.ascii-philosophy {
  margin-top: 3rem;
  text-align: center;
}

.philosophy-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ascii-art {
  font-family: 'Courier New', monospace;
  font-size: clamp(8px, 1.5vw, 14px);
  color: #44ff88;
  line-height: 1.2;
  text-align: left;
  margin: 0;
  white-space: pre;
  text-shadow: 0 0 10px rgba(68, 255, 136, 0.5);
}

.philosophy-text {
  font-family: var(--font-primary);
  font-size: clamp(16px, 3vw, 24px);
  color: rgba(245, 245, 245, 0.6);
  letter-spacing: 0.3em;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .ascii-art {
    font-size: 6px;
  }

  .philosophy-text {
    font-size: 14px;
  }
}

/* Gemini Effect Section */
.gemini-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  background: #000;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* Gemini elements visibility */
.gemini-ascii-bg {
  opacity: 0.15;
}

/* ASCII Background for Gemini */
.gemini-ascii-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0;
}

.ascii-row {
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.4vw, 16px);
  white-space: nowrap;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.05em;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Alternating colors and speeds */
.ascii-row.row-1 { color: #FFB7C5; animation: scrollLeft 35s linear infinite; }
.ascii-row.row-2 { color: #4FABFF; animation: scrollRight 28s linear infinite; }
.ascii-row.row-3 { color: #FFDDB7; animation: scrollLeft 32s linear infinite; }
.ascii-row.row-4 { color: #B1C5FF; animation: scrollRight 25s linear infinite; }
.ascii-row.row-5 { color: #44ff88; animation: scrollLeft 30s linear infinite; }
.ascii-row.row-6 { color: #FFB7C5; animation: scrollRight 27s linear infinite; }
.ascii-row.row-7 { color: #4FABFF; animation: scrollLeft 33s linear infinite; }
.ascii-row.row-8 { color: #FFDDB7; animation: scrollRight 29s linear infinite; }
.ascii-row.row-9 { color: #B1C5FF; animation: scrollLeft 26s linear infinite; }
.ascii-row.row-10 { color: #44ff88; animation: scrollRight 31s linear infinite; }
.ascii-row.row-11 { color: #FFB7C5; animation: scrollLeft 24s linear infinite; }
.ascii-row.row-12 { color: #4FABFF; animation: scrollRight 34s linear infinite; }

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Gemini Header - Top of section */
.gemini-header {
  position: relative;
  z-index: 15;
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
}

/* CTA Wrapper - Centered with SVG */
.gemini-cta-wrapper {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer Stats - Bottom */
.gemini-footer {
  position: relative;
  width: 100%;
  z-index: 15;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
}

.gemini-badge {
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 1rem;
}

.gemini-title {
  font-family: var(--font-primary);
  font-size: clamp(36px, 10vw, 96px);
  font-weight: 400;
  background: linear-gradient(135deg, #FFB7C5, #FFDDB7, #B1C5FF, #4FABFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem 0;
  background-size: 300% 300%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.gemini-description {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(245, 245, 245, 0.6);
  max-width: 500px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.gemini-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gemini-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gemini-feature-num {
  font-family: var(--font-primary);
  font-size: 11px;
  color: #4FABFF;
  opacity: 0.7;
}

.gemini-feature-text {
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(245, 245, 245, 0.7);
}

.gemini-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #000;
  background: linear-gradient(135deg, #FFB7C5, #FFDDB7);
  padding: 1rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 30;
  position: relative;
  overflow: hidden;
}

.gemini-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4FABFF, #B1C5FF);
  transition: left 0.3s ease;
  z-index: -1;
}

.gemini-cta:hover::before {
  left: 0;
}

.gemini-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79, 171, 255, 0.3);
}

.gemini-cta .cta-arrow {
  transition: transform 0.3s ease;
}

.gemini-cta:hover .cta-arrow {
  transform: translateX(5px);
}

.gemini-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.gemini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gemini-stat-value {
  font-family: var(--font-primary);
  font-size: clamp(24px, 4vw, 36px);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gemini-stat-label {
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 245, 0.5);
}

.gemini-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 100%;
  max-width: 1440px;
  height: auto;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gemini-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.1s linear;
  will-change: stroke-dashoffset;
}

.gemini-section.in-view .gemini-path {
  /* Active when in view */
  opacity: 1;
}

.gemini-blur {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* Encrypted Text Effect */
.encrypt-text {
  cursor: default;
}

.encrypt-text .char {
  display: inline-block;
  transition: color 0.1s ease;
}

.encrypt-text .char.encrypted {
  color: rgba(245, 245, 245, 0.4);
}

.encrypt-text .char.revealed {
  color: var(--text-color);
}

/* Staking Stats Grid */
.staking-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.staking-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.5rem;
  min-height: 70px;
}

.staking-stat .stat-value {
  font-family: var(--font-primary);
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.02em;
  color: #44ff88;
  line-height: 1.1;
  white-space: nowrap;
}

.staking-stat .stat-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.5);
  line-height: 1.2;
  text-align: center;
}

.tier-section-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 1.5rem;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tiers-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tier-item {
  position: relative;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(245, 245, 245, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.tier-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 245, 245, 0.3);
}

.tier-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #000;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  font-weight: bold;
}

.tier-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tier-badge {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.tier-lock {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.5);
}

.tier-multiplier {
  font-family: var(--font-primary);
  font-size: clamp(32px, 5vw, 42px);
  font-weight: normal;
  margin: 0.75rem 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tier-bronze .tier-badge, .tier-bronze .tier-multiplier { color: #cd7f32; }
.tier-silver .tier-badge, .tier-silver .tier-multiplier { color: #c0c0c0; }
.tier-gold .tier-badge, .tier-gold .tier-multiplier { color: #ffd700; }
.tier-platinum .tier-badge, .tier-platinum .tier-multiplier { color: #e5e4e2; }

.tier-apy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.tier-apy .apy-range {
  font-family: var(--font-primary);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: normal;
  color: #44ff88;
  letter-spacing: 0.05em;
}

.tier-apy .apy-label {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 245, 0.5);
}

.tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tier-benefits li {
  font-size: 11px;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(245, 245, 245, 0.6);
  line-height: 1.3;
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.tier-benefits li::before {
  content: "→ ";
  color: rgba(245, 245, 245, 0.3);
  font-size: 10px;
}

/* Emission Info */
.emission-info {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.emission-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.emission-icon {
  color: #44ff88;
  font-size: 18px;
}

.emission-title {
  font-size: 12px;
  letter-spacing: 0.2em;
}

.emission-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.emission-progress {
  height: 100%;
  background: linear-gradient(90deg, #44ff88, #00ff88);
  transition: width 0.5s ease;
}

.emission-details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.5);
}

.tier-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

/* Team Section */
.team-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card {
  max-width: 900px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

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

.member-image-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.member-image {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s ease;
}

.team-member:hover .member-image {
  filter: grayscale(50%) contrast(1.1);
}

.member-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(68, 255, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .member-image-glow {
  opacity: 1;
}

.member-info {
  text-align: center;
  width: 100%;
}

.member-name {
  font-family: var(--font-primary);
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-weight: normal;
  line-height: 1.2;
}

.member-role {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #44ff88;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(68, 255, 136, 0.3);
  background: rgba(68, 255, 136, 0.05);
}

.member-bio {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.member-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.member-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 245, 0.5);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.member-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Team Join CTA */
.team-join {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.join-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.team-join p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.join-cta {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #44ff88;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 1px solid #44ff88;
  transition: all 0.3s ease;
}

.join-cta:hover {
  background: #44ff88;
  color: #000;
}

.gradient-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 500vh;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    #000000 20%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    transparent 100%
  );
  z-index: 1500;
  pointer-events: none;
  transform: translateY(0);
}

.site-footer {
  position: relative;
  width: 100%;
  height: 50vh;
  background: #0a0a0a;
  z-index: 2000;
  margin-top: 0;
  clear: both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.footer-content-section,
.footer-svg-section {
  width: 100%;
}

.footer-content-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-left,
.footer-right {
  font-family: var(--font-primary);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-color);
  line-height: 1.4;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
  max-width: 40%;
}

.footer-svg {
  width: 100%;
  height: auto;
  max-width: none;
}

.footer-credits {
  font-family: var(--font-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7em;
  color: rgba(245, 245, 245, 0.6);
  text-align: left;
  margin-bottom: 1rem;
}

.footer-credits a {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-credits a:hover {
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.social-divider {
  opacity: 0.3;
}

.footer-svg-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .footer-tagline {
  order: -1;
  margin-bottom: 1rem;
}

/* Footer ASCII Logo with Red Pulse */
.footer-logo-image {
  position: relative;
  margin-bottom: 1rem;
}

.footer-ascii-logo {
  width: 120px;
  height: auto;
  filter: grayscale(100%) brightness(1.2);
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.8;
  }
  50% {
    filter: grayscale(0%) brightness(1) sepia(100%) saturate(5) hue-rotate(-20deg);
    opacity: 1;
  }
}

.footer-logo-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 50, 50, 0.3) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.footer-logo-text {
  font-family: var(--font-primary);
  font-size: 240px;
  font-weight: normal;
  letter-spacing: 0.2em;
  color: var(--text-color);
  opacity: 0.9;
  text-transform: uppercase;
  line-height: 0.8;
  text-indent: 0.2em;
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.5em;
  opacity: 0.5;
  text-indent: 0.5em;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .geometric-text.text-top-right,
  .geometric-text.text-bottom-right {
    display: none;
  }

  .footer-right {
    max-width: 50%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    height: auto;
    min-height: 100vh;
  }

  .header-container {
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .logo-text {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 8px;
    padding: 0.3rem 0.25rem;
  }

  .main-nav ul {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .sound-toggle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .launch-btn {
    font-size: 9px;
    padding: 0.5rem 0.8rem;
  }

  .launch-btn .btn-arrow {
    display: none;
  }

  .geometric-text.text-top-right,
  .geometric-text.text-bottom-right {
    display: none;
  }

  .geometric-text.text-bottom-left {
    font-size: 10px;
  }

  .section {
    background-attachment: scroll;
    height: auto;
    min-height: 100vh;
  }

  /* Gemini CTA centered on mobile */
  .gemini-cta-wrapper {
    top: 46%;
  }

  .content-card {
    padding: 2rem 1.5rem;
  }

  /* Better spacing for top section and cards on mobile */
  .section-content {
    align-items: flex-start;
    padding-top: 6.5rem;
  }

  .section-1 .section-content {
    padding-top: 8rem;
  }

  /* Single column for ML training card to prevent text cramping */
  .ml-card-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Reduce Gemini ASCII background to minimize overlap */
  .gemini-ascii-bg {
    opacity: 0.08;
  }

  .ascii-row {
    font-size: 9px;
  }

  .protocol-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flow-container {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .arch-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiers-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .staking-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
  }

  .footer-right {
    max-width: 100%;
    text-align: left;
  }

  .footer-credits {
    text-align: center;
    letter-spacing: 0.3em;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logo-text {
    font-size: 64px;
    letter-spacing: 0.2em;
  }

  .footer-tagline {
    font-size: 10px;
  }

  .site-footer {
    padding: 1rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .logo-container {
    justify-content: center;
  }

  .main-nav {
    position: static;
    transform: none;
  }

  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 9px;
  }

  .contact-link {
    display: none;
  }

  .site-header {
    height: auto;
    padding: 0.5rem 0;
  }

  .geometric-text.text-top-left {
    font-size: 9px;
  }

  .geometric-text.text-bottom-left {
    font-size: 8px;
  }

  .content-card {
    padding: 1.5rem 1rem;
  }

  .tiers-grid,
  .tiers-grid-3 {
    grid-template-columns: 1fr;
  }

  .staking-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 1rem;
  }

  .tier-multiplier {
    font-size: 36px;
  }

  .tier-popular {
    font-size: 8px;
    padding: 3px 8px;
  }

  .footer-left,
  .footer-right {
    font-size: 10px;
  }

  .footer-credits {
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .footer-logo-text {
    font-size: 36px;
    letter-spacing: 0.15em;
  }

  .footer-tagline {
    font-size: 9px;
    letter-spacing: 0.3em;
  }

  .section-content {
    padding: 1rem;
  }
}

/* Very Small Mobile */
@media (max-width: 320px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-left,
  .footer-right {
    font-size: 9px;
  }
}
