/* Content Styles - Used across all pages */
/* Cards, Sections, Page layouts, Scroll animations */

/* ==================== CARDS ==================== */
.content-card {
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 4rem;
}

.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.content-card:hover::before {
  opacity: 0.3;
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.30),
    0 8px 24px rgba(6, 182, 212, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ==================== SECTIONS ==================== */
.content-section {
  padding: 3rem 0;
}

.content-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.content-section-title h1,
.content-section-title h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.4px;
}

.content-section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 82ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== PAGE LAYOUTS ==================== */
.content-page {
  padding: 8rem 0 4rem;
  min-height: 60vh;
}

.content-page-head {
  margin-bottom: 3rem;
  text-align: center;
}

.content-page-head h1 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.4px;
}

.content-lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 82ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== PROSE (Legal Content) ==================== */
.content-pr2rem
  padding: var(--space-3);
  line-height: 1.7;
}

.content-prose h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.content-prose h3 {
  margin: 20px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.content-prose p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.78;
  font-size: 15px;
}

.content-prose ul,
.content-prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.content-prose li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.78;
  font-size: 15px;
}

.content-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.content-prose a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

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

/* ==================== SCROLL ANIMATION ==================== */
.content-scroll-hint {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  text-align: center;
  margin-top: 48px;
}

.content-scroll-hint.hidden {
  opacity: 0;
  transform: translateY(-30px) scale(0.9);
  pointer-events: none;
}

.content-scroll-mouse {
  width: 32px;
  height: 52px;
  margin: 0 auto;
  border: 3px solid var(--cyan);
  border-radius: 24px;
  position: relative;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.15) 0%, 
    rgba(6, 182, 212, 0.05) 50%,
    rgba(59, 130, 246, 0.08) 100%);
  animation: mouse-pulse 3s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-scroll-mouse::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--cyan);
  border-radius: 32px;
  opacity: 0;
  animation: glow-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.content-scroll-mouse::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--cyan);
  border-radius: 32px;
  opacity: 0;
  animation: glow-ring 2s cubic-bezier(0.4, 0, 0.2, 1) 1s infinite;
}

.content-scroll-mouse:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: #6DD6FF;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.25) 0%, 
    rgba(6, 182, 212, 0.12) 50%,
    rgba(59, 130, 246, 0.15) 100%);
  box-shadow: 
    0 0 0 6px rgba(6, 182, 212, 0.15),
    0 0 40px rgba(6, 182, 212, 0.4),
    0 10px 30px rgba(6, 182, 212, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.25);
}

.content-scroll-wheel {
  width: 5px;
  height: 10px;
  background: linear-gradient(to bottom, var(--cyan), rgba(6, 182, 212, 0.6));
  border-radius: 6px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-move 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8),
              0 0 6px rgba(109, 214, 255, 0.6);
}

/* Scroll Animation Keyframes */
@keyframes mouse-pulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-8px);
    opacity: 0.8;
  }
}

@keyframes glow-ring {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes scroll-wheel-move {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) translateY(16px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

/* ==================== SUPPORT PAGE SPECIFIC ==================== */
.support-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.support-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.support-email {
  font-size: 18px;
  margin: 16px 0;
  color: var(--text-primary);
}

.support-side strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.support-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-side li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-side li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
}

.content-stamp {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 13px;
  text-align: center;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 920px) {
  .support-card {
    grid-template-columns: 1fr;
  }
  
  .content-page-head h1,
  .content-section-title h1,
  .content-section-title h2 {
    font-size: 24px;
  }
  
  .content-page {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 640px) {
  .content-card {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .content-prose {
    padding: 1.5rem;
  }
  
  .content-page {
    padding: 5rem 0 2rem;
  }
}
