/* PanQuiz — AI Quiz Generator (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 + product screenshot) ---------- */
.aiq-hero { background: linear-gradient(180deg, #ffffff 0%, #edf1ff 100%); border-bottom: 1px solid rgba(14,21,82,.06); overflow: hidden; }
.aiq-hero .container { padding-top: 72px; padding-bottom: 68px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.aiq-hero-copy { flex: 1 1 500px; min-width: 320px; }
.aiq-hero-shot { flex: 1 1 400px; min-width: 280px; align-self: center; }
.aiq-hero h1 { color: #0e1552; max-width: 640px; }
.aiq-hero .hero-sub { margin: 22px 0 0; max-width: 620px; }
.aiq-hero .hero-ctas { margin-top: 30px; }

/* ---------- Three numbered steps ---------- */
.aiq-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.aiq-step { background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.aiq-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; flex: 0 0 auto; }
.aiq-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; }
.aiq-step p { font-size: 14.5px; line-height: 1.6; color: #3c4257; margin: 0; text-wrap: pretty; }
@media (max-width: 1080px) { .aiq-steps { grid-template-columns: 1fr; } }

/* ---------- Sources / why grids (icon + one-liner cards) ---------- */
.aiq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 44px auto 0; }
.aiq-item { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid rgba(14,21,82,.1); border-radius: 16px; padding: 22px 24px; }
.aiq-item p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.65; color: #3c4257; text-wrap: pretty; }
.aiq-item strong { color: #0e1552; }
@media (max-width: 860px) { .aiq-grid { grid-template-columns: 1fr; } }

/* ---------- Cross links line ---------- */
.aiq-crosslinks { text-align: center; font-family: var(--font-subhead, 'Source Sans Pro', sans-serif); font-size: 17px; color: #3c4257; max-width: 720px; margin: 32px auto 0; }
.aiq-crosslinks a { color: var(--site-primary, #005aef); font-weight: 600; text-decoration: none; }
.aiq-crosslinks a:hover { text-decoration: underline; }

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .aiq-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .aiq-hero .hero-ctas { margin-top: 24px; }
  .aiq-item { padding: 20px 20px; }
  .aiq-steps { margin-top: 36px; }
}
