/* Pixel File "Sunset Pop" theme. Brand system over Twenty Twenty-Five. */

/* ---------- Fonts & base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  background: #f6f3ff !important;
  color: #191432 !important;
}
h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-heading {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  letter-spacing: -0.02em;
  color: #191432 !important;
}

/* ---------- Header ---------- */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ece7fb;
}
.wp-block-site-title a {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700;
  color: #191432 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}
.pft-logo-badge {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  flex: 0 0 auto;
}
.pft-logo-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wp-block-navigation .wp-block-navigation-item__content {
  font-weight: 600;
  color: #191432 !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.wp-block-navigation .wp-block-navigation-item__content:hover {
  background: #f1eafd;
  color: #6d28d9 !important;
}
.wp-block-navigation__submenu-container {
  border: 1px solid #ece7fb !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(109, 40, 217, 0.14) !important;
  padding: 0.5rem !important;
  min-width: 220px !important;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  border-radius: 8px;
}

/* ---------- Content links & buttons ---------- */
.entry-content a:not(.pf-card):not(.pf-cta):not(.wp-block-button__link),
.wp-block-post-content a:not(.pf-card):not(.pf-cta):not(.wp-block-button__link) {
  color: #6d28d9;
  text-decoration: underline;
  text-decoration-color: #ddcdf7;
  text-underline-offset: 3px;
}
.entry-content a:not(.pf-card):not(.pf-cta):not(.wp-block-button__link):hover,
.wp-block-post-content a:not(.pf-card):not(.pf-cta):not(.wp-block-button__link):hover {
  text-decoration-color: #6d28d9;
}
.wp-block-button__link {
  background: linear-gradient(92deg, #7c3aed, #e14389) !important;
  border-radius: 12px !important;
  font-weight: 700;
}

/* ---------- Selection ---------- */
::selection {
  background: #ddcdf7;
  color: #191432;
}

/* ---------- Hide theme default footer (replaced by custom footer) ---------- */
footer.wp-block-template-part {
  display: none !important;
}

/* ============================================================
   Custom footer (midnight, distinct from theme)
   ============================================================ */
.pft-site-footer {
  background: #0b1120;
  color: #cbd5e1;
  margin-top: 4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}
.pft-site-footer h2, .pft-site-footer h3,
.pft-footer-logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.pft-footer-cta {
  background-color: #0b1120;
  background-image:
    radial-gradient(ellipse 55% 90% at 50% -10%, rgba(99, 102, 241, 0.22), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1.5px);
  background-size: auto, 26px 26px;
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid #1e293b;
  position: relative;
}
.pft-footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #06b6d4);
}
.pft-footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.pft-footer-cta h2 {
  color: #fff !important;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.pft-footer-cta h2 .pft-grad-text {
  background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pft-footer-cta p {
  color: #94a3b8;
  margin: 0;
  font-size: 1.05rem;
}
.pft-footer-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-weight: 800;
  padding: 1rem 2.2rem;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.pft-footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.55);
  color: #fff !important;
}
.pft-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.pft-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.pft-footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}
.pft-footer-tag {
  color: #94a3b8;
  margin: 0;
  max-width: 300px;
}
.pft-footer-col h3 {
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.1rem;
}
.pft-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pft-footer-col li {
  margin: 0 0 0.6rem;
}
.pft-footer-col a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.15s, padding-left 0.15s;
}
.pft-footer-col a:hover {
  color: #fff !important;
  padding-left: 4px;
}
.pft-footer-bottom {
  border-top: 1px solid #1e293b;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pft-footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}
.pft-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.pft-footer-bottom-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
}
.pft-footer-bottom-links a:hover {
  color: #fff !important;
}

@media (max-width: 900px) {
  .pft-footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .pft-footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .pft-footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pft-footer-cta h2 {
    font-size: 1.5rem;
  }
}
