/* LadderCloud article.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
  --color-bg: #05070b;
  --color-surface: #0f172a;
  --color-primary: #06b6d4;
  --color-secondary: #3b82f6;
  --color-text-white: #ffffff;
  --color-text-gray: #94a3b8;
  --color-border: #1e293b;
  --font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: #e2e8f0;
  line-height: 1.8;
  padding: 0;
  margin: 0;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background: rgba(5, 7, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-text-white);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* Container */
.container {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Article Styling */
article {
  background: #0b0f19;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.article-meta {
  color: var(--color-text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 50%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 2.5rem 0 1.25rem;
  border-left: 4px solid var(--color-primary);
  padding-left: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 1.75rem 0 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Links */
a {
  color: #00f5ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(0, 245, 255, 0.4);
  transition: var(--transition-smooth);
}

a:hover {
  color: #66faff;
  border-bottom-color: #66faff;
}

/* Internal links list at the end */
.internal-links {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.internal-links h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
}

.internal-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.internal-links a {
  font-weight: 400;
  font-size: 0.95rem;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
}

.cta-banner h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--color-text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
  border: none;
  transition: var(--transition-smooth);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

footer {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--color-text-gray);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  margin-top: 6rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    margin: 2rem auto;
  }
  article {
    padding: 1.5rem;
  }
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.45rem;
  }
}
