/* Premium Content Page Styles */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-page {
  background-color: var(--color-offwhite);
  min-height: 100vh;
  padding-bottom: 6rem;
}

/* Dynamic Header */
.content-header {
  position: relative;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-green) 100%);
  padding: 8rem var(--horizontal-padding) 10rem;
  color: white;
  overflow: hidden;
  clip-path: ellipse(150% 100% at 50% 0%);
}

.content-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/clouds.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.content-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.content-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease-out forwards;
}

/* Glassmorphic Container */
.content-body {
  position: relative;
  z-index: 10;
  margin-top: -6rem;
  padding: 0 var(--horizontal-padding);
}

.content-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 4rem clamp(1.5rem, 5vw, 5rem);
  max-width: 1000px;
  margin: 0 auto;
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,0.1),
    0 0 0 1px rgba(255,255,255,0.5) inset;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

/* Prose Styles */
.prose {
  color: var(--color-slate-700);
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-green);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-petrol);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: var(--color-petrol);
}

.prose blockquote {
  border-left: 4px solid var(--color-green);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--color-slate-600);
  margin: 2rem 0;
}

.prose img {
  border-radius: 0.75rem;
  margin: 2rem 0;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
