@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Mulish:wght@300;400;600;800&display=swap');

:root {
  --joints-ground: #0b0f19;
  --joints-surface: #141b2d;
  --joints-surface-elevated: #1f2937;
  --joints-ink-bright: #ffffff;
  --joints-ink-base: #e2e8f0;
  --joints-ink-dim: #94a3b8;
  --joints-highlight: #ff2a85;
  --joints-highlight-glow: rgba(255, 42, 133, 0.4);
  --joints-divider: #334155;
  --joints-overlay: rgba(11, 15, 25, 0.75);
  --joints-gradient: linear-gradient(135deg, #ff2a85 0%, #8b5cf6 100%);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Mulish', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--joints-ground);
  color: var(--joints-ink-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--joints-ink-bright);
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Custom DOM Classes to replace restricted ones */
.flex-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.joints-brand-mark svg {
  filter: drop-shadow(0 0 8px var(--joints-highlight-glow));
}

/* Mobile Menu CSS Logic */
.mobile-toggle-box {
  display: none;
}
.mobile-menu-pane {
  display: flex;
}
@media (max-width: 768px) {
  .mobile-menu-pane {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    background-color: var(--joints-surface);
    border-bottom: 1px solid var(--joints-divider);
  }
  .mobile-toggle-box:checked ~ .mobile-menu-pane {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Interactive Elements */
.motion-ghost-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--joints-highlight);
  background-color: transparent;
  color: var(--joints-ink-bright);
  transition: all 0.3s ease;
  cursor: pointer;
}
.motion-ghost-trigger:hover {
  background: var(--joints-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--joints-highlight-glow);
}

.motion-solid-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--joints-ink-bright);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.motion-solid-trigger:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--joints-highlight-glow);
}

/* Accordion Logic */
.edu-faq-item {
  border-bottom: 1px solid var(--joints-divider);
}
.edu-faq-item details summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}
.edu-faq-item details summary::-webkit-details-marker {
  display: none;
}
.edu-faq-item details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--joints-highlight);
  font-family: var(--font-body);
}
.edu-faq-item details[open] summary::after {
  content: '-';
}

/* Steps Background numbers */
.step-backdrop-digit {
  position: absolute;
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--joints-ink-bright);
  opacity: 0.05;
  top: -1rem;
  left: 0;
  font-family: var(--font-display);
  z-index: 0;
}
.step-content-front {
  position: relative;
  z-index: 10;
}

/* Forms */
.edu-form-field {
  width: 100%;
  background-color: var(--joints-ground);
  border: 1px solid var(--joints-divider);
  color: var(--joints-ink-bright);
  outline: none;
  transition: border-color 0.3s ease;
}
.edu-form-field:focus {
  border-color: var(--joints-highlight);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--joints-ground);
}
::-webkit-scrollbar-thumb {
  background: var(--joints-divider);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--joints-highlight);
}