/* ============================================================
   PyroMetal — marketing site
   Minimal, dark, fire-accent. No frameworks.
   ============================================================ */

:root {
  --bg:        #0a0a0c;
  --bg-soft:   #101013;
  --panel:     #141519;
  --line:      #23242b;
  --line-soft: #1a1b21;
  --text:      #f3f4f7;
  --muted:     #9a9fab;
  --faint:     #6c7079;
  --accent:    #ff6a1f;
  --accent-2:  #ffa24a;
  --max:       1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: .1px;
  padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #000;
  background: linear-gradient(180deg, #ff924e, #f2650f);
  box-shadow: 0 8px 26px -10px rgba(255, 106, 31, .7);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #34363f; }
.btn .apple { width: 17px; height: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10,10,12,.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-cta { margin-left: 6px; }
.nav-links .only-wide { }

/* ---------- Hero (full-bleed video background) ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 118px 0 92px; text-align: center; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,12,.90) 0%, rgba(10,10,12,.72) 32%, rgba(10,10,12,.82) 64%, rgba(10,10,12,1) 100%),
    radial-gradient(82% 74% at 50% 44%, rgba(0,0,0,.24), rgba(0,0,0,.74));
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid rgba(255,122,41,.34); background: rgba(255,106,31,.10);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(33px, 4.7vw, 58px); line-height: 1.1; letter-spacing: -1.2px;
  font-weight: 800; margin: 0 auto 20px;
  text-shadow: 0 2px 46px rgba(0,0,0,.5);
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: clamp(15px, 1.6vw, 18px); color: #d3d6de;
  max-width: 52ch; margin: 0 auto 30px; line-height: 1.55;
  text-shadow: 0 1px 22px rgba(0,0,0,.55);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: #aab0bd; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.hero-note strong { color: #e6e8ee; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #0b0b0d url("/assets/poster.jpg") center / cover no-repeat; }
}

/* ---------- Section scaffolding ---------- */
section { padding: 92px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.8px; font-weight: 800; line-height: 1.12; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.divide { border: none; border-top: 1px solid var(--line-soft); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--panel), #101115);
  border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: #33353d; }
.feature .ic { width: 34px; height: 34px; margin-bottom: 16px; color: var(--accent); }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Showcase (video cards) ---------- */
.show-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.show-card {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: #000;
  transition: transform .2s ease, border-color .2s ease;
}
.show-card:hover { transform: translateY(-3px); border-color: #33353d; }
.show-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.show-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.36) 62%, rgba(0,0,0,0));
  text-align: left; pointer-events: none;
}
.show-card .cap h3 { font-size: 19px; font-weight: 700; letter-spacing: -.2px; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.show-card .cap p { font-size: 13.5px; color: #c8cbd3; margin-top: 3px; text-shadow: 0 1px 10px rgba(0,0,0,.7); }

/* ---------- Guided tour slider ---------- */
.slider { position: relative; }
.slider-frame {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9);
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.slide.active { opacity: 1; visibility: visible; }
.slide video, .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .scap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 34px 26px;
  background: linear-gradient(0deg, rgba(0,0,0,.86), rgba(0,0,0,.28) 62%, transparent);
  pointer-events: none; text-align: left;
}
.slide .scap .idx { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--accent-2); }
.slide .scap h3 { font-size: 23px; font-weight: 700; letter-spacing: -.3px; margin-top: 5px; text-shadow: 0 1px 14px rgba(0,0,0,.7); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,12,.5);
  color: #fff; backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.slider-btn:hover { background: rgba(22,22,26,.88); border-color: rgba(255,255,255,.4); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-btn svg { width: 20px; height: 20px; }

.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); z-index: 6; }
.slider-progress .bar { height: 100%; width: 0; background: var(--accent); }

.slider-dots { display: flex; gap: 9px; justify-content: center; margin-top: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; background: #3a3c44; padding: 0; transition: background .2s, transform .2s; }
.dot:hover { background: #55575f; }
.dot.active { background: var(--accent); transform: scale(1.3); }
@media (max-width: 620px) { .slider-btn { width: 40px; height: 40px; } .slide .scap h3 { font-size: 18px; } }

/* ---------- Export band ---------- */
.band {
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(255,106,31,.10), rgba(255,106,31,0) 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 780px; margin: 0 auto; }
.chip {
  font-size: 14px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  padding: 9px 15px; border-radius: 999px;
}
.chip strong { color: var(--text); font-weight: 600; }

/* ---------- Roadmap + Known issues ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road-col {
  background: linear-gradient(180deg, var(--panel), #101115);
  border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.road-col h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 18px; display: flex; align-items: center; gap: 9px;
}
.road-col h3 .st { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.st.now  { background: var(--accent); box-shadow: 0 0 10px rgba(255,106,31,.8); }
.st.next { background: #d8b25a; }
.st.later{ background: #5a6070; }
.road-col ul { list-style: none; display: grid; gap: 12px; }
.road-col li { position: relative; padding-left: 20px; color: #cfd2da; font-size: 15px; line-height: 1.5; }
.road-col li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 2px; border-radius: 2px; background: #3d4049;
}
.road-note { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 26px; }

.known {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--panel), #101115);
  border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.known h3 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 6px; }
.known .k-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.known ul { list-style: none; display: grid; gap: 12px; }
.known li { display: flex; gap: 12px; align-items: flex-start; color: #cfd2da; font-size: 15px; line-height: 1.5; }
.known .kd {
  width: 8px; height: 8px; border-radius: 50%; background: #d8b25a; flex: none; margin-top: 7px;
}
.known li strong { color: var(--text); font-weight: 600; }

@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Pricing / CTA ---------- */
.price-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--panel), #0e0f13);
  border: 1px solid var(--line); border-radius: 22px; padding: 46px 34px;
  box-shadow: 0 40px 90px -50px rgba(255,106,31,.35);
}
.price-card .tag { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-2); }
.price-card h2 { font-size: 30px; letter-spacing: -.6px; margin: 12px 0 10px; }
.price-card p { color: var(--muted); margin-bottom: 26px; }
.price-list { list-style: none; text-align: left; max-width: 360px; margin: 0 auto 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; color: #cfd2da; font-size: 15px; }
.price-list .tick { color: var(--accent); flex: none; margin-top: 3px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 54px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { color: var(--faint); font-size: 14px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .nav-links a.hide-sm { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .features, .show-grid { grid-template-columns: 1fr; }
  section { padding: 66px 0; }
  .hero { min-height: 84vh; padding: 92px 0 64px; }
  .nav-links { gap: 16px; }
  .foot-cols { gap: 36px; }
}
::selection { background: rgba(255,106,31,.35); color: #fff; }
