/* ===== SITEMAP PAGE ===== */
.sitemap-page {
  background: #f0f4f8;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: #0f172a;
}

/* Hero */
.sm-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #4f46e5 100%);
  padding: 56px 40px 48px;
  position: relative;
  overflow: hidden;
}
.sm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sm-hero-inner {
  position: relative;
  max-width: 800px;
}
.sm-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #e0e7ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.25);
}
.sm-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.1;
}
.sm-hero-sub {
  color: #bfdbfe;
  font-size: 1rem;
  margin: 0 0 28px;
  max-width: 520px;
  line-height: 1.65;
}
.sm-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.sm-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  text-align: center;
  min-width: 90px;
}
.sm-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.sm-stat span {
  font-size: 0.72rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Breadcrumb */
.sm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 40px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.83rem;
  color: #64748b;
}
.sm-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}
.sm-breadcrumb a:hover { text-decoration: underline; }
.sm-breadcrumb .sep { opacity: 0.4; }

/* Body */
.sm-body {
  padding: 36px 40px 60px;
}

/* Section header */
.sm-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 20px;
}

/* Category grid */
.sm-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

/* Category card */
.sm-cat-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  overflow: hidden;
  border: 1px solid #e8edf3;
  transition: box-shadow 0.2s;
}
.sm-cat-card:hover {
  box-shadow: 0 8px 28px rgba(15,23,42,0.1);
}

.sm-cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.sm-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.sm-cat-head h2 {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}
.sm-cat-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
}

/* Links list */
.sm-links {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sm-links li { border-bottom: 1px solid #f8fafc; }
.sm-links li:last-child { border-bottom: none; }
.sm-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s;
}
.sm-links a:hover {
  color: #2563eb;
  background: #f0f6ff;
  padding-left: 24px;
}
.sm-links a .li-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.sm-links a:hover .li-icon { opacity: 1; }
.sm-links a .li-label { flex: 1; }
.sm-links a .li-arr {
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  color: #2563eb;
}
.sm-links a:hover .li-arr {
  opacity: 1;
  transform: translateX(3px);
}

/* Color themes per category */
.sm-cat--main .sm-cat-icon { background: #2563eb; }
.sm-cat--main .sm-cat-head { border-left: 3px solid #2563eb; }

.sm-cat--property .sm-cat-icon { background: #059669; }
.sm-cat--property .sm-cat-head { border-left: 3px solid #059669; }

.sm-cat--services .sm-cat-icon { background: #7c3aed; }
.sm-cat--services .sm-cat-head { border-left: 3px solid #7c3aed; }

.sm-cat--tools .sm-cat-icon { background: #d97706; }
.sm-cat--tools .sm-cat-head { border-left: 3px solid #d97706; }

.sm-cat--account .sm-cat-icon { background: #4f46e5; }
.sm-cat--account .sm-cat-head { border-left: 3px solid #4f46e5; }

.sm-cat--pages .sm-cat-icon { background: #0891b2; }
.sm-cat--pages .sm-cat-head { border-left: 3px solid #0891b2; }

/* API section */
.sm-api-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  overflow: hidden;
  border: 1px solid #e8edf3;
  margin-bottom: 28px;
}
.sm-api-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid #f1f5f9;
  border-left: 3px solid #dc2626;
}
.sm-api-head h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-api-head .sm-cat-icon { background: #dc2626; }
.sm-api-tester-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1d4ed8;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.15s;
}
.sm-api-tester-btn:hover { background: #1e40af; color: #fff; }

.sm-api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
  padding: 20px 24px;
}
.sm-api-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
}
.sm-api-item:hover { border-color: #2563eb; background: #f0f6ff; }
.sm-api-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 46px;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
}
.sm-api-method.get    { background: #10b981; }
.sm-api-method.post   { background: #f59e0b; }
.sm-api-method.put    { background: #8b5cf6; }
.sm-api-method.delete { background: #ef4444; }
.sm-api-path {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: #334155;
  flex: 1;
}
.sm-api-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: right;
  white-space: nowrap;
}

/* API Lock gate */
.sm-api-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 44px;
  text-align: center;
}
.sm-lock-icon {
  width: 56px;
  height: 56px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #dc2626;
  margin-bottom: 16px;
}
.sm-lock-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}
.sm-lock-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 20px;
}
.sm-lock-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sm-lock-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
  width: 220px;
  font-family: 'Manrope', sans-serif;
}
.sm-lock-input:focus { border-color: #2563eb; }
.sm-lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Manrope', sans-serif;
}
.sm-lock-btn:hover { background: #1e40af; }

/* Footer note */
.sm-footer-note {
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 8px 0 0;
}
.sm-footer-note a { color: #2563eb; text-decoration: none; }
.sm-footer-note a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .sm-cat-grid { grid-template-columns: 1fr; }
  .sm-hero { padding: 40px 24px 36px; }
  .sm-body { padding: 28px 20px 48px; }
  .sm-breadcrumb { padding: 12px 24px; }
}
@media (max-width: 600px) {
  .sm-hero { padding: 32px 16px 28px; }
  .sm-stats { gap: 12px; }
  .sm-stat { padding: 8px 14px; min-width: 75px; }
  .sm-stat strong { font-size: 1.25rem; }
  .sm-body { padding: 20px 14px 40px; }
  .sm-breadcrumb { padding: 10px 16px; }
  .sm-api-grid { grid-template-columns: 1fr; }
  .sm-api-desc { display: none; }
}
