/* ================================================
   ALL FORMATS PAGE — format_all.css
   ================================================ */

/* ── Hero ── */
.formats-hero {
  background: #080b14;
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Dot grid */
.formats-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.18); top: -150px; left: -150px; }
.hero-orb-2 { width: 450px; height: 450px; background: rgba(16,185,129,0.12); bottom: -120px; right: -80px; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(236,72,153,0.08); top: 40%; right: 20%; }

/* Floating extension chips */
.float-chip {
  position: absolute;
  padding: 5px 13px;
  border-radius: 100px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid;
  backdrop-filter: blur(12px);
  pointer-events: none;
  animation: chip-drift var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  z-index: 1;
}

@keyframes chip-drift {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  33%  { transform: translateY(-14px) translateX(5px); opacity: 0.85; }
  66%  { transform: translateY(8px)  translateX(-4px); opacity: 0.55; }
}

.chip-data  { color: #34d399; border-color: rgba(52,211,153,0.3);  background: rgba(52,211,153,0.08); }
.chip-doc   { color: #818cf8; border-color: rgba(129,140,248,0.3); background: rgba(129,140,248,0.08); }
.chip-media { color: #f472b6; border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.08); }
.chip-local { color: #c084fc; border-color: rgba(192,132,252,0.3); background: rgba(192,132,252,0.08); }
.chip-pres  { color: #fb923c; border-color: rgba(251,146,60,0.3);  background: rgba(251,146,60,0.08); }

@media (max-width: 768px) { .float-chip { display: none; } }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 8px rgba(99,102,241,0.9);
  flex-shrink: 0;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(99,102,241,0.9); }
  50%  { box-shadow: 0 0 18px rgba(99,102,241,1), 0 0 36px rgba(99,102,241,0.4); }
}

/* Hero title */
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #34d399 52%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 44px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}

.hero-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Formats table section ── */
.formats-section { background: #f8fafc; padding: 60px 0 88px; }

.fmt-group { margin-bottom: 48px; }

.fmt-group-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
  padding-left: 2px;
}

.fmt-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  table-layout: fixed;
}

/* col 1: format name, col 2: extensions, col 3: description, col 4: link */
.fmt-table thead th:nth-child(1) { width: 20%; }
.fmt-table thead th:nth-child(2) { width: 22%; }
.fmt-table thead th:nth-child(3) { width: auto; }
.fmt-table thead th:nth-child(4) { width: 110px; }

.fmt-table thead th {
  background: #f8fafc;
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1.5px solid #f1f5f9;
}

.fmt-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.fmt-table tbody tr:last-child { border-bottom: none; }
.fmt-table tbody tr:hover { background: #fafbff; }

.fmt-table tbody td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: #475569;
  vertical-align: middle;
  overflow: hidden;
}

.fmt-name-cell {
  font-weight: 600;
  color: #0f172a !important;
  white-space: nowrap;
}

.fmt-exts-cell {
  white-space: nowrap;
}

.fmt-exts-cell code {
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #6366f1;
  background: #eef2ff;
  padding: 2px 7px;
  border-radius: 5px;
  margin-right: 4px;
  display: inline-block;
}

.fmt-link {
  font-size: 13px;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.fmt-link:hover { color: #4f46e5; }

@media (max-width: 640px) {
  .fmt-table thead { display: none; }
  .fmt-table tbody tr { display: block; padding: 14px 16px; }
  .fmt-table tbody td { display: block; padding: 2px 0; border: none; }
  .fmt-name-cell { font-size: 0.95rem; margin-bottom: 4px; }
  .fmt-table tbody tr { border-bottom: 1px solid #f1f5f9; }
  .fmt-table tbody tr:last-child { border-bottom: none; }
}

/* ── Request section ── */
.request-section { background: #fff; padding: 80px 0; }

.request-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0fdf8 50%, #fdf2ff 100%);
  border: 1.5px solid #e0e7ff;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.request-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.section-pill {
  display: inline-block;
  background: #eef2ff;
  color: #6366f1;
  border: 1px solid #e0e7ff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Format type tags (decorative in request section) */
.fmt-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0.7;
}

.fmt-tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
}

@media (max-width: 768px) {
  .hero-stats { gap: 24px; }
  .request-card { padding: 40px 24px; }
  .hero-title { font-size: 2.6rem; }
}
