/* ============================================================================
   RESET & BASE
   ============================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #e5e7eb;
  background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #60a5fa;
}
/* ============================================================================
   FLOATING NAVIGATION
   ============================================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav-logo:hover {
  color: #60a5fa;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #d1d5db;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: #60a5fa;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: #60a5fa;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
/* ============================================================================
   ARTICLE CONTAINER
   ============================================================================ */
article {
  max-width: 1100px;
  margin: 1.5rem auto 4rem;
  padding: 3rem;
  background: rgba(23, 23, 23, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
/* ============================================================================
   ARTICLE HEADER
   ============================================================================ */
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}
.article-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: #fafafa;
}
.article-meta {
  color: #9ca3af;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.meta-separator {
  opacity: 0.5;
}
.meta-date {
  font-feature-settings: 'tnum';
}
.meta-reading-time {
  color: #9ca3af;
}
.meta-author {
  color: #d1d5db;
  font-weight: 400;
}
.meta-category {
  color: #60a5fa;
  font-weight: 500;
}
/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 2.5rem 0 1rem 0;
  letter-spacing: -0.02em;
  color: #fafafa;
}
h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(96, 165, 250, 0.4) 0%, rgba(96, 165, 250, 0.1) 100%) 1;
  padding-bottom: 0.75rem;
  margin: 2.5rem 0 1.25rem 0;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.2rem;
}
h5 {
  font-size: 1.05rem;
}
h6 {
  font-size: 0.9rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
p {
  margin-bottom: 1.5rem;
  color: #d1d5db;
  line-height: 1.6;
  font-size: 1.0625rem;
}
strong {
  font-weight: 600;
  color: #fafafa;
}
em {
  font-style: italic;
  color: #e5e7eb;
}
mark {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  padding: 0.15em 0.35em;
  border-radius: 3px;
}
code {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.4);
  padding: 0.2em 0.45em;
  border-radius: 3px;
  font-size: 0.9em;
  color: #93c5fd;
}
pre {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.4);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.75rem 0;
  overflow-x: auto;
}
pre code {
  background: none;
  border: none;
  padding: 0;
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
}
/* ============================================================================
   LISTS
   ============================================================================ */
ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
  color: #d1d5db;
}
li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.0625rem;
}
li::marker {
  color: #60a5fa;
}
/* ============================================================================
   BLOCKQUOTE
   ============================================================================ */
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: rgba(59, 130, 246, 0.04);
  border-left: 3px solid #60a5fa;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #d1d5db;
}
blockquote p {
  font-size: 1.05rem;
  line-height: 1.6;
}
blockquote p:last-child {
  margin-bottom: 0;
}
blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  color: #9ca3af;
}
blockquote cite::before {
  content: "— ";
}
/* ============================================================================
   CALLOUTS
   ============================================================================ */
.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border-left: 3px solid;
}
.callout-info {
  background: rgba(59, 130, 246, 0.08);
  border-color: #60a5fa;
}
.callout-warning {
  background: rgba(251, 191, 36, 0.08);
  border-color: #fbbf24;
}
.callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
}
.callout-danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
}
.callout-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.callout-info .callout-title {
  color: #93c5fd;
}
.callout-warning .callout-title {
  color: #fcd34d;
}
.callout-success .callout-title {
  color: #6ee7b7;
}
.callout-danger .callout-title {
  color: #fca5a5;
}
.callout p {
  color: #d1d5db;
  line-height: 1.6;
}
/* ============================================================================
   TABLES
   ============================================================================ */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border: 1px solid rgba(55, 65, 81, 0.4);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.6);
  font-size: 0.9375rem;
}
thead {
  background: rgba(31, 41, 55, 0.8);
}
th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  color: #fafafa;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  color: #d1d5db;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: rgba(55, 65, 81, 0.15);
}
th:last-child,
td:last-child {
  text-align: right;
}
/* ============================================================================
   HORIZONTAL RULE
   ============================================================================ */
hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
}
/* ============================================================================
   IMAGES
   ============================================================================ */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 2rem 0;
  border: 1px solid rgba(55, 65, 81, 0.4);
}
.image-placeholder {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 3rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(55, 65, 81, 0.3);
  margin: 2rem 0 0.75rem;
  font-size: 0.9375rem;
}
.img-caption {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  font-style: italic;
}
/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
footer p {
  font-size: 0.9375rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}
footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
footer nav span {
  color: #6b7280;
}
footer a {
  color: #9ca3af;
  transition: color 0.2s;
}
footer a:hover {
  color: #60a5fa;
}
/* ============================================================================
   FOOTER DISCLAIMER
   ============================================================================ */
.footer-disclaimer {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  text-align: left;
}
.footer-disclaimer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fca5a5;
  margin: 0 0 1rem 0;
}
.footer-disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 0.875rem;
}
.footer-disclaimer p:last-child {
  margin-bottom: 0;
}
.footer-disclaimer strong {
  color: #fafafa;
  font-weight: 600;
}
.footer-disclaimer-consult {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
  margin-top: 1rem !important;
}
/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
    padding-top: 60px;
  }
  .nav-container {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .nav-links a {
    font-size: 0.875rem;
  }
  article {
    padding: 2rem 1.5rem;
    margin: 1.5rem 1rem 2rem;
  }
  .article-title {
    font-size: 1.875rem;
  }
  .article-meta {
    font-size: 0.8125rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  pre {
    padding: 1.25rem;
  }
  table {
    font-size: 0.875rem;
  }
  th, td {
    padding: 0.75rem;
  }
  footer {
    padding: 2.5rem 1.25rem;
  }
  .footer-disclaimer {
    padding: 1.5rem;
  }
  .footer-disclaimer p {
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.8125rem;
  }
  .nav-links a::after {
    display: none;
  }
}
/* ============================================================================
   COMING SOON PAGE
   ============================================================================ */
.coming-soon-container {
  max-width: 600px;
  margin: 8rem auto;
  padding: 3rem 2rem;
  text-align: center;
}
.coming-soon-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 0.75rem;
}
.coming-soon-message {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.coming-soon-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}
.coming-soon-link:hover {
  text-decoration: underline;
}
