/* =========================================================
   ORPHEUS DAO — index.html (landing page)
   Matches conductor.html visual language
   ========================================================= */

/* ---- Hero ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
  }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--marble);
  margin: 18px 0 0;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--stone);
  max-width: 520px;
  margin-top: 22px;
}
.hero-sub-dim { font-size: 17px; margin-top: 14px; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--marble);
  letter-spacing: .06em;
}
.hero-stats .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

.visual-frame,
.hero-lyre-frame {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(28,24,18,.55), rgba(10,7,5,.35));
  padding: 24px 24px 16px;
  width: 100%;
  max-width: 480px;
}

.hero-lyre-stage {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--black);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lyre-glow {
  position: absolute;
  inset: 8%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 45% 55% at 50% 42%,
    rgba(57, 255, 20, 0.22) 0%,
    rgba(57, 255, 20, 0.06) 45%,
    transparent 72%
  );
  animation: lyreGlowPulse 5s ease-in-out infinite;
}

.hero-lyre-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 0 28px rgba(57, 255, 20, 0.12));
}

.hero-lyre-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-lyre-scan-beam {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 28%;
  top: -35%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(57, 255, 20, 0.04) 28%,
    rgba(57, 255, 20, 0.28) 48%,
    rgba(212, 175, 55, 0.18) 52%,
    rgba(57, 255, 20, 0.12) 72%,
    transparent 100%
  );
  animation: lyreScanDown 4.2s ease-in-out infinite;
}

.hero-lyre-scan-beam::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 46%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 255, 20, 0.5) 20%,
    rgba(57, 255, 20, 1) 50%,
    rgba(57, 255, 20, 0.5) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(57, 255, 20, 0.9),
    0 0 32px rgba(57, 255, 20, 0.45);
}

@keyframes lyreScanDown {
  0% {
    top: -40%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: 115%;
    opacity: 0;
  }
}

@keyframes lyreGlowPulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lyre-scan-beam,
  .hero-lyre-glow {
    animation: none;
  }
  .hero-lyre-scan-beam {
    top: 40%;
    opacity: 0.35;
  }
}
.visual-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--stone);
  text-transform: uppercase;
}
.caption-sep {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ---- Section headers ---- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--marble);
  margin: 14px 0 0;
}
.section-blurb {
  color: var(--stone);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 16px;
}

/* ---- Agent Orchestra (mixer + terminal) ---- */
.orchestra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 980px) {
  .orchestra { grid-template-columns: 1.1fr 1fr; gap: 28px; }
}

.mixer {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(28,24,18,.65), rgba(10,7,5,.4));
}
.mixer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--stone);
}
.mixer-no { color: var(--agold); }
.mixer-title { color: var(--marble); font-weight: 500; }
.mixer-meta { color: var(--stone); }

.mixer-rows { padding: 4px 0; }
.mixer-row {
  display: grid;
  grid-template-columns: 48px 1fr 80px 72px;
  gap: 14px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease;
}
.mixer-row:last-child { border-bottom: 0; }
.mixer-row:hover { background: rgba(212,175,55,.04); }
@media (max-width: 640px) {
  .mixer-row {
    grid-template-columns: 40px 1fr 64px;
  }
  .mixer-row .row-status { display: none; }
}

.row-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--agold);
  letter-spacing: .2em;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oracle);
  box-shadow: 0 0 8px var(--oracle);
  animation: beatPulse 1.6s ease-in-out infinite;
}
.row-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--marble);
  line-height: 1.1;
}
.row-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--stone);
  margin-top: 4px;
}
.row-meter .bar {
  height: 3px;
  background: rgba(212,175,136,.12);
  position: relative;
  overflow: hidden;
}
.row-meter .bar-fill {
  display: block;
  height: 100%;
  width: calc(var(--lvl, 50) * 1%);
  background: linear-gradient(90deg, var(--gold), var(--oracle));
  transition: width .4s ease;
}
.row-status {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--oracle);
  text-align: right;
}

/* ---- Terminal preview ---- */
.terminal {
  border: 1px solid var(--rule);
  background: rgba(10,7,5,.7);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}
.term-head .dots { display: inline-flex; gap: 6px; }
.term-head .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(169,159,138,.4);
  display: block;
}
.term-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--agold);
}
.term-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--stone);
}
.term-body,
.stream {
  padding: 14px 16px;
  overflow-y: auto;
  flex: 1;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--oracle);
  scrollbar-width: thin;
  scrollbar-color: rgba(57,255,20,.3) transparent;
}
.term-body p,
.stream p { margin: 0 0 4px; }
.term-body .ts,
.stream .ts { color: var(--stone); }
.term-body .gold,
.stream .gold { color: var(--gold); }
.term-body .acc,
.stream .acc { color: var(--marble); }
.term-body .dim,
.stream .dim { color: var(--stone); }

/* ---- Feature cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feat-card {
  position: relative;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(28,24,18,.5), rgba(10,7,5,.3));
  padding: 32px 28px 80px;
  transition: all .35s ease;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%), rgba(57,255,20,.06), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.feat-card:hover {
  border-color: var(--rule-hi);
  transform: translateY(-2px);
}
.feat-card:hover::before { opacity: 1; }
.feat-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--agold);
}
.feat-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--marble);
  margin: 12px 0 10px;
  line-height: 1.1;
}
.feat-blurb {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.55;
  max-width: 320px;
}
.feat-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  opacity: .7;
}

/* ---- Symphony DAO ---- */
.dao-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .dao-grid { grid-template-columns: 1fr 1.2fr; gap: 28px; }
}

.dao-harmony,
.dao-proposals {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(28,24,18,.55), rgba(10,7,5,.3));
  padding: 26px 28px;
}
.harmony-head,
.prop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.harmony-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--oracle);
  letter-spacing: .04em;
}
.prop-count {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--stone);
}

.harmony-bars { display: flex; flex-direction: column; gap: 4px; }
.harmony-bar {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.harmony-bar:last-child { border-bottom: 0; }
.hlbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--stone);
}
.hbar {
  height: 3px;
  background: rgba(212,175,136,.12);
  position: relative;
}
.hbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--oracle));
}
.hval {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--marble);
  text-align: right;
}
.harmony-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--stone);
  line-height: 1.55;
}

.prop-table { display: flex; flex-direction: column; }
.prop-row {
  display: grid;
  grid-template-columns: 80px 120px 1fr auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.prop-row:last-child { border-bottom: 0; }
@media (max-width: 720px) {
  .prop-row {
    grid-template-columns: 80px 1fr auto;
  }
  .prop-type { display: none; }
}
@media (max-width: 520px) {
  .prop-row { grid-template-columns: 1fr auto; gap: 8px; }
  .prop-id { grid-column: 1 / -1; }
}
.prop-id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--agold);
}
.prop-type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--stone);
}
.prop-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--marble);
}
.prop-state {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  padding: 6px 10px;
  border: 1px solid var(--rule);
}
.prop-state.is-pass { color: var(--oracle); border-color: rgba(57,255,20,.3); }
.prop-state.is-open { color: var(--gold); border-color: rgba(212,175,55,.35); }
.prop-state.is-pending { color: var(--stone); }
