/* ===========================
   PromptVault — Pages Stylesheet
   =========================== */

/* ---- Page Hero ---- */
.page-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 3rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.page-content { padding: 2.5rem 0 3rem; }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ---- Categories Full Grid ---- */
.categories-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.cat-card { display: flex; align-items: flex-start; gap: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: var(--text); transition: all var(--transition); box-shadow: var(--shadow); }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(108,99,255,0.15); border-color: var(--accent); }
.cat-icon { font-size: 2.5rem; flex-shrink: 0; }
.cat-info h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.cat-info p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.6rem; }
.cat-count { font-size: 0.78rem; font-weight: 600; color: var(--accent); background: rgba(108,99,255,0.1); padding: 0.2rem 0.6rem; border-radius: 12px; }

/* ---- Platform Quick Links ---- */
.platform-quick-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.pql-btn { padding: 0.6rem 1.2rem; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 20px; color: var(--text); font-size: 0.9rem; font-weight: 500; transition: all var(--transition); }
.pql-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Category / Platform Page Layout ---- */
.cat-page-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.cat-page-icon { font-size: 3rem; }
.cat-page-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.cat-page-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; max-width: 700px; }

/* ---- Sidebar Layout ---- */
.cat-page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.cat-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); }
.sidebar-widget ul li { margin-bottom: 0.5rem; }
.sidebar-widget ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.sidebar-widget ul li a:hover { color: var(--accent); }
.sidebar-widget ul li a.active-link { color: var(--accent); font-weight: 600; }

/* ---- Platform Badge ---- */
.platform-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 0.35rem 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }

/* ---- Tips Box ---- */
.tips-box { background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(168,85,247,0.08)); border: 1px solid rgba(108,99,255,0.2); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; }
.tips-box h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--accent); }
.tips-box ul { padding-left: 1.25rem; list-style: disc; }
.tips-box ul li { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.4rem; }

/* ---- Results Count ---- */
.results-count { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.results-count strong { color: var(--text); }

/* ---- Responsive Sidebar ---- */
@media (max-width: 900px) {
  .cat-page-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
}
@media (max-width: 600px) {
  .categories-full-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PromptVault — Pages Stylesheet
   Clean, semantic, production-ready CSS
   ============================================ */

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero .platform-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---- Page Content Wrapper ---- */
.page-content {
  padding: 2.5rem 0 4rem;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--accent);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ---- Two-Column Layout (Sidebar) ---- */
.cat-page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* ---- Sidebar ---- */
.cat-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  margin-bottom: 0.5rem;
}

.sidebar-widget ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.sidebar-widget ul li a:hover,
.sidebar-widget ul li a.active-link {
  color: var(--accent);
}

.sidebar-widget ul li a.active-link {
  font-weight: 600;
}

.sidebar-widget p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Tips Box ---- */
.tips-box {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.08),
    rgba(168, 85, 247, 0.05)
  );
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.tips-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.tips-box ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin: 0;
}

.tips-box ul li {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

/* ---- Results Count ---- */
.results-count {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.results-count strong {
  color: var(--text);
}

/* ---- Category Card Grid ---- */
.categories-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.cat-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108, 99, 255, 0.15);
  border-color: var(--accent);
  color: var(--text);
}

.cat-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.cat-info h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.cat-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.cat-count {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(108, 99, 255, 0.2);
}

/* ---- Platform Quick Links ---- */
.platform-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.pql-btn {
  padding: 0.55rem 1.2rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.pql-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   STATIC PAGES — About, Contact, Legal
   ============================================ */

/* ---- Static Page Layout ---- */
.static-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

/* ---- Static Page Last Updated ---- */
.page-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-meta time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.page-meta .reading-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- Prose Content ---- */
.prose {
  color: var(--text);
  line-height: 1.8;
  font-size: 0.97rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.6rem;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.1rem;
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-hover);
}

.prose strong {
  font-weight: 700;
  color: var(--text);
}

.prose em {
  font-style: italic;
}

.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(108, 99, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.prose th {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 600;
}

.prose td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.prose tr:nth-child(even) td {
  background: rgba(108, 99, 255, 0.04);
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.08),
    rgba(168, 85, 247, 0.05)
  );
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.highlight-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---- Warning Box ---- */
.warning-box {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.warning-box p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.65;
}

.warning-box strong {
  color: #d97706;
}

/* ---- Info Box ---- */
.info-box {
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-left: 4px solid #3b82f6;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.info-box p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.65;
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-3px);
}

.about-stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat-card .stat-label {
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 0.85rem;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- Values List ---- */
.values-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.85rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values-list li .val-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.values-list li .val-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.values-list li .val-text span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Contact Page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group select {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

/* ---- Form Success Message ---- */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---- Contact Info Cards ---- */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.contact-info-card .ci-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-info-card a {
  color: var(--accent);
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* ---- FAQ Accordion ---- */
.faq-section {
  margin-top: 3rem;
}

.faq-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font);
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(108, 99, 255, 0.05);
}

.faq-question[aria-expanded="true"] {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.faq-answer.open {
  display: block;
}

/* ---- Legal Page TOC ---- */
.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.legal-toc h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
  columns: 2;
  gap: 0.5rem;
}

.legal-toc ol li {
  margin-bottom: 0.4rem;
}

.legal-toc ol li a {
  font-size: 0.86rem;
  color: var(--accent);
  transition: color var(--transition);
}

.legal-toc ol li a:hover {
  text-decoration: underline;
}

/* ---- DMCA Form ---- */
.dmca-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
}

.dmca-form-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

/* ---- 404 Page ---- */
.not-found-section {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.not-found-inner {
  max-width: 540px;
}

.not-found-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.not-found-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.not-found-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found-suggestions {
  margin-top: 2.5rem;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.not-found-suggestions h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.not-found-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.not-found-suggestions ul li a {
  font-size: 0.87rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}

.not-found-suggestions ul li a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ---- Btn Secondary ---- */
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .cat-page-layout {
    grid-template-columns: 1fr;
  }

  .cat-sidebar {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc ol {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .categories-full-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .not-found-suggestions ul {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 420px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .not-found-actions {
    flex-direction: column;
    align-items: center;
  }
}