/* ============================
   Attendify - Lead Magnet shared styles
   Optimized for in-browser reading + print-to-PDF
   ============================ */

.lm-page {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem 2.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(31, 27, 75, 0.12), 0 10px 25px -5px rgba(31, 27, 75, 0.08);
  border: 1px solid #f1f5f9;
}

.lm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
}

.lm-title {
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin-top: 0.75rem;
}

.lm-sub {
  color: #6b7280;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lm-section {
  margin-top: 2rem;
}

.lm-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lm-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.lm-section p,
.lm-section li {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.65;
}

.lm-section ul,
.lm-section ol {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
}

[dir="rtl"] .lm-section ul,
[dir="rtl"] .lm-section ol {
  margin-left: 0;
  margin-right: 1.25rem;
}

.lm-section li {
  margin-bottom: 0.45rem;
}

.lm-callout {
  background: linear-gradient(135deg, #eef2ff 0%, #ecfdf5 100%);
  border: 1px solid #c7d2fe;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #312e81;
}

.lm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.lm-table th,
.lm-table td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

[dir="rtl"] .lm-table th,
[dir="rtl"] .lm-table td {
  text-align: right;
}

.lm-table th {
  background: #f9fafb;
  font-weight: 700;
  color: #374151;
}

.lm-toolbar {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
}

.lm-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: #4F46E5;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 0.65rem;
  transition: background 0.2s ease;
}

.lm-print-btn:hover { background: #4338ca; }

.lm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 0.65rem;
  transition: background 0.2s ease;
}

.lm-back-btn:hover { background: #f3f4f6; }

@media print {
  body { background: #ffffff; }
  .lm-toolbar, .wa-float-btn, nav, footer, .no-print { display: none !important; }
  .lm-page {
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 100%;
  }
  .lm-section { page-break-inside: avoid; }
}
