/* =========================
   LAYOUT - OPTION C: PREMIUM CARD-BASED
========================= */

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Premium card-style sections */
.section{
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay on sections */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  pointer-events: none;
}

.section:hover{
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Special emphasis for interactive sections */
.section:has(button):hover,
.section:has(input):hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(59, 130, 246, 0.1);
}

.row{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.label{
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.value{
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.output{
  margin-top: 20px;
  line-height: 1.7;
  font-size: 1rem;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.output > div {
  margin-bottom: 16px;
  animation: fadeInUp 0.4s ease-out backwards;
}

.output > div:nth-child(1) { animation-delay: 0.05s; }
.output > div:nth-child(2) { animation-delay: 0.1s; }
.output > div:nth-child(3) { animation-delay: 0.15s; }
.output > div:nth-child(4) { animation-delay: 0.2s; }
.output > div:nth-child(5) { animation-delay: 0.25s; }

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

.section-spacing{ 
  margin-top: 40px;
}

/* Hero container for centered content */
.hero-container {
  max-width: 1000px;
  margin: 0 auto 48px;
  text-align: center;
}

/* Horizontal rule styling */
hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 24px 0;
  opacity: 0.5;
}

/* List styling improvements */
ul, ol {
  padding-left: 24px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

li strong {
  color: var(--text-primary);
}

/* Paragraph spacing */
p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

/* Code/monospace elements */
code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  border: 1px solid var(--border-subtle);
}
/* =========================
   FORCE SEO COLLAPSE TO WORK
========================= */

.seo-section {
  animation: none !important;
  transform: none !important;
}

.seo-section:hover {
  transform: none !important;
}

.seo-section .seo-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.seo-section.expanded .seo-content {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
}