/* ══════════════════════════════════════════════════
   IronLabs Tech — front-page.css
   Homepage-only styles. Loaded only on is_front_page().
══════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0; opacity: .7;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 34, 0, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 34, 0, .04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 20%, var(--dark) 85%);
}
.hero-scanline {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .04) 2px, rgba(0, 0, 0, .04) 4px);
}
.hero-content {
  position: relative; z-index: 3; max-width: 980px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: hf .8s .3s forwards;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; display: block; height: 1px; width: 40px;
  background: linear-gradient(90deg, transparent, var(--amber));
}
.hero-eyebrow::after {
  content: ''; display: block; height: 1px; width: 40px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.hero-h1 {
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(42px, 7.5vw, 100px);
  line-height: 1.0; color: #fff; margin-bottom: 28px;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .word {
  display: inline-block; transform: translateY(110%);
  animation: wu .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-h1 .line:nth-child(1) .word { animation-delay: .5s; }
.hero-h1 .line:nth-child(2) .word { animation-delay: .65s; }
.hero-h1 .line:nth-child(3) .word { animation-delay: .8s; }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--dim);
  line-height: 1.85; max-width: 540px; margin: 0 auto 44px;
  opacity: 0; transform: translateY(20px);
  animation: hf .8s 1.1s forwards;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: hf .8s 1.3s forwards;
}
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 8px; letter-spacing: 4px;
  color: rgba(255, 179, 0, .3); text-transform: uppercase;
  opacity: 0; animation: hf .8s 1.8s forwards;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(var(--amber), transparent);
  animation: sd 1.5s 2.2s infinite;
}

/* ── TICKER ──────────────────────────────────────── */
.ticker-wrap {
  position: relative; z-index: 10;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 34, 0, .03);
  padding: 14px 0; overflow: hidden;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 30s linear infinite;
}
.ti {
  font-family: 'Orbitron', monospace; font-size: 9px;
  font-weight: 700; letter-spacing: 4px;
  color: rgba(255, 179, 0, .45);
  padding: 0 32px; white-space: nowrap;
}
.ti .sep { color: var(--red); margin: 0 10px; }

/* ── STATS ───────────────────────────────────────── */
#stats {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 44px 24px; text-align: center;
  border-right: 1px solid var(--border); position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
}
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900; color: #fff; line-height: 1;
  margin-bottom: 10px; text-shadow: var(--glow-r);
}
.stat-suf { font-size: .45em; color: var(--amber); vertical-align: super; margin-left: 2px; }
.stat-lbl { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); }

/* ── PRODUCT / 3D MODEL ──────────────────────────── */
#product { padding: 120px 0 160px; }
.product-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.model-wrap {
  position: relative; width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.model-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,34,0,.08) 0%, rgba(255,179,0,.04) 35%, transparent 70%);
  animation: slowPulse 4s ease-in-out infinite;
}
#model-canvas {
  width: 100% !important; height: 100% !important;
  border-radius: 4px; position: relative; z-index: 1; cursor: grab;
}
#model-canvas:active { cursor: grabbing; }
.model-hint {
  position: absolute; bottom: -32px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px; letter-spacing: 3px;
  color: rgba(255, 179, 0, .3); text-transform: uppercase;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.model-hint::before, .model-hint::after {
  content: ''; display: block; height: 1px; width: 20px;
  background: rgba(255, 179, 0, .2);
}
.model-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: rgba(4, 0, 0, .8);
  font-size: 9px; letter-spacing: 4px;
  color: rgba(255, 179, 0, .5); text-transform: uppercase;
}
.model-loading-bar { width: 120px; height: 2px; background: rgba(255, 34, 0, .2); }
.model-loading-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transition: width .3s;
}
.floating-chip {
  position: absolute; background: rgba(9, 1, 0, .96);
  border: 1px solid rgba(255, 34, 0, .25);
  padding: 10px 16px; font-size: 9px; letter-spacing: 2px;
  color: rgba(255, 210, 170, .7); white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .7);
}
.chip-1 { top: 8%; right: -14%; animation: chipFloat 4s 0s ease-in-out infinite; }
.chip-2 { bottom: 18%; left: -18%; animation: chipFloat 4s 1.5s ease-in-out infinite; }
.chip-dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); box-shadow: var(--glow-rs);
  margin-right: 7px; animation: blink 1.4s step-start infinite;
}
.product-text { padding: 10px 0; }
.feature-list {
  list-style: none; margin-top: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  border: 1px solid rgba(255, 34, 0, .08);
  background: rgba(255, 34, 0, .02);
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--red), var(--amber));
  opacity: 0; transition: opacity .3s;
}
.feature-list li:hover { border-color: rgba(255, 179, 0, .2); background: rgba(255, 34, 0, .04); }
.feature-list li:hover::before { opacity: 1; }
.fi {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid rgba(255, 34, 0, .3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--red);
  transition: border-color .3s, color .3s;
}
.feature-list li:hover .fi { border-color: var(--amber); color: var(--amber); }
.ft { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: #fff; margin-bottom: 4px; }
.fd { font-size: 12px; color: var(--dim); line-height: 1.65; }

/* ── DAC SPEC BAND ───────────────────────────────── */
#dac {
  padding: 100px 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dac-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.dac-visual {
  position: relative; display: flex; flex-direction: column; gap: 16px;
}
.dac-card {
  padding: 24px 28px;
  border: 1px solid rgba(255, 34, 0, .15);
  background: rgba(255, 34, 0, .025);
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.dac-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  opacity: 0; transition: opacity .3s;
}
.dac-card:hover { border-color: rgba(255, 179, 0, .25); background: rgba(255, 34, 0, .04); }
.dac-card:hover::before { opacity: 1; }
.dac-label {
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px; opacity: .7;
}
.dac-val {
  font-family: 'Orbitron', monospace;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900; color: #fff; text-shadow: var(--glow-r);
}
.dac-val sub { font-size: .45em; color: var(--amber); vertical-align: baseline; margin-left: 3px; }
.dac-desc { font-size: 11px; color: var(--dim); margin-top: 6px; line-height: 1.6; }

/* ── TECH CARDS ──────────────────────────────────── */
#tech {
  padding: 160px 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 80px;
}
.tech-card {
  padding: 52px 38px;
  background: rgba(255, 34, 0, .02);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background .4s, border-color .4s;
}
.tech-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--amber), transparent);
  opacity: 0; transition: opacity .4s;
}
.tech-card:hover { background: rgba(255, 34, 0, .04); border-color: rgba(255, 179, 0, .2); }
.tech-card:hover::after { opacity: 1; }
.tc-num {
  font-family: 'Orbitron', monospace; font-size: 70px;
  font-weight: 900; color: rgba(255, 34, 0, .05);
  position: absolute; top: 16px; right: 20px; line-height: 1;
}
.tc-icon { font-size: 28px; margin-bottom: 22px; display: block; }
.tc-h {
  font-family: 'Orbitron', monospace; font-size: 13px;
  font-weight: 700; letter-spacing: 2px; color: var(--red);
  margin-bottom: 14px; transition: color .3s;
}
.tech-card:hover .tc-h { color: var(--amber); }
.tc-p { font-size: 13px; line-height: 1.8; color: var(--dim); }

/* ── WAVEPUNK PLAYER ─────────────────────────────── */
#wavepunk {
  padding: 140px 0;
  border-top: 1px solid var(--border);
}
.wp-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.wp-mockup {
  background: linear-gradient(145deg, #110200, #080100);
  border: 1px solid rgba(255, 34, 0, .25);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 0 0 1px rgba(255, 34, 0, .06), 0 40px 80px rgba(0, 0, 0, .9);
  position: relative; overflow: hidden;
}
.wp-mockup::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--amber), transparent);
}
.wp-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
}
.wp-title {
  font-family: 'Orbitron', monospace; font-size: 9px;
  letter-spacing: 4px; color: rgba(255, 179, 0, .6);
}
.wp-version { font-size: 8px; letter-spacing: 2px; color: rgba(255, 34, 0, .4); }
.wp-screen {
  background: #030000; border: 1px solid rgba(255, 34, 0, .2);
  border-radius: 6px; height: 100px;
  position: relative; overflow: hidden; margin-bottom: 16px;
}
.wp-waveform { width: 100%; height: 100%; }
.wp-track-info { margin-bottom: 20px; }
.wp-song {
  font-family: 'Orbitron', monospace; font-size: 11px;
  font-weight: 700; letter-spacing: 1px; color: #fff; margin-bottom: 4px;
}
.wp-artist { font-size: 11px; color: var(--dim); }
.wp-progress-wrap {
  background: rgba(255, 34, 0, .1); height: 2px;
  border-radius: 1px; margin-bottom: 20px;
  position: relative; cursor: pointer;
}
.wp-progress {
  height: 100%; width: 37%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  border-radius: 1px;
}
.wp-controls {
  display: flex; justify-content: center;
  align-items: center; gap: 20px;
}
.wp-btn {
  background: transparent; border: 1px solid rgba(255, 34, 0, .2);
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; color: var(--dim);
  transition: border-color .2s, color .2s;
}
.wp-btn:hover, .wp-btn.active { border-color: var(--amber); color: var(--amber); }
.wp-btn-main {
  width: 50px; height: 50px;
  background: var(--red); border: none !important;
  color: #fff; font-size: 18px; border-radius: 50%;
  box-shadow: var(--glow-r);
  transition: background .3s, box-shadow .3s;
}
.wp-btn-main:hover { background: var(--amber); box-shadow: var(--glow-a); }
.wp-footer {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 16px;
  font-size: 8px; letter-spacing: 2px;
  color: rgba(255, 34, 0, .3);
}
.wp-vol { display: flex; align-items: center; gap: 8px; }
.wp-vol-bar { width: 60px; height: 2px; background: rgba(255, 34, 0, .15); border-radius: 1px; }
.wp-vol-fill {
  height: 100%; width: 65%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  border-radius: 1px;
}

/* ── ECOSYSTEM ───────────────────────────────────── */
#ecosystem { padding: 160px 0; text-align: center; }
.eco-tag {
  font-family: 'Orbitron', monospace;
  font-size: clamp(26px, 5.5vw, 80px);
  font-weight: 900; line-height: 1.1;
  color: rgba(255, 255, 255, .07);
}
.eco-tag .hl-r { color: var(--red); text-shadow: var(--glow-r); }
.eco-tag .hl-a { color: var(--amber); text-shadow: var(--glow-a); }
.eco-tag .hl-w { color: #fff; }
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 100px;
}
.pillar {
  padding: 44px 26px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s;
  background: rgba(255, 34, 0, .015);
}
.pillar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transform: scaleX(0); transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.pillar:hover { transform: translateY(-10px); border-color: rgba(255, 179, 0, .25); }
.pillar:hover::after { transform: scaleX(1); }
.p-num {
  font-family: 'Orbitron', monospace; font-size: 9px;
  letter-spacing: 4px; color: var(--amber);
  margin-bottom: 20px; opacity: .7;
}
.p-title {
  font-family: 'Orbitron', monospace; font-size: 22px;
  font-weight: 900; color: #fff; margin-bottom: 14px;
}
.p-desc { font-size: 13px; color: var(--dim); line-height: 1.75; }

/* ── SPECS TICKER ────────────────────────────────── */
#specs-ticker {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark2); overflow: hidden;
}
.specs-track {
  display: flex; width: max-content;
  animation: ticker 42s linear infinite reverse;
}
.sc {
  flex-shrink: 0; margin: 0 10px; padding: 10px 26px;
  border: 1px solid rgba(255, 34, 0, .15);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 200, 160, .4); white-space: nowrap;
  background: rgba(255, 34, 0, .02);
}
.sc strong { color: var(--amber); font-family: 'Orbitron', monospace; }

/* ── WAITLIST ─────────────────────────────────────── */
#waitlist {
  padding: 180px 0; text-align: center;
  position: relative; overflow: hidden;
}
.wl-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 55% at center, rgba(255, 34, 0, .05) 0%, transparent 70%);
}
.wl-content { position: relative; z-index: 1; }
.wl-h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(38px, 7vw, 100px);
  font-weight: 900; line-height: 1.0; color: #fff; margin-bottom: 24px;
}
.wl-h2 .lr { display: block; color: var(--red); text-shadow: var(--glow-r); }
.wl-sub {
  font-size: 15px; color: var(--dim); line-height: 1.8;
  margin-bottom: 52px; max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.wl-form {
  display: flex; max-width: 540px; margin: 0 auto;
  border: 1px solid rgba(255, 34, 0, .3);
  background: rgba(255, 34, 0, .025);
  transition: border-color .3s, box-shadow .3s;
}
.wl-form:focus-within { border-color: var(--amber); box-shadow: var(--glow-a); }
.wl-input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 17px 22px; font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; color: var(--text);
}
.wl-input::placeholder { color: rgba(255, 179, 0, .2); }
.wl-btn {
  padding: 17px 30px;
  background: linear-gradient(135deg, var(--red), #e89800);
  color: #fff; border: none; cursor: pointer;
  font-family: 'Orbitron', monospace; font-size: 9px;
  font-weight: 700; letter-spacing: 3px; white-space: nowrap;
  transition: opacity .3s;
}
.wl-btn:hover { opacity: .85; }
.wl-note { margin-top: 18px; font-size: 10px; letter-spacing: 2px; color: rgba(255, 179, 0, .22); }
.wl-count {
  margin-top: 50px; display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Orbitron', monospace; font-size: 11px;
  letter-spacing: 3px; color: rgba(255, 200, 160, .4);
  border: 1px solid var(--border); padding: 12px 28px;
}
.wl-count .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); box-shadow: var(--glow-rs);
  animation: blink 1.4s step-start infinite;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .product-inner, .dac-inner, .wp-inner { grid-template-columns: 1fr; gap: 60px; }
  .tech-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .chip-1, .chip-2 { display: none; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .wl-form { flex-direction: column; }
  .wl-btn { padding: 14px; }
  #product { padding: 80px 0 100px; }
  #dac, #tech, #ecosystem, #wavepunk { padding: 80px 0; }
  #waitlist { padding: 100px 0; }
  .tech-grid { margin-top: 40px; }
}
