.app-card {
    border: 1px solid var(--border-light);
    border-radius: 24px;
    background: rgba(10, 17, 49, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
/* ========================================
   SITEMAP PAGE WITH GRAPH CSS
   ======================================== */

/* ===== Sitemap Page Container ===== */
.sitemap-page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* ===== Sitemap Header ===== */
.sitemap-header {
  margin-bottom: 2rem;
}

.sitemap-header-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.sitemap-title {
  font-weight: 800;
  font-size: 2.8rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.sitemap-title .highlight {
  color: #8ab4f8;
}

.sitemap-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Sitemap Search ===== */
.sitemap-search-wrapper {
  margin-bottom: 2.5rem;
}

.sitemap-search {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 60px;
  padding: 0.2rem 1rem;
}

.sitemap-search i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  margin-right: 0.5rem;
}

.sitemap-search .form-control {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.6rem 0.5rem;
  font-size: 0.9rem;
}

.sitemap-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sitemap-search .form-control:focus {
  box-shadow: none;
  background: transparent;
}

/* ========================================
   SITEMAP GRAPH
   ======================================== */

.sitemap-graph {
  margin-bottom: 2.5rem;
}

.graph-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.graph-level.level-1 {
  margin-bottom: 3rem;
}

.graph-level.level-2 {
  gap: 1.5rem;
  align-items: flex-start;
}

/* ===== Graph Node ===== */
.graph-node {
  padding: 0.6rem 1.2rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.graph-node:hover {
  border-color: rgba(138, 180, 248, 0.2);
  transform: translateY(-2px);
}

/* Node Root */
.node-root {
  padding: 0.8rem 2rem !important;
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(138, 180, 248, 0.06) !important;
  border-color: rgba(138, 180, 248, 0.1) !important;
}

.node-root i {
  color: #8ab4f8;
  font-size: 1.2rem;
}

.node-root span {
  color: #ffffff;
}

/* Node Main */
.node-main {
  padding: 0.6rem 1.2rem !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.node-main i {
  color: #8ab4f8;
  font-size: 1.2rem;
}

.node-main span {
  color: #ffffff;
}

.node-main .node-url {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.15);
  font-weight: 400;
}

/* Node Child */
.node-child {
  padding: 0.3rem 0.8rem !important;
  font-size: 0.7rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.01) !important;
  border-color: rgba(255, 255, 255, 0.03) !important;
  min-width: 100px;
  justify-content: center;
}

.node-child span {
  color: rgba(255, 255, 255, 0.5);
}

.node-child:hover span {
  color: #ffffff;
}

/* ===== Graph Node Wrapper ===== */
.graph-node-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* ===== Graph Connectors ===== */
.graph-connector {
  position: relative;
  background: rgba(138, 180, 248, 0.08);
}

.connector-down {
  width: 2px;
  height: 25px;
  margin: 0 auto;
}

.connector-down::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(138, 180, 248, 0.15);
}

.connector-horizontal {
  width: 100%;
  height: 2px;
  margin: 0.5rem 0;
  position: relative;
}

.connector-horizontal::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(138, 180, 248, 0.15);
}

/* Graph Children */
.graph-children {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.3rem;
  position: relative;
  max-width: 350px;
}

.graph-children::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: rgba(138, 180, 248, 0.06);
}

/* ===== Graph Lines (Vertical Connections) ===== */
.graph-node-wrapper::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 25px;
  background: rgba(138, 180, 248, 0.06);
}

.graph-level.level-1 .graph-node-wrapper::before {
  display: none;
}

/* ===== Legal Section ===== */
.legal-section {
  padding: 1.2rem 1.5rem !important;
  margin-bottom: 2rem;
}

.legal-section-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.legal-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-title i {
  color: #8ab4f8;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.legal-links a:hover {
  color: #8ab4f8;
}

/* ===== Popular Pages ===== */
.popular-pages-section {
  padding: 1.2rem 1.5rem !important;
  margin-bottom: 2rem;
}

.popular-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popular-title i {
  color: #f5a623;
}

.popular-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}

.popular-page-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.popular-page-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 180, 248, 0.08);
}

.popular-page-item span:first-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.popular-page-item .page-url {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
}

/* ===== Sitemap CTA ===== */
.sitemap-cta {
  margin-bottom: 2rem;
}

.sitemap-cta-content {
  text-align: center;
  padding: 1.5rem !important;
}

.sitemap-cta-content h4 {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.sitemap-cta-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-sitemap-cta {
  background: linear-gradient(135deg, #5364f7, #8ab4f8) !important;
  border: none !important;
  border-radius: 60px !important;
  padding: 0.5rem 2rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.btn-sitemap-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 25px rgba(83, 100, 247, 0.3) !important;
  color: #ffffff !important;
}

.btn-sitemap-cta i {
  transition: transform 0.3s;
}

.btn-sitemap-cta:hover i {
  transform: translateX(4px);
}

/* ===== Footer Banner ===== */
.sitemap-footer-banner {
  padding: 0 !important;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.sitemap-footer-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
}

.banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(138, 180, 248, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #8ab4f8;
  flex-shrink: 0;
}

.banner-text {
  flex: 1;
  min-width: 200px;
}

.banner-text h4 {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0;
}

.banner-text h4 .highlight {
  color: #8ab4f8;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

.btn-explore {
  background: linear-gradient(135deg, #5364f7, #8ab4f8) !important;
  border: none !important;
  border-radius: 60px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: #ffffff !important;
  transition: all 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}

.btn-explore:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3) !important;
  color: #ffffff !important;
}

.btn-explore i {
  transition: transform 0.3s;
}

.btn-explore:hover i {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  .sitemap-title {
    font-size: 2.2rem;
  }
  
  .graph-level.level-2 {
    gap: 1.5rem;
  }
  
  .graph-children {
    max-width: 280px;
  }
  
  .node-child {
    min-width: 80px;
    font-size: 0.65rem;
  }
  
  .popular-pages-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .sitemap-title {
    font-size: 1.8rem;
  }
  
  .sitemap-description {
    font-size: 0.9rem;
  }
  
  .sitemap-search {
    max-width: 100%;
  }
  
  .graph-level.level-2 {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .graph-node-wrapper {
    width: 100%;
    max-width: 300px;
  }
  
  .graph-children {
    max-width: 100%;
  }
  
  .graph-children::before {
    display: none;
  }
  
  .graph-node-wrapper::before {
    display: none;
  }
  
  .connector-down {
    height: 15px;
  }
  
  .connector-horizontal {
    display: none;
  }
  
  .graph-children {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    padding-top: 0.5rem;
  }
  
  .node-child {
    min-width: auto;
    width: 100%;
    text-align: center;
  }
  
  .popular-pages-grid {
    grid-template-columns: 1fr;
  }
  
  .sitemap-footer-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
  }
  
  .banner-text {
    min-width: auto;
  }
  
  .legal-section-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .sitemap-title {
    font-size: 1.5rem;
  }
  
  .sitemap-description {
    font-size: 0.85rem;
  }
  
  .sitemap-search {
    padding: 0.2rem 0.8rem;
  }
  
  .sitemap-search .form-control {
    font-size: 16px;
  }
  
  .node-root {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem;
  }
  
  .node-main {
    min-width: 100px;
    padding: 0.5rem 1rem !important;
  }
  
  .node-main i {
    font-size: 1rem;
  }
  
  .node-main span {
    font-size: 0.8rem;
  }
  
  .node-child {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem !important;
  }
  
  .graph-children {
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
  }
  
  .popular-page-item {
    padding: 0.3rem 0.6rem;
  }
  
  .popular-page-item span:first-child {
    font-size: 0.75rem;
  }
  
  .popular-page-item .page-url {
    font-size: 0.55rem;
  }
  
  .btn-sitemap-cta {
    font-size: 0.8rem !important;
    padding: 0.4rem 1.5rem !important;
  }
  
  .btn-explore {
    font-size: 0.75rem !important;
    padding: 0.4rem 1.2rem !important;
  }
  
  .banner-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}