/* Modern Content Pages Styling */

/* Base Typography and Layout */
.content-page {
  min-height: 100vh;
  background: #F8F3ED;
}

.content-header {
  background: linear-gradient(#bee3db 36%, #89b0ae);
  color: #323232;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.content-header::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: #F8F3ED;
  transform: skewY(-3deg);
}

.content-header h1 {
  font-family: Bitter, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #323232;
}

.content-header .subtitle {
  font-size: 1.25rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  color: #323232;
}

/* Content Container */
.content-container {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 20px 80px;
  position: relative;
  z-index: 1;
}

/* Main Content Area */
.content-main {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 60px;
  margin-bottom: 40px;
}

.content-main h2 {
  font-family: Bitter, serif;
  font-size: 2rem;
  color: #323232;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.content-main h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(#bee3db, #89b0ae);
  border-radius: 2px;
}

.content-main h3 {
  font-family: Bitter, serif;
  font-size: 1.5rem;
  color: #323232;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.content-main p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.content-main ul, .content-main ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-main li {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 0.75rem;
}

.content-main strong {
  color: #2d3748;
  font-weight: 600;
}

/* Sidebar Cards */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card, .card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 32px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.sidebar-card:hover, .card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.sidebar-card h3, .card h3 {
  font-family: Bitter, serif;
  font-size: 1.25rem;
  color: #323232;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidebar-card .divider, .card .divider {
  height: 2px;
  background: linear-gradient(#bee3db, #89b0ae);
  margin: 1rem 0 1.5rem;
  border-radius: 1px;
}

.sidebar-card ul, .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li, .card li {
  margin-bottom: 0.75rem;
}

/* Special styling for non-linked list items */
.sidebar-card ul li:not(:has(a)), .card ul li:not(:has(a)) {
  color: #4a5568;
  font-size: 1rem;
  padding-left: 20px;
  position: relative;
}

.sidebar-card ul li:not(:has(a))::before, .card ul li:not(:has(a))::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #89b0ae;
}

.sidebar-card a, .card a {
  color: #4a5568;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 20px;
}

.sidebar-card a::before, .card a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.2s ease;
}

.sidebar-card a:hover, .card a:hover {
  color: #89b0ae;
  padding-left: 28px;
}

.sidebar-card a:hover::before, .card a:hover::before {
  opacity: 1;
  left: 8px;
}

/* Quick Decision Guide Card */
.decision-guide {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  border: none;
}

.decision-guide p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.decision-guide strong {
  color: #89b0ae;
  display: block;
  margin-bottom: 0.25rem;
}

/* FAQ Styling */
.faq-item {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-family: Bitter, serif;
  font-size: 1.25rem;
  color: #323232;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(#bee3db, #89b0ae);
  color: #323232;
  border-radius: 50%;
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-answer {
  padding-left: 44px;
  color: #4a5568;
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: #F8F3ED;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #89b0ae;
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button {
  background: linear-gradient(#bee3db, #89b0ae);
  color: #323232;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(137, 176, 174, 0.3);
}

/* Privacy & Terms Styling */
.legal-content {
  background: white;
  border-radius: 12px;
  padding: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legal-content h2 {
  font-family: Bitter, serif;
  font-size: 1.75rem;
  color: #323232;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.legal-content h3 {
  font-family: Bitter, serif;
  font-size: 1.25rem;
  color: #323232;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.last-updated {
  background: #f7fafc;
  border-left: 4px solid #89b0ae;
  padding: 16px 24px;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4a5568;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-main {
    padding: 40px;
  }
  
  .content-header {
    padding: 60px 0 80px;
  }
}

@media (max-width: 768px) {
  .content-main {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .content-header {
    padding-top: 120px; /* Add extra padding for mobile sticky nav */
  }
  
  .content-header h1 {
    font-size: 2rem;
  }
  
  .content-header .subtitle {
    font-size: 1.125rem;
  }
  
  .sidebar-card, .card {
    padding: 24px;
  }
  
  .content-main h2 {
    font-size: 1.5rem;
  }
  
  .content-main h3 {
    font-size: 1.25rem;
  }
  
  .content-main p,
  .content-main li {
    font-size: 1rem;
  }
  
  .faq-question {
    font-size: 1.125rem;
  }
  
  .legal-content {
    padding: 32px 24px;
  }
}

/* Grid Layout for Content Pages */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

/* Animation for page load */
.content-main,
.sidebar-card {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Utility Classes */
.text-gradient {
  background: linear-gradient(#bee3db, #89b0ae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-box {
  background: #f7fafc;
  border-left: 4px solid #89b0ae;
  padding: 20px 24px;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.highlight-box p {
  margin-bottom: 0;
}

/* Margin utilities */
.margin-top-24 {
  margin-top: 24px !important;
}

.margin-v-16 {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* Link list styling */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: 0.75rem;
}