/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #00FF41;
  --green-dim: #00CC33;
  --green-dark: #003300;
  --gold: #FFD700;
  --bg: #0A0A0A;
  --bg-dark: #050505;
  --bg-card: #111111;
  --text: #C0C0C0;
  --text-dim: #666666;
  --border: #1a1a1a;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.green { color: var(--green); }
.mono { font-family: var(--mono); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green);
  border: 2px solid var(--green);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-name {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--mono);
  transition: color 0.2s;
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 28px;
  margin-bottom: 40px;
  text-align: left;
  max-width: 500px;
  width: 100%;
}

.terminal-line {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.terminal-line.success { color: var(--green); }
.prompt { color: var(--green); }

.hero-title {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: #33FF66;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn-secondary:hover {
  background: rgba(0, 255, 65, 0.1);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  background: var(--bg-dark);
  max-width: 100%;
  padding-left: calc((100% - 1200px) / 2 + 40px);
  padding-right: calc((100% - 1200px) / 2 + 40px);
}

.section-title {
  font-family: var(--mono);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 16px;
}

.section-title .prompt { color: var(--green); }

.section-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 600px;
}

/* ===== PIPELINE ===== */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.pipeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.step-icon {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 12px;
}

.pipeline-step h3 {
  font-family: var(--mono);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.pipeline-arrow {
  color: var(--green);
  font-size: 1.5rem;
  padding-top: 40px;
}

.pipeline-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== FARM ===== */
.farm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.farm-text h3 {
  font-family: var(--mono);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
}

.farm-text p { margin-bottom: 16px; }

.highlight-text {
  color: var(--green) !important;
  font-weight: 400;
}

.farm-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.global-section {
  margin-bottom: 64px;
  text-align: center;
}

.global-section h3 {
  font-family: var(--mono);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.global-section p {
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 32px;
}

.global-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== CONNECT YOUR IPHONE ===== */
.connect-card {
  background: var(--bg-card);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.connect-card h3 {
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 12px;
}

.connect-card > p {
  color: var(--text);
  margin-bottom: 24px;
}

.connect-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.connect-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0, 255, 65, 0.05);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.step-num {
  background: var(--green);
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.connect-bonuses {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bonus {
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
}

/* ===== PLATFORMS ===== */
.platforms-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.platform {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 32px;
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.platform-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.platform.live .platform-status { color: var(--green); }
.platform.live { border-color: var(--green); }
.platform.next .platform-status { color: var(--gold); }
.platform.planned .platform-status { color: var(--text-dim); }

.platform-name {
  font-family: var(--mono);
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

/* ===== DAO ===== */
.dao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dao-headline {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 16px;
}

.dao-votes {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.vote-type {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  flex: 1;
}

.vote-type h4 {
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.vote-type p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.dao-cta {
  color: var(--green);
  font-weight: 400;
}

.dao-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== TOKENOMICS ===== */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.token-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.token-card.burn { border-color: var(--green); }

.token-card h3 {
  font-family: var(--mono);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}

.token-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.flywheel {
  text-align: center;
  margin-bottom: 48px;
}

.flywheel h3 {
  font-family: var(--mono);
  color: #fff;
  margin-bottom: 24px;
}

.flywheel-diagram {
  max-width: 420px;
  margin: 0 auto;
}

.flywheel-diagram svg {
  width: 100%;
  height: auto;
}

.flywheel-arrow {
  animation: dash-flow 1.5s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -26; }
}

.flywheel-node circle {
  transition: all 0.3s ease;
  cursor: pointer;
}

.flywheel-node:hover circle {
  fill: rgba(0, 255, 65, 0.08);
  filter: drop-shadow(0 0 12px rgba(0, 255, 65, 0.5));
  stroke-width: 2.5;
}

.flywheel-node:hover text {
  fill: #fff;
}

.flywheel-center {
  animation: center-pulse 2s ease-in-out infinite;
}

@keyframes center-pulse {
  0%, 100% { r: 30; opacity: 1; }
  50% { r: 35; opacity: 0.5; }
}

.flywheel-arrowhead {
  animation: arrowhead-pulse 2s ease-in-out infinite;
}

@keyframes arrowhead-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.token-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  max-width: 500px;
  margin: 0 auto;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.info-row:last-child { border-bottom: none; }

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.skill-name {
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== ROADMAP ===== */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.phase.active { border-color: var(--green); }

.phase-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-dim);
  margin-bottom: 16px;
}

.phase.active .phase-marker { background: var(--green); box-shadow: 0 0 10px var(--green); }

.phase h3 {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 12px;
}

.phase ul {
  list-style: none;
  padding: 0;
}

.phase li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.phase li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--mono);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
}

.footer-tagline {
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--green);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.footer-links a:hover { text-decoration: underline; }

.footer-ca {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== INTERACTIONS & ANIMATIONS ===== */

/* Card hover effects */
.pipeline-step,
.token-card,
.skill-card,
.platform,
.connect-step,
.vote-type,
.bonus,
.phase,
.connect-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pipeline-step:hover,
.token-card:hover,
.skill-card:hover,
.connect-step:hover,
.vote-type:hover,
.bonus:hover {
  transform: scale(1.03);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.12);
  background: rgba(0, 255, 65, 0.03);
}

.phase:hover {
  transform: scale(1.02);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.12);
}

.connect-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
}

/* Image hover effects */
.farm-image img,
.global-image img,
.dao-image img,
.pipeline-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.farm-image img:hover,
.global-image img:hover,
.dao-image img:hover,
.pipeline-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

/* Platform LIVE pulse */
.platform.live {
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 255, 65, 0); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.25); }
}

.platform:hover {
  transform: scale(1.05);
  border-color: var(--green);
}

/* Active roadmap phase pulse */
.phase.active {
  animation: phase-glow 2.5s ease-in-out infinite;
}

@keyframes phase-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 255, 65, 0); }
  50% { box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); }
}

/* CTA float animation */
.hero-cta .btn-primary {
  animation: cta-float 3s ease-in-out infinite;
}

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

.hero-cta .btn-primary:hover {
  animation: none;
}

/* Terminal cursor blink */
.terminal-line.success::after {
  content: '_';
  animation: cursor-blink 1s step-end infinite;
  color: var(--green);
  margin-left: 2px;
}

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

/* Button ripple container */
.btn {
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(0, 255, 65, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-expand {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Counter glow on finish */
.counter-done {
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  transition: text-shadow 0.5s ease;
}

/* Step icon hover */
.step-icon {
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.pipeline-step:hover .step-icon {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

/* Pipeline arrow glow on section visible */
.pipeline-arrow {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.section.visible .pipeline-arrow {
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

/* Info row hover */
.info-row {
  transition: background 0.2s ease;
}

.info-row:hover {
  background: rgba(0, 255, 65, 0.03);
}

/* Stat hover */
.stat {
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 24px; }
  .farm-grid, .dao-grid { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .pipeline-arrow { display: none; }
  .section { padding: 60px 20px; }
  .section-dark { padding-left: 20px; padding-right: 20px; }
  .dao-votes { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .stat-value { font-size: 1.4rem; }
  .hero-stats { gap: 16px; }
  .token-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .platforms-grid { flex-direction: column; }
  .connect-bonuses { flex-direction: column; }
}
