/* Opsitron Marketing Site - Custom Styles */

/* =============================================
   Docs article styles
   ============================================= */

/* Force code blocks to scroll on mobile */
article pre {
  overflow-x: auto;
  max-width: calc(100vw - 2rem);
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

article pre code {
  white-space: pre;
  word-wrap: normal;
  overflow-wrap: normal;
}

/* Prevent content overflow */
article {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Headers - clear visual hierarchy */
article h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

article h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

article h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Inline code */
article :not(pre) > code {
  background: #eef2ff;
  color: #4338ca;
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem;
  font-size: 0.875em;
}

article :not(pre) > code::before,
article :not(pre) > code::after {
  content: none;
}

/* Tables */
article table {
  font-size: 0.875rem;
  width: 100%;
}

article th {
  font-weight: 600;
  text-align: left;
  color: #111827;
}

article td {
  color: #4b5563;
}

/* Lists */
article li {
  color: #4b5563;
}

/* Paragraphs */
article p {
  color: #4b5563;
  line-height: 1.75;
}

/* Links */
article a {
  color: #4f46e5;
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}

/* Strong */
article strong {
  color: #111827;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom gradient for hero */
.hero-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* Pricing card hover effect */
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
