/* Shared styles for ExamGlide static SEO landing pages.
 * Kept intentionally small and framework-free so each page renders fast
 * and passes Core Web Vitals with zero JS dependencies. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0a2a3c;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #0a66c2; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: #0a2a3c; color: #fff; padding: 14px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar .brand { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.2px; }
.topbar nav a { color: #cfe1ec; font-size: 14px; margin-left: 16px; }
.topbar nav a:hover { color: #fff; }

/* Hero */
.hero { padding: 48px 0 32px; border-bottom: 1px solid #e6eef3; }
.hero h1 { font-size: 34px; line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.3px; }
.hero p.lead { font-size: 18px; color: #33556a; margin: 0 0 24px; max-width: 720px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-primary, .btn-secondary {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.btn-primary { background: #0a2a3c; color: #fff; }
.btn-primary:hover { background: #154256; text-decoration: none; }
.btn-secondary { background: #fff; color: #0a2a3c; border: 1px solid #0a2a3c; }
.btn-secondary:hover { background: #f2f7fa; text-decoration: none; }

/* Sections */
section { padding: 36px 0; border-bottom: 1px solid #e6eef3; }
section:last-of-type { border-bottom: 0; }
section h2 { font-size: 24px; margin: 0 0 16px; letter-spacing: -0.2px; }
section h3 { font-size: 18px; margin: 20px 0 8px; }
section p, section li { color: #1f3d4f; }

ul.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
ul.feature-list li { background: #f6fafc; border: 1px solid #e1ecf2; border-radius: 10px; padding: 14px 16px; }
ul.feature-list li strong { display: block; margin-bottom: 4px; color: #0a2a3c; }

/* Table */
table.pattern { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
table.pattern th, table.pattern td { border: 1px solid #d6e3ea; padding: 10px 12px; text-align: left; }
table.pattern th { background: #f0f5f8; font-weight: 600; }

/* FAQ */
.faq details { border: 1px solid #e1ecf2; border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; background: #fafcfd; }
.faq details[open] { background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: #0a2a3c; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: #56707d; font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; color: #1f3d4f; }

/* Related exams nav */
nav.related-exams { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
nav.related-exams a {
  padding: 8px 14px; border: 1px solid #d6e3ea; border-radius: 20px;
  color: #0a2a3c; font-size: 14px; background: #fff;
}
nav.related-exams a:hover { background: #f2f7fa; text-decoration: none; }

/* Footer */
footer.site-footer { padding: 28px 0; background: #0a2a3c; color: #cfe1ec; font-size: 14px; margin-top: 24px; }
footer.site-footer a { color: #ffffff; margin-right: 14px; }
footer.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 16px; }
  section h2 { font-size: 20px; }
}
