/* ===== CSS Custom Properties ===== */
:root {
  --background: 222 47% 5%;
  --foreground: 210 40% 98%;
  --card: 222 47% 8%;
  --card-foreground: 210 40% 98%;
  --primary: 192 95% 55%;
  --primary-foreground: 222 47% 5%;
  --secondary: 222 30% 15%;
  --secondary-foreground: 210 40% 98%;
  --muted: 222 30% 12%;
  --muted-foreground: 215 20% 55%;
  --accent: 265 90% 65%;
  --accent-foreground: 210 40% 98%;
  --border: 222 30% 18%;
  --input: 222 30% 15%;
  --ring: 192 95% 55%;
  --radius: 0.75rem;
  --glow-primary: 192 95% 55%;
  --glow-accent: 265 90% 65%;
  --gradient-start: 192 95% 55%;
  --gradient-end: 265 90% 65%;
  --surface-elevated: 222 40% 10%;
}

/* ===== Base Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  color: #1fcef9;
}

.text-primary {
  color: hsl(var(--primary));
  font-weight: 500;
}

/* ===== Layout ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo svg {
  display: block;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
}

.btn-xl {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--secondary));
  border-color: hsl(var(--border));
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-accent-left {
  left: 25%;
  top: 33%;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--primary) / 0.05);
}

.hero-accent-right {
  right: 25%;
  top: 50%;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--accent) / 0.05);
  filter: blur(120px);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem);
  padding: 2rem 1rem;
  text-align: center;
}

.hero-title {
  max-width: 56rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding-top: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* AI Distiller Card */
.ai-distiller {
  max-width: 42rem;
  margin-top: 4rem;
}

.ai-distiller-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.ai-distiller-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
}

.ai-distiller-text {
  text-align: left;
}

.ai-distiller-text h3 {
  font-size: 1rem;
  font-weight: 600;
}

.ai-distiller-text p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Partner Logos */
.partners {
  margin-top: 4rem;
  padding-bottom: 1rem;
}

.partners-label {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.6;
}

.partner-logo {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.125rem;
  font-weight: 500;
}

/* ===== Gradient Border ===== */
.gradient-border {
  position: relative;
  background: hsl(var(--card));
  border-radius: var(--radius);
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, hsl(var(--gradient-start) / 0.5), hsl(var(--gradient-end) / 0.5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Mesh Gradient & Grid Pattern ===== */
.mesh-gradient {
  background-image:
    radial-gradient(at 40% 20%, hsl(var(--glow-primary) / 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsl(var(--glow-accent) / 0.06) 0px, transparent 40%),
    radial-gradient(at 0% 50%, hsl(var(--glow-primary) / 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsl(var(--glow-accent) / 0.04) 0px, transparent 40%),
    radial-gradient(at 0% 100%, hsl(var(--glow-primary) / 0.06) 0px, transparent 50%);
}

.grid-pattern {
  background-image:
    linear-gradient(hsl(var(--border) / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

.section-header p {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Features Section ===== */
.features {
  position: relative;
  padding: 6rem 0;
}

.features-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.features-content {
  position: relative;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  transition: transform 0.2s;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, hsl(var(--gradient-start) / 0.5), hsl(var(--gradient-end) / 0.5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  color: hsl(var(--primary));
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-card p {
  color: hsl(var(--muted-foreground));
}

/* ===== Use Cases Section ===== */
.use-cases {
  position: relative;
  padding: 6rem 0;
}

.use-cases-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.use-case-card {
  padding: 2rem;
}

.use-case-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  color: hsl(var(--primary-foreground));
}

.use-case-icon-primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
}

.use-case-icon-accent {
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent) / 0.5));
}

.use-case-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.use-case-card > p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.use-case-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.use-case-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.use-case-benefits .bullet {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  flex-shrink: 0;
}

/* ===== Why RestMCP Section ===== */
.why-section {
  position: relative;
  padding: 6rem 0;
}

.why-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.why-content {
  position: relative;
}

.why-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  text-align: center;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--muted)));
  font-size: 2.5rem;
}

.why-highlight {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--primary));
}

.why-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.why-card p {
  color: hsl(var(--muted-foreground));
}

/* ===== Pricing Section ===== */
.pricing {
  position: relative;
  padding: 6rem 0;
  background-color: hsl(222deg 47% 8% / 65%);
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: all 0.3s;
}

.pricing-card-featured {
  background: linear-gradient(180deg, hsl(var(--surface-elevated)), hsl(var(--card)));
}

.pricing-card-featured::before {
  background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.pricing-amount {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
}

.pricing-amount .price {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-amount .period {
  margin-left: 0.25rem;
  color: hsl(var(--muted-foreground));
}

.pricing-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pricing-features {
  flex: 1;
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pricing-features svg {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: hsl(var(--foreground));
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  max-width: 28rem;
  width: 100%;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.modal-header {
  text-align: center;
  margin-bottom: 1rem;
}

.modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  color: hsl(var(--primary));
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
}

.form-group input::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-group input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.modal-success {
  text-align: center;
  padding: 2rem 0;
}

.modal-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  color: hsl(var(--primary));
}

.modal-success h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-success p {
  color: hsl(var(--muted-foreground));
}

.modal-success .btn {
  margin-top: 1.5rem;
}

/* ===== Animations ===== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

.animation-delay-500 {
  animation-delay: 500ms;
}

/* ===== Blog Section ===== */
.blog-section {
  padding: 6rem 0;
  background: hsl(var(--background));
}

.blog-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-section .section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-section .section-header p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  background: hsl(var(--card));
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px hsl(var(--primary) / 0.2);
}

.blog-card-placeholder {
  cursor: default;
  opacity: 0.7;
}

.blog-card-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.blog-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.blog-card-date {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.75rem;
}

.blog-card-link-muted {
  color: hsl(var(--muted-foreground));
}

/* ===== Blog Post Page ===== */
.blog-post {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.blog-breadcrumb a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: hsl(var(--primary));
}

.breadcrumb-separator {
  opacity: 0.5;
}

.blog-post-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.blog-post-date,
.blog-post-read-time {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.blog-post-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .blog-post-header h1 {
    font-size: 3rem;
  }
}

.blog-post-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: hsl(var(--foreground));
}

.blog-post-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: hsl(var(--foreground));
}

.blog-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.9);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.9);
}

.blog-post-content strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.blog-post-content em {
  font-style: italic;
}

.blog-post-content code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875em;
  padding: 0.125rem 0.375rem;
  background: hsl(var(--secondary));
  border-radius: 0.25rem;
  color: hsl(var(--primary));
}

.blog-divider {
  border: none;
  border-top: 1px solid hsl(var(--border));
  margin: 2.5rem 0;
}

.blog-callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.blog-callout-warning {
  background: hsl(45 100% 50% / 0.1);
  border-left: 4px solid hsl(45 100% 50%);
}

.blog-callout-info {
  background: hsl(var(--primary) / 0.1);
  border-left: 4px solid hsl(var(--primary));
}

.blog-code {
  background: hsl(var(--secondary));
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.blog-code code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  white-space: pre;
}

.blog-quote {
  font-size: 1.125rem;
  font-style: italic;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-left: 4px solid hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: hsl(var(--foreground) / 0.9);
}

.blog-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
  border-radius: var(--radius);
  margin-top: 2rem;
}

.blog-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-cta p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.blog-back {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.9375rem;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.blog-back-link:hover {
  color: hsl(var(--primary));
  gap: 0.75rem;
}
