/* VideoWatcher — additive component styles on top of scribehawk style.css */

/* Hero */
.hero {
  max-width: 900px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); }

/* Features */
.features {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.feat-icon { font-size: 28px; margin-bottom: 8px; }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer a { color: var(--accent); }

/* Container */
.container {
  max-width: 980px;
  margin: 30px auto;
  padding: 0 20px;
}
.container .card { margin-bottom: 16px; }

/* Submit-a-video form */
.submit-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), transparent 60%), var(--card);
}
.submit-hint {
  margin: -4px 0 18px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 70ch;
}
.vw-form .field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 4px 0 6px;
}
.vw-form input[type="url"],
.vw-form input[type="text"],
.vw-form input[type="email"],
.vw-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  box-sizing: border-box;
}
.vw-form input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.vw-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.submit-msg { font-size: 14px; }

/* Job page chat input — same treatment */
#chatInput {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
#chatInput::placeholder { color: var(--muted); opacity: 0.85; }
#chatInput:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

/* Jobs list */
.jobs-list { display: flex; flex-direction: column; gap: 8px; }
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
}
.job-row:hover { border-color: var(--accent); }
.job-title { font-weight: 500; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; }

/* Status pills */
.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}
.status-queued { color: var(--muted); }
.status-downloading, .status-extracting, .status-transcribing, .status-describing, .status-describing_pending {
  color: var(--yellow); border-color: rgba(251, 191, 36, 0.3);
}
.status-ready { color: var(--green); border-color: rgba(52, 211, 153, 0.3); }
.status-error { color: var(--red); border-color: rgba(248, 113, 113, 0.3); }

/* Chat */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  max-height: 400px;
  overflow-y: auto;
}
.msg {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 80%;
}
.msg-user { background: var(--accent); color: white; align-self: flex-end; }
.msg-bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; }

/* Nav links */
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* Inline pricing section on landing page */
.pricing-section {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  scroll-margin-top: 80px;
}
.pricing-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.pricing-section-head h2 {
  font-size: 36px;
  margin: 0 0 8px;
  font-weight: 800;
}

/* Pricing page */
.pricing-hero {
  text-align: center;
  max-width: 720px;
  margin: 56px auto 28px;
  padding: 0 20px;
}
.pricing-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 12px;
}
.pricing-grid {
  max-width: 980px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-pro {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.10), transparent 50%), var(--card);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.4), 0 18px 40px -20px rgba(168, 85, 247, 0.4);
}
.plan-flag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name { font-size: 20px; font-weight: 700; }
.plan-price {
  font-size: 44px;
  font-weight: 800;
  margin: 8px 0 2px;
}
.plan-per { font-size: 18px; font-weight: 500; color: var(--muted); }
.plan-sub { font-size: 13px; margin-bottom: 20px; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
}
.plan-features li { margin-bottom: 6px; }
.plan-cta {
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.plan-note { font-size: 12px; margin-top: 10px; text-align: center; }

.pricing-faq {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.pricing-faq h3 { margin-bottom: 16px; }
.faq-row { margin-bottom: 16px; }
.faq-q { font-weight: 600; margin-bottom: 4px; }
.faq-a { font-size: 14px; }
.faq-a a { color: var(--accent); }

/* Cross-product link (between sister sites) */
.nav-cross {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  transition: border-color 120ms ease, background 120ms ease;
}
.nav-cross:hover {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.15);
  color: var(--text) !important;
}

/* Error text */
.error { color: var(--red); margin-top: 8px; font-size: 14px; min-height: 18px; }
.muted { color: var(--muted); }
