/*!**************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./technologies/ampminer/ampminer.css ***!
  \**************************************************************************************/
/* ampminer.css */

/* Use Variables from global.css, fallback if missing */
:root {
  --bg0a: #020617;
  --bg0b: #0b1020;
  --text: #e5e7eb;
  --accent: #14b8a6;
  --waste: #ffaa00;
  --stress: #ff3333;
  --cardDark: rgba(2, 6, 23, 0.58);
  --cardLight: rgba(255, 255, 255, 0.72);
  --strokeDark: rgba(255, 255, 255, 0.14);
  --strokeLight: rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-body, ui-sans-serif, system-ui);
}

/* --- DARK MODE --- */
body.ampminer-page {
  color: var(--text);
  transition: background 2s cubic-bezier(0.4, 0, 0.2, 1), color 1.5s ease;

  background: radial-gradient(
    1400px 1000px at 50% 45%,
    #1e293b 0%,
    #0f172a 60%,
    #020617 100%
  );
}

/* Nav Overrides for Dark Mode */
body.ampminer-page .site-nav {
  background: rgba(2, 6, 23, 0.6); /* Dark Glass */
  border-bottom: 1px solid var(--strokeDark);
  backdrop-filter: blur(12px);
}
body.ampminer-page .brand-text {
  color: #fff;
}
body.ampminer-page .nav-links a:not(.btn) {
  color: #cbd5e1;
}
body.ampminer-page .nav-links a:not(.btn):hover {
  color: #fff;
}
body.ampminer-page .nav-toggle span {
  background: #fff;
}

/* --- ACT STATES --- */
body.ampminer-page.act-0 {
  background: radial-gradient(
    1200px 900px at 52% 45%,
    #10182b 0%,
    #020617 60%,
    #000000 100%
  );
  color: #e5e7eb;
}

body.ampminer-page.act-1 {
  background:
    radial-gradient(900px 700px at 58% 44%, rgba(255, 170, 0, 0.18) 0%, rgba(255, 170, 0, 0.03) 42%, transparent 70%),
    radial-gradient(1200px 900px at 50% 45%, #0e1628 0%, #020617 60%, #000000 100%);
  color: #e5e7eb;
}

body.ampminer-page.act-2 {
  background:
    radial-gradient(900px 720px at 58% 46%, rgba(255, 51, 51, 0.22) 0%, rgba(255, 140, 0, 0.08) 36%, transparent 68%),
    radial-gradient(1200px 900px at 50% 45%, #130d16 0%, #020617 56%, #000000 100%);
  color: #f8d7da;
}

body.ampminer-page.act-3 {
  background:
    radial-gradient(700px 600px at 58% 46%, rgba(255, 68, 68, 0.18) 0%, rgba(255, 170, 0, 0.06) 28%, transparent 54%),
    radial-gradient(1200px 900px at 50% 45%, #0b0d14 0%, #020617 58%, #000000 100%);
  color: #e5e7eb;
}

body.ampminer-page.act-4 {
  background:
    radial-gradient(960px 760px at 60% 46%, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.04) 42%, transparent 72%),
    radial-gradient(1200px 900px at 50% 45%, #0d1726 0%, #020617 60%, #000000 100%);
  color: #e5e7eb;
}

/* ---  PHASE 3 ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â REVELATION (Acts 5ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ6) --- */
body.ampminer-page.reveal {
  color: #0f172a;

  /* The "Titanium" Gradient */
  background: 
    /* Layer 1: Subtle Teal/Blue ambient light */ radial-gradient(
      1000px 800px at 50% 30%,
      rgba(20, 184, 166, 0.08) 0%,
      transparent 60%
    ),
    /* Layer 2: The Metal Floor (Silver to Grey, NOT White) */
      radial-gradient(
        1600px 1200px at 50% 40%,
        #e2e8f0 0%,
        #cbd5e1 55%,
        #94a3b8 100%
      );
}

/* Nav Overrides for Reveal Mode */
body.ampminer-page.reveal .site-nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.ampminer-page.reveal .brand-text {
  color: #0f172a;
}
body.ampminer-page.reveal .nav-links a {
  color: #475569;
}
body.ampminer-page.reveal .nav-links a:hover {
  color: #0f172a;
}
body.ampminer-page.reveal .nav-toggle span {
  background: #0f172a;
}

/* --- STAGE & UI --- */
#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#amp-canvas {
  position: absolute;
  inset: 0;
}

#ui {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

/* Dots */
#dots {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
  pointer-events: auto;
}

#dots.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
}
body.reveal .dot {
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(15, 23, 42, 0.1);
}
.dot.active, body.reveal .dot.active {
  background: var(--accent);
  border-color: rgba(20, 184, 166, 0.65);
}

/* --- SCROLL SECTIONS --- */
#scroller {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
}

.step {
  height: 100vh;
  width: 100%;
  position: relative;
  pointer-events: none;
}

.step-block {
  position: fixed; /* Anchors the card to the screen, not the scroll flow */
  top: 50%;
  left: 8vw;
  transform: translateY(-50%) translateY(20px); /* Start slightly offset */
  z-index: 20;

  width: min(500px, 88vw);
  border-radius: 18px;
  padding: 24px;

  /* Glassmorphism Styles (Keep existing) */
  border: 1px solid var(--strokeDark);
  background: var(--cardDark);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  /* Animation State: Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.active .step-block {
  opacity: 1;
  pointer-events: auto; /* Re-enable buttons/text selection when active */
  transform: translateY(-50%) translateY(0);
}

.step--end {
  height: 50vh;
}

body.reveal .step-block {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 60px -10px rgba(15, 23, 42, 0.15);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 700;
}
h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-family: var(--font-display, sans-serif);
}
body.reveal .step-block h1 {
  color: black;
}
.lede {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.92;
}
.micro {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.82;
}
body.reveal .micro,
body.reveal .lede {
  opacity: 0.88;
}

.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.story-count {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.68;
}

.story-rail {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.signal-row {
  display: grid;
  /* grid-template-columns: minmax(0, 1.2fr) minmax(104px, 1fr) auto; */
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  font-size: 12px;
  line-height: 1.25;
  --signal-color: rgba(255, 255, 255, 0.75);
}

.signal-label,
.signal-value {
  min-width: 0;
}

.signal-label {
  opacity: 0.82;
}

.signal-value {
  justify-self: start;
  font-weight: 600;
  color: var(--signal-color);
}

.signal-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.signal-fill {
  display: block;
  width: calc(var(--signal) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--signal-color);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.16);
}

.tone-muted {
  --signal-color: #94a3b8;
}

.tone-neutral {
  --signal-color: #dbe4ef;
}

.tone-warn {
  --signal-color: var(--waste);
}

.tone-bad {
  --signal-color: #ff6b6b;
}

.tone-good {
  --signal-color: var(--accent);
}

body.reveal .story-count,
body.reveal .signal-label {
  color: #475569;
}

body.reveal .signal-meter {
  background: rgba(15, 23, 42, 0.12);
}

/* --- TECHNICAL LAYER (New Sections) --- */
.technical-layer {
  position: relative;
  background: #f8fafc;
  background: linear-gradient(to bottom, #f1f5f9 0%, #f8fafc 200px);
  padding-top: 10rem;
  box-shadow: 0 -50px 100px rgba(241, 245, 249, 1);
  z-index: 50;
}

/* VBG Styles */
.large-banner {
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.large-banner h3 {
  color: #0f172a;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.large-banner .lead {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.grid-2 h2 {
  text-shadow: 0 2px 0px rgba(2, 6, 23, 0.25);
}

.vbg-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.vbg-list li {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}
.vbg-list strong {
  display: block;
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.vbg-list p {
  font-size: 1.2rem;
  color: #64748b;
  margin: 0;
}

.spec-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.spec-card h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-label {
  font-weight: 600;
  color: #0f172a;
  font-size: 1.2rem;
}
.spec-val {
  color: #64748b;
  text-align: right;
  font-size: 1.2rem;
}

.commercial-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #0b1120;
  color: #fff;
  padding: 6rem;
  border-radius: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  margin: auto;
}
.commercial-hero h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}
.commercial-copy {
  color: #94a3b8;
  font-size: 1.2rem;
  max-width: 60ch;
}
.feature-pills {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}
.pill {
  border-radius: 6px;
}
.commercial-hero .btn {
  min-width: 30%;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .nav-menu a{
    color: black !important;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  #dots {
    display: grid;
  }

  .step {
    padding: 0 18px;
  }
  .step.active .step-block {
    transform: translateY(0);
  }
  h1 {
    font-size: 34px;
  }
  .signal-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .signal-value {
    justify-self: start;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .step {
    /* On mobile, align text to bottom so the 3D unit is visible at the top */
    align-items: end;
    padding-bottom: 2rem;
  }

  .step-block {
    /* Pin to bottom on mobile */
    top: auto;
    bottom: 3rem;
    left: 1rem;
    right: 1rem;
    width: auto; /* Fill width minus margins */

    transform: translateY(20px);
  }

  .technical-layer {
    z-index: 60; /* Ensure it covers the fixed cards when scrolling past */
    position: relative;
    background: #f8fafc; /* Ensure opacity is 100% so cards hide behind it */
  }

  .large-banner h3 {
    font-size: 2rem;
  }
  .large-banner .lead {
    font-size: 1.25rem;
  }

  .vbg-list strong {
    font-size: 1.5rem;
  }
  .vbg-list p {
    font-size: 1.25rem;
  }

  body.ampminer-page.act-4 {
    background: radial-gradient(
      700px 700px at 50% 50%,
      rgba(20, 184, 166, 0.15) 0%,
      #1e293b 15%,
      #0f172a 20%
    );
    color: #e5e7eb;
  }

  .commercial-hero {
    text-align: left;
    align-items: flex-start;
    padding: 5rem;
  }
  .feature-pills {
    flex-direction: column;
  }
  .pill {
    width: 150px;
    padding: 1rem;
    justify-content: center;
  }

  .commercial-hero .btn {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
  }
}

