/* ============================================================
   MechaPaint - extras.css
   Styles for sections added after launch: hero demo note,
   gallery/showcase, email signup, FAQ, final CTA notes.
   Loaded after styles2.css on both index.html and buy/index.html.
   ============================================================ */

/* ---------- hero / final notes ---------- */

.hero-demo-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.final-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.final .btn { margin: 0 6px; }

/* ---------- showcase / gallery ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.showcase-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 14px;
}

.showcase-plus {
  font-size: 34px;
  line-height: 1;
  color: var(--line);
  font-weight: 300;
}

/* When real work arrives, use .showcase-item instead of .showcase-slot: */

.showcase-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.showcase-item figcaption {
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-mid);
}

.showcase-item figcaption a { color: var(--accent); text-decoration: none; }
.showcase-item figcaption a:hover { text-decoration: underline; }

/* ---------- email signup ---------- */

.signup-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 44px);
}

.signup-info h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.signup-info p { color: var(--text-mid); font-size: 14.5px; }

.signup-form {
  display: flex;
  gap: 10px;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.signup-form .btn { white-space: nowrap; }

.signup-done {
  color: var(--accent-2);
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- buy page: demo note under checkout ---------- */

.price-demo-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.price-demo-note a { color: var(--accent); text-decoration: none; }
.price-demo-note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "-"; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-mid);
  font-size: 14.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .signup-panel { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
}
