/* PanQuiz — Quiz Maker for Teachers (EN) — page styles.
   Requires: fonts.css, colors.css, typography.css, layout.css, style.css (shared tokens + components). */

/* ---------- Product screenshot frames (shared pattern) ---------- */
.product-frame { margin: 0; background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 18px; padding: 10px; box-shadow: 0 2px 18px rgba(0,0,0,.16); }
.product-frame img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 10px; }

/* ---------- Hero (copy + wide product screenshot) ---------- */
.qmt-hero { background: linear-gradient(180deg, #ffffff 0%, #edf1ff 100%); border-bottom: 1px solid rgba(14,21,82,.06); overflow: hidden; }
.qmt-hero .container { padding-top: 72px; padding-bottom: 68px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.qmt-hero-copy { flex: 1 1 500px; min-width: 320px; }
.qmt-hero-shot { flex: 1 1 420px; min-width: 280px; align-self: center; }
.qmt-hero h1 { color: #0e1552; max-width: 640px; }
.qmt-hero .hero-sub { margin: 22px 0 0; max-width: 620px; }
.qmt-hero .hero-ctas { margin-top: 30px; }

/* ---------- Three numbered steps ---------- */
.qmt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.qmt-step { background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.qmt-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--site-primary, #005aef); color: #fff; font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.qmt-step h3 { font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 18px; color: #0e1552; margin: 16px 0 8px; text-wrap: pretty; }
.qmt-step p { font-size: 14.5px; line-height: 1.6; color: #3c4257; margin: 0; text-wrap: pretty; }
@media (max-width: 1080px) { .qmt-steps { grid-template-columns: 1fr; } }

/* ---------- Features grid (6 cards) + grading highlight with screenshot ---------- */
.qmt-features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .qmt-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .qmt-features { grid-template-columns: 1fr; } }
.qmt-highlight { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 32px 36px; margin-top: 24px; }
.qmt-highlight-copy h3 { font-family: var(--font-display, 'Raleway', sans-serif); font-weight: 700; font-size: 20px; color: #0e1552; margin: 16px 0 8px; text-wrap: pretty; }
.qmt-highlight-copy p { font-size: 15.5px; line-height: 1.65; color: #3c4257; margin: 0; text-wrap: pretty; }
@media (max-width: 1080px) {
  .qmt-highlight { grid-template-columns: 1fr; gap: 28px; padding: 26px 24px; }
  .qmt-highlight-shot { max-width: 640px; width: 100%; margin: 0 auto; }
}
.qmt-morelink { font-family: var(--font-subhead, 'Source Sans Pro', sans-serif); font-size: 17px; line-height: 1.6; color: #3c4257; text-align: center; max-width: 720px; margin: 34px auto 0; text-wrap: pretty; }

/* ---------- Live or homework — two cards + printed paper sheet ---------- */
.qmt-modes-split { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; max-width: 1080px; margin: 44px auto 0; }
.qmt-mode-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.qmt-mode { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 22px 24px; }
.qmt-mode p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.65; color: #3c4257; text-wrap: pretty; }
.qmt-mode strong { color: #0e1552; }
.print-sheet { margin: 0; display: flex; justify-content: center; }
.print-sheet img { display: block; background: #fff; width: auto; height: auto; max-width: 100%; max-height: 640px; border: 1px solid rgba(14,21,82,.08); border-radius: 4px; box-shadow: 0 2px 18px rgba(0,0,0,.18); }
@media (max-width: 1080px) {
  .qmt-modes-split { grid-template-columns: 1fr; gap: 32px; }
  .print-sheet img { max-height: 560px; }
}

/* ---------- Pricing teaser ---------- */
.teaser-cta { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Reliability ---------- */
.qmt-reliability p { font-family: var(--font-subhead, 'Source Sans Pro', sans-serif); font-size: 19px; line-height: 1.7; color: #3c4257; text-align: center; max-width: 760px; margin: 24px auto 0; text-wrap: pretty; }
.qmt-reliability strong { color: #0e1552; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .qmt-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .qmt-hero .hero-ctas { margin-top: 24px; }
  .qmt-steps { margin-top: 36px; }
  .qmt-mode { padding: 20px 20px; }
  .qmt-morelink { font-size: 15.5px; }
  .qmt-reliability p { font-size: 17px; }
}
