/* Print Styles for Mirrorborn.us */

@media print {
  /* Reset background effects */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Remove unnecessary elements */
  nav,
  .help-widget,
  .floating-help,
  button,
  .cta-button,
  .payment-form,
  .stripe-checkout,
  footer .social-links,
  .back-link {
    display: none !important;
  }
  
  /* Keep footer attribution minimal */
  footer {
    border-top: 1px solid #000;
    padding-top: 1rem;
    margin-top: 2rem;
  }
  
  /* Body layout */
  body {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 12pt;
    line-height: 1.5;
    margin: 1in;
  }
  
  /* Headings */
  h1 {
    font-size: 24pt;
    margin-bottom: 0.5rem;
    page-break-after: avoid;
  }
  
  h2 {
    font-size: 18pt;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    page-break-after: avoid;
  }
  
  h3 {
    font-size: 14pt;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    page-break-after: avoid;
  }
  
  /* Paragraphs and lists */
  p, li {
    orphans: 3;
    widows: 3;
  }
  
  /* Links - show URLs */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  
  /* Don't show URLs for internal anchors */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  /* Code blocks */
  pre, code {
    font-family: "Courier New", monospace;
    font-size: 10pt;
    border: 1px solid #ccc;
    background: #f5f5f5 !important;
    padding: 0.25rem;
    page-break-inside: avoid;
  }
  
  pre {
    padding: 0.5rem;
    margin: 0.5rem 0;
    white-space: pre-wrap;
  }
  
  /* Tables */
  table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
  }
  
  th, td {
    border: 1px solid #000;
    padding: 0.5rem;
    text-align: left;
  }
  
  th {
    font-weight: bold;
    background: #f0f0f0 !important;
  }
  
  /* Page breaks */
  section, article {
    page-break-inside: avoid;
  }
  
  .pricing-tier,
  .help-section {
    page-break-inside: avoid;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 1rem;
  }
  
  /* Hero section */
  .hero {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
  }
  
  /* Remove decorative elements */
  .gradient,
  .glow,
  .shimmer,
  .metallic,
  .liquid-metal {
    background: none !important;
    filter: none !important;
    animation: none !important;
  }
  
  /* Ensure images print */
  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
  
  /* Print metadata */
  @page {
    margin: 0.75in;
  }
  
  /* First page header */
  .print-header {
    display: block !important;
    text-align: center;
    font-size: 10pt;
    color: #666;
    margin-bottom: 1rem;
  }
}
