/*
Theme Name: Movie Automaite Companion
Author: Automaite
Description: Product site for the Movie Automaite scene-aware movie companion.
Version: 1.0.0
Text Domain: movie-automaite
*/

:root {
  --bg: #08090b;
  --panel: #101319;
  --panel-2: #161b23;
  --ink: #f6f3ec;
  --muted: #b8bdc8;
  --soft: #838b9a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f6c15b;
  --accent-2: #57c7b5;
  --danger: #ff7b72;
  --ok: #8ce99a;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: calc(100% - 32px);
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 193, 91, 0.55);
  background: #14100a;
  color: var(--accent);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #15100a;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  border-bottom: 1px solid var(--line);
}

.wrap {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 54px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.hero-grid > *,
.split > *,
.grid-2 > *,
.grid-3 > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}

.trust-line {
  color: var(--soft);
  font-size: 14px;
}

.player {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b0d11;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
}

.player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.12) 52%, rgba(0,0,0,0.6) 100%);
  opacity: 1;
  z-index: 1;
}

.hero-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene-shape {
  position: absolute;
  display: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.shape-one {
  width: 38%;
  height: 70%;
  right: 8%;
  top: 14%;
  transform: skewX(-9deg);
}

.shape-two {
  width: 22%;
  height: 48%;
  left: 11%;
  bottom: 13%;
  background: rgba(87, 199, 181, 0.08);
}

.face-dot {
  position: absolute;
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  right: 24%;
  top: 27%;
  background: rgba(246, 193, 91, 0.24);
  border: 1px solid rgba(246, 193, 91, 0.44);
}

.overlay-card {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 18px;
  background: rgba(8, 9, 11, 0.82);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
}

.overlay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.overlay-card p {
  margin: 0;
  font-size: 17px;
}

.timeline {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 104px;
  height: 5px;
  background: rgba(255,255,255,0.18);
}

.timeline span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--accent);
}

.status-stack {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: grid;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  background: rgba(0,0,0,0.48);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
  padding: 82px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
}

.card p,
.feature p,
.small {
  color: var(--muted);
}

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 54px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #15100a;
  font-weight: 900;
}

.facts {
  display: grid;
  gap: 12px;
}

.fact {
  padding: 18px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.fact span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #0b0d11;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 102px;
  resize: vertical;
}

.notice {
  min-height: 22px;
  color: var(--accent-2);
  font-size: 14px;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.wide {
  padding: 82px 0;
}

.compat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compat .pill {
  background: #11151c;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  padding: 36px 0;
  color: var(--soft);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .player {
    min-height: 360px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav {
    width: calc(100% - 22px);
    max-width: var(--max);
  }

  .player {
    min-height: 330px;
  }

  h1 {
    font-size: 37px;
    line-height: 1.02;
  }

  .lead {
    font-size: 18px;
  }

  .overlay-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .timeline {
    left: 12px;
    right: 12px;
    bottom: 102px;
  }
}
