/* ============================================
   MOVIENGINE — Landing Page
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0908;
  --text: #F5F2EE;
  --text-dim: rgba(245, 242, 238, 0.50);
  --text-muted: rgba(245, 242, 238, 0.25);
  --text-faint: rgba(245, 242, 238, 0.12);
  --accent: #c0392b;
  --divider: rgba(245, 242, 238, 0.06);
  --nav-bg: rgba(10, 9, 8, 0.90);
  --card-bg: rgba(245, 242, 238, 0.03);
  --card-border: rgba(245, 242, 238, 0.08);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: rgba(245, 242, 238, 0.55);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-dim); }

.nav-cta {
  color: var(--accent) !important;
  transition: color 0.2s;
}

.nav-cta:hover { color: #e74c3c !important; }

/* --- Containers --- */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 9, 8, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.08;
  color: rgba(245, 242, 238, 0.95);
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 242, 238, 0.15);
  color: rgba(245, 242, 238, 0.75);
  background: rgba(245, 242, 238, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  background: rgba(245, 242, 238, 0.10);
  border-color: rgba(245, 242, 238, 0.25);
  color: rgba(245, 242, 238, 0.9);
}

.btn-primary {
  padding: 0.85rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.google-icon {
  flex-shrink: 0;
}

/* --- Evidence / Poster Grid --- */
.evidence {
  padding: 5rem 1rem;
  border-bottom: 1px solid var(--divider);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: rgba(245, 242, 238, 0.03);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.poster:hover img { opacity: 0.8; }

.evidence-caption {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* --- How It Works --- */
.how-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--divider);
}

.how-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.9);
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 238, 0.15);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  line-height: 1;
  padding-top: 0.1rem;
}

.step-body h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 242, 238, 0.8);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.step-body p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}

/* --- Modes --- */
.modes-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--divider);
  text-align: center;
}

.modes-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.9);
  margin-bottom: 3rem;
}

.modes-list {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mode-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--divider);
}

.mode-row:last-child {
  border-bottom: none;
}

.mode-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.8);
  flex-shrink: 0;
  width: 80px;
}

.mode-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}

/* --- Pricing --- */
.pricing-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--divider);
  text-align: center;
}

.pricing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.9);
  margin-bottom: 0.75rem;
}

.pricing-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* Simple pricing */
.pricing-simple {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.price-hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem 3rem;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-rate {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 238, 0.95);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.price-per {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.pricing-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--divider);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

.pricing-detail-row:last-child {
  border-bottom: none;
}

/* Credit packs */
.pricing-packs {
  text-align: center;
}

.pricing-packs h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.8);
  margin-bottom: 1.5rem;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pack-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s;
}

.pack-card:hover {
  border-color: rgba(245, 242, 238, 0.15);
}

.pack-credits {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.pack-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 238, 0.9);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pack-minutes {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* --- Final CTA --- */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.9);
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
  padding: 2.5rem 2.5rem;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.7rem;
  color: var(--text-faint);
}

.footer a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer a:hover { color: var(--text-dim); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav { padding: 1rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .container-wide { padding: 0 1.5rem; }

  .evidence { padding: 3.5rem 1.5rem; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-simple { flex-direction: column; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }

  .mode-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .mode-name { width: auto; }

  .how-section,
  .modes-section,
  .pricing-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 0.85rem; }
}
